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
693 APPLICATIONSERVICESLIB
782 program_transform_name
793 ac_subst_files
='MAKE_RULES
799 enable_option_checking
803 enable_maintainer_mode
852 ac_precious_vars
='build_alias
887 # Initialize some variables set by options.
889 ac_init_version
=false
890 ac_unrecognized_opts
=
892 # The variables have the same names as the options, with
893 # dashes changed to underlines.
901 program_transform_name
=s
,x
,x
,
909 # Installation directory options.
910 # These are left unexpanded so users can "make install exec_prefix=/foo"
911 # and all the variables that are supposed to be based on exec_prefix
912 # by default will actually change.
913 # Use braces instead of parens because sh, perl, etc. also accept them.
914 # (The list follows the same order as the GNU Coding Standards.)
915 bindir
='${exec_prefix}/bin'
916 sbindir
='${exec_prefix}/sbin'
917 libexecdir
='${exec_prefix}/libexec'
918 datarootdir
='${prefix}/share'
919 datadir
='${datarootdir}'
920 sysconfdir
='${prefix}/etc'
921 sharedstatedir
='${prefix}/com'
922 localstatedir
='${prefix}/var'
923 includedir
='${prefix}/include'
924 oldincludedir
='/usr/include'
925 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
926 infodir
='${datarootdir}/info'
931 libdir
='${exec_prefix}/lib'
932 localedir
='${datarootdir}/locale'
933 mandir
='${datarootdir}/man'
939 # If the previous option needs an argument, assign it.
940 if test -n "$ac_prev"; then
941 eval $ac_prev=\
$ac_option
947 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
952 # Accept the important Cygnus configure options, so we can diagnose typos.
954 case $ac_dashdash$ac_option in
958 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
960 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
963 -build |
--build |
--buil |
--bui |
--bu)
964 ac_prev
=build_alias
;;
965 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
966 build_alias
=$ac_optarg ;;
968 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
969 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
970 ac_prev
=cache_file
;;
971 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
972 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
973 cache_file
=$ac_optarg ;;
976 cache_file
=config.cache
;;
978 -datadir |
--datadir |
--datadi |
--datad)
980 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
981 datadir
=$ac_optarg ;;
983 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
984 |
--dataroo |
--dataro |
--datar)
985 ac_prev
=datarootdir
;;
986 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
987 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
988 datarootdir
=$ac_optarg ;;
990 -disable-* |
--disable-*)
991 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
994 as_fn_error $?
"invalid feature name: $ac_useropt"
995 ac_useropt_orig
=$ac_useropt
996 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
1001 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep
=', ';;
1004 eval enable_
$ac_useropt=no
;;
1006 -docdir |
--docdir |
--docdi |
--doc |
--do)
1008 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
1009 docdir
=$ac_optarg ;;
1011 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
1013 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
1014 dvidir
=$ac_optarg ;;
1016 -enable-* |
--enable-*)
1017 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1020 as_fn_error $?
"invalid feature name: $ac_useropt"
1021 ac_useropt_orig
=$ac_useropt
1022 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_
$ac_useropt"
1027 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep
=', ';;
1030 eval enable_
$ac_useropt=\
$ac_optarg ;;
1032 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1033 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1034 |
--exec |
--exe |
--ex)
1035 ac_prev
=exec_prefix
;;
1036 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1037 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1038 |
--exec=* |
--exe=* |
--ex=*)
1039 exec_prefix
=$ac_optarg ;;
1041 -gas |
--gas |
--ga |
--g)
1042 # Obsolete; use --with-gas.
1045 -help |
--help |
--hel |
--he |
-h)
1046 ac_init_help
=long
;;
1047 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1048 ac_init_help
=recursive
;;
1049 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1050 ac_init_help
=short
;;
1052 -host |
--host |
--hos |
--ho)
1053 ac_prev
=host_alias
;;
1054 -host=* |
--host=* |
--hos=* |
--ho=*)
1055 host_alias
=$ac_optarg ;;
1057 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1059 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1061 htmldir
=$ac_optarg ;;
1063 -includedir |
--includedir |
--includedi |
--included |
--include \
1064 |
--includ |
--inclu |
--incl |
--inc)
1065 ac_prev
=includedir
;;
1066 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1067 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1068 includedir
=$ac_optarg ;;
1070 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1072 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1073 infodir
=$ac_optarg ;;
1075 -libdir |
--libdir |
--libdi |
--libd)
1077 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1078 libdir
=$ac_optarg ;;
1080 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1081 |
--libexe |
--libex |
--libe)
1082 ac_prev
=libexecdir
;;
1083 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1084 |
--libexe=* |
--libex=* |
--libe=*)
1085 libexecdir
=$ac_optarg ;;
1087 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1088 ac_prev
=localedir
;;
1089 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1090 localedir
=$ac_optarg ;;
1092 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1093 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1094 ac_prev
=localstatedir
;;
1095 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1096 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1097 localstatedir
=$ac_optarg ;;
1099 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1101 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1102 mandir
=$ac_optarg ;;
1104 -nfp |
--nfp |
--nf)
1105 # Obsolete; use --without-fp.
1108 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1109 |
--no-cr |
--no-c |
-n)
1112 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1113 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1116 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1117 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1118 |
--oldin |
--oldi |
--old |
--ol |
--o)
1119 ac_prev
=oldincludedir
;;
1120 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1121 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1122 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1123 oldincludedir
=$ac_optarg ;;
1125 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1127 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1128 prefix
=$ac_optarg ;;
1130 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1131 |
--program-pre |
--program-pr |
--program-p)
1132 ac_prev
=program_prefix
;;
1133 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1134 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1135 program_prefix
=$ac_optarg ;;
1137 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1138 |
--program-suf |
--program-su |
--program-s)
1139 ac_prev
=program_suffix
;;
1140 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1141 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1142 program_suffix
=$ac_optarg ;;
1144 -program-transform-name |
--program-transform-name \
1145 |
--program-transform-nam |
--program-transform-na \
1146 |
--program-transform-n |
--program-transform- \
1147 |
--program-transform |
--program-transfor \
1148 |
--program-transfo |
--program-transf \
1149 |
--program-trans |
--program-tran \
1150 |
--progr-tra |
--program-tr |
--program-t)
1151 ac_prev
=program_transform_name
;;
1152 -program-transform-name=* |
--program-transform-name=* \
1153 |
--program-transform-nam=* |
--program-transform-na=* \
1154 |
--program-transform-n=* |
--program-transform-=* \
1155 |
--program-transform=* |
--program-transfor=* \
1156 |
--program-transfo=* |
--program-transf=* \
1157 |
--program-trans=* |
--program-tran=* \
1158 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1159 program_transform_name
=$ac_optarg ;;
1161 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1163 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1164 pdfdir
=$ac_optarg ;;
1166 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1168 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1172 |
-silent |
--silent |
--silen |
--sile |
--sil)
1175 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1177 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1179 sbindir
=$ac_optarg ;;
1181 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1182 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1183 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1185 ac_prev
=sharedstatedir
;;
1186 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1187 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1188 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1190 sharedstatedir
=$ac_optarg ;;
1192 -site |
--site |
--sit)
1194 -site=* |
--site=* |
--sit=*)
1197 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1199 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1200 srcdir
=$ac_optarg ;;
1202 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1203 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1204 ac_prev
=sysconfdir
;;
1205 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1206 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1207 sysconfdir
=$ac_optarg ;;
1209 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1210 ac_prev
=target_alias
;;
1211 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1212 target_alias
=$ac_optarg ;;
1214 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1217 -version |
--version |
--versio |
--versi |
--vers |
-V)
1218 ac_init_version
=: ;;
1221 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1224 as_fn_error $?
"invalid package name: $ac_useropt"
1225 ac_useropt_orig
=$ac_useropt
1226 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1231 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep
=', ';;
1234 eval with_
$ac_useropt=\
$ac_optarg ;;
1236 -without-* |
--without-*)
1237 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1240 as_fn_error $?
"invalid package name: $ac_useropt"
1241 ac_useropt_orig
=$ac_useropt
1242 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1247 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep
=', ';;
1250 eval with_
$ac_useropt=no
;;
1253 # Obsolete; use --with-x.
1256 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1257 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1258 ac_prev
=x_includes
;;
1259 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1260 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1261 x_includes
=$ac_optarg ;;
1263 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1264 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1265 ac_prev
=x_libraries
;;
1266 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1267 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1268 x_libraries
=$ac_optarg ;;
1270 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information"
1275 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1279 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1281 eval $ac_envvar=\
$ac_optarg
1282 export $ac_envvar ;;
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1295 if test -n "$ac_prev"; then
1296 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error $?
"missing argument to $ac_option"
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1303 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1308 # Check all directory arguments for consistency.
1309 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1314 eval ac_val
=\$
$ac_var
1315 # Remove trailing slashes.
1318 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\
$ac_val;;
1321 # Be sure to have absolute directory names.
1323 [\\/$
]* | ?
:[\\/]* ) continue;;
1324 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1326 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1334 target
=$target_alias
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x
; then
1338 if test "x$build_alias" = x
; then
1339 cross_compiling
=maybe
1340 elif test "x$build_alias" != "x$host_alias"; then
1346 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1348 test "$silent" = yes && exec 6>/dev
/null
1351 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1352 ac_ls_di
=`ls -di .` &&
1353 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1354 as_fn_error $?
"working directory cannot be determined"
1355 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1356 as_fn_error $?
"pwd does not report name of working directory"
1359 # Find the source files, if location was not specified.
1360 if test -z "$srcdir"; then
1361 ac_srcdir_defaulted
=yes
1362 # Try the directory containing this script, then the parent directory.
1363 ac_confdir
=`$as_dirname -- "$as_myself" ||
1364 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1365 X"$as_myself" : 'X\(//\)[^/]' \| \
1366 X"$as_myself" : 'X\(//\)$' \| \
1367 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1368 $as_echo X"$as_myself" |
1369 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 if test ! -r "$srcdir/$ac_unique_file"; then
1391 ac_srcdir_defaulted
=no
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1395 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1397 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1399 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1401 # When building in place, set srcdir=.
1402 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 # Remove unnecessary trailing slashes from srcdir.
1406 # Double slashes in file names in object file debugging info
1407 # mess up M-x gdb in Emacs.
1409 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1411 for ac_var
in $ac_precious_vars; do
1412 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1413 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1414 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1415 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1419 # Report the --help message.
1421 if test "$ac_init_help" = "long"; then
1422 # Omit some internal or obsolete options to make the list less imposing.
1423 # This message is too long to be a string in the A/UX 3.1 sh.
1425 \`configure' configures Wine 1.5.29 to adapt to many kinds of systems.
1427 Usage: $0 [OPTION]... [VAR=VALUE]...
1429 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1430 VAR=VALUE. See below for descriptions of some of the useful variables.
1432 Defaults for the options are specified in brackets.
1435 -h, --help display this help and exit
1436 --help=short display options specific to this package
1437 --help=recursive display the short help of all the included packages
1438 -V, --version display version information and exit
1439 -q, --quiet, --silent do not print \`checking ...' messages
1440 --cache-file=FILE cache test results in FILE [disabled]
1441 -C, --config-cache alias for \`--cache-file=config.cache'
1442 -n, --no-create do not create output files
1443 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1445 Installation directories:
1446 --prefix=PREFIX install architecture-independent files in PREFIX
1447 [$ac_default_prefix]
1448 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 By default, \`make install' will install all the files in
1452 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1453 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1454 for instance \`--prefix=\$HOME'.
1456 For better control, use the options below.
1458 Fine tuning of the installation directories:
1459 --bindir=DIR user executables [EPREFIX/bin]
1460 --sbindir=DIR system admin executables [EPREFIX/sbin]
1461 --libexecdir=DIR program executables [EPREFIX/libexec]
1462 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1463 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1464 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1465 --libdir=DIR object code libraries [EPREFIX/lib]
1466 --includedir=DIR C header files [PREFIX/include]
1467 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1468 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1469 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1470 --infodir=DIR info documentation [DATAROOTDIR/info]
1471 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1472 --mandir=DIR man documentation [DATAROOTDIR/man]
1473 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1474 --htmldir=DIR html documentation [DOCDIR]
1475 --dvidir=DIR dvi documentation [DOCDIR]
1476 --pdfdir=DIR pdf documentation [DOCDIR]
1477 --psdir=DIR ps documentation [DOCDIR]
1483 --x-includes=DIR X include files are
in DIR
1484 --x-libraries=DIR X library files are
in DIR
1487 --build=BUILD configure
for building on BUILD
[guessed
]
1488 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1492 if test -n "$ac_init_help"; then
1493 case $ac_init_help in
1494 short | recursive
) echo "Configuration of Wine 1.5.29:";;
1499 --disable-option-checking ignore unrecognized
--enable/--with options
1500 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1501 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1502 --disable-win16 do not include Win16 support
1503 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1505 --disable-tests do not build the regression tests
1506 --enable-maintainer-mode
1507 enable maintainer-specific build rules
1508 --disable-largefile omit support for large files
1511 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1512 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1513 --without-alsa do not use the Alsa sound support
1514 --without-capi do not use CAPI (ISDN support)
1515 --without-cms do not use CMS (color management support)
1516 --without-coreaudio do not use the CoreAudio sound support
1517 --without-cups do not use CUPS
1518 --without-curses do not use (n)curses
1519 --without-dbus do not use DBus (dynamic device support)
1520 --without-fontconfig do not use fontconfig
1521 --without-freetype do not use the FreeType library
1522 --without-gettext do not use gettext
1523 --with-gettextpo use the GetTextPO library to rebuild po files
1524 --without-gphoto do not use gphoto (Digital Camera support)
1525 --without-glu do not use the GLU library
1526 --without-gnutls do not use GnuTLS (schannel support)
1527 --without-gsm do not use libgsm (GSM 06.10 codec support)
1528 --without-gstreamer do not use GStreamer (codecs support)
1529 --without-hal do not use HAL (dynamic device support)
1530 --without-jpeg do not use JPEG
1531 --without-ldap do not use LDAP
1532 --without-mpg123 do not use the mpg123 library
1533 --without-openal do not use OpenAL
1534 --without-opencl do not use OpenCL
1535 --without-opengl do not use OpenGL
1536 --without-osmesa do not use the OSMesa library
1537 --without-oss do not use the OSS sound support
1538 --without-png do not use PNG
1539 --without-pthread do not use the pthread library
1540 --without-sane do not use SANE (scanner support)
1541 --without-tiff do not use TIFF
1542 --without-v4l do not use v4l1 (v4l support)
1543 --without-xcomposite do not use the Xcomposite extension
1544 --without-xcursor do not use the Xcursor extension
1545 --without-xinerama do not use Xinerama (multi-monitor support)
1546 --without-xinput do not use the Xinput extension
1547 --without-xinput2 do not use the Xinput 2 extension
1548 --without-xml do not use XML
1549 --without-xrandr do not use Xrandr (resolution changes)
1550 --without-xrender do not use the Xrender extension
1551 --without-xshape do not use the Xshape extension
1552 --without-xshm do not use XShm (shared memory extension)
1553 --without-xslt do not use XSLT
1554 --without-xxf86vm do not use XFree video mode extension
1555 --without-zlib do not use Zlib (data compression)
1556 --with-wine-tools=DIR use Wine tools from directory DIR
1557 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1558 --with-x use the X Window System
1560 Some influential environment variables:
1561 CC C compiler command
1562 CFLAGS C compiler flags
1563 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1564 nonstandard directory <lib dir>
1565 LIBS libraries to pass to the linker, e.g. -l<library>
1566 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1567 you have headers in a nonstandard directory <include dir>
1568 CXX C++ compiler command
1569 CXXFLAGS C++ compiler flags
1571 XMKMF Path to xmkmf, Makefile generator for X Window System
1572 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
1573 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
1574 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
1575 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
1576 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
1577 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
1578 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
1579 HAL_LIBS Linker flags for hal, overriding pkg-config
1581 C compiler flags for gnutls, overriding pkg-config
1582 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
1583 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
1584 SANE_LIBS Linker flags for libsane, overriding pkg-config
1586 C compiler flags for libgphoto2, overriding pkg-config
1588 Linker flags for libgphoto2, overriding pkg-config
1590 C compiler flags for libgphoto2_port, overriding pkg-config
1592 Linker flags for libgphoto2_port, overriding pkg-config
1594 C compiler flags for freetype2, overriding pkg-config
1596 Linker flags for freetype2, overriding pkg-config
1598 C compiler flags for gstreamer-app-0.10, overriding pkg-config
1600 Linker flags for gstreamer-app-0.10, overriding pkg-config
1602 Use these variables to override the choices made by `configure' or to
help
1603 it to
find libraries and programs with nonstandard names
/locations.
1605 Report bugs to
<wine-devel@winehq.org
>.
1606 Wine home page
: <http
://www.winehq.org
>.
1611 if test "$ac_init_help" = "recursive"; then
1612 # If there are subdirs, report their specific --help.
1613 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1614 test -d "$ac_dir" ||
1615 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1620 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1622 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1623 # A ".." for each directory in $ac_dir_suffix.
1624 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1625 case $ac_top_builddir_sub in
1626 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1627 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1630 ac_abs_top_builddir
=$ac_pwd
1631 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1632 # for backward compatibility:
1633 ac_top_builddir
=$ac_top_build_prefix
1636 .
) # We are building in place.
1638 ac_top_srcdir
=$ac_top_builddir_sub
1639 ac_abs_top_srcdir
=$ac_pwd ;;
1640 [\\/]* | ?
:[\\/]* ) # Absolute name.
1641 ac_srcdir
=$srcdir$ac_dir_suffix;
1642 ac_top_srcdir
=$srcdir
1643 ac_abs_top_srcdir
=$srcdir ;;
1645 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1646 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1647 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1649 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1651 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1652 # Check for guested configure.
1653 if test -f "$ac_srcdir/configure.gnu"; then
1655 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1656 elif test -f "$ac_srcdir/configure"; then
1658 $SHELL "$ac_srcdir/configure" --help=recursive
1660 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1666 test -n "$ac_init_help" && exit $ac_status
1667 if $ac_init_version; then
1669 Wine configure
1.5.29
1670 generated by GNU Autoconf
2.69
1672 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1673 This configure
script is free software
; the Free Software Foundation
1674 gives unlimited permission to copy
, distribute and modify it.
1679 ## ------------------------ ##
1680 ## Autoconf initialization. ##
1681 ## ------------------------ ##
1683 # ac_fn_c_try_compile LINENO
1684 # --------------------------
1685 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1686 ac_fn_c_try_compile
()
1688 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1689 rm -f conftest.
$ac_objext
1690 if { { ac_try
="$ac_compile"
1692 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1693 *) ac_try_echo=$ac_try;;
1695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1696 $as_echo "$ac_try_echo"; } >&5
1697 (eval "$ac_compile") 2>conftest.err
1699 if test -s conftest.err; then
1700 grep -v '^ *+' conftest.err >conftest.er1
1701 cat conftest.er1 >&5
1702 mv -f conftest.er1 conftest.err
1704 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1705 test $ac_status = 0; } && {
1706 test -z "$ac_c_werror_flag" ||
1707 test ! -s conftest.err
1708 } && test -s conftest.$ac_objext; then :
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1716 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1717 as_fn_set_status $ac_retval
1719 } # ac_fn_c_try_compile
1721 # ac_fn_cxx_try_compile LINENO
1722 # ----------------------------
1723 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1724 ac_fn_cxx_try_compile ()
1726 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1727 rm -f conftest.$ac_objext
1728 if { { ac_try="$ac_compile"
1730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1731 *) ac_try_echo
=$ac_try;;
1733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_compile") 2>conftest.err
1737 if test -s conftest.err
; then
1738 grep -v '^ *+' conftest.err
>conftest.er1
1739 cat conftest.er1
>&5
1740 mv -f conftest.er1 conftest.err
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } && {
1744 test -z "$ac_cxx_werror_flag" ||
1745 test ! -s conftest.err
1746 } && test -s conftest.
$ac_objext; then :
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.
$ac_ext >&5
1754 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1755 as_fn_set_status
$ac_retval
1757 } # ac_fn_cxx_try_compile
1759 # ac_fn_c_try_link LINENO
1760 # -----------------------
1761 # Try to link conftest.$ac_ext, and return whether this succeeded.
1764 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1765 rm -f conftest.
$ac_objext conftest
$ac_exeext
1766 if { { ac_try
="$ac_link"
1768 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_link") 2>conftest.err
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } && {
1782 test -z "$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 } && test -s conftest$ac_exeext && {
1785 test "$cross_compiling" = yes ||
1786 test -x conftest$ac_exeext
1790 $as_echo "$as_me: failed program was:" >&5
1791 sed 's/^/| /' conftest.$ac_ext >&5
1795 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1796 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1797 # interfere with the next link command; also delete a directory that is
1798 # left behind by Apple's compiler. We do this before executing the actions.
1799 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1800 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1801 as_fn_set_status $ac_retval
1803 } # ac_fn_c_try_link
1805 # ac_fn_c_try_cpp LINENO
1806 # ----------------------
1807 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 if { { ac_try="$ac_cpp conftest.$ac_ext"
1813 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1814 *) ac_try_echo
=$ac_try;;
1816 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1817 $as_echo "$ac_try_echo"; } >&5
1818 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1820 if test -s conftest.err
; then
1821 grep -v '^ *+' conftest.err
>conftest.er1
1822 cat conftest.er1
>&5
1823 mv -f conftest.er1 conftest.err
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; } > conftest.i
&& {
1827 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1828 test ! -s conftest.err
1832 $as_echo "$as_me: failed program was:" >&5
1833 sed 's/^/| /' conftest.
$ac_ext >&5
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 as_fn_set_status
$ac_retval
1842 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1843 # -------------------------------------------------------
1844 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1845 # the include files in INCLUDES and setting the cache variable VAR
1847 ac_fn_c_check_header_mongrel
()
1849 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1850 if eval \
${$3+:} false
; then :
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1852 $as_echo_n "checking for $2... " >&6; }
1853 if eval \
${$3+:} false
; then :
1854 $as_echo_n "(cached) " >&6
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1858 $as_echo "$ac_res" >&6; }
1860 # Is the header compilable?
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1862 $as_echo_n "checking $2 usability... " >&6; }
1863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1868 if ac_fn_c_try_compile
"$LINENO"; then :
1869 ac_header_compiler
=yes
1871 ac_header_compiler
=no
1873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1875 $as_echo "$ac_header_compiler" >&6; }
1877 # Is the header present?
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1879 $as_echo_n "checking $2 presence... " >&6; }
1880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1884 if ac_fn_c_try_cpp
"$LINENO"; then :
1885 ac_header_preproc
=yes
1887 ac_header_preproc
=no
1889 rm -f conftest.err conftest.i conftest.
$ac_ext
1890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1891 $as_echo "$ac_header_preproc" >&6; }
1893 # So? What about this header?
1894 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1897 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1899 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1902 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1903 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1904 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1905 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1906 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1907 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1909 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1911 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1912 ( $as_echo "## ------------------------------------ ##
1913 ## Report this to wine-devel@winehq.org ##
1914 ## ------------------------------------ ##"
1915 ) |
sed "s/^/$as_me: WARNING: /" >&2
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1919 $as_echo_n "checking for $2... " >&6; }
1920 if eval \
${$3+:} false
; then :
1921 $as_echo_n "(cached) " >&6
1923 eval "$3=\$ac_header_compiler"
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_header_mongrel
1933 # ac_fn_c_try_run LINENO
1934 # ----------------------
1935 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1936 # that executables *can* be run.
1939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1940 if { { ac_try
="$ac_link"
1942 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1943 *) ac_try_echo=$ac_try;;
1945 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1946 $as_echo "$ac_try_echo"; } >&5
1947 (eval "$ac_link") 2>&5
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1951 { { case "(($ac_try" in
1952 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1953 *) ac_try_echo
=$ac_try;;
1955 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 $as_echo "$ac_try_echo"; } >&5
1957 (eval "$ac_try") 2>&5
1959 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1960 test $ac_status = 0; }; }; then :
1963 $as_echo "$as_me: program exited with status $ac_status" >&5
1964 $as_echo "$as_me: failed program was:" >&5
1965 sed 's/^/| /' conftest.
$ac_ext >&5
1967 ac_retval
=$ac_status
1969 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1970 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1971 as_fn_set_status
$ac_retval
1975 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1976 # -------------------------------------------------------
1977 # Tests whether HEADER exists and can be compiled using the include files in
1978 # INCLUDES, setting the cache variable VAR accordingly.
1979 ac_fn_c_check_header_compile
()
1981 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 $as_echo_n "checking for $2... " >&6; }
1984 if eval \
${$3+:} false
; then :
1985 $as_echo_n "(cached) " >&6
1987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1988 /* end confdefs.h. */
1992 if ac_fn_c_try_compile
"$LINENO"; then :
1997 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2001 $as_echo "$ac_res" >&6; }
2002 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2004 } # ac_fn_c_check_header_compile
2006 # ac_fn_c_check_func LINENO FUNC VAR
2007 # ----------------------------------
2008 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2009 ac_fn_c_check_func
()
2011 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2013 $as_echo_n "checking for $2... " >&6; }
2014 if eval \
${$3+:} false
; then :
2015 $as_echo_n "(cached) " >&6
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2019 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2021 #define $2 innocuous_$2
2023 /* System header to define __stub macros and hopefully few prototypes,
2024 which can conflict with char $2 (); below.
2025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2026 <limits.h> exists even on freestanding compilers. */
2029 # include <limits.h>
2031 # include <assert.h>
2036 /* Override any GCC internal prototype to avoid an error.
2037 Use char because int might match the return type of a GCC
2038 builtin and then its argument prototype would still apply. */
2043 /* The GNU C library defines this for functions which it implements
2044 to always fail with ENOSYS. Some functions are actually named
2045 something starting with __ and the normal name is an alias. */
2046 #if defined __stub_$2 || defined __stub___$2
2058 if ac_fn_c_try_link
"$LINENO"; then :
2063 rm -f core conftest.err conftest.
$ac_objext \
2064 conftest
$ac_exeext conftest.
$ac_ext
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2068 $as_echo "$ac_res" >&6; }
2069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2071 } # ac_fn_c_check_func
2073 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2074 # ----------------------------------------------------
2075 # Tries to find if the field MEMBER exists in type AGGR, after including
2076 # INCLUDES, setting cache variable VAR accordingly.
2077 ac_fn_c_check_member
()
2079 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2081 $as_echo_n "checking for $2.$3... " >&6; }
2082 if eval \
${$4+:} false
; then :
2083 $as_echo_n "(cached) " >&6
2085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2098 if ac_fn_c_try_compile
"$LINENO"; then :
2101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2102 /* end confdefs.h. */
2108 if (sizeof ac_aggr.$3)
2114 if ac_fn_c_try_compile
"$LINENO"; then :
2119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2125 $as_echo "$ac_res" >&6; }
2126 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2128 } # ac_fn_c_check_member
2130 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2131 # -------------------------------------------
2132 # Tests whether TYPE exists after having included INCLUDES, setting cache
2133 # variable VAR accordingly.
2134 ac_fn_c_check_type
()
2136 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2138 $as_echo_n "checking for $2... " >&6; }
2139 if eval \
${$3+:} false
; then :
2140 $as_echo_n "(cached) " >&6
2143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2144 /* end confdefs.h. */
2155 if ac_fn_c_try_compile
"$LINENO"; then :
2156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2168 if ac_fn_c_try_compile
"$LINENO"; then :
2173 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2179 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2182 } # ac_fn_c_check_type
2183 cat >config.log
<<_ACEOF
2184 This file contains any messages produced by compilers while
2185 running configure, to aid debugging if configure makes a mistake.
2187 It was created by Wine $as_me 1.5.29, which was
2188 generated by GNU Autoconf 2.69. Invocation command line was
2200 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2201 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2202 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2203 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2204 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2206 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2207 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2209 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2210 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2211 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2212 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2213 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2214 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2215 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir
=.
2224 $as_echo "PATH: $as_dir"
2240 # Keep a trace of the command line.
2241 # Strip out --no-create and --no-recursion so they do not pile up.
2242 # Strip out --silent because we don't want to record it for future runs.
2243 # Also quote any args containing shell meta-characters.
2244 # Make two passes to allow for proper duplicate-argument suppression.
2248 ac_must_keep_next
=false
2254 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2255 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2256 |
-silent |
--silent |
--silen |
--sile |
--sil)
2259 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2262 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2264 as_fn_append ac_configure_args1
" '$ac_arg'"
2265 if test $ac_must_keep_next = true
; then
2266 ac_must_keep_next
=false
# Got value, back to normal.
2269 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2270 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2271 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2272 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2273 case "$ac_configure_args0 " in
2274 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2277 -* ) ac_must_keep_next
=true
;;
2280 as_fn_append ac_configure_args
" '$ac_arg'"
2285 { ac_configure_args0
=; unset ac_configure_args0
;}
2286 { ac_configure_args1
=; unset ac_configure_args1
;}
2288 # When interrupted or exit'd, cleanup temporary files, and complete
2289 # config.log. We remove comments because anyway the quotes in there
2290 # would cause problems or look ugly.
2291 # WARNING: Use '\'' to represent an apostrophe within the trap.
2292 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2293 trap 'exit_status=$?
2294 # Save into config.log some information that might help in debugging.
2298 $as_echo "## ---------------- ##
2299 ## Cache variables. ##
2300 ## ---------------- ##"
2302 # The following way of writing the cache mishandles newlines in values,
2304 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2305 eval ac_val=\$$ac_var
2309 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2310 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2313 _ | IFS | as_nl) ;; #(
2314 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2315 *) { eval $ac_var=; unset $ac_var;} ;;
2320 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2321 *${as_nl}ac_space=\ *)
2323 "s/'\''/'\''\\\\'\'''\''/g;
2324 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2327 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2334 $as_echo "## ----------------- ##
2335 ## Output variables. ##
2336 ## ----------------- ##"
2338 for ac_var in $ac_subst_vars
2340 eval ac_val=\$$ac_var
2342 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2344 $as_echo "$ac_var='\''$ac_val'\''"
2348 if test -n "$ac_subst_files"; then
2349 $as_echo "## ------------------- ##
2350 ## File substitutions. ##
2351 ## ------------------- ##"
2353 for ac_var
in $ac_subst_files
2355 eval ac_val
=\$
$ac_var
2357 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2359 $as_echo "$ac_var='\''$ac_val'\''"
2364 if test -s confdefs.h; then
2365 $as_echo "## ----------- ##
2372 test "$ac_signal" != 0 &&
2373 $as_echo "$as_me: caught signal $ac_signal"
2374 $as_echo "$as_me: exit $exit_status"
2376 rm -f core *.core core.conftest.* &&
2377 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2380 for ac_signal
in 1 2 13 15; do
2381 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2385 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2386 rm -f -r conftest
* confdefs.h
2388 $as_echo "/* confdefs.h */" > confdefs.h
2390 # Predefined preprocessor variables.
2392 cat >>confdefs.h
<<_ACEOF
2393 #define PACKAGE_NAME "$PACKAGE_NAME"
2396 cat >>confdefs.h
<<_ACEOF
2397 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2400 cat >>confdefs.h
<<_ACEOF
2401 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2404 cat >>confdefs.h
<<_ACEOF
2405 #define PACKAGE_STRING "$PACKAGE_STRING"
2408 cat >>confdefs.h
<<_ACEOF
2409 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2412 cat >>confdefs.h
<<_ACEOF
2413 #define PACKAGE_URL "$PACKAGE_URL"
2417 # Let the site file select an alternate cache file if it wants to.
2418 # Prefer an explicitly selected file to automatically selected ones.
2421 if test -n "$CONFIG_SITE"; then
2422 # We do not want a PATH search for config.site.
2423 case $CONFIG_SITE in #((
2424 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2425 */*) ac_site_file1
=$CONFIG_SITE;;
2426 *) ac_site_file1
=.
/$CONFIG_SITE;;
2428 elif test "x$prefix" != xNONE
; then
2429 ac_site_file1
=$prefix/share
/config.site
2430 ac_site_file2
=$prefix/etc
/config.site
2432 ac_site_file1
=$ac_default_prefix/share
/config.site
2433 ac_site_file2
=$ac_default_prefix/etc
/config.site
2435 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2437 test "x$ac_site_file" = xNONE
&& continue
2438 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2440 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2441 sed 's/^/| /' "$ac_site_file" >&5
2443 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2445 as_fn_error $?
"failed to load site script $ac_site_file
2446 See \`config.log' for more details" "$LINENO" 5; }
2450 if test -r "$cache_file"; then
2451 # Some versions of bash will fail to source /dev/null (special files
2452 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2453 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2454 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2455 $as_echo "$as_me: loading cache $cache_file" >&6;}
2457 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2458 *) .
"./$cache_file";;
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2463 $as_echo "$as_me: creating cache $cache_file" >&6;}
2467 # Check that the precious variables saved in the cache have kept the same
2469 ac_cache_corrupted
=false
2470 for ac_var
in $ac_precious_vars; do
2471 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2472 eval ac_new_set
=\
$ac_env_${ac_var}_set
2473 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2474 eval ac_new_val
=\
$ac_env_${ac_var}_value
2475 case $ac_old_set,$ac_new_set in
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2478 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2479 ac_cache_corrupted
=: ;;
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2482 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2483 ac_cache_corrupted
=: ;;
2486 if test "x$ac_old_val" != "x$ac_new_val"; then
2487 # differences in whitespace do not lead to failure.
2488 ac_old_val_w
=`echo x $ac_old_val`
2489 ac_new_val_w
=`echo x $ac_new_val`
2490 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2491 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2492 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2493 ac_cache_corrupted
=:
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2496 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2497 eval $ac_var=\
$ac_old_val
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2500 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2501 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2502 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2505 # Pass precious variables to config.status.
2506 if test "$ac_new_set" = set; then
2508 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2509 *) ac_arg
=$ac_var=$ac_new_val ;;
2511 case " $ac_configure_args " in
2512 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2513 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2517 if $ac_cache_corrupted; then
2518 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2519 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2520 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2521 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2522 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2524 ## -------------------- ##
2525 ## Main body of script. ##
2526 ## -------------------- ##
2529 ac_cpp
='$CPP $CPPFLAGS'
2530 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2531 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2532 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2536 ac_config_headers
="$ac_config_headers include/config.h"
2539 for ac_dir
in tools
"$srcdir"/tools
; do
2540 if test -f "$ac_dir/install-sh"; then
2542 ac_install_sh
="$ac_aux_dir/install-sh -c"
2544 elif test -f "$ac_dir/install.sh"; then
2546 ac_install_sh
="$ac_aux_dir/install.sh -c"
2548 elif test -f "$ac_dir/shtool"; then
2550 ac_install_sh
="$ac_aux_dir/shtool install -c"
2554 if test -z "$ac_aux_dir"; then
2555 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2558 # These three variables are undocumented and unsupported,
2559 # and are intended to be withdrawn in a future Autoconf release.
2560 # They can cause serious problems if a builder's source tree is in a directory
2561 # whose full name contains unusual characters.
2562 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2563 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2564 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2570 # Check whether --enable-win16 was given.
2571 if test "${enable_win16+set}" = set; then :
2572 enableval
=$enable_win16;
2575 # Check whether --enable-win64 was given.
2576 if test "${enable_win64+set}" = set; then :
2577 enableval
=$enable_win64;
2580 # Check whether --enable-tests was given.
2581 if test "${enable_tests+set}" = set; then :
2582 enableval
=$enable_tests;
2585 # Check whether --enable-maintainer-mode was given.
2586 if test "${enable_maintainer_mode+set}" = set; then :
2587 enableval
=$enable_maintainer_mode;
2592 # Check whether --with-alsa was given.
2593 if test "${with_alsa+set}" = set; then :
2594 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2598 # Check whether --with-capi was given.
2599 if test "${with_capi+set}" = set; then :
2600 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2604 # Check whether --with-cms was given.
2605 if test "${with_cms+set}" = set; then :
2606 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2610 # Check whether --with-coreaudio was given.
2611 if test "${with_coreaudio+set}" = set; then :
2612 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2616 # Check whether --with-cups was given.
2617 if test "${with_cups+set}" = set; then :
2622 # Check whether --with-curses was given.
2623 if test "${with_curses+set}" = set; then :
2624 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2628 # Check whether --with-dbus was given.
2629 if test "${with_dbus+set}" = set; then :
2634 # Check whether --with-fontconfig was given.
2635 if test "${with_fontconfig+set}" = set; then :
2636 withval
=$with_fontconfig;
2640 # Check whether --with-freetype was given.
2641 if test "${with_freetype+set}" = set; then :
2642 withval
=$with_freetype;
2646 # Check whether --with-gettext was given.
2647 if test "${with_gettext+set}" = set; then :
2648 withval
=$with_gettext;
2652 # Check whether --with-gettextpo was given.
2653 if test "${with_gettextpo+set}" = set; then :
2654 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2658 # Check whether --with-gphoto was given.
2659 if test "${with_gphoto+set}" = set; then :
2660 withval
=$with_gphoto;
2664 # Check whether --with-glu was given.
2665 if test "${with_glu+set}" = set; then :
2670 # Check whether --with-gnutls was given.
2671 if test "${with_gnutls+set}" = set; then :
2672 withval
=$with_gnutls;
2676 # Check whether --with-gsm was given.
2677 if test "${with_gsm+set}" = set; then :
2678 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2682 # Check whether --with-gstreamer was given.
2683 if test "${with_gstreamer+set}" = set; then :
2684 withval
=$with_gstreamer;
2688 # Check whether --with-hal was given.
2689 if test "${with_hal+set}" = set; then :
2694 # Check whether --with-jpeg was given.
2695 if test "${with_jpeg+set}" = set; then :
2696 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2700 # Check whether --with-ldap was given.
2701 if test "${with_ldap+set}" = set; then :
2702 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2706 # Check whether --with-mpg123 was given.
2707 if test "${with_mpg123+set}" = set; then :
2708 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2712 # Check whether --with-openal was given.
2713 if test "${with_openal+set}" = set; then :
2714 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2718 # Check whether --with-opencl was given.
2719 if test "${with_opencl+set}" = set; then :
2720 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2724 # Check whether --with-opengl was given.
2725 if test "${with_opengl+set}" = set; then :
2726 withval
=$with_opengl;
2730 # Check whether --with-osmesa was given.
2731 if test "${with_osmesa+set}" = set; then :
2732 withval
=$with_osmesa;
2736 # Check whether --with-oss was given.
2737 if test "${with_oss+set}" = set; then :
2742 # Check whether --with-png was given.
2743 if test "${with_png+set}" = set; then :
2744 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2748 # Check whether --with-pthread was given.
2749 if test "${with_pthread+set}" = set; then :
2750 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2754 # Check whether --with-sane was given.
2755 if test "${with_sane+set}" = set; then :
2760 # Check whether --with-tiff was given.
2761 if test "${with_tiff+set}" = set; then :
2762 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2766 # Check whether --with-v4l was given.
2767 if test "${with_v4l+set}" = set; then :
2772 # Check whether --with-xcomposite was given.
2773 if test "${with_xcomposite+set}" = set; then :
2774 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2778 # Check whether --with-xcursor was given.
2779 if test "${with_xcursor+set}" = set; then :
2780 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2784 # Check whether --with-xinerama was given.
2785 if test "${with_xinerama+set}" = set; then :
2786 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2790 # Check whether --with-xinput was given.
2791 if test "${with_xinput+set}" = set; then :
2792 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2796 # Check whether --with-xinput2 was given.
2797 if test "${with_xinput2+set}" = set; then :
2798 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2802 # Check whether --with-xml was given.
2803 if test "${with_xml+set}" = set; then :
2808 # Check whether --with-xrandr was given.
2809 if test "${with_xrandr+set}" = set; then :
2810 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2814 # Check whether --with-xrender was given.
2815 if test "${with_xrender+set}" = set; then :
2816 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2820 # Check whether --with-xshape was given.
2821 if test "${with_xshape+set}" = set; then :
2822 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2826 # Check whether --with-xshm was given.
2827 if test "${with_xshm+set}" = set; then :
2828 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2832 # Check whether --with-xslt was given.
2833 if test "${with_xslt+set}" = set; then :
2838 # Check whether --with-xxf86vm was given.
2839 if test "${with_xxf86vm+set}" = set; then :
2840 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
2844 # Check whether --with-zlib was given.
2845 if test "${with_zlib+set}" = set; then :
2846 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2851 # Check whether --with-wine-tools was given.
2852 if test "${with_wine_tools+set}" = set; then :
2853 withval
=$with_wine_tools;
2857 # Check whether --with-wine64 was given.
2858 if test "${with_wine64+set}" = set; then :
2859 withval
=$with_wine64;
2863 # Make sure we can run config.sub.
2864 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2865 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2868 $as_echo_n "checking build system type... " >&6; }
2869 if ${ac_cv_build+:} false
; then :
2870 $as_echo_n "(cached) " >&6
2872 ac_build_alias
=$build_alias
2873 test "x$ac_build_alias" = x
&&
2874 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2875 test "x$ac_build_alias" = x
&&
2876 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2877 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2878 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2882 $as_echo "$ac_cv_build" >&6; }
2883 case $ac_cv_build in
2885 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2888 ac_save_IFS
=$IFS; IFS
='-'
2894 # Remember, the first character of IFS is used to create $*,
2895 # except with old shells:
2898 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2902 $as_echo_n "checking host system type... " >&6; }
2903 if ${ac_cv_host+:} false
; then :
2904 $as_echo_n "(cached) " >&6
2906 if test "x$host_alias" = x
; then
2907 ac_cv_host
=$ac_cv_build
2909 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2910 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2915 $as_echo "$ac_cv_host" >&6; }
2918 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2921 ac_save_IFS
=$IFS; IFS
='-'
2927 # Remember, the first character of IFS is used to create $*,
2928 # except with old shells:
2931 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2937 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2938 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2939 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2945 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2947 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2948 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2949 $as_echo_n "(cached) " >&6
2951 cat >conftest.
make <<\_ACEOF
2954 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2956 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2957 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2959 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2961 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2965 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2967 $as_echo "yes" >&6; }
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2971 $as_echo "no" >&6; }
2972 SET_MAKE
="MAKE=${MAKE-make}"
2976 ac_cpp
='$CPP $CPPFLAGS'
2977 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2978 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2979 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2980 if test -n "$ac_tool_prefix"; then
2981 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2982 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2984 $as_echo_n "checking for $ac_word... " >&6; }
2985 if ${ac_cv_prog_CC+:} false
; then :
2986 $as_echo_n "(cached) " >&6
2988 if test -n "$CC"; then
2989 ac_cv_prog_CC
="$CC" # Let the user override the test.
2991 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2995 test -z "$as_dir" && as_dir
=.
2996 for ac_exec_ext
in '' $ac_executable_extensions; do
2997 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2998 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3009 if test -n "$CC"; then
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3011 $as_echo "$CC" >&6; }
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3014 $as_echo "no" >&6; }
3019 if test -z "$ac_cv_prog_CC"; then
3021 # Extract the first word of "gcc", so it can be a program name with args.
3022 set dummy gcc
; ac_word
=$2
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3024 $as_echo_n "checking for $ac_word... " >&6; }
3025 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3026 $as_echo_n "(cached) " >&6
3028 if test -n "$ac_ct_CC"; then
3029 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3031 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3035 test -z "$as_dir" && as_dir
=.
3036 for ac_exec_ext
in '' $ac_executable_extensions; do
3037 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3038 ac_cv_prog_ac_ct_CC
="gcc"
3039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3048 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3049 if test -n "$ac_ct_CC"; then
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3051 $as_echo "$ac_ct_CC" >&6; }
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3054 $as_echo "no" >&6; }
3057 if test "x$ac_ct_CC" = x
; then
3060 case $cross_compiling:$ac_tool_warned in
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3064 ac_tool_warned
=yes ;;
3072 if test -z "$CC"; then
3073 if test -n "$ac_tool_prefix"; then
3074 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3075 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3077 $as_echo_n "checking for $ac_word... " >&6; }
3078 if ${ac_cv_prog_CC+:} false
; then :
3079 $as_echo_n "(cached) " >&6
3081 if test -n "$CC"; then
3082 ac_cv_prog_CC
="$CC" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3091 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 if test -n "$CC"; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3104 $as_echo "$CC" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 $as_echo "no" >&6; }
3113 if test -z "$CC"; then
3114 # Extract the first word of "cc", so it can be a program name with args.
3115 set dummy cc
; ac_word
=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if ${ac_cv_prog_CC+:} false
; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$CC"; then
3122 ac_cv_prog_CC
="$CC" # Let the user override the test.
3125 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3129 test -z "$as_dir" && as_dir
=.
3130 for ac_exec_ext
in '' $ac_executable_extensions; do
3131 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3132 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3133 ac_prog_rejected
=yes
3137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3144 if test $ac_prog_rejected = yes; then
3145 # We found a bogon in the path, so make sure we never use it.
3146 set dummy
$ac_cv_prog_CC
3148 if test $# != 0; then
3149 # We chose a different compiler from the bogus one.
3150 # However, it has the same basename, so the bogon will be chosen
3151 # first if we set CC to just the basename; use the full file name.
3153 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3159 if test -n "$CC"; then
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3161 $as_echo "$CC" >&6; }
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3164 $as_echo "no" >&6; }
3169 if test -z "$CC"; then
3170 if test -n "$ac_tool_prefix"; then
3171 for ac_prog
in cl.exe
3173 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3174 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3176 $as_echo_n "checking for $ac_word... " >&6; }
3177 if ${ac_cv_prog_CC+:} false
; then :
3178 $as_echo_n "(cached) " >&6
3180 if test -n "$CC"; then
3181 ac_cv_prog_CC
="$CC" # Let the user override the test.
3183 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir
=.
3188 for ac_exec_ext
in '' $ac_executable_extensions; do
3189 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3190 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3191 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3201 if test -n "$CC"; then
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3203 $as_echo "$CC" >&6; }
3205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3206 $as_echo "no" >&6; }
3210 test -n "$CC" && break
3213 if test -z "$CC"; then
3215 for ac_prog
in cl.exe
3217 # Extract the first word of "$ac_prog", so it can be a program name with args.
3218 set dummy
$ac_prog; ac_word
=$2
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3220 $as_echo_n "checking for $ac_word... " >&6; }
3221 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3222 $as_echo_n "(cached) " >&6
3224 if test -n "$ac_ct_CC"; then
3225 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3227 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3231 test -z "$as_dir" && as_dir
=.
3232 for ac_exec_ext
in '' $ac_executable_extensions; do
3233 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3234 ac_cv_prog_ac_ct_CC
="$ac_prog"
3235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3244 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3245 if test -n "$ac_ct_CC"; then
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3247 $as_echo "$ac_ct_CC" >&6; }
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3250 $as_echo "no" >&6; }
3254 test -n "$ac_ct_CC" && break
3257 if test "x$ac_ct_CC" = x
; then
3260 case $cross_compiling:$ac_tool_warned in
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3263 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3264 ac_tool_warned
=yes ;;
3273 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3274 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3275 as_fn_error $?
"no acceptable C compiler found in \$PATH
3276 See \`config.log' for more details" "$LINENO" 5; }
3278 # Provide some information about the compiler.
3279 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3282 for ac_option
in --version -v -V -qversion; do
3283 { { ac_try
="$ac_compiler $ac_option >&5"
3285 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3286 *) ac_try_echo=$ac_try;;
3288 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3289 $as_echo "$ac_try_echo"; } >&5
3290 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3292 if test -s conftest.err; then
3294 ... rest of stderr output deleted ...
3295 10q' conftest.err >conftest.er1
3296 cat conftest.er1 >&5
3298 rm -f conftest.er1 conftest.err
3299 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3300 test $ac_status = 0; }
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3314 ac_clean_files_save=$ac_clean_files
3315 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3316 # Try to create an executable without -o first, disregard a.out.
3317 # It will help us diagnose broken compilers, and finding out an intuition
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3320 $as_echo_n "checking whether the C compiler works... " >&6; }
3321 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3323 # The possible output files:
3324 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3327 for ac_file in $ac_files
3330 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3331 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3336 if { { ac_try="$ac_link_default"
3338 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3339 *) ac_try_echo
=$ac_try;;
3341 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3342 $as_echo "$ac_try_echo"; } >&5
3343 (eval "$ac_link_default") 2>&5
3345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3346 test $ac_status = 0; }; then :
3347 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3348 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3349 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3350 # so that the user can short-circuit this test for compilers unknown to
3352 for ac_file
in $ac_files ''
3354 test -f "$ac_file" ||
continue
3356 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3359 # We found the default executable, but exeext='' is most
3363 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3365 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3367 # We set ac_cv_exeext here because the later test for it is not
3368 # safe: cross compilers may not add the suffix if given an `-o'
3369 # argument, so we may need to know it at that point already.
3370 # Even if this section looks crufty: it has the advantage of
3377 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3382 if test -z "$ac_file"; then :
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3384 $as_echo "no" >&6; }
3385 $as_echo "$as_me: failed program was:" >&5
3386 sed 's/^/| /' conftest.
$ac_ext >&5
3388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3390 as_fn_error
77 "C compiler cannot create executables
3391 See \`config.log' for more details" "$LINENO" 5; }
3393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3394 $as_echo "yes" >&6; }
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3397 $as_echo_n "checking for C compiler default output file name... " >&6; }
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3399 $as_echo "$ac_file" >&6; }
3400 ac_exeext
=$ac_cv_exeext
3402 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3403 ac_clean_files
=$ac_clean_files_save
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3405 $as_echo_n "checking for suffix of executables... " >&6; }
3406 if { { ac_try
="$ac_link"
3408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3409 *) ac_try_echo=$ac_try;;
3411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3412 $as_echo "$ac_try_echo"; } >&5
3413 (eval "$ac_link") 2>&5
3415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3416 test $ac_status = 0; }; then :
3417 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3418 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3419 # work properly (i.e., refer to `conftest.exe'), while it won't with
3421 for ac_file
in conftest.exe conftest conftest.
*; do
3422 test -f "$ac_file" ||
continue
3424 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3425 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3431 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3432 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3433 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3434 See \`config.log' for more details" "$LINENO" 5; }
3436 rm -f conftest conftest
$ac_cv_exeext
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3438 $as_echo "$ac_cv_exeext" >&6; }
3440 rm -f conftest.
$ac_ext
3441 EXEEXT
=$ac_cv_exeext
3443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3444 /* end confdefs.h. */
3449 FILE *f = fopen ("conftest.out", "w");
3450 return ferror (f) || fclose (f) != 0;
3456 ac_clean_files
="$ac_clean_files conftest.out"
3457 # Check that the compiler produces executables we can run. If not, either
3458 # the compiler is broken, or we cross compile.
3459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3460 $as_echo_n "checking whether we are cross compiling... " >&6; }
3461 if test "$cross_compiling" != yes; then
3462 { { ac_try
="$ac_link"
3464 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3465 *) ac_try_echo=$ac_try;;
3467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3468 $as_echo "$ac_try_echo"; } >&5
3469 (eval "$ac_link") 2>&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3472 test $ac_status = 0; }
3473 if { ac_try='./conftest$ac_cv_exeext'
3474 { { case "(($ac_try" in
3475 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3476 *) ac_try_echo
=$ac_try;;
3478 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3479 $as_echo "$ac_try_echo"; } >&5
3480 (eval "$ac_try") 2>&5
3482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3483 test $ac_status = 0; }; }; then
3486 if test "$cross_compiling" = maybe
; then
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error $?
"cannot run C compiled programs.
3492 If you meant to cross compile, use \`--host'.
3493 See \`config.log' for more details" "$LINENO" 5; }
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3498 $as_echo "$cross_compiling" >&6; }
3500 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3501 ac_clean_files
=$ac_clean_files_save
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3503 $as_echo_n "checking for suffix of object files... " >&6; }
3504 if ${ac_cv_objext+:} false
; then :
3505 $as_echo_n "(cached) " >&6
3507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3518 rm -f conftest.o conftest.obj
3519 if { { ac_try
="$ac_compile"
3521 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3522 *) ac_try_echo=$ac_try;;
3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526 (eval "$ac_compile") 2>&5
3528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3529 test $ac_status = 0; }; then :
3530 for ac_file in conftest.o conftest.obj conftest.*; do
3531 test -f "$ac_file" || continue;
3533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3534 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3539 $as_echo "$as_me: failed program was:" >&5
3540 sed 's/^/| /' conftest.$ac_ext >&5
3542 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3543 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3544 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3545 See \
`config.log' for more details" "$LINENO" 5; }
3547 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3550 $as_echo "$ac_cv_objext" >&6; }
3551 OBJEXT=$ac_cv_objext
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3554 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3555 if ${ac_cv_c_compiler_gnu+:} false; then :
3556 $as_echo_n "(cached) " >&6
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3572 if ac_fn_c_try_compile "$LINENO"; then :
3577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3578 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3582 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3583 if test $ac_compiler_gnu = yes; then
3588 ac_test_CFLAGS=${CFLAGS+set}
3589 ac_save_CFLAGS=$CFLAGS
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3591 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3592 if ${ac_cv_prog_cc_g+:} false; then :
3593 $as_echo_n "(cached) " >&6
3595 ac_save_c_werror_flag=$ac_c_werror_flag
3596 ac_c_werror_flag=yes
3599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3600 /* end confdefs.h. */
3610 if ac_fn_c_try_compile "$LINENO"; then :
3614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3615 /* end confdefs.h. */
3625 if ac_fn_c_try_compile "$LINENO"; then :
3628 ac_c_werror_flag=$ac_save_c_werror_flag
3630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3631 /* end confdefs.h. */
3641 if ac_fn_c_try_compile "$LINENO"; then :
3644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3649 ac_c_werror_flag=$ac_save_c_werror_flag
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3652 $as_echo "$ac_cv_prog_cc_g" >&6; }
3653 if test "$ac_test_CFLAGS" = set; then
3654 CFLAGS=$ac_save_CFLAGS
3655 elif test $ac_cv_prog_cc_g = yes; then
3656 if test "$GCC" = yes; then
3662 if test "$GCC" = yes; then
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3669 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3670 if ${ac_cv_prog_cc_c89+:} false; then :
3671 $as_echo_n "(cached) " >&6
3673 ac_cv_prog_cc_c89=no
3675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676 /* end confdefs.h. */
3680 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3681 struct buf { int x; };
3682 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3683 static char *e (p, i)
3689 static char *f (char * (*g) (char **, int), char **p, ...)
3694 s = g (p, va_arg (v,int));
3699 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3700 function prototypes and stuff, but not '\xHH' hex character constants.
3701 These don't provoke an error unfortunately, instead are silently treated
3702 as 'x'. The following induces an error, until -std is added to get
3703 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3704 array size at least. It's necessary to write '\x00'==0 to get something
3705 that's true only with -std. */
3706 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3708 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3709 inside strings and character constants. */
3711 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3713 int test (int i, double x);
3714 struct s1 {int (*f) (int a);};
3715 struct s2 {int (*f) (double a);};
3716 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3722 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3727 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3728 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3730 CC="$ac_save_CC $ac_arg"
3731 if ac_fn_c_try_compile "$LINENO"; then :
3732 ac_cv_prog_cc_c89=$ac_arg
3734 rm -f core conftest.err conftest.$ac_objext
3735 test "x$ac_cv_prog_cc_c89" != "xno" && break
3737 rm -f conftest.$ac_ext
3742 case "x$ac_cv_prog_cc_c89" in
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3745 $as_echo "none needed" >&6; } ;;
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3748 $as_echo "unsupported" >&6; } ;;
3750 CC="$CC $ac_cv_prog_cc_c89"
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3752 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3754 if test "x$ac_cv_prog_cc_c89" != xno; then :
3759 ac_cpp='$CPP $CPPFLAGS'
3760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765 ac_cpp='$CXXCPP $CPPFLAGS'
3766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3769 if test -z "$CXX"; then
3770 if test -n "$CCC"; then
3773 if test -n "$ac_tool_prefix"; then
3774 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3776 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3777 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3779 $as_echo_n "checking for $ac_word... " >&6; }
3780 if ${ac_cv_prog_CXX+:} false; then :
3781 $as_echo_n "(cached) " >&6
3783 if test -n "$CXX"; then
3784 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3786 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3790 test -z "$as_dir" && as_dir=.
3791 for ac_exec_ext in '' $ac_executable_extensions; do
3792 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3793 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3794 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3804 if test -n "$CXX"; then
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3806 $as_echo "$CXX" >&6; }
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3809 $as_echo "no" >&6; }
3813 test -n "$CXX" && break
3816 if test -z "$CXX"; then
3818 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3820 # Extract the first word of "$ac_prog", so it can be a program name with args.
3821 set dummy $ac_prog; ac_word=$2
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3823 $as_echo_n "checking for $ac_word... " >&6; }
3824 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3825 $as_echo_n "(cached) " >&6
3827 if test -n "$ac_ct_CXX"; then
3828 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir=.
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3837 ac_cv_prog_ac_ct_CXX="$ac_prog"
3838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3848 if test -n "$ac_ct_CXX"; then
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3850 $as_echo "$ac_ct_CXX" >&6; }
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3853 $as_echo "no" >&6; }
3857 test -n "$ac_ct_CXX" && break
3860 if test "x$ac_ct_CXX" = x; then
3863 case $cross_compiling:$ac_tool_warned in
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3867 ac_tool_warned=yes ;;
3875 # Provide some information about the compiler.
3876 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3879 for ac_option in --version -v -V -qversion; do
3880 { { ac_try="$ac_compiler $ac_option >&5"
3882 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3883 *) ac_try_echo
=$ac_try;;
3885 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3886 $as_echo "$ac_try_echo"; } >&5
3887 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3889 if test -s conftest.err
; then
3891 ... rest of stderr output deleted ...
3892 10q' conftest.err
>conftest.er1
3893 cat conftest.er1
>&5
3895 rm -f conftest.er1 conftest.err
3896 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3897 test $ac_status = 0; }
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3901 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3902 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3903 $as_echo_n "(cached) " >&6
3905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3906 /* end confdefs.h. */
3919 if ac_fn_cxx_try_compile
"$LINENO"; then :
3924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3925 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3929 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3930 if test $ac_compiler_gnu = yes; then
3935 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3936 ac_save_CXXFLAGS
=$CXXFLAGS
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3938 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3939 if ${ac_cv_prog_cxx_g+:} false
; then :
3940 $as_echo_n "(cached) " >&6
3942 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3943 ac_cxx_werror_flag
=yes
3946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3947 /* end confdefs.h. */
3957 if ac_fn_cxx_try_compile
"$LINENO"; then :
3958 ac_cv_prog_cxx_g
=yes
3961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3972 if ac_fn_cxx_try_compile
"$LINENO"; then :
3975 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3978 /* end confdefs.h. */
3988 if ac_fn_cxx_try_compile
"$LINENO"; then :
3989 ac_cv_prog_cxx_g
=yes
3991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3995 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3996 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3999 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4000 if test "$ac_test_CXXFLAGS" = set; then
4001 CXXFLAGS
=$ac_save_CXXFLAGS
4002 elif test $ac_cv_prog_cxx_g = yes; then
4003 if test "$GXX" = yes; then
4009 if test "$GXX" = yes; then
4016 ac_cpp
='$CPP $CPPFLAGS'
4017 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4018 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4019 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4021 if test -n "$ac_tool_prefix"; then
4022 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
4023 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if ${ac_cv_prog_CPPBIN+:} false
; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$CPPBIN"; then
4030 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
4032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir
=.
4037 for ac_exec_ext
in '' $ac_executable_extensions; do
4038 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 CPPBIN
=$ac_cv_prog_CPPBIN
4050 if test -n "$CPPBIN"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4052 $as_echo "$CPPBIN" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4060 if test -z "$ac_cv_prog_CPPBIN"; then
4061 ac_ct_CPPBIN
=$CPPBIN
4062 # Extract the first word of "cpp", so it can be a program name with args.
4063 set dummy cpp
; ac_word
=$2
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4065 $as_echo_n "checking for $ac_word... " >&6; }
4066 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4067 $as_echo_n "(cached) " >&6
4069 if test -n "$ac_ct_CPPBIN"; then
4070 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4072 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4076 test -z "$as_dir" && as_dir
=.
4077 for ac_exec_ext
in '' $ac_executable_extensions; do
4078 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4080 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4090 if test -n "$ac_ct_CPPBIN"; then
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4092 $as_echo "$ac_ct_CPPBIN" >&6; }
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4095 $as_echo "no" >&6; }
4098 if test "x$ac_ct_CPPBIN" = x
; then
4101 case $cross_compiling:$ac_tool_warned in
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4104 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4105 ac_tool_warned
=yes ;;
4107 CPPBIN
=$ac_ct_CPPBIN
4110 CPPBIN
="$ac_cv_prog_CPPBIN"
4114 cat >>confdefs.h
<<_ACEOF
4115 #define EXEEXT "$ac_exeext"
4121 if test "x$enable_win64" = "xyes"
4126 notice_platform
="64-bit "
4133 notice_platform
="32-bit "
4136 enable_win16
=${enable_win16:-yes}
4138 with_fontconfig
=${with_fontconfig:-no}
4141 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4146 $as_echo_n "checking whether $CC works... " >&6; }
4148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4149 /* end confdefs.h. */
4159 if ac_fn_c_try_link
"$LINENO"; then :
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4161 $as_echo "yes" >&6; }
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4165 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4167 rm -f core conftest.err conftest.
$ac_objext \
4168 conftest
$ac_exeext conftest.
$ac_ext
4170 notice_platform
="32-bit "
4173 enable_win16
=${enable_win16:-yes}
4175 if test "x${GCC}" = "xyes"
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4178 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4180 /* end confdefs.h. */
4185 void func(__builtin_ms_va_list *args);
4190 if ac_fn_c_try_compile
"$LINENO"; then :
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4192 $as_echo "yes" >&6; }
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4195 $as_echo "no" >&6; }
4196 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4198 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4206 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4208 /* end confdefs.h. */
4209 int ac_test(int i) { return i; }
4213 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4218 if ac_fn_c_try_link
"$LINENO"; then :
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4220 $as_echo "yes" >&6; }
4222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4223 $as_echo "no" >&6; }
4224 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4226 rm -f core conftest.err conftest.
$ac_objext \
4227 conftest
$ac_exeext conftest.
$ac_ext
4228 CFLAGS
="$CFLAGS -marm"
4230 *-mingw32*|
*-cygwin*)
4231 enable_win16
=${enable_win16:-no}
4232 CFLAGS
="$CFLAGS -D_WIN32"
4235 enable_win16
=${enable_win16:-yes}
4239 enable_win16
=${enable_win16:-no}
4240 enable_win64
=${enable_win64:-no}
4242 enable_winetest
=${enable_winetest:-$enable_tests}
4244 if test -n "$with_wine64"
4246 if test "x$enable_win64" = "xyes"
4248 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4249 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4253 enable_fonts
=${enable_fonts:-no}
4254 enable_server
=${enable_server:-no}
4255 enable_tools
=${enable_tools:-no}
4256 elif test "x$enable_win64" = "xyes"
4258 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4262 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4263 if ${wine_cv_toolsdir+:} false
; then :
4264 $as_echo_n "(cached) " >&6
4266 wine_cv_toolsdir
="$with_wine_tools"
4267 if test -z "$with_wine_tools"; then
4268 if test "$cross_compiling" = "yes"; then
4269 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4270 elif test -n "$with_wine64"; then
4271 wine_cv_toolsdir
="$with_wine64"
4274 if test -z "$wine_cv_toolsdir"; then
4275 wine_cv_toolsdir
="\$(top_builddir)"
4276 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4277 case "$wine_cv_toolsdir" in
4279 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4282 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4286 $as_echo "$wine_cv_toolsdir" >&6; }
4287 TOOLSDIR
=$wine_cv_toolsdir
4289 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4291 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4297 # Extract the first word of "$ac_prog", so it can be a program name with args.
4298 set dummy
$ac_prog; ac_word
=$2
4299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4300 $as_echo_n "checking for $ac_word... " >&6; }
4301 if ${ac_cv_prog_FLEX+:} false
; then :
4302 $as_echo_n "(cached) " >&6
4304 if test -n "$FLEX"; then
4305 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4311 test -z "$as_dir" && as_dir
=.
4312 for ac_exec_ext
in '' $ac_executable_extensions; do
4313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4314 ac_cv_prog_FLEX
="$ac_prog"
4315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4324 FLEX
=$ac_cv_prog_FLEX
4325 if test -n "$FLEX"; then
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4327 $as_echo "$FLEX" >&6; }
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4330 $as_echo "no" >&6; }
4334 test -n "$FLEX" && break
4336 test -n "$FLEX" || FLEX
="none"
4338 if test "$FLEX" = "none"
4340 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4343 $as_echo_n "checking whether flex is recent enough... " >&6; }
4344 cat >conftest.l
<<EOF
4346 #include "prediluvian.h"
4350 if $FLEX -t conftest.l
>/dev
/null
2>&5
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4353 $as_echo "yes" >&6; }
4355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4356 $as_echo "no" >&6; }
4357 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4360 for ac_prog
in bison
4362 # Extract the first word of "$ac_prog", so it can be a program name with args.
4363 set dummy
$ac_prog; ac_word
=$2
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4365 $as_echo_n "checking for $ac_word... " >&6; }
4366 if ${ac_cv_prog_BISON+:} false
; then :
4367 $as_echo_n "(cached) " >&6
4369 if test -n "$BISON"; then
4370 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4372 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4376 test -z "$as_dir" && as_dir
=.
4377 for ac_exec_ext
in '' $ac_executable_extensions; do
4378 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4379 ac_cv_prog_BISON
="$ac_prog"
4380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 BISON
=$ac_cv_prog_BISON
4390 if test -n "$BISON"; then
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4392 $as_echo "$BISON" >&6; }
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4395 $as_echo "no" >&6; }
4399 test -n "$BISON" && break
4401 test -n "$BISON" || BISON
="none"
4403 if test "$BISON" = "none"
4405 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4408 if test -n "$ac_tool_prefix"; then
4409 for ac_prog
in ar gar
4411 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4412 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4414 $as_echo_n "checking for $ac_word... " >&6; }
4415 if ${ac_cv_prog_AR+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$AR"; then
4419 ac_cv_prog_AR
="$AR" # Let the user override the test.
4421 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4425 test -z "$as_dir" && as_dir
=.
4426 for ac_exec_ext
in '' $ac_executable_extensions; do
4427 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4428 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4439 if test -n "$AR"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4441 $as_echo "$AR" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4448 test -n "$AR" && break
4451 if test -z "$AR"; then
4453 for ac_prog
in ar gar
4455 # Extract the first word of "$ac_prog", so it can be a program name with args.
4456 set dummy
$ac_prog; ac_word
=$2
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4458 $as_echo_n "checking for $ac_word... " >&6; }
4459 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -n "$ac_ct_AR"; then
4463 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4465 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4469 test -z "$as_dir" && as_dir
=.
4470 for ac_exec_ext
in '' $ac_executable_extensions; do
4471 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4472 ac_cv_prog_ac_ct_AR
="$ac_prog"
4473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4482 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4483 if test -n "$ac_ct_AR"; then
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4485 $as_echo "$ac_ct_AR" >&6; }
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4488 $as_echo "no" >&6; }
4492 test -n "$ac_ct_AR" && break
4495 if test "x$ac_ct_AR" = x
; then
4498 case $cross_compiling:$ac_tool_warned in
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4501 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4502 ac_tool_warned
=yes ;;
4510 if test -n "$ac_tool_prefix"; then
4511 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4512 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4514 $as_echo_n "checking for $ac_word... " >&6; }
4515 if ${ac_cv_prog_RANLIB+:} false
; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -n "$RANLIB"; then
4519 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4525 test -z "$as_dir" && as_dir
=.
4526 for ac_exec_ext
in '' $ac_executable_extensions; do
4527 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4528 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4538 RANLIB
=$ac_cv_prog_RANLIB
4539 if test -n "$RANLIB"; then
4540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4541 $as_echo "$RANLIB" >&6; }
4543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4544 $as_echo "no" >&6; }
4549 if test -z "$ac_cv_prog_RANLIB"; then
4550 ac_ct_RANLIB
=$RANLIB
4551 # Extract the first word of "ranlib", so it can be a program name with args.
4552 set dummy ranlib
; ac_word
=$2
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4554 $as_echo_n "checking for $ac_word... " >&6; }
4555 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4556 $as_echo_n "(cached) " >&6
4558 if test -n "$ac_ct_RANLIB"; then
4559 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4561 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4565 test -z "$as_dir" && as_dir
=.
4566 for ac_exec_ext
in '' $ac_executable_extensions; do
4567 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4568 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4578 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4579 if test -n "$ac_ct_RANLIB"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4581 $as_echo "$ac_ct_RANLIB" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4584 $as_echo "no" >&6; }
4587 if test "x$ac_ct_RANLIB" = x
; then
4590 case $cross_compiling:$ac_tool_warned in
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4594 ac_tool_warned
=yes ;;
4596 RANLIB
=$ac_ct_RANLIB
4599 RANLIB
="$ac_cv_prog_RANLIB"
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4603 $as_echo_n "checking whether ln -s works... " >&6; }
4605 if test "$LN_S" = "ln -s"; then
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4607 $as_echo "yes" >&6; }
4609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4610 $as_echo "no, using $LN_S" >&6; }
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4614 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4615 if ${ac_cv_path_GREP+:} false
; then :
4616 $as_echo_n "(cached) " >&6
4618 if test -z "$GREP"; then
4619 ac_path_GREP_found
=false
4620 # Loop through the user's path and test for each of PROGNAME-LIST
4621 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4622 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4625 test -z "$as_dir" && as_dir
=.
4626 for ac_prog
in grep ggrep
; do
4627 for ac_exec_ext
in '' $ac_executable_extensions; do
4628 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4629 as_fn_executable_p
"$ac_path_GREP" ||
continue
4630 # Check for GNU ac_path_GREP and select it if it is found.
4631 # Check for GNU $ac_path_GREP
4632 case `"$ac_path_GREP" --version 2>&1` in
4634 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4637 $as_echo_n 0123456789 >"conftest.in"
4640 cat "conftest.in" "conftest.in" >"conftest.tmp"
4641 mv "conftest.tmp" "conftest.in"
4642 cp "conftest.in" "conftest.nl"
4643 $as_echo 'GREP' >> "conftest.nl"
4644 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4645 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4646 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4647 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4648 # Best one so far, save it but keep looking for a better one
4649 ac_cv_path_GREP
="$ac_path_GREP"
4650 ac_path_GREP_max
=$ac_count
4652 # 10*(2^10) chars as input seems more than enough
4653 test $ac_count -gt 10 && break
4655 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4658 $ac_path_GREP_found && break 3
4663 if test -z "$ac_cv_path_GREP"; then
4664 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4667 ac_cv_path_GREP
=$GREP
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4672 $as_echo "$ac_cv_path_GREP" >&6; }
4673 GREP
="$ac_cv_path_GREP"
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4677 $as_echo_n "checking for egrep... " >&6; }
4678 if ${ac_cv_path_EGREP+:} false
; then :
4679 $as_echo_n "(cached) " >&6
4681 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4682 then ac_cv_path_EGREP
="$GREP -E"
4684 if test -z "$EGREP"; then
4685 ac_path_EGREP_found
=false
4686 # Loop through the user's path and test for each of PROGNAME-LIST
4687 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4688 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4691 test -z "$as_dir" && as_dir
=.
4692 for ac_prog
in egrep; do
4693 for ac_exec_ext
in '' $ac_executable_extensions; do
4694 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4695 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4696 # Check for GNU ac_path_EGREP and select it if it is found.
4697 # Check for GNU $ac_path_EGREP
4698 case `"$ac_path_EGREP" --version 2>&1` in
4700 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4703 $as_echo_n 0123456789 >"conftest.in"
4706 cat "conftest.in" "conftest.in" >"conftest.tmp"
4707 mv "conftest.tmp" "conftest.in"
4708 cp "conftest.in" "conftest.nl"
4709 $as_echo 'EGREP' >> "conftest.nl"
4710 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4711 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4712 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4713 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4714 # Best one so far, save it but keep looking for a better one
4715 ac_cv_path_EGREP
="$ac_path_EGREP"
4716 ac_path_EGREP_max
=$ac_count
4718 # 10*(2^10) chars as input seems more than enough
4719 test $ac_count -gt 10 && break
4721 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4724 $ac_path_EGREP_found && break 3
4729 if test -z "$ac_cv_path_EGREP"; then
4730 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4733 ac_cv_path_EGREP
=$EGREP
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4739 $as_echo "$ac_cv_path_EGREP" >&6; }
4740 EGREP
="$ac_cv_path_EGREP"
4743 # Extract the first word of "ldconfig", so it can be a program name with args.
4744 set dummy ldconfig
; ac_word
=$2
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4746 $as_echo_n "checking for $ac_word... " >&6; }
4747 if ${ac_cv_path_LDCONFIG+:} false
; then :
4748 $as_echo_n "(cached) " >&6
4752 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4755 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4756 for as_dir
in /sbin
/usr
/sbin
$PATH
4759 test -z "$as_dir" && as_dir
=.
4760 for ac_exec_ext
in '' $ac_executable_extensions; do
4761 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4762 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4770 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4774 LDCONFIG
=$ac_cv_path_LDCONFIG
4775 if test -n "$LDCONFIG"; then
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4777 $as_echo "$LDCONFIG" >&6; }
4779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4780 $as_echo "no" >&6; }
4784 # Find a good install program. We prefer a C program (faster),
4785 # so one script is as good as another. But avoid the broken or
4786 # incompatible versions:
4787 # SysV /etc/install, /usr/sbin/install
4788 # SunOS /usr/etc/install
4789 # IRIX /sbin/install
4791 # AmigaOS /C/install, which installs bootblocks on floppy discs
4792 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4793 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4794 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4795 # OS/2's system install, which has a completely different semantic
4796 # ./install, which can be erroneously created by make from ./install.sh.
4797 # Reject install programs that cannot install multiple files.
4798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4799 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4800 if test -z "$INSTALL"; then
4801 if ${ac_cv_path_install+:} false
; then :
4802 $as_echo_n "(cached) " >&6
4804 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4808 test -z "$as_dir" && as_dir
=.
4809 # Account for people who put trailing slashes in PATH elements.
4810 case $as_dir/ in #((
4811 .
/ | .
// |
/[cC
]/* | \
4812 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4813 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4816 # OSF1 and SCO ODT 3.0 have their own names for install.
4817 # Don't use installbsd from OSF since it installs stuff as root
4819 for ac_prog
in ginstall scoinst
install; do
4820 for ac_exec_ext
in '' $ac_executable_extensions; do
4821 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4822 if test $ac_prog = install &&
4823 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4824 # AIX install. It has an incompatible calling convention.
4826 elif test $ac_prog = install &&
4827 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4828 # program-specific install script used by HP pwplus--don't use.
4831 rm -rf conftest.one conftest.two conftest.dir
4832 echo one
> conftest.one
4833 echo two
> conftest.two
4835 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4836 test -s conftest.one
&& test -s conftest.two
&&
4837 test -s conftest.dir
/conftest.one
&&
4838 test -s conftest.dir
/conftest.two
4840 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4853 rm -rf conftest.one conftest.two conftest.dir
4856 if test "${ac_cv_path_install+set}" = set; then
4857 INSTALL
=$ac_cv_path_install
4859 # As a last resort, use the slow shell script. Don't cache a
4860 # value for INSTALL within a source directory, because that will
4861 # break other packages using the cache if that directory is
4862 # removed, or if the value is a relative name.
4863 INSTALL
=$ac_install_sh
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4867 $as_echo "$INSTALL" >&6; }
4869 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4870 # It thinks the first close brace ends the variable substitution.
4871 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4873 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4875 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4878 [\\/$
]* | ?
:[\\/]* ) ;;
4879 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4882 for ac_prog
in lclint lint
4884 # Extract the first word of "$ac_prog", so it can be a program name with args.
4885 set dummy
$ac_prog; ac_word
=$2
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4887 $as_echo_n "checking for $ac_word... " >&6; }
4888 if ${ac_cv_prog_LINT+:} false
; then :
4889 $as_echo_n "(cached) " >&6
4891 if test -n "$LINT"; then
4892 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4894 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4898 test -z "$as_dir" && as_dir
=.
4899 for ac_exec_ext
in '' $ac_executable_extensions; do
4900 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4901 ac_cv_prog_LINT
="$ac_prog"
4902 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4911 LINT
=$ac_cv_prog_LINT
4912 if test -n "$LINT"; then
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4914 $as_echo "$LINT" >&6; }
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4917 $as_echo "no" >&6; }
4921 test -n "$LINT" && break
4924 if test "$LINT" = "lint"
4926 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4930 for ac_prog
in fontforge
4932 # Extract the first word of "$ac_prog", so it can be a program name with args.
4933 set dummy
$ac_prog; ac_word
=$2
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4935 $as_echo_n "checking for $ac_word... " >&6; }
4936 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4937 $as_echo_n "(cached) " >&6
4939 if test -n "$FONTFORGE"; then
4940 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4946 test -z "$as_dir" && as_dir
=.
4947 for ac_exec_ext
in '' $ac_executable_extensions; do
4948 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4949 ac_cv_prog_FONTFORGE
="$ac_prog"
4950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4959 FONTFORGE
=$ac_cv_prog_FONTFORGE
4960 if test -n "$FONTFORGE"; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4962 $as_echo "$FONTFORGE" >&6; }
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4965 $as_echo "no" >&6; }
4969 test -n "$FONTFORGE" && break
4971 test -n "$FONTFORGE" || FONTFORGE
="false"
4975 # Extract the first word of "$ac_prog", so it can be a program name with args.
4976 set dummy
$ac_prog; ac_word
=$2
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4978 $as_echo_n "checking for $ac_word... " >&6; }
4979 if ${ac_cv_prog_RSVG+:} false
; then :
4980 $as_echo_n "(cached) " >&6
4982 if test -n "$RSVG"; then
4983 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4989 test -z "$as_dir" && as_dir
=.
4990 for ac_exec_ext
in '' $ac_executable_extensions; do
4991 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4992 ac_cv_prog_RSVG
="$ac_prog"
4993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 RSVG
=$ac_cv_prog_RSVG
5003 if test -n "$RSVG"; then
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5005 $as_echo "$RSVG" >&6; }
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5008 $as_echo "no" >&6; }
5012 test -n "$RSVG" && break
5014 test -n "$RSVG" || RSVG
="false"
5016 for ac_prog
in convert
5018 # Extract the first word of "$ac_prog", so it can be a program name with args.
5019 set dummy
$ac_prog; ac_word
=$2
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5021 $as_echo_n "checking for $ac_word... " >&6; }
5022 if ${ac_cv_prog_CONVERT+:} false
; then :
5023 $as_echo_n "(cached) " >&6
5025 if test -n "$CONVERT"; then
5026 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5028 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5032 test -z "$as_dir" && as_dir
=.
5033 for ac_exec_ext
in '' $ac_executable_extensions; do
5034 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5035 ac_cv_prog_CONVERT
="$ac_prog"
5036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5045 CONVERT
=$ac_cv_prog_CONVERT
5046 if test -n "$CONVERT"; then
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5048 $as_echo "$CONVERT" >&6; }
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5051 $as_echo "no" >&6; }
5055 test -n "$CONVERT" && break
5057 test -n "$CONVERT" || CONVERT
="false"
5059 for ac_prog
in icotool
5061 # Extract the first word of "$ac_prog", so it can be a program name with args.
5062 set dummy
$ac_prog; ac_word
=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5066 $as_echo_n "(cached) " >&6
5068 if test -n "$ICOTOOL"; then
5069 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5071 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5075 test -z "$as_dir" && as_dir
=.
5076 for ac_exec_ext
in '' $ac_executable_extensions; do
5077 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5078 ac_cv_prog_ICOTOOL
="$ac_prog"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 ICOTOOL
=$ac_cv_prog_ICOTOOL
5089 if test -n "$ICOTOOL"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5091 $as_echo "$ICOTOOL" >&6; }
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5098 test -n "$ICOTOOL" && break
5100 test -n "$ICOTOOL" || ICOTOOL
="false"
5102 for ac_prog
in msgfmt
5104 # Extract the first word of "$ac_prog", so it can be a program name with args.
5105 set dummy
$ac_prog; ac_word
=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_MSGFMT+:} false
; then :
5109 $as_echo_n "(cached) " >&6
5111 if test -n "$MSGFMT"; then
5112 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5114 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5118 test -z "$as_dir" && as_dir
=.
5119 for ac_exec_ext
in '' $ac_executable_extensions; do
5120 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_MSGFMT
="$ac_prog"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5131 MSGFMT
=$ac_cv_prog_MSGFMT
5132 if test -n "$MSGFMT"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5134 $as_echo "$MSGFMT" >&6; }
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5141 test -n "$MSGFMT" && break
5143 test -n "$MSGFMT" || MSGFMT
="false"
5146 if test "x$enable_maintainer_mode" != "xyes"
5151 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5152 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5154 if test "$CONVERT" = false
5156 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5159 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5160 convert_version
=`convert --version | head -n1`
5161 if test "x$convert_version" != "x"
5163 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5164 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5165 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5170 if test "$CONVERT" = false
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5173 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5174 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5177 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5181 if test "$ICOTOOL" = false
5183 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5186 $as_echo_n "checking for recent enough icotool... " >&6; }
5187 icotool_version
=`icotool --version | head -n1`
5188 if test "x$icotool_version" != "x"
5190 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5191 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5192 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5195 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5198 if test "$ICOTOOL" = false
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5201 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5202 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5205 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5211 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5214 test "x$with_gettext" != xno || MSGFMT
=false
5215 if test "$MSGFMT" != "false"
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5218 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5219 cat >conftest.po
<<EOF
5225 if $MSGFMT -o /dev
/null conftest.po
2>&5
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5228 $as_echo "yes" >&6; }
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5231 $as_echo "no" >&6; }
5235 if test "$MSGFMT" = false
; then :
5236 case "x$with_gettext" in
5237 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5239 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5240 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5246 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5247 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5248 $as_echo_n "(cached) " >&6
5250 ac_check_lib_save_LIBS
=$LIBS
5252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5253 /* end confdefs.h. */
5255 /* Override any GCC internal prototype to avoid an error.
5256 Use char because int might match the return type of a GCC
5257 builtin and then its argument prototype would still apply. */
5261 char i386_set_ldt ();
5265 return i386_set_ldt ();
5270 if ac_fn_c_try_link
"$LINENO"; then :
5271 ac_cv_lib_i386_i386_set_ldt
=yes
5273 ac_cv_lib_i386_i386_set_ldt
=no
5275 rm -f core conftest.err conftest.
$ac_objext \
5276 conftest
$ac_exeext conftest.
$ac_ext
5277 LIBS
=$ac_check_lib_save_LIBS
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5280 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5281 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5282 cat >>confdefs.h
<<_ACEOF
5283 #define HAVE_LIBI386 1
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5291 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5292 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5293 $as_echo_n "(cached) " >&6
5295 ac_check_lib_save_LIBS
=$LIBS
5296 LIBS
="-lossaudio $LIBS"
5297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5298 /* end confdefs.h. */
5300 /* Override any GCC internal prototype to avoid an error.
5301 Use char because int might match the return type of a GCC
5302 builtin and then its argument prototype would still apply. */
5310 return _oss_ioctl ();
5315 if ac_fn_c_try_link
"$LINENO"; then :
5316 ac_cv_lib_ossaudio__oss_ioctl
=yes
5318 ac_cv_lib_ossaudio__oss_ioctl
=no
5320 rm -f core conftest.err conftest.
$ac_objext \
5321 conftest
$ac_exeext conftest.
$ac_ext
5322 LIBS
=$ac_check_lib_save_LIBS
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5325 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5326 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5327 cat >>confdefs.h
<<_ACEOF
5328 #define HAVE_LIBOSSAUDIO 1
5331 LIBS
="-lossaudio $LIBS"
5342 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5344 # Check whether --enable-largefile was given.
5345 if test "${enable_largefile+set}" = set; then :
5346 enableval
=$enable_largefile;
5349 if test "$enable_largefile" != no
; then
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5352 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5353 if ${ac_cv_sys_largefile_CC+:} false
; then :
5354 $as_echo_n "(cached) " >&6
5356 ac_cv_sys_largefile_CC
=no
5357 if test "$GCC" != yes; then
5360 # IRIX 6.2 and later do not support large files by default,
5361 # so use the C compiler's -n32 option if that helps.
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5364 #include <sys/types.h>
5365 /* Check that off_t can represent 2**63 - 1 correctly.
5366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5367 since some C++ compilers masquerading as C compilers
5368 incorrectly reject 9223372036854775807. */
5369 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5371 && LARGE_OFF_T % 2147483647 == 1)
5381 if ac_fn_c_try_compile
"$LINENO"; then :
5384 rm -f core conftest.err conftest.
$ac_objext
5386 if ac_fn_c_try_compile
"$LINENO"; then :
5387 ac_cv_sys_largefile_CC
=' -n32'; break
5389 rm -f core conftest.err conftest.
$ac_objext
5393 rm -f conftest.
$ac_ext
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5397 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5398 if test "$ac_cv_sys_largefile_CC" != no
; then
5399 CC
=$CC$ac_cv_sys_largefile_CC
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5403 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5404 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5405 $as_echo_n "(cached) " >&6
5408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5410 #include <sys/types.h>
5411 /* Check that off_t can represent 2**63 - 1 correctly.
5412 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5413 since some C++ compilers masquerading as C compilers
5414 incorrectly reject 9223372036854775807. */
5415 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5416 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5417 && LARGE_OFF_T % 2147483647 == 1)
5427 if ac_fn_c_try_compile
"$LINENO"; then :
5428 ac_cv_sys_file_offset_bits
=no
; break
5430 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5433 #define _FILE_OFFSET_BITS 64
5434 #include <sys/types.h>
5435 /* Check that off_t can represent 2**63 - 1 correctly.
5436 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5437 since some C++ compilers masquerading as C compilers
5438 incorrectly reject 9223372036854775807. */
5439 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5440 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5441 && LARGE_OFF_T % 2147483647 == 1)
5451 if ac_fn_c_try_compile
"$LINENO"; then :
5452 ac_cv_sys_file_offset_bits
=64; break
5454 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5455 ac_cv_sys_file_offset_bits
=unknown
5459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5460 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5461 case $ac_cv_sys_file_offset_bits in #(
5464 cat >>confdefs.h
<<_ACEOF
5465 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5470 if test $ac_cv_sys_file_offset_bits = unknown
; then
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5472 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5473 if ${ac_cv_sys_large_files+:} false
; then :
5474 $as_echo_n "(cached) " >&6
5477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5478 /* end confdefs.h. */
5479 #include <sys/types.h>
5480 /* Check that off_t can represent 2**63 - 1 correctly.
5481 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5482 since some C++ compilers masquerading as C compilers
5483 incorrectly reject 9223372036854775807. */
5484 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5485 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5486 && LARGE_OFF_T % 2147483647 == 1)
5496 if ac_fn_c_try_compile
"$LINENO"; then :
5497 ac_cv_sys_large_files
=no
; break
5499 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5501 /* end confdefs.h. */
5502 #define _LARGE_FILES 1
5503 #include <sys/types.h>
5504 /* Check that off_t can represent 2**63 - 1 correctly.
5505 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5506 since some C++ compilers masquerading as C compilers
5507 incorrectly reject 9223372036854775807. */
5508 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5509 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5510 && LARGE_OFF_T % 2147483647 == 1)
5520 if ac_fn_c_try_compile
"$LINENO"; then :
5521 ac_cv_sys_large_files
=1; break
5523 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5524 ac_cv_sys_large_files
=unknown
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5529 $as_echo "$ac_cv_sys_large_files" >&6; }
5530 case $ac_cv_sys_large_files in #(
5533 cat >>confdefs.h
<<_ACEOF
5534 #define _LARGE_FILES $ac_cv_sys_large_files
5546 ac_cpp
='$CPP $CPPFLAGS'
5547 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5548 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5549 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5551 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5552 # On Suns, sometimes $CPP names a directory.
5553 if test -n "$CPP" && test -d "$CPP"; then
5556 if test -z "$CPP"; then
5557 if ${ac_cv_prog_CPP+:} false
; then :
5558 $as_echo_n "(cached) " >&6
5560 # Double quotes because CPP needs to be expanded
5561 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5564 for ac_c_preproc_warn_flag
in '' yes
5566 # Use a header file that comes with gcc, so configuring glibc
5567 # with a fresh cross-compiler works.
5568 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5569 # <limits.h> exists even on freestanding compilers.
5570 # On the NeXT, cc -E runs the code through the compiler's parser,
5571 # not just through cpp. "Syntax error" is here to catch this case.
5572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5573 /* end confdefs.h. */
5575 # include <limits.h>
5577 # include <assert.h>
5581 if ac_fn_c_try_cpp
"$LINENO"; then :
5584 # Broken: fails on valid input.
5587 rm -f conftest.err conftest.i conftest.
$ac_ext
5589 # OK, works on sane cases. Now check whether nonexistent headers
5590 # can be detected and how.
5591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5592 /* end confdefs.h. */
5593 #include <ac_nonexistent.h>
5595 if ac_fn_c_try_cpp
"$LINENO"; then :
5596 # Broken: success on invalid input.
5599 # Passes both tests.
5603 rm -f conftest.err conftest.i conftest.
$ac_ext
5606 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5607 rm -f conftest.i conftest.err conftest.
$ac_ext
5608 if $ac_preproc_ok; then :
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5621 $as_echo "$CPP" >&6; }
5623 for ac_c_preproc_warn_flag
in '' yes
5625 # Use a header file that comes with gcc, so configuring glibc
5626 # with a fresh cross-compiler works.
5627 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5628 # <limits.h> exists even on freestanding compilers.
5629 # On the NeXT, cc -E runs the code through the compiler's parser,
5630 # not just through cpp. "Syntax error" is here to catch this case.
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5634 # include <limits.h>
5636 # include <assert.h>
5640 if ac_fn_c_try_cpp
"$LINENO"; then :
5643 # Broken: fails on valid input.
5646 rm -f conftest.err conftest.i conftest.
$ac_ext
5648 # OK, works on sane cases. Now check whether nonexistent headers
5649 # can be detected and how.
5650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5652 #include <ac_nonexistent.h>
5654 if ac_fn_c_try_cpp
"$LINENO"; then :
5655 # Broken: success on invalid input.
5658 # Passes both tests.
5662 rm -f conftest.err conftest.i conftest.
$ac_ext
5665 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5666 rm -f conftest.i conftest.err conftest.
$ac_ext
5667 if $ac_preproc_ok; then :
5670 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5671 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5672 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5673 See \`config.log' for more details" "$LINENO" 5; }
5677 ac_cpp
='$CPP $CPPFLAGS'
5678 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5679 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5680 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5684 $as_echo_n "checking for ANSI C header files... " >&6; }
5685 if ${ac_cv_header_stdc+:} false
; then :
5686 $as_echo_n "(cached) " >&6
5688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5689 /* end confdefs.h. */
5703 if ac_fn_c_try_compile
"$LINENO"; then :
5704 ac_cv_header_stdc
=yes
5706 ac_cv_header_stdc
=no
5708 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5710 if test $ac_cv_header_stdc = yes; then
5711 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5713 /* end confdefs.h. */
5717 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5718 $EGREP "memchr" >/dev
/null
2>&1; then :
5721 ac_cv_header_stdc
=no
5727 if test $ac_cv_header_stdc = yes; then
5728 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5730 /* end confdefs.h. */
5734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5735 $EGREP "free" >/dev
/null
2>&1; then :
5738 ac_cv_header_stdc
=no
5744 if test $ac_cv_header_stdc = yes; then
5745 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5746 if test "$cross_compiling" = yes; then :
5749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5750 /* end confdefs.h. */
5753 #if ((' ' & 0x0FF) == 0x020)
5754 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5755 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5757 # define ISLOWER(c) \
5758 (('a' <= (c) && (c) <= 'i') \
5759 || ('j' <= (c) && (c) <= 'r') \
5760 || ('s' <= (c) && (c) <= 'z'))
5761 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5764 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5769 for (i = 0; i < 256; i++)
5770 if (XOR (islower (i), ISLOWER (i))
5771 || toupper (i) != TOUPPER (i))
5776 if ac_fn_c_try_run
"$LINENO"; then :
5779 ac_cv_header_stdc
=no
5781 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5782 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5788 $as_echo "$ac_cv_header_stdc" >&6; }
5789 if test $ac_cv_header_stdc = yes; then
5791 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5795 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5796 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5797 inttypes.h stdint.h unistd.h
5799 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5800 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5802 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5803 cat >>confdefs.h
<<_ACEOF
5804 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5814 ApplicationServices
/ApplicationServices.h \
5815 AudioToolbox
/AudioConverter.h \
5816 AudioUnit
/AudioUnit.h \
5817 AudioUnit
/AudioComponent.h \
5820 CoreAudio
/CoreAudio.h \
5821 CoreServices
/CoreServices.h \
5822 DiskArbitration
/DiskArbitration.h \
5824 IOKit
/hid
/IOHIDLib.h \
5827 QuickTime
/ImageCompression.h \
5828 Security
/Security.h \
5842 fontconfig
/fontconfig.h \
5883 netinet
/in_systm.h \
5944 valgrind
/memcheck.h \
5945 valgrind
/valgrind.h \
5949 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5950 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5951 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5952 cat >>confdefs.h
<<_ACEOF
5953 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5961 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5962 if ${ac_cv_header_stat_broken+:} false
; then :
5963 $as_echo_n "(cached) " >&6
5965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5966 /* end confdefs.h. */
5967 #include <sys/types.h>
5968 #include <sys/stat.h>
5970 #if defined S_ISBLK && defined S_IFDIR
5971 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5974 #if defined S_ISBLK && defined S_IFCHR
5975 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5978 #if defined S_ISLNK && defined S_IFREG
5979 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5982 #if defined S_ISSOCK && defined S_IFREG
5983 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5987 if ac_fn_c_try_compile
"$LINENO"; then :
5988 ac_cv_header_stat_broken
=no
5990 ac_cv_header_stat_broken
=yes
5992 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5995 $as_echo "$ac_cv_header_stat_broken" >&6; }
5996 if test $ac_cv_header_stat_broken = yes; then
5998 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
6004 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
6006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6007 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6008 #ifdef HAVE_SYS_PARAM_H
6009 # include <sys/param.h>
6012 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6013 cat >>confdefs.h
<<_ACEOF
6014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6029 netinet
/if_ether.h \
6030 netinet
/if_inarp.h \
6039 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6040 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6041 #ifdef HAVE_SYS_SOCKET_H
6042 # include <sys/socket.h>
6044 #ifdef HAVE_SYS_SOCKETVAR_H
6045 # include <sys/socketvar.h>
6047 #ifdef HAVE_NET_ROUTE_H
6048 # include <net/route.h>
6050 #ifdef HAVE_NETINET_IN_H
6051 # include <netinet/in.h>
6053 #ifdef HAVE_NETINET_IN_SYSTM_H
6054 # include <netinet/in_systm.h>
6056 #ifdef HAVE_NET_IF_H
6057 # include <net/if.h>
6059 #ifdef HAVE_NETINET_IP_H
6060 # include <netinet/ip.h>
6063 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6064 cat >>confdefs.h
<<_ACEOF
6065 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6073 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6075 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6076 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6080 #ifdef HAVE_SYS_SOCKET_H
6081 # include <sys/socket.h>
6083 #ifdef HAVE_SYS_SOCKETVAR_H
6084 # include <sys/socketvar.h>
6086 #ifdef HAVE_SYS_TIMEOUT_H
6087 # include <sys/timeout.h>
6089 #ifdef HAVE_NETINET_IN_H
6090 # include <netinet/in.h>
6092 #ifdef HAVE_NETINET_IN_SYSTM_H
6093 # include <netinet/in_systm.h>
6095 #ifdef HAVE_NETINET_IP_H
6096 # include <netinet/ip.h>
6098 #ifdef HAVE_NETINET_IP_VAR_H
6099 # include <netinet/ip_var.h>
6101 #ifdef HAVE_NETINET_IP_ICMP_H
6102 # include <netinet/ip_icmp.h>
6104 #ifdef HAVE_NETINET_UDP_H
6105 # include <netinet/udp.h>
6107 #ifdef HAVE_NETINET_TCP_H
6108 # include <netinet/tcp.h>
6110 #ifdef HAVE_NETINET_TCP_TIMER_H
6111 #include <netinet/tcp_timer.h>
6114 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6115 cat >>confdefs.h
<<_ACEOF
6116 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6124 for ac_header
in linux
/ipx.h linux
/irda.h
6126 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6127 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6128 #ifdef HAVE_ASM_TYPES_H
6129 # include <asm/types.h>
6131 #ifdef HAVE_SYS_SOCKET_H
6132 # include <sys/socket.h>
6134 #ifdef HAVE_LINUX_TYPES_H
6135 # include <linux/types.h>
6138 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6139 cat >>confdefs.h
<<_ACEOF
6140 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6148 for ac_header
in mach-o
/dyld_images.h
6150 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6151 # include <stdbool.h>
6153 #ifdef HAVE_STDINT_H
6154 # include <stdint.h>
6157 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6158 cat >>confdefs.h
<<_ACEOF
6159 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6167 for ac_header
in resolv.h
6169 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6170 #ifdef HAVE_SYS_SOCKET_H
6171 # include <sys/socket.h>
6173 #ifdef HAVE_NETINET_IN_H
6174 # include <netinet/in.h>
6176 #ifdef HAVE_ARPA_NAMESER_H
6177 # include <arpa/nameser.h>
6180 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6181 cat >>confdefs.h
<<_ACEOF
6182 #define HAVE_RESOLV_H 1
6190 for ac_header
in ifaddrs.h
6192 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6194 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6195 cat >>confdefs.h
<<_ACEOF
6196 #define HAVE_IFADDRS_H 1
6204 for ac_header
in ucontext.h
6206 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6208 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6209 cat >>confdefs.h
<<_ACEOF
6210 #define HAVE_UCONTEXT_H 1
6218 for ac_header
in sys
/thr.h
6220 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6221 #ifdef HAVE_UCONTEXT_H
6222 #include <ucontext.h>
6225 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6226 cat >>confdefs.h
<<_ACEOF
6227 #define HAVE_SYS_THR_H 1
6235 for ac_header
in pthread_np.h
6237 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6238 #include <pthread.h>
6241 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6242 cat >>confdefs.h
<<_ACEOF
6243 #define HAVE_PTHREAD_NP_H 1
6251 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6253 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6254 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6255 #include <sys/time.h>
6257 #include <sys/types.h>
6258 #ifdef HAVE_ASM_TYPES_H
6259 #include <asm/types.h>
6262 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6263 cat >>confdefs.h
<<_ACEOF
6264 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6272 for ac_header
in linux
/capi.h
6274 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6276 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6277 cat >>confdefs.h
<<_ACEOF
6278 #define HAVE_LINUX_CAPI_H 1
6289 DLLFLAGS
="-D_REENTRANT"
6300 STATIC_IMPLIBEXT
="def.a"
6301 # Extract the first word of "ldd", so it can be a program name with args.
6302 set dummy ldd
; ac_word
=$2
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6304 $as_echo_n "checking for $ac_word... " >&6; }
6305 if ${ac_cv_path_LDD+:} false
; then :
6306 $as_echo_n "(cached) " >&6
6310 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6314 as_dummy
="/sbin:/usr/sbin:$PATH"
6315 for as_dir
in $as_dummy
6318 test -z "$as_dir" && as_dir
=.
6319 for ac_exec_ext
in '' $ac_executable_extensions; do
6320 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6321 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6329 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6334 if test -n "$LDD"; then
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6336 $as_echo "$LDD" >&6; }
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6343 if test -n "$ac_tool_prefix"; then
6344 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
6345 set dummy
${ac_tool_prefix}readelf
; ac_word
=$2
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6347 $as_echo_n "checking for $ac_word... " >&6; }
6348 if ${ac_cv_prog_READELF+:} false
; then :
6349 $as_echo_n "(cached) " >&6
6351 if test -n "$READELF"; then
6352 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6354 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6358 test -z "$as_dir" && as_dir
=.
6359 for ac_exec_ext
in '' $ac_executable_extensions; do
6360 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6361 ac_cv_prog_READELF
="${ac_tool_prefix}readelf"
6362 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6371 READELF
=$ac_cv_prog_READELF
6372 if test -n "$READELF"; then
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6374 $as_echo "$READELF" >&6; }
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6377 $as_echo "no" >&6; }
6382 if test -z "$ac_cv_prog_READELF"; then
6383 ac_ct_READELF
=$READELF
6384 # Extract the first word of "readelf", so it can be a program name with args.
6385 set dummy readelf
; ac_word
=$2
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6387 $as_echo_n "checking for $ac_word... " >&6; }
6388 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6389 $as_echo_n "(cached) " >&6
6391 if test -n "$ac_ct_READELF"; then
6392 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6394 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6398 test -z "$as_dir" && as_dir
=.
6399 for ac_exec_ext
in '' $ac_executable_extensions; do
6400 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6401 ac_cv_prog_ac_ct_READELF
="readelf"
6402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6411 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6412 if test -n "$ac_ct_READELF"; then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6414 $as_echo "$ac_ct_READELF" >&6; }
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6417 $as_echo "no" >&6; }
6420 if test "x$ac_ct_READELF" = x
; then
6423 case $cross_compiling:$ac_tool_warned in
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6426 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6427 ac_tool_warned
=yes ;;
6429 READELF
=$ac_ct_READELF
6432 READELF
="$ac_cv_prog_READELF"
6438 if test -n "$ac_tool_prefix"; then
6439 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6440 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6444 $as_echo_n "(cached) " >&6
6446 if test -n "$DLLTOOL"; then
6447 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir
=.
6454 for ac_exec_ext
in '' $ac_executable_extensions; do
6455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 DLLTOOL
=$ac_cv_prog_DLLTOOL
6467 if test -n "$DLLTOOL"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6469 $as_echo "$DLLTOOL" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6477 if test -z "$ac_cv_prog_DLLTOOL"; then
6478 ac_ct_DLLTOOL
=$DLLTOOL
6479 # Extract the first word of "dlltool", so it can be a program name with args.
6480 set dummy dlltool
; ac_word
=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6484 $as_echo_n "(cached) " >&6
6486 if test -n "$ac_ct_DLLTOOL"; then
6487 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6493 test -z "$as_dir" && as_dir
=.
6494 for ac_exec_ext
in '' $ac_executable_extensions; do
6495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6507 if test -n "$ac_ct_DLLTOOL"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6509 $as_echo "$ac_ct_DLLTOOL" >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6515 if test "x$ac_ct_DLLTOOL" = x
; then
6518 case $cross_compiling:$ac_tool_warned in
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522 ac_tool_warned
=yes ;;
6524 DLLTOOL
=$ac_ct_DLLTOOL
6527 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6530 if test -n "$ac_tool_prefix"; then
6531 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6532 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6536 $as_echo_n "(cached) " >&6
6538 if test -n "$DLLWRAP"; then
6539 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6545 test -z "$as_dir" && as_dir
=.
6546 for ac_exec_ext
in '' $ac_executable_extensions; do
6547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 DLLWRAP
=$ac_cv_prog_DLLWRAP
6559 if test -n "$DLLWRAP"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6561 $as_echo "$DLLWRAP" >&6; }
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6569 if test -z "$ac_cv_prog_DLLWRAP"; then
6570 ac_ct_DLLWRAP
=$DLLWRAP
6571 # Extract the first word of "dllwrap", so it can be a program name with args.
6572 set dummy dllwrap
; ac_word
=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -n "$ac_ct_DLLWRAP"; then
6579 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir
=.
6586 for ac_exec_ext
in '' $ac_executable_extensions; do
6587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6599 if test -n "$ac_ct_DLLWRAP"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6601 $as_echo "$ac_ct_DLLWRAP" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6607 if test "x$ac_ct_DLLWRAP" = x
; then
6610 case $cross_compiling:$ac_tool_warned in
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6614 ac_tool_warned
=yes ;;
6616 DLLWRAP
=$ac_ct_DLLWRAP
6619 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6622 if test "$DLLWRAP" = "false"; then
6623 as_fn_error $?
"dllwrap is needed to build a dll for Windows" "$LINENO" 5
6627 STATIC_IMPLIBEXT
="a"
6628 enable_iphlpapi
=${enable_iphlpapi:-no}
6629 enable_kernel32
=${enable_kernel32:-no}
6630 enable_msvcrt
=${enable_msvcrt:-no}
6631 enable_ntdll
=${enable_ntdll:-no}
6632 enable_ws2_32
=${enable_ws2_32:-no}
6633 enable_loader
=${enable_loader:-no}
6634 enable_server
=${enable_server:-no}
6635 with_x
=${with_x:-no}
6636 with_pthread
=${with_pthread:-no}
6642 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6647 all: libwine.dll libwine.a
6650 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6652 libwine.dll: \$(OBJS) wine.def Makefile.in
6653 \$(DLLWRAP) --def \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6655 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6656 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6658 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6659 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6662 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6665 \$(RM) libwine.dll version.c
6673 DLLFLAGS
="$DLLFLAGS -fPIC"
6674 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6675 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6676 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6677 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6678 COREFOUNDATIONLIB
="-framework CoreFoundation"
6680 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6682 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6684 CORESERVICESLIB
="-framework CoreServices"
6688 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"
6691 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6694 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6696 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6699 if test "$ac_cv_header_Security_Security_h" = "yes"
6701 SECURITYLIB
="-framework Security -framework CoreFoundation"
6703 ac_save_LIBS
="$LIBS"
6704 LIBS
="$LIBS $SECURITYLIB"
6705 for ac_func
in SSLCopyPeerCertificates
6707 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6708 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6709 cat >>confdefs.h
<<_ACEOF
6710 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6716 LIBS
="$ac_save_LIBS"
6717 with_gnutls
=${with_gnutls:-no}
6719 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6721 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6723 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6726 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6729 ac_save_LIBS
="$LIBS"
6730 LIBS
="$LIBS $COREAUDIO"
6731 for ac_func
in AUGraphAddNode
6733 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6734 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6735 cat >>confdefs.h
<<_ACEOF
6736 #define HAVE_AUGRAPHADDNODE 1
6742 LIBS
="$ac_save_LIBS"
6744 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6746 FRAMEWORK_OPENAL
="-framework OpenAL"
6749 cat >>confdefs.h
<<_ACEOF
6750 #define HAVE_OPENAL 1
6753 ac_cv_lib_openal
=yes
6755 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6757 LIBOPENCL
="-framework OpenCL"
6759 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6761 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6763 ac_save_LIBS
="$LIBS"
6764 LIBS
="$LIBS $IOKITLIB"
6765 for ac_func
in IOHIDManagerCreate
6767 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6768 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define HAVE_IOHIDMANAGERCREATE 1
6776 LIBS
="$ac_save_LIBS"
6780 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6782 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6784 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6786 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6788 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6790 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6792 CARBONLIB
="-framework Carbon"
6796 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6798 ac_save_LIBS
="$LIBS"
6799 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6800 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6801 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6802 enable_winemac_drv
=${enable_winemac_drv:-yes}
6805 LIBS
="$ac_save_LIBS"
6808 if test "x$enable_win16" = "xyes"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6811 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6812 if test "$cross_compiling" = yes; then :
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6814 $as_echo "cross-compiling, assuming yes" >&6; }
6816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6817 /* end confdefs.h. */
6820 "good:\tnop;nop\n\t"
6821 ".globl _testfunc\n"
6822 "_testfunc:\tcallw good");
6823 extern void testfunc();
6827 unsigned short *p = (unsigned short *)testfunc;
6828 return p[0] != 0xe866 || p[1] != 0xfffa
6833 if ac_fn_c_try_run
"$LINENO"; then :
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6835 $as_echo "yes" >&6; }
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6839 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
6841 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6842 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6850 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6851 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6853 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6854 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6856 libwine.dylib: libwine.\$(SOVERSION).dylib
6857 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6859 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6860 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6861 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6863 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6867 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6870 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6876 DLLFLAGS
="$DLLFLAGS -fPIC"
6878 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6880 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6881 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6882 $as_echo_n "(cached) " >&6
6884 ac_wine_try_cflags_saved
=$CFLAGS
6885 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 int main(int argc, char **argv) { return 0; }
6890 if ac_fn_c_try_link
"$LINENO"; then :
6891 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6893 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6895 rm -f core conftest.err conftest.
$ac_objext \
6896 conftest
$ac_exeext conftest.
$ac_ext
6897 CFLAGS
=$ac_wine_try_cflags_saved
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6900 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6901 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6902 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6904 { $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
6905 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6906 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6907 $as_echo_n "(cached) " >&6
6909 ac_wine_try_cflags_saved
=$CFLAGS
6910 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 int main(int argc, char **argv) { return 0; }
6915 if ac_fn_c_try_link
"$LINENO"; then :
6916 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6918 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6920 rm -f core conftest.err conftest.
$ac_objext \
6921 conftest
$ac_exeext conftest.
$ac_ext
6922 CFLAGS
=$ac_wine_try_cflags_saved
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6925 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6926 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6927 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6930 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6931 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6932 $as_echo_n "(cached) " >&6
6934 ac_wine_try_cflags_saved
=$CFLAGS
6935 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 int main(int argc, char **argv) { return 0; }
6940 if ac_fn_c_try_link
"$LINENO"; then :
6941 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6943 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6945 rm -f core conftest.err conftest.
$ac_objext \
6946 conftest
$ac_exeext conftest.
$ac_ext
6947 CFLAGS
=$ac_wine_try_cflags_saved
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6950 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6951 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6952 LDEXECFLAGS
="-Wl,--export-dynamic"
6955 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6957 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6958 if eval \
${$as_ac_var+:} false
; then :
6959 $as_echo_n "(cached) " >&6
6961 ac_wine_try_cflags_saved
=$CFLAGS
6962 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 int main(int argc, char **argv) { return 0; }
6967 if ac_fn_c_try_link
"$LINENO"; then :
6968 eval "$as_ac_var=yes"
6970 eval "$as_ac_var=no"
6972 rm -f core conftest.err conftest.
$ac_objext \
6973 conftest
$ac_exeext conftest.
$ac_ext
6974 CFLAGS
=$ac_wine_try_cflags_saved
6976 eval ac_res
=\$
$as_ac_var
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6978 $as_echo "$ac_res" >&6; }
6979 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6980 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6981 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6983 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6985 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6986 if eval \
${$as_ac_var+:} false
; then :
6987 $as_echo_n "(cached) " >&6
6989 ac_wine_try_cflags_saved
=$CFLAGS
6990 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6992 /* end confdefs.h. */
6993 int main(int argc, char **argv) { return 0; }
6995 if ac_fn_c_try_link
"$LINENO"; then :
6996 eval "$as_ac_var=yes"
6998 eval "$as_ac_var=no"
7000 rm -f core conftest.err conftest.
$ac_objext \
7001 conftest
$ac_exeext conftest.
$ac_ext
7002 CFLAGS
=$ac_wine_try_cflags_saved
7004 eval ac_res
=\$
$as_ac_var
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7006 $as_echo "$ac_res" >&6; }
7007 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7008 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7009 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7014 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7015 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7016 $as_echo_n "(cached) " >&6
7018 ac_wine_try_cflags_saved
=$CFLAGS
7019 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 int main(int argc, char **argv) { return 0; }
7024 if ac_fn_c_try_link
"$LINENO"; then :
7025 ac_cv_cflags__Wl___enable_new_dtags
=yes
7027 ac_cv_cflags__Wl___enable_new_dtags
=no
7029 rm -f core conftest.err conftest.
$ac_objext \
7030 conftest
$ac_exeext conftest.
$ac_ext
7031 CFLAGS
=$ac_wine_try_cflags_saved
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7034 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7035 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7036 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7040 *i
[3456789]86* | x86_64
)
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7042 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7043 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7044 $as_echo_n "(cached) " >&6
7046 ac_wine_try_cflags_saved
=$CFLAGS
7047 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 int main(int argc, char **argv) { return 0; }
7052 if ac_fn_c_try_link
"$LINENO"; then :
7053 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7055 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7057 rm -f core conftest.err conftest.
$ac_objext \
7058 conftest
$ac_exeext conftest.
$ac_ext
7059 CFLAGS
=$ac_wine_try_cflags_saved
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7062 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7063 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7064 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7072 libwine.so: \$(OBJS) Makefile.in
7073 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7075 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7076 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7079 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7082 \$(RM) libwine.so version.c
7088 DLLFLAGS
="$DLLFLAGS -fPIC"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7091 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7092 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7093 $as_echo_n "(cached) " >&6
7095 ac_wine_try_cflags_saved
=$CFLAGS
7096 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7101 if ac_fn_c_try_link
"$LINENO"; then :
7102 ac_cv_c_dll_gnuelf
="yes"
7104 ac_cv_c_dll_gnuelf
="no"
7106 rm -f core conftest.err conftest.
$ac_objext \
7107 conftest
$ac_exeext conftest.
$ac_ext
7108 CFLAGS
=$ac_wine_try_cflags_saved
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7111 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7112 if test "$ac_cv_c_dll_gnuelf" = "yes"
7114 LDSHARED
="\$(CC) -shared"
7115 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7117 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7118 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7119 $as_echo_n "(cached) " >&6
7121 ac_wine_try_cflags_saved
=$CFLAGS
7122 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 int main(int argc, char **argv) { return 0; }
7127 if ac_fn_c_try_link
"$LINENO"; then :
7128 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7130 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7132 rm -f core conftest.err conftest.
$ac_objext \
7133 conftest
$ac_exeext conftest.
$ac_ext
7134 CFLAGS
=$ac_wine_try_cflags_saved
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7137 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7138 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7139 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7142 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7143 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7144 $as_echo_n "(cached) " >&6
7146 ac_wine_try_cflags_saved
=$CFLAGS
7147 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 int main(int argc, char **argv) { return 0; }
7152 if ac_fn_c_try_link
"$LINENO"; then :
7153 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7155 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7157 rm -f core conftest.err conftest.
$ac_objext \
7158 conftest
$ac_exeext conftest.
$ac_ext
7159 CFLAGS
=$ac_wine_try_cflags_saved
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7162 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7163 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7164 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7169 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7170 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7171 $as_echo_n "(cached) " >&6
7173 ac_wine_try_cflags_saved
=$CFLAGS
7174 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 int main(int argc, char **argv) { return 0; }
7179 if ac_fn_c_try_link
"$LINENO"; then :
7180 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7182 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7184 rm -f core conftest.err conftest.
$ac_objext \
7185 conftest
$ac_exeext conftest.
$ac_ext
7186 CFLAGS
=$ac_wine_try_cflags_saved
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7189 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7190 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7191 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7194 { $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
7195 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7196 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 ac_wine_try_cflags_saved
=$CFLAGS
7200 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7203 int main(int argc, char **argv) { return 0; }
7205 if ac_fn_c_try_link
"$LINENO"; then :
7206 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7208 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7210 rm -f core conftest.err conftest.
$ac_objext \
7211 conftest
$ac_exeext conftest.
$ac_ext
7212 CFLAGS
=$ac_wine_try_cflags_saved
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7215 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7216 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7217 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7220 echo '{ global: *; };' >conftest.map
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7222 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7223 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7224 $as_echo_n "(cached) " >&6
7226 ac_wine_try_cflags_saved
=$CFLAGS
7227 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 int main(int argc, char **argv) { return 0; }
7232 if ac_fn_c_try_link
"$LINENO"; then :
7233 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7235 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7237 rm -f core conftest.err conftest.
$ac_objext \
7238 conftest
$ac_exeext conftest.
$ac_ext
7239 CFLAGS
=$ac_wine_try_cflags_saved
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7242 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7243 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7244 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7249 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7250 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7251 $as_echo_n "(cached) " >&6
7253 ac_wine_try_cflags_saved
=$CFLAGS
7254 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 int main(int argc, char **argv) { return 0; }
7259 if ac_fn_c_try_link
"$LINENO"; then :
7260 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7262 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7264 rm -f core conftest.err conftest.
$ac_objext \
7265 conftest
$ac_exeext conftest.
$ac_ext
7266 CFLAGS
=$ac_wine_try_cflags_saved
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7269 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7270 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7271 LDEXECFLAGS
="-Wl,--export-dynamic"
7275 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7277 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7278 if eval \
${$as_ac_var+:} false
; then :
7279 $as_echo_n "(cached) " >&6
7281 ac_wine_try_cflags_saved
=$CFLAGS
7282 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7285 int main(int argc, char **argv) { return 0; }
7287 if ac_fn_c_try_link
"$LINENO"; then :
7288 eval "$as_ac_var=yes"
7290 eval "$as_ac_var=no"
7292 rm -f core conftest.err conftest.
$ac_objext \
7293 conftest
$ac_exeext conftest.
$ac_ext
7294 CFLAGS
=$ac_wine_try_cflags_saved
7296 eval ac_res
=\$
$as_ac_var
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7298 $as_echo "$ac_res" >&6; }
7299 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7300 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7301 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7303 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7305 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7306 if eval \
${$as_ac_var+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7309 ac_wine_try_cflags_saved
=$CFLAGS
7310 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 int main(int argc, char **argv) { return 0; }
7315 if ac_fn_c_try_link
"$LINENO"; then :
7316 eval "$as_ac_var=yes"
7318 eval "$as_ac_var=no"
7320 rm -f core conftest.err conftest.
$ac_objext \
7321 conftest
$ac_exeext conftest.
$ac_ext
7322 CFLAGS
=$ac_wine_try_cflags_saved
7324 eval ac_res
=\$
$as_ac_var
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7326 $as_echo "$ac_res" >&6; }
7327 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7328 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7329 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7334 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7335 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7336 $as_echo_n "(cached) " >&6
7338 ac_wine_try_cflags_saved
=$CFLAGS
7339 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7342 int main(int argc, char **argv) { return 0; }
7344 if ac_fn_c_try_link
"$LINENO"; then :
7345 ac_cv_cflags__Wl___enable_new_dtags
=yes
7347 ac_cv_cflags__Wl___enable_new_dtags
=no
7349 rm -f core conftest.err conftest.
$ac_objext \
7350 conftest
$ac_exeext conftest.
$ac_ext
7351 CFLAGS
=$ac_wine_try_cflags_saved
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7354 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7355 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7356 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7360 *i
[3456789]86* | x86_64
)
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7362 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7363 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7364 $as_echo_n "(cached) " >&6
7366 ac_wine_try_cflags_saved
=$CFLAGS
7367 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7369 /* end confdefs.h. */
7370 int main(int argc, char **argv) { return 0; }
7372 if ac_fn_c_try_link
"$LINENO"; then :
7373 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7375 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7377 rm -f core conftest.err conftest.
$ac_objext \
7378 conftest
$ac_exeext conftest.
$ac_ext
7379 CFLAGS
=$ac_wine_try_cflags_saved
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7382 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7383 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7385 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7386 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7390 # Extract the first word of "prelink", so it can be a program name with args.
7391 set dummy prelink
; ac_word
=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_path_PRELINK+:} false
; then :
7395 $as_echo_n "(cached) " >&6
7399 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 for as_dir
in /sbin
/usr
/sbin
$PATH
7406 test -z "$as_dir" && as_dir
=.
7407 for ac_exec_ext
in '' $ac_executable_extensions; do
7408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7421 PRELINK
=$ac_cv_path_PRELINK
7422 if test -n "$PRELINK"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7424 $as_echo "$PRELINK" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7431 if test "x$PRELINK" = xfalse
7433 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7440 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7441 if ${ac_cv_c_dll_unixware+:} false
; then :
7442 $as_echo_n "(cached) " >&6
7444 ac_wine_try_cflags_saved
=$CFLAGS
7445 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h. */
7450 if ac_fn_c_try_link
"$LINENO"; then :
7451 ac_cv_c_dll_unixware
="yes"
7453 ac_cv_c_dll_unixware
="no"
7455 rm -f core conftest.err conftest.
$ac_objext \
7456 conftest
$ac_exeext conftest.
$ac_ext
7457 CFLAGS
=$ac_wine_try_cflags_saved
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7460 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7461 if test "$ac_cv_c_dll_unixware" = "yes"
7463 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7464 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7470 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7471 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7473 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7474 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7476 libwine.so: libwine.so.\$(SOVERSION)
7477 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7479 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7480 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7481 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7483 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7484 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7487 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7490 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7496 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7497 enable_winemac_drv
=${enable_winemac_drv:-no}
7499 CROSSTEST_DISABLE
=\
#
7501 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7505 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
7508 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 " ;;
7510 ac_prefix_list
="" ;;
7512 for ac_prog
in $ac_prefix_list
7514 # Extract the first word of "$ac_prog", so it can be a program name with args.
7515 set dummy
$ac_prog; ac_word
=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if ${ac_cv_prog_CROSSCC+:} false
; then :
7519 $as_echo_n "(cached) " >&6
7521 if test -n "$CROSSCC"; then
7522 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir
=.
7529 for ac_exec_ext
in '' $ac_executable_extensions; do
7530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_CROSSCC
="$ac_prog"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 CROSSCC
=$ac_cv_prog_CROSSCC
7542 if test -n "$CROSSCC"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7544 $as_echo "$CROSSCC" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7551 test -n "$CROSSCC" && break
7553 test -n "$CROSSCC" || CROSSCC
="false"
7555 if test "$CROSSCC" != "false"
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7560 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7572 if ac_fn_c_try_compile
"$LINENO"; then :
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7574 $as_echo "yes" >&6; }
7581 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7585 if test -n "$target"
7587 CROSSTEST_DISABLE
=""
7588 CROSSTARGET
="$target"
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7601 if test "$ac_cv_header_pthread_h" = "yes"
7603 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7604 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7608 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7609 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7610 $as_echo_n "(cached) " >&6
7612 ac_check_lib_save_LIBS
=$LIBS
7613 LIBS
="-lpthread $LIBS"
7614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7617 /* Override any GCC internal prototype to avoid an error.
7618 Use char because int might match the return type of a GCC
7619 builtin and then its argument prototype would still apply. */
7623 char pthread_create ();
7627 return pthread_create ();
7632 if ac_fn_c_try_link
"$LINENO"; then :
7633 ac_cv_lib_pthread_pthread_create
=yes
7635 ac_cv_lib_pthread_pthread_create
=no
7637 rm -f core conftest.err conftest.
$ac_objext \
7638 conftest
$ac_exeext conftest.
$ac_ext
7639 LIBS
=$ac_check_lib_save_LIBS
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7642 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7643 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7644 LIBPTHREAD
="-lpthread"
7651 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7652 case "x$with_pthread" in
7654 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7655 Wine cannot support threads without libpthread.
7656 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7662 $as_echo_n "checking for X... " >&6; }
7665 # Check whether --with-x was given.
7666 if test "${with_x+set}" = set; then :
7670 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7671 if test "x$with_x" = xno
; then
7672 # The user explicitly disabled X.
7675 case $x_includes,$x_libraries in #(
7676 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7677 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7678 $as_echo_n "(cached) " >&6
7680 # One or both of the vars are not set, and there is no cached value.
7681 ac_x_includes
=no ac_x_libraries
=no
7682 rm -f -r conftest.dir
7683 if mkdir conftest.dir
; then
7685 cat >Imakefile
<<'_ACEOF'
7687 @echo incroot='${INCROOT}'
7689 @echo usrlibdir='${USRLIBDIR}'
7691 @echo libdir='${LIBDIR}'
7693 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7694 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7695 for ac_var
in incroot usrlibdir libdir
; do
7696 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7698 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7699 for ac_extension
in a so sl dylib la dll
; do
7700 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7701 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7702 ac_im_usrlibdir
=$ac_im_libdir; break
7705 # Screen out bogus values from the imake configuration. They are
7706 # bogus both because they are the default anyway, and because
7707 # using them would break gcc on systems where it needs fixed includes.
7708 case $ac_im_incroot in
7709 /usr
/include
) ac_x_includes
= ;;
7710 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7712 case $ac_im_usrlibdir in
7713 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7714 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7718 rm -f -r conftest.dir
7721 # Standard set of common directories for X headers.
7722 # Check X11 before X11Rn because it is often a symlink to the current release.
7736 /usr/local/X11/include
7737 /usr/local/X11R7/include
7738 /usr/local/X11R6/include
7739 /usr/local/X11R5/include
7740 /usr/local/X11R4/include
7742 /usr/local/include/X11
7743 /usr/local/include/X11R7
7744 /usr/local/include/X11R6
7745 /usr/local/include/X11R5
7746 /usr/local/include/X11R4
7750 /usr/XFree86/include/X11
7754 /usr/unsupported/include
7756 /usr/local/x11r5/include
7757 /usr/lpp/Xamples/include
7759 /usr/openwin/include
7760 /usr/openwin/share/include'
7762 if test "$ac_x_includes" = no
; then
7763 # Guess where to find include files, by looking for Xlib.h.
7764 # First, try using that file with no special directory specified.
7765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7767 #include <X11/Xlib.h>
7769 if ac_fn_c_try_cpp
"$LINENO"; then :
7770 # We can compile using X headers with no special include directory.
7773 for ac_dir
in $ac_x_header_dirs; do
7774 if test -r "$ac_dir/X11/Xlib.h"; then
7775 ac_x_includes
=$ac_dir
7780 rm -f conftest.err conftest.i conftest.
$ac_ext
7781 fi # $ac_x_includes = no
7783 if test "$ac_x_libraries" = no
; then
7784 # Check for the libraries.
7785 # See if we find them without any special options.
7786 # Don't add to $LIBS permanently.
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791 #include <X11/Xlib.h>
7800 if ac_fn_c_try_link
"$LINENO"; then :
7802 # We can link X programs with no special library path.
7806 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7808 # Don't even attempt the hair of trying to link an X program!
7809 for ac_extension
in a so sl dylib la dll
; do
7810 if test -r "$ac_dir/libX11.$ac_extension"; then
7811 ac_x_libraries
=$ac_dir
7817 rm -f core conftest.err conftest.
$ac_objext \
7818 conftest
$ac_exeext conftest.
$ac_ext
7819 fi # $ac_x_libraries = no
7821 case $ac_x_includes,$ac_x_libraries in #(
7823 # Didn't find X, or a directory has "'" in its name.
7824 ac_cv_have_x
="have_x=no";; #(
7826 # Record where we found X for the cache.
7827 ac_cv_have_x
="have_x=yes\
7828 ac_x_includes='$ac_x_includes'\
7829 ac_x_libraries='$ac_x_libraries'"
7835 eval "$ac_cv_have_x"
7838 if test "$have_x" != yes; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7840 $as_echo "$have_x" >&6; }
7843 # If each of the values was on the command line, it overrides each guess.
7844 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7845 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7846 # Update the cache value to reflect the command line values.
7847 ac_cv_have_x
="have_x=yes\
7848 ac_x_includes='$x_includes'\
7849 ac_x_libraries='$x_libraries'"
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7851 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7854 if test "$no_x" = yes; then
7855 # Not all programs may use this symbol, but it does not hurt to define it.
7857 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7859 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7861 if test -n "$x_includes"; then
7862 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7865 # It would also be nice to do this for all -L options, not just this one.
7866 if test -n "$x_libraries"; then
7867 X_LIBS
="$X_LIBS -L$x_libraries"
7868 # For Solaris; some versions of Sun CC require a space after -R and
7869 # others require no space. Words are not sufficient . . . .
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7871 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7872 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7873 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7874 ac_c_werror_flag
=yes
7875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7886 if ac_fn_c_try_link
"$LINENO"; then :
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7889 X_LIBS
="$X_LIBS -R$x_libraries"
7891 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7903 if ac_fn_c_try_link
"$LINENO"; then :
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7905 $as_echo "yes" >&6; }
7906 X_LIBS
="$X_LIBS -R $x_libraries"
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7909 $as_echo "neither works" >&6; }
7911 rm -f core conftest.err conftest.
$ac_objext \
7912 conftest
$ac_exeext conftest.
$ac_ext
7914 rm -f core conftest.err conftest.
$ac_objext \
7915 conftest
$ac_exeext conftest.
$ac_ext
7916 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7920 # Check for system-dependent libraries X programs must link with.
7921 # Do this before checking for the system-independent R6 libraries
7922 # (-lICE), since we may need -lsocket or whatever for X linking.
7924 if test "$ISC" = yes; then
7925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7927 # Martyn Johnson says this is needed for Ultrix, if the X
7928 # libraries were built with DECnet support. And Karl Berry says
7929 # the Alpha needs dnet_stub (dnet does not exist).
7930 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7934 /* Override any GCC internal prototype to avoid an error.
7935 Use char because int might match the return type of a GCC
7936 builtin and then its argument prototype would still apply. */
7940 char XOpenDisplay ();
7944 return XOpenDisplay ();
7949 if ac_fn_c_try_link
"$LINENO"; then :
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7953 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7954 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7955 $as_echo_n "(cached) " >&6
7957 ac_check_lib_save_LIBS
=$LIBS
7959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7962 /* Override any GCC internal prototype to avoid an error.
7963 Use char because int might match the return type of a GCC
7964 builtin and then its argument prototype would still apply. */
7972 return dnet_ntoa ();
7977 if ac_fn_c_try_link
"$LINENO"; then :
7978 ac_cv_lib_dnet_dnet_ntoa
=yes
7980 ac_cv_lib_dnet_dnet_ntoa
=no
7982 rm -f core conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7984 LIBS
=$ac_check_lib_save_LIBS
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7987 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7988 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7989 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7992 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7994 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7995 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7996 $as_echo_n "(cached) " >&6
7998 ac_check_lib_save_LIBS
=$LIBS
7999 LIBS
="-ldnet_stub $LIBS"
8000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8003 /* Override any GCC internal prototype to avoid an error.
8004 Use char because int might match the return type of a GCC
8005 builtin and then its argument prototype would still apply. */
8013 return dnet_ntoa ();
8018 if ac_fn_c_try_link
"$LINENO"; then :
8019 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8021 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8023 rm -f core conftest.err conftest.
$ac_objext \
8024 conftest
$ac_exeext conftest.
$ac_ext
8025 LIBS
=$ac_check_lib_save_LIBS
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8028 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8029 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8030 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8035 rm -f core conftest.err conftest.
$ac_objext \
8036 conftest
$ac_exeext conftest.
$ac_ext
8037 LIBS
="$ac_xsave_LIBS"
8039 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8040 # to get the SysV transport functions.
8041 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8043 # The nsl library prevents programs from opening the X display
8044 # on Irix 5.2, according to T.E. Dickey.
8045 # The functions gethostbyname, getservbyname, and inet_addr are
8046 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8047 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8048 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8052 if test $ac_cv_func_gethostbyname = no
; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8054 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8055 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 ac_check_lib_save_LIBS
=$LIBS
8060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8063 /* Override any GCC internal prototype to avoid an error.
8064 Use char because int might match the return type of a GCC
8065 builtin and then its argument prototype would still apply. */
8069 char gethostbyname ();
8073 return gethostbyname ();
8078 if ac_fn_c_try_link
"$LINENO"; then :
8079 ac_cv_lib_nsl_gethostbyname
=yes
8081 ac_cv_lib_nsl_gethostbyname
=no
8083 rm -f core conftest.err conftest.
$ac_objext \
8084 conftest
$ac_exeext conftest.
$ac_ext
8085 LIBS
=$ac_check_lib_save_LIBS
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8088 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8089 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8090 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8093 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8095 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8096 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8097 $as_echo_n "(cached) " >&6
8099 ac_check_lib_save_LIBS
=$LIBS
8101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8104 /* Override any GCC internal prototype to avoid an error.
8105 Use char because int might match the return type of a GCC
8106 builtin and then its argument prototype would still apply. */
8110 char gethostbyname ();
8114 return gethostbyname ();
8119 if ac_fn_c_try_link
"$LINENO"; then :
8120 ac_cv_lib_bsd_gethostbyname
=yes
8122 ac_cv_lib_bsd_gethostbyname
=no
8124 rm -f core conftest.err conftest.
$ac_objext \
8125 conftest
$ac_exeext conftest.
$ac_ext
8126 LIBS
=$ac_check_lib_save_LIBS
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8129 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8130 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8131 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8137 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8138 # socket/setsockopt and other routines are undefined under SCO ODT
8139 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8140 # on later versions), says Simon Leinen: it contains gethostby*
8141 # variants that don't use the name server (or something). -lsocket
8142 # must be given before -lnsl if both are needed. We assume that
8143 # if connect needs -lnsl, so does gethostbyname.
8144 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8145 if test "x$ac_cv_func_connect" = xyes
; then :
8149 if test $ac_cv_func_connect = no
; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8151 $as_echo_n "checking for connect in -lsocket... " >&6; }
8152 if ${ac_cv_lib_socket_connect+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8155 ac_check_lib_save_LIBS
=$LIBS
8156 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8160 /* Override any GCC internal prototype to avoid an error.
8161 Use char because int might match the return type of a GCC
8162 builtin and then its argument prototype would still apply. */
8175 if ac_fn_c_try_link
"$LINENO"; then :
8176 ac_cv_lib_socket_connect
=yes
8178 ac_cv_lib_socket_connect
=no
8180 rm -f core conftest.err conftest.
$ac_objext \
8181 conftest
$ac_exeext conftest.
$ac_ext
8182 LIBS
=$ac_check_lib_save_LIBS
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8185 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8186 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8187 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8192 # Guillermo Gomez says -lposix is necessary on A/UX.
8193 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8194 if test "x$ac_cv_func_remove" = xyes
; then :
8198 if test $ac_cv_func_remove = no
; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8200 $as_echo_n "checking for remove in -lposix... " >&6; }
8201 if ${ac_cv_lib_posix_remove+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 ac_check_lib_save_LIBS
=$LIBS
8205 LIBS
="-lposix $LIBS"
8206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8209 /* Override any GCC internal prototype to avoid an error.
8210 Use char because int might match the return type of a GCC
8211 builtin and then its argument prototype would still apply. */
8224 if ac_fn_c_try_link
"$LINENO"; then :
8225 ac_cv_lib_posix_remove
=yes
8227 ac_cv_lib_posix_remove
=no
8229 rm -f core conftest.err conftest.
$ac_objext \
8230 conftest
$ac_exeext conftest.
$ac_ext
8231 LIBS
=$ac_check_lib_save_LIBS
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8234 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8235 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8236 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8241 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8242 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8243 if test "x$ac_cv_func_shmat" = xyes
; then :
8247 if test $ac_cv_func_shmat = no
; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8249 $as_echo_n "checking for shmat in -lipc... " >&6; }
8250 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8251 $as_echo_n "(cached) " >&6
8253 ac_check_lib_save_LIBS
=$LIBS
8255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8258 /* Override any GCC internal prototype to avoid an error.
8259 Use char because int might match the return type of a GCC
8260 builtin and then its argument prototype would still apply. */
8273 if ac_fn_c_try_link
"$LINENO"; then :
8274 ac_cv_lib_ipc_shmat
=yes
8276 ac_cv_lib_ipc_shmat
=no
8278 rm -f core conftest.err conftest.
$ac_objext \
8279 conftest
$ac_exeext conftest.
$ac_ext
8280 LIBS
=$ac_check_lib_save_LIBS
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8283 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8284 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8285 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8291 # Check for libraries that X11R6 Xt/Xaw programs need.
8292 ac_save_LDFLAGS
=$LDFLAGS
8293 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8294 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8295 # check for ICE first), but we must link in the order -lSM -lICE or
8296 # we get undefined symbols. So assume we have SM if we have ICE.
8297 # These have to be linked with before -lX11, unlike the other
8298 # libraries we check for below, so use a different variable.
8299 # John Interrante, Karl Berry
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8301 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8302 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8303 $as_echo_n "(cached) " >&6
8305 ac_check_lib_save_LIBS
=$LIBS
8306 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8310 /* Override any GCC internal prototype to avoid an error.
8311 Use char because int might match the return type of a GCC
8312 builtin and then its argument prototype would still apply. */
8316 char IceConnectionNumber ();
8320 return IceConnectionNumber ();
8325 if ac_fn_c_try_link
"$LINENO"; then :
8326 ac_cv_lib_ICE_IceConnectionNumber
=yes
8328 ac_cv_lib_ICE_IceConnectionNumber
=no
8330 rm -f core conftest.err conftest.
$ac_objext \
8331 conftest
$ac_exeext conftest.
$ac_ext
8332 LIBS
=$ac_check_lib_save_LIBS
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8335 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8336 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8337 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8340 LDFLAGS
=$ac_save_LDFLAGS
8345 if test "$have_x" = "yes"
8348 ac_save_CPPFLAGS
="$CPPFLAGS"
8349 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8352 $as_echo_n "checking for -lX11... " >&6; }
8353 if ${ac_cv_lib_soname_X11+:} false
; then :
8354 $as_echo_n "(cached) " >&6
8356 ac_check_soname_save_LIBS
=$LIBS
8357 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8361 /* Override any GCC internal prototype to avoid an error.
8362 Use char because int might match the return type of a GCC
8363 builtin and then its argument prototype would still apply. */
8367 char XCreateWindow ();
8371 return XCreateWindow ();
8376 if ac_fn_c_try_link
"$LINENO"; then :
8378 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8379 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'` ;;
8380 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8381 if test "x$ac_cv_lib_soname_X11" = x
; then :
8382 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8386 rm -f core conftest.err conftest.
$ac_objext \
8387 conftest
$ac_exeext conftest.
$ac_ext
8388 LIBS
=$ac_check_soname_save_LIBS
8390 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8392 $as_echo "not found" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8396 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8398 cat >>confdefs.h
<<_ACEOF
8399 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8405 $as_echo_n "checking for -lXext... " >&6; }
8406 if ${ac_cv_lib_soname_Xext+:} false
; then :
8407 $as_echo_n "(cached) " >&6
8409 ac_check_soname_save_LIBS
=$LIBS
8410 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8414 /* Override any GCC internal prototype to avoid an error.
8415 Use char because int might match the return type of a GCC
8416 builtin and then its argument prototype would still apply. */
8420 char XextCreateExtension ();
8424 return XextCreateExtension ();
8429 if ac_fn_c_try_link
"$LINENO"; then :
8431 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8432 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'` ;;
8433 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8434 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8435 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 LIBS
=$ac_check_soname_save_LIBS
8443 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8445 $as_echo "not found" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8449 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8451 cat >>confdefs.h
<<_ACEOF
8452 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8458 for ac_header
in X11
/Xlib.h \
8461 X11
/Xcursor
/Xcursor.h \
8462 X11
/extensions
/shape.h \
8463 X11
/extensions
/XInput.h \
8464 X11
/extensions
/XInput2.h \
8465 X11
/extensions
/XShm.h \
8466 X11
/extensions
/Xcomposite.h \
8467 X11
/extensions
/Xinerama.h \
8468 X11
/extensions
/Xrandr.h \
8469 X11
/extensions
/Xrender.h \
8470 X11
/extensions
/xf86vmode.h \
8471 X11
/extensions
/xf86vmproto.h
8473 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8474 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8475 # include <X11/Xlib.h>
8477 #ifdef HAVE_X11_XUTIL_H
8478 # include <X11/Xutil.h>
8481 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8482 cat >>confdefs.h
<<_ACEOF
8483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8491 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8494 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8495 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 ac_check_lib_save_LIBS
=$LIBS
8499 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8509 char XkbQueryExtension ();
8513 return XkbQueryExtension ();
8518 if ac_fn_c_try_link
"$LINENO"; then :
8519 ac_cv_lib_X11_XkbQueryExtension
=yes
8521 ac_cv_lib_X11_XkbQueryExtension
=no
8523 rm -f core conftest.err conftest.
$ac_objext \
8524 conftest
$ac_exeext conftest.
$ac_ext
8525 LIBS
=$ac_check_lib_save_LIBS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8528 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8529 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8531 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8537 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8540 $as_echo_n "checking for -lXcursor... " >&6; }
8541 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8544 ac_check_soname_save_LIBS
=$LIBS
8545 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8549 /* Override any GCC internal prototype to avoid an error.
8550 Use char because int might match the return type of a GCC
8551 builtin and then its argument prototype would still apply. */
8555 char XcursorImageLoadCursor ();
8559 return XcursorImageLoadCursor ();
8564 if ac_fn_c_try_link
"$LINENO"; then :
8566 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8567 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'` ;;
8568 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8569 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8570 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8574 rm -f core conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 LIBS
=$ac_check_soname_save_LIBS
8578 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8580 $as_echo "not found" >&6; }
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8584 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8586 cat >>confdefs.h
<<_ACEOF
8587 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8593 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8594 case "x$with_xcursor" in
8595 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8597 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8598 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8602 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8605 $as_echo_n "checking for -lXi... " >&6; }
8606 if ${ac_cv_lib_soname_Xi+:} false
; then :
8607 $as_echo_n "(cached) " >&6
8609 ac_check_soname_save_LIBS
=$LIBS
8610 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8614 /* Override any GCC internal prototype to avoid an error.
8615 Use char because int might match the return type of a GCC
8616 builtin and then its argument prototype would still apply. */
8620 char XOpenDevice ();
8624 return XOpenDevice ();
8629 if ac_fn_c_try_link
"$LINENO"; then :
8631 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8632 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'` ;;
8633 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8634 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8635 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8639 rm -f core conftest.err conftest.
$ac_objext \
8640 conftest
$ac_exeext conftest.
$ac_ext
8641 LIBS
=$ac_check_soname_save_LIBS
8643 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8645 $as_echo "not found" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8649 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8651 cat >>confdefs.h
<<_ACEOF
8652 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8658 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8659 case "x$with_xinput" in
8660 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8662 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8663 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8667 if test "x$ac_cv_lib_soname_Xi" != x
8669 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8670 case "x$with_xinput2" in
8671 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8673 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8674 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8679 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8682 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8683 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8686 ac_check_lib_save_LIBS
=$LIBS
8687 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8691 /* Override any GCC internal prototype to avoid an error.
8692 Use char because int might match the return type of a GCC
8693 builtin and then its argument prototype would still apply. */
8697 char XShmQueryExtension ();
8701 return XShmQueryExtension ();
8706 if ac_fn_c_try_link
"$LINENO"; then :
8707 ac_cv_lib_Xext_XShmQueryExtension
=yes
8709 ac_cv_lib_Xext_XShmQueryExtension
=no
8711 rm -f core conftest.err conftest.
$ac_objext \
8712 conftest
$ac_exeext conftest.
$ac_ext
8713 LIBS
=$ac_check_lib_save_LIBS
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8716 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8717 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8719 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8724 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8725 case "x$with_xshm" in
8726 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8728 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8729 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8733 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8736 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8737 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8738 $as_echo_n "(cached) " >&6
8740 ac_check_lib_save_LIBS
=$LIBS
8741 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8745 /* Override any GCC internal prototype to avoid an error.
8746 Use char because int might match the return type of a GCC
8747 builtin and then its argument prototype would still apply. */
8751 char XShapeQueryExtension ();
8755 return XShapeQueryExtension ();
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8763 ac_cv_lib_Xext_XShapeQueryExtension
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 LIBS
=$ac_check_lib_save_LIBS
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8770 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8771 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8773 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8778 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8779 case "x$with_xshape" in
8780 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8782 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8783 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8787 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8790 $as_echo_n "checking for -lXxf86vm... " >&6; }
8791 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8792 $as_echo_n "(cached) " >&6
8794 ac_check_soname_save_LIBS
=$LIBS
8795 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8799 /* Override any GCC internal prototype to avoid an error.
8800 Use char because int might match the return type of a GCC
8801 builtin and then its argument prototype would still apply. */
8805 char XF86VidModeQueryExtension ();
8809 return XF86VidModeQueryExtension ();
8814 if ac_fn_c_try_link
"$LINENO"; then :
8816 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8817 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'` ;;
8818 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8819 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8820 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8824 rm -f core conftest.err conftest.
$ac_objext \
8825 conftest
$ac_exeext conftest.
$ac_ext
8826 LIBS
=$ac_check_soname_save_LIBS
8828 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8830 $as_echo "not found" >&6; }
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8834 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8836 cat >>confdefs.h
<<_ACEOF
8837 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8843 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8844 case "x$with_xxf86vm" in
8845 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8847 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8848 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8852 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"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8855 $as_echo_n "checking for -lXrender... " >&6; }
8856 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8857 $as_echo_n "(cached) " >&6
8859 ac_check_soname_save_LIBS
=$LIBS
8860 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8864 /* Override any GCC internal prototype to avoid an error.
8865 Use char because int might match the return type of a GCC
8866 builtin and then its argument prototype would still apply. */
8870 char XRenderQueryExtension ();
8874 return XRenderQueryExtension ();
8879 if ac_fn_c_try_link
"$LINENO"; then :
8881 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8882 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'` ;;
8883 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8884 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8885 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8889 rm -f core conftest.err conftest.
$ac_objext \
8890 conftest
$ac_exeext conftest.
$ac_ext
8891 LIBS
=$ac_check_soname_save_LIBS
8893 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8895 $as_echo "not found" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8899 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8901 cat >>confdefs.h
<<_ACEOF
8902 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8906 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8907 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 ac_check_lib_save_LIBS
=$LIBS
8911 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8915 /* Override any GCC internal prototype to avoid an error.
8916 Use char because int might match the return type of a GCC
8917 builtin and then its argument prototype would still apply. */
8921 char XRenderSetPictureTransform ();
8925 return XRenderSetPictureTransform ();
8930 if ac_fn_c_try_link
"$LINENO"; then :
8931 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8933 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8935 rm -f core conftest.err conftest.
$ac_objext \
8936 conftest
$ac_exeext conftest.
$ac_ext
8937 LIBS
=$ac_check_lib_save_LIBS
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8940 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8941 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8943 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8948 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8949 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 ac_check_lib_save_LIBS
=$LIBS
8953 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8957 /* Override any GCC internal prototype to avoid an error.
8958 Use char because int might match the return type of a GCC
8959 builtin and then its argument prototype would still apply. */
8963 char XRenderCreateLinearGradient ();
8967 return XRenderCreateLinearGradient ();
8972 if ac_fn_c_try_link
"$LINENO"; then :
8973 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8975 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8977 rm -f core conftest.err conftest.
$ac_objext \
8978 conftest
$ac_exeext conftest.
$ac_ext
8979 LIBS
=$ac_check_lib_save_LIBS
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8982 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8983 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8985 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8992 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8993 case "x$with_xrender" in
8994 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8996 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8997 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9001 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9005 #include <X11/Xlib.h>
9006 #include <X11/extensions/Xrandr.h>
9010 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9015 if ac_fn_c_try_compile
"$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9017 $as_echo_n "checking for -lXrandr... " >&6; }
9018 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9019 $as_echo_n "(cached) " >&6
9021 ac_check_soname_save_LIBS
=$LIBS
9022 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9026 /* Override any GCC internal prototype to avoid an error.
9027 Use char because int might match the return type of a GCC
9028 builtin and then its argument prototype would still apply. */
9032 char XRRQueryExtension ();
9036 return XRRQueryExtension ();
9041 if ac_fn_c_try_link
"$LINENO"; then :
9043 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9044 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'` ;;
9045 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9046 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9047 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9051 rm -f core conftest.err conftest.
$ac_objext \
9052 conftest
$ac_exeext conftest.
$ac_ext
9053 LIBS
=$ac_check_soname_save_LIBS
9055 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9057 $as_echo "not found" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9061 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9063 cat >>confdefs.h
<<_ACEOF
9064 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 #include <X11/Xlib.h>
9070 #include <X11/extensions/Xrandr.h>
9074 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9079 if ac_fn_c_try_compile
"$LINENO"; then :
9081 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9089 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9090 case "x$with_xrandr" in
9091 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9093 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9094 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9098 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <X11/Xlib.h>
9103 #include <X11/extensions/Xinerama.h>
9107 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9112 if ac_fn_c_try_compile
"$LINENO"; then :
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9114 $as_echo_n "checking for -lXinerama... " >&6; }
9115 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 ac_check_soname_save_LIBS
=$LIBS
9119 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9123 /* Override any GCC internal prototype to avoid an error.
9124 Use char because int might match the return type of a GCC
9125 builtin and then its argument prototype would still apply. */
9129 char XineramaQueryScreens ();
9133 return XineramaQueryScreens ();
9138 if ac_fn_c_try_link
"$LINENO"; then :
9140 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9141 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'` ;;
9142 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9143 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9144 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9148 rm -f core conftest.err conftest.
$ac_objext \
9149 conftest
$ac_exeext conftest.
$ac_ext
9150 LIBS
=$ac_check_soname_save_LIBS
9152 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9154 $as_echo "not found" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9158 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9160 cat >>confdefs.h
<<_ACEOF
9161 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9169 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9170 case "x$with_xinerama" in
9171 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9173 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9174 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9178 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9181 $as_echo_n "checking for -lXcomposite... " >&6; }
9182 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9183 $as_echo_n "(cached) " >&6
9185 ac_check_soname_save_LIBS
=$LIBS
9186 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char XCompositeRedirectWindow ();
9200 return XCompositeRedirectWindow ();
9205 if ac_fn_c_try_link
"$LINENO"; then :
9207 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9210 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9211 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_soname_save_LIBS
9219 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9225 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9227 cat >>confdefs.h
<<_ACEOF
9228 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9234 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9235 case "x$with_xcomposite" in
9236 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9238 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9239 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9243 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9244 #include <X11/Xlib.h>
9247 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9249 cat >>confdefs.h
<<_ACEOF
9250 #define HAVE_XICCALLBACK_CALLBACK 1
9255 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9256 #include <X11/Xlib.h>
9259 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9261 cat >>confdefs.h
<<_ACEOF
9262 #define HAVE_XEVENT_XCOOKIE 1
9271 if test "x$with_opengl" != "xno"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9274 $as_echo_n "checking for -lGL... " >&6; }
9275 if ${ac_cv_lib_soname_GL+:} false
; then :
9276 $as_echo_n "(cached) " >&6
9278 ac_check_soname_save_LIBS
=$LIBS
9279 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9289 char glXCreateContext ();
9293 return glXCreateContext ();
9298 if ac_fn_c_try_link
"$LINENO"; then :
9300 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9301 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'` ;;
9302 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9303 if test "x$ac_cv_lib_soname_GL" = x
; then :
9304 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9308 rm -f core conftest.err conftest.
$ac_objext \
9309 conftest
$ac_exeext conftest.
$ac_ext
9310 LIBS
=$ac_check_soname_save_LIBS
9312 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9314 $as_echo "not found" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9316 $as_echo_n "checking for -lGL... " >&6; }
9317 if ${ac_cv_lib_soname_GL+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_soname_save_LIBS
=$LIBS
9321 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"
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9331 char glXCreateContext ();
9335 return glXCreateContext ();
9340 if ac_fn_c_try_link
"$LINENO"; then :
9342 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9343 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'` ;;
9344 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9345 if test "x$ac_cv_lib_soname_GL" = x
; then :
9346 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 rm -f core conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9352 LIBS
=$ac_check_soname_save_LIBS
9354 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9356 $as_echo "not found" >&6; }
9357 if test -f /usr
/X11R
6/lib
/libGL.a
9359 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9360 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9362 opengl_msg
="No OpenGL library found on this system."
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9366 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9368 cat >>confdefs.h
<<_ACEOF
9369 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9372 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"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9376 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9378 cat >>confdefs.h
<<_ACEOF
9379 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9384 if test "x$with_glu" != "xno"
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9387 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9388 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9389 $as_echo_n "(cached) " >&6
9391 ac_check_lib_save_LIBS
=$LIBS
9392 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9406 return gluLookAt ();
9411 if ac_fn_c_try_link
"$LINENO"; then :
9412 ac_cv_lib_GLU_gluLookAt
=yes
9414 ac_cv_lib_GLU_gluLookAt
=no
9416 rm -f core conftest.err conftest.
$ac_objext \
9417 conftest
$ac_exeext conftest.
$ac_ext
9418 LIBS
=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9421 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9422 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9426 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9427 case "x$with_glu" in
9428 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9430 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9431 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9436 if test "x$with_osmesa" != "xno"
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9439 $as_echo_n "checking for -lOSMesa... " >&6; }
9440 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9441 $as_echo_n "(cached) " >&6
9443 ac_check_soname_save_LIBS
=$LIBS
9444 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9448 /* Override any GCC internal prototype to avoid an error.
9449 Use char because int might match the return type of a GCC
9450 builtin and then its argument prototype would still apply. */
9463 if ac_fn_c_try_link
"$LINENO"; then :
9465 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9466 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'` ;;
9467 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9468 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9469 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9473 rm -f core conftest.err conftest.
$ac_objext \
9474 conftest
$ac_exeext conftest.
$ac_ext
9475 LIBS
=$ac_check_soname_save_LIBS
9477 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9479 $as_echo "not found" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9483 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9485 cat >>confdefs.h
<<_ACEOF
9486 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9491 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9492 case "x$with_osmesa" in
9493 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9495 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9496 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9501 if test -n "$opengl_msg"; then :
9502 case "x$with_opengl" in
9503 x
) as_fn_append wine_warnings
"|$opengl_msg
9504 OpenGL and Direct3D won't be supported." ;;
9506 *) as_fn_error $?
"$opengl_msg
9507 OpenGL and Direct3D won't be supported.
9508 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9512 CPPFLAGS
="$ac_save_CPPFLAGS"
9517 enable_winex11_drv
=${enable_winex11_drv:-no}
9519 if test "x$XLIB" = "x"; then :
9522 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9523 without X support, which probably isn't what you want. You will need
9524 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9525 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9529 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9531 if test "$ac_cv_header_CL_cl_h" = "yes"
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9534 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9535 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9536 $as_echo_n "(cached) " >&6
9538 ac_check_lib_save_LIBS
=$LIBS
9539 LIBS
="-lOpenCL $LIBS"
9540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9549 char clGetPlatformInfo ();
9553 return clGetPlatformInfo ();
9558 if ac_fn_c_try_link
"$LINENO"; then :
9559 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9561 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9568 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9569 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9570 LIBOPENCL
="-lOpenCL"
9575 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9576 case "x$with_opencl" in
9577 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9579 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9580 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9583 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9586 if test "x$with_xml" != "xno"
9588 ac_save_CPPFLAGS
="$CPPFLAGS"
9589 if test -n "$ac_tool_prefix"; then
9590 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
9591 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 $as_echo_n "checking for $ac_word... " >&6; }
9594 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
9595 $as_echo_n "(cached) " >&6
9597 if test -n "$PKG_CONFIG"; then
9598 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
9600 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9604 test -z "$as_dir" && as_dir
=.
9605 for ac_exec_ext
in '' $ac_executable_extensions; do
9606 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9607 ac_cv_prog_PKG_CONFIG
="${ac_tool_prefix}pkg-config"
9608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9617 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
9618 if test -n "$PKG_CONFIG"; then
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
9620 $as_echo "$PKG_CONFIG" >&6; }
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9623 $as_echo "no" >&6; }
9628 if test -z "$ac_cv_prog_PKG_CONFIG"; then
9629 ac_ct_PKG_CONFIG
=$PKG_CONFIG
9630 # Extract the first word of "pkg-config", so it can be a program name with args.
9631 set dummy pkg-config
; ac_word
=$2
9632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9633 $as_echo_n "checking for $ac_word... " >&6; }
9634 if ${ac_cv_prog_ac_ct_PKG_CONFIG+:} false
; then :
9635 $as_echo_n "(cached) " >&6
9637 if test -n "$ac_ct_PKG_CONFIG"; then
9638 ac_cv_prog_ac_ct_PKG_CONFIG
="$ac_ct_PKG_CONFIG" # Let the user override the test.
9640 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9644 test -z "$as_dir" && as_dir
=.
9645 for ac_exec_ext
in '' $ac_executable_extensions; do
9646 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_ac_ct_PKG_CONFIG
="pkg-config"
9648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9657 ac_ct_PKG_CONFIG
=$ac_cv_prog_ac_ct_PKG_CONFIG
9658 if test -n "$ac_ct_PKG_CONFIG"; then
9659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_PKG_CONFIG" >&5
9660 $as_echo "$ac_ct_PKG_CONFIG" >&6; }
9662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 $as_echo "no" >&6; }
9666 if test "x$ac_ct_PKG_CONFIG" = x
; then
9669 case $cross_compiling:$ac_tool_warned in
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9672 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9673 ac_tool_warned
=yes ;;
9675 PKG_CONFIG
=$ac_ct_PKG_CONFIG
9678 PKG_CONFIG
="$ac_cv_prog_PKG_CONFIG"
9681 if test -n "$XML2_CFLAGS"; then :
9683 elif test -n "$PKG_CONFIG"; then :
9684 XML2_CFLAGS
=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
9686 XML2_CFLAGS
=${XML2_CFLAGS:-`xml2-config --cflags 2>/dev/null`}
9687 CPPFLAGS
="$CPPFLAGS $XML2_CFLAGS"
9688 if test -n "$XML2_LIBS"; then :
9690 elif test -n "$PKG_CONFIG"; then :
9691 XML2_LIBS
=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
9693 XML2_LIBS
=${XML2_LIBS:-`xml2-config --libs 2>/dev/null`}
9694 XML2_LIBS
=${XML2_LIBS:-"-lxml2"}
9695 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9697 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9698 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9699 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9700 cat >>confdefs.h
<<_ACEOF
9701 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9708 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"
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9711 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9712 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9713 $as_echo_n "(cached) " >&6
9715 ac_check_lib_save_LIBS
=$LIBS
9716 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9717 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9718 /* end confdefs.h. */
9720 /* Override any GCC internal prototype to avoid an error.
9721 Use char because int might match the return type of a GCC
9722 builtin and then its argument prototype would still apply. */
9726 char xmlParseMemory ();
9730 return xmlParseMemory ();
9735 if ac_fn_c_try_link
"$LINENO"; then :
9736 ac_cv_lib_xml2_xmlParseMemory
=yes
9738 ac_cv_lib_xml2_xmlParseMemory
=no
9740 rm -f core conftest.err conftest.
$ac_objext \
9741 conftest
$ac_exeext conftest.
$ac_ext
9742 LIBS
=$ac_check_lib_save_LIBS
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9745 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9746 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9748 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9755 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9756 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9757 $as_echo_n "(cached) " >&6
9759 ac_check_lib_save_LIBS
=$LIBS
9760 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9762 /* end confdefs.h. */
9764 /* Override any GCC internal prototype to avoid an error.
9765 Use char because int might match the return type of a GCC
9766 builtin and then its argument prototype would still apply. */
9770 char xmlReadMemory ();
9774 return xmlReadMemory ();
9779 if ac_fn_c_try_link
"$LINENO"; then :
9780 ac_cv_lib_xml2_xmlReadMemory
=yes
9782 ac_cv_lib_xml2_xmlReadMemory
=no
9784 rm -f core conftest.err conftest.
$ac_objext \
9785 conftest
$ac_exeext conftest.
$ac_ext
9786 LIBS
=$ac_check_lib_save_LIBS
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9789 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9790 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9792 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9797 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9798 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9799 $as_echo_n "(cached) " >&6
9801 ac_check_lib_save_LIBS
=$LIBS
9802 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9804 /* end confdefs.h. */
9806 /* Override any GCC internal prototype to avoid an error.
9807 Use char because int might match the return type of a GCC
9808 builtin and then its argument prototype would still apply. */
9812 char xmlNewDocPI ();
9816 return xmlNewDocPI ();
9821 if ac_fn_c_try_link
"$LINENO"; then :
9822 ac_cv_lib_xml2_xmlNewDocPI
=yes
9824 ac_cv_lib_xml2_xmlNewDocPI
=no
9826 rm -f core conftest.err conftest.
$ac_objext \
9827 conftest
$ac_exeext conftest.
$ac_ext
9828 LIBS
=$ac_check_lib_save_LIBS
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9831 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9832 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9834 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9839 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9840 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9841 $as_echo_n "(cached) " >&6
9843 ac_check_lib_save_LIBS
=$LIBS
9844 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9846 /* end confdefs.h. */
9848 /* Override any GCC internal prototype to avoid an error.
9849 Use char because int might match the return type of a GCC
9850 builtin and then its argument prototype would still apply. */
9854 char xmlSchemaSetParserStructuredErrors ();
9858 return xmlSchemaSetParserStructuredErrors ();
9863 if ac_fn_c_try_link
"$LINENO"; then :
9864 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9866 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9868 rm -f core conftest.err conftest.
$ac_objext \
9869 conftest
$ac_exeext conftest.
$ac_ext
9870 LIBS
=$ac_check_lib_save_LIBS
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9873 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9874 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9876 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9881 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9882 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9883 $as_echo_n "(cached) " >&6
9885 ac_check_lib_save_LIBS
=$LIBS
9886 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9890 /* Override any GCC internal prototype to avoid an error.
9891 Use char because int might match the return type of a GCC
9892 builtin and then its argument prototype would still apply. */
9896 char xmlSchemaSetValidStructuredErrors ();
9900 return xmlSchemaSetValidStructuredErrors ();
9905 if ac_fn_c_try_link
"$LINENO"; then :
9906 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9908 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9910 rm -f core conftest.err conftest.
$ac_objext \
9911 conftest
$ac_exeext conftest.
$ac_ext
9912 LIBS
=$ac_check_lib_save_LIBS
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9915 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9916 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9918 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9923 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9924 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9925 $as_echo_n "(cached) " >&6
9927 ac_check_lib_save_LIBS
=$LIBS
9928 LIBS
="-lxml2 $XML2_LIBS $LIBS"
9929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9930 /* end confdefs.h. */
9932 /* Override any GCC internal prototype to avoid an error.
9933 Use char because int might match the return type of a GCC
9934 builtin and then its argument prototype would still apply. */
9938 char xmlFirstElementChild ();
9942 return xmlFirstElementChild ();
9947 if ac_fn_c_try_link
"$LINENO"; then :
9948 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9950 ac_cv_lib_xml2_xmlFirstElementChild
=no
9952 rm -f core conftest.err conftest.
$ac_objext \
9953 conftest
$ac_exeext conftest.
$ac_ext
9954 LIBS
=$ac_check_lib_save_LIBS
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9957 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9958 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9960 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9964 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9966 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9968 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9976 CPPFLAGS
="$ac_save_CPPFLAGS"
9978 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9979 case "x$with_xml" in
9980 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9982 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9983 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9987 if test "x$with_xslt" != "xno"
9989 ac_save_CPPFLAGS
="$CPPFLAGS"
9990 if test -n "$XSLT_CFLAGS"; then :
9992 elif test -n "$PKG_CONFIG"; then :
9993 XSLT_CFLAGS
=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
9995 XSLT_CFLAGS
=${XSLT_CFLAGS:-`xslt-config --cflags 2>/dev/null`}
9996 CPPFLAGS
="$CPPFLAGS $XSLT_CFLAGS"
9997 if test -n "$XSLT_LIBS"; then :
9999 elif test -n "$PKG_CONFIG"; then :
10000 XSLT_LIBS
=`$PKG_CONFIG --libs libxslt 2>/dev/null`
10002 XSLT_LIBS
=${XSLT_LIBS:-`xslt-config --libs 2>/dev/null`}
10003 XSLT_LIBS
=${XSLT_LIBS:-"-lxml2"}
10004 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
10006 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10007 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
10008 # include <libxslt/pattern.h>
10011 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10012 cat >>confdefs.h
<<_ACEOF
10013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10020 CPPFLAGS
="$ac_save_CPPFLAGS"
10021 if test "$ac_cv_header_libxslt_transform_h" = "yes"
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
10024 $as_echo_n "checking for -lxslt... " >&6; }
10025 if ${ac_cv_lib_soname_xslt+:} false
; then :
10026 $as_echo_n "(cached) " >&6
10028 ac_check_soname_save_LIBS
=$LIBS
10029 LIBS
="-lxslt $XSLT_LIBS $LIBS"
10030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10033 /* Override any GCC internal prototype to avoid an error.
10034 Use char because int might match the return type of a GCC
10035 builtin and then its argument prototype would still apply. */
10039 char xsltCompilePattern ();
10043 return xsltCompilePattern ();
10048 if ac_fn_c_try_link
"$LINENO"; then :
10050 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10051 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'` ;;
10052 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10053 if test "x$ac_cv_lib_soname_xslt" = x
; then :
10054 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10058 rm -f core conftest.err conftest.
$ac_objext \
10059 conftest
$ac_exeext conftest.
$ac_ext
10060 LIBS
=$ac_check_soname_save_LIBS
10062 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10064 $as_echo "not found" >&6; }
10067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
10068 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
10070 cat >>confdefs.h
<<_ACEOF
10071 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
10080 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
10081 case "x$with_xslt" in
10082 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
10084 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
10085 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
10089 if test "x$with_dbus" != "xno"
10091 ac_save_CPPFLAGS
="$CPPFLAGS"
10092 if test -n "$DBUS_CFLAGS"; then :
10094 elif test -n "$PKG_CONFIG"; then :
10095 DBUS_CFLAGS
=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
10098 CPPFLAGS
="$CPPFLAGS $DBUS_CFLAGS"
10099 if test -n "$DBUS_LIBS"; then :
10101 elif test -n "$PKG_CONFIG"; then :
10102 DBUS_LIBS
=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
10106 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
10107 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10109 $as_echo_n "checking for -ldbus-1... " >&6; }
10110 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10111 $as_echo_n "(cached) " >&6
10113 ac_check_soname_save_LIBS
=$LIBS
10114 LIBS
="-ldbus-1 $DBUS_LIBS $LIBS"
10115 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10118 /* Override any GCC internal prototype to avoid an error.
10119 Use char because int might match the return type of a GCC
10120 builtin and then its argument prototype would still apply. */
10124 char dbus_connection_close ();
10128 return dbus_connection_close ();
10133 if ac_fn_c_try_link
"$LINENO"; then :
10135 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10136 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'` ;;
10137 *) 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'`
10138 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10139 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10143 rm -f core conftest.err conftest.
$ac_objext \
10144 conftest
$ac_exeext conftest.
$ac_ext
10145 LIBS
=$ac_check_soname_save_LIBS
10147 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10149 $as_echo "not found" >&6; }
10152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10153 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10155 cat >>confdefs.h
<<_ACEOF
10156 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10166 CPPFLAGS
="$ac_save_CPPFLAGS"
10168 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10169 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10170 case "x$with_dbus" in
10171 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10173 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10174 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10178 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10180 ac_save_CPPFLAGS
="$CPPFLAGS"
10181 if test -n "$HAL_CFLAGS"; then :
10183 elif test -n "$PKG_CONFIG"; then :
10184 HAL_CFLAGS
=`$PKG_CONFIG --cflags hal 2>/dev/null`
10187 CPPFLAGS
="$CPPFLAGS $HAL_CFLAGS"
10188 if test -n "$HAL_LIBS"; then :
10190 elif test -n "$PKG_CONFIG"; then :
10191 HAL_LIBS
=`$PKG_CONFIG --libs hal 2>/dev/null`
10194 HAL_LIBS
=${HAL_LIBS:-"-ldbus-1"}
10195 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10196 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10198 $as_echo_n "checking for -lhal... " >&6; }
10199 if ${ac_cv_lib_soname_hal+:} false
; then :
10200 $as_echo_n "(cached) " >&6
10202 ac_check_soname_save_LIBS
=$LIBS
10203 LIBS
="-lhal $HAL_LIBS $LIBS"
10204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10205 /* end confdefs.h. */
10207 /* Override any GCC internal prototype to avoid an error.
10208 Use char because int might match the return type of a GCC
10209 builtin and then its argument prototype would still apply. */
10213 char libhal_ctx_new ();
10217 return libhal_ctx_new ();
10222 if ac_fn_c_try_link
"$LINENO"; then :
10224 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10225 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'` ;;
10226 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10227 if test "x$ac_cv_lib_soname_hal" = x
; then :
10228 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10232 rm -f core conftest.err conftest.
$ac_objext \
10233 conftest
$ac_exeext conftest.
$ac_ext
10234 LIBS
=$ac_check_soname_save_LIBS
10236 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10238 $as_echo "not found" >&6; }
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10242 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10244 cat >>confdefs.h
<<_ACEOF
10245 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10255 CPPFLAGS
="$ac_save_CPPFLAGS"
10256 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10257 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10258 case "x$with_hal" in
10259 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10261 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10262 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10267 if test "x$with_gnutls" != "xno"
10269 ac_save_CPPFLAGS
="$CPPFLAGS"
10270 if test -n "$GNUTLS_CFLAGS"; then :
10272 elif test -n "$PKG_CONFIG"; then :
10273 GNUTLS_CFLAGS
=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
10276 CPPFLAGS
="$CPPFLAGS $GNUTLS_CFLAGS"
10277 if test -n "$GNUTLS_LIBS"; then :
10279 elif test -n "$PKG_CONFIG"; then :
10280 GNUTLS_LIBS
=`$PKG_CONFIG --libs gnutls 2>/dev/null`
10284 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10285 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 #include <gnutls/gnutls.h>
10292 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10297 if ac_fn_c_try_compile
"$LINENO"; then :
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10299 $as_echo_n "checking for -lgnutls... " >&6; }
10300 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10301 $as_echo_n "(cached) " >&6
10303 ac_check_soname_save_LIBS
=$LIBS
10304 LIBS
="-lgnutls $GNUTLS_LIBS $LIBS"
10305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10306 /* end confdefs.h. */
10308 /* Override any GCC internal prototype to avoid an error.
10309 Use char because int might match the return type of a GCC
10310 builtin and then its argument prototype would still apply. */
10314 char gnutls_global_init ();
10318 return gnutls_global_init ();
10323 if ac_fn_c_try_link
"$LINENO"; then :
10325 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10326 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'` ;;
10327 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10328 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10329 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10333 rm -f core conftest.err conftest.
$ac_objext \
10334 conftest
$ac_exeext conftest.
$ac_ext
10335 LIBS
=$ac_check_soname_save_LIBS
10337 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10339 $as_echo "not found" >&6; }
10342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10343 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10345 cat >>confdefs.h
<<_ACEOF
10346 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10352 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10358 CPPFLAGS
="$ac_save_CPPFLAGS"
10360 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10361 case "x$with_gnutls" in
10362 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10364 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10365 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10370 if test "$ac_cv_header_ncurses_h" = "yes"
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10373 $as_echo_n "checking for -lncurses... " >&6; }
10374 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10375 $as_echo_n "(cached) " >&6
10377 ac_check_soname_save_LIBS
=$LIBS
10378 LIBS
="-lncurses $LIBS"
10379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10382 /* Override any GCC internal prototype to avoid an error.
10383 Use char because int might match the return type of a GCC
10384 builtin and then its argument prototype would still apply. */
10397 if ac_fn_c_try_link
"$LINENO"; then :
10399 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10400 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'` ;;
10401 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10402 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10403 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10407 rm -f core conftest.err conftest.
$ac_objext \
10408 conftest
$ac_exeext conftest.
$ac_ext
10409 LIBS
=$ac_check_soname_save_LIBS
10411 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10413 $as_echo "not found" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10417 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10419 cat >>confdefs.h
<<_ACEOF
10420 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10423 CURSESLIBS
="-lncurses"
10425 elif test "$ac_cv_header_curses_h" = "yes"
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10428 $as_echo_n "checking for -lcurses... " >&6; }
10429 if ${ac_cv_lib_soname_curses+:} false
; then :
10430 $as_echo_n "(cached) " >&6
10432 ac_check_soname_save_LIBS
=$LIBS
10433 LIBS
="-lcurses $LIBS"
10434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10435 /* end confdefs.h. */
10437 /* Override any GCC internal prototype to avoid an error.
10438 Use char because int might match the return type of a GCC
10439 builtin and then its argument prototype would still apply. */
10452 if ac_fn_c_try_link
"$LINENO"; then :
10454 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10455 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'` ;;
10456 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10457 if test "x$ac_cv_lib_soname_curses" = x
; then :
10458 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10462 rm -f core conftest.err conftest.
$ac_objext \
10463 conftest
$ac_exeext conftest.
$ac_ext
10464 LIBS
=$ac_check_soname_save_LIBS
10466 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10468 $as_echo "not found" >&6; }
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10472 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10474 cat >>confdefs.h
<<_ACEOF
10475 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10478 CURSESLIBS
="-lcurses"
10481 ac_save_LIBS
="$LIBS"
10482 LIBS
="$LIBS $CURSESLIBS"
10483 for ac_func
in mousemask
10485 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10486 if test "x$ac_cv_func_mousemask" = xyes
; then :
10487 cat >>confdefs.h
<<_ACEOF
10488 #define HAVE_MOUSEMASK 1
10494 LIBS
="$ac_save_LIBS"
10495 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10496 case "x$with_curses" in
10497 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10499 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10500 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10504 if test "x$with_sane" != "xno"
10506 ac_save_CPPFLAGS
="$CPPFLAGS"
10507 if test -n "$SANE_CFLAGS"; then :
10509 elif test -n "$PKG_CONFIG"; then :
10510 SANE_CFLAGS
=`$PKG_CONFIG --cflags libsane 2>/dev/null`
10512 SANE_CFLAGS
=${SANE_CFLAGS:-`sane-config --cflags 2>/dev/null`}
10513 CPPFLAGS
="$CPPFLAGS $SANE_CFLAGS"
10514 if test -n "$SANE_LIBS"; then :
10516 elif test -n "$PKG_CONFIG"; then :
10517 SANE_LIBS
=`$PKG_CONFIG --libs libsane 2>/dev/null`
10519 SANE_LIBS
=${SANE_LIBS:-`sane-config --ldflags 2>/dev/null`}
10521 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10522 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10524 $as_echo_n "checking for -lsane... " >&6; }
10525 if ${ac_cv_lib_soname_sane+:} false
; then :
10526 $as_echo_n "(cached) " >&6
10528 ac_check_soname_save_LIBS
=$LIBS
10529 LIBS
="-lsane $SANE_LIBS $LIBS"
10530 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10531 /* end confdefs.h. */
10533 /* Override any GCC internal prototype to avoid an error.
10534 Use char because int might match the return type of a GCC
10535 builtin and then its argument prototype would still apply. */
10543 return sane_init ();
10548 if ac_fn_c_try_link
"$LINENO"; then :
10550 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10551 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'` ;;
10552 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10553 if test "x$ac_cv_lib_soname_sane" = x
; then :
10554 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10558 rm -f core conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_soname_save_LIBS
10562 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10564 $as_echo "not found" >&6; }
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10568 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10570 cat >>confdefs.h
<<_ACEOF
10571 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10580 CPPFLAGS
="$ac_save_CPPFLAGS"
10582 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10583 case "x$with_sane" in
10584 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10586 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10587 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10591 if test "x$with_v4l" != "xno"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10594 $as_echo_n "checking for -lv4l1... " >&6; }
10595 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10596 $as_echo_n "(cached) " >&6
10598 ac_check_soname_save_LIBS
=$LIBS
10599 LIBS
="-lv4l1 $LIBS"
10600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10601 /* end confdefs.h. */
10603 /* Override any GCC internal prototype to avoid an error.
10604 Use char because int might match the return type of a GCC
10605 builtin and then its argument prototype would still apply. */
10613 return v4l1_open ();
10618 if ac_fn_c_try_link
"$LINENO"; then :
10620 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10621 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'` ;;
10622 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10623 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10624 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10628 rm -f core conftest.err conftest.
$ac_objext \
10629 conftest
$ac_exeext conftest.
$ac_ext
10630 LIBS
=$ac_check_soname_save_LIBS
10632 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10634 $as_echo "not found" >&6; }
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10638 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10640 cat >>confdefs.h
<<_ACEOF
10641 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10647 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10648 case "x$with_v4l" in
10649 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10651 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10652 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10656 if test "x$with_gphoto" != "xno"
10658 ac_save_CPPFLAGS
="$CPPFLAGS"
10659 if test -n "$GPHOTO2_CFLAGS"; then :
10661 elif test -n "$PKG_CONFIG"; then :
10662 GPHOTO2_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
10664 GPHOTO2_CFLAGS
=${GPHOTO2_CFLAGS:-`gphoto2-config --cflags 2>/dev/null`}
10665 CPPFLAGS
="$CPPFLAGS $GPHOTO2_CFLAGS"
10666 if test -n "$GPHOTO2_LIBS"; then :
10668 elif test -n "$PKG_CONFIG"; then :
10669 GPHOTO2_LIBS
=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
10671 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-`gphoto2-config --libs 2>/dev/null`}
10672 GPHOTO2_LIBS
=${GPHOTO2_LIBS:-"-lgphoto2"}
10673 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10674 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10676 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10677 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10678 $as_echo_n "(cached) " >&6
10680 ac_check_lib_save_LIBS
=$LIBS
10681 LIBS
="-lgphoto2 $GPHOTO2_LIBS $LIBS"
10682 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10691 char gp_camera_new ();
10695 return gp_camera_new ();
10700 if ac_fn_c_try_link
"$LINENO"; then :
10701 ac_cv_lib_gphoto2_gp_camera_new
=yes
10703 ac_cv_lib_gphoto2_gp_camera_new
=no
10705 rm -f core conftest.err conftest.
$ac_objext \
10706 conftest
$ac_exeext conftest.
$ac_ext
10707 LIBS
=$ac_check_lib_save_LIBS
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10710 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10711 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10713 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10716 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10720 GPHOTO2_LIBS
=""; GPHOTO2_CFLAGS
=""
10724 if test -n "$GPHOTO2_PORT_CFLAGS"; then :
10726 elif test -n "$PKG_CONFIG"; then :
10727 GPHOTO2_PORT_CFLAGS
=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
10729 GPHOTO2_PORT_CFLAGS
=${GPHOTO2_PORT_CFLAGS:-`gphoto2-port-config --cflags 2>/dev/null`}
10730 CPPFLAGS
="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
10731 if test -n "$GPHOTO2_PORT_LIBS"; then :
10733 elif test -n "$PKG_CONFIG"; then :
10734 GPHOTO2_PORT_LIBS
=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
10736 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-`gphoto2-port-config --libs 2>/dev/null`}
10737 GPHOTO2_PORT_LIBS
=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
10738 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
10739 if test "x$ac_cv_header_gphoto2_port_h" = xyes
; then :
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
10741 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
10742 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false
; then :
10743 $as_echo_n "(cached) " >&6
10745 ac_check_lib_save_LIBS
=$LIBS
10746 LIBS
="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
10747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10748 /* end confdefs.h. */
10750 /* Override any GCC internal prototype to avoid an error.
10751 Use char because int might match the return type of a GCC
10752 builtin and then its argument prototype would still apply. */
10756 char gp_port_info_list_new ();
10760 return gp_port_info_list_new ();
10765 if ac_fn_c_try_link
"$LINENO"; then :
10766 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=yes
10768 ac_cv_lib_gphoto2_port_gp_port_info_list_new
=no
10770 rm -f core conftest.err conftest.
$ac_objext \
10771 conftest
$ac_exeext conftest.
$ac_ext
10772 LIBS
=$ac_check_lib_save_LIBS
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
10775 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
10776 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
; then :
10778 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
10781 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10785 GPHOTO2_PORT_LIBS
=""; GPHOTO2_PORT_CFLAGS
=""
10789 CPPFLAGS
="$ac_save_CPPFLAGS"
10791 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10792 case "x$with_gphoto" in
10793 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10795 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10796 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10799 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
10800 case "x$with_gphoto" in
10801 x
) as_fn_append wine_notices
"|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
10803 *) as_fn_error $?
"libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
10804 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10809 if test "$ac_cv_header_resolv_h" = "yes"
10811 ac_save_LIBS
="$LIBS"
10812 for lib
in '' -lresolv
10814 LIBS
="$lib $ac_save_LIBS"
10815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10816 /* end confdefs.h. */
10817 #ifdef HAVE_NETINET_IN_H
10818 #include <netinet/in.h>
10820 #include <resolv.h>
10824 res_query("foo",ns_c_in,0,0,0);
10829 if ac_fn_c_try_link
"$LINENO"; then :
10831 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10836 rm -f core conftest.err conftest.
$ac_objext \
10837 conftest
$ac_exeext conftest.
$ac_ext
10838 if test "${RESOLVLIBS+set}" = set; then
10842 LIBS
="$ac_save_LIBS"
10847 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10850 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10851 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10852 $as_echo_n "(cached) " >&6
10854 ac_check_lib_save_LIBS
=$LIBS
10855 LIBS
="-llcms $LIBS"
10856 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10857 /* end confdefs.h. */
10859 /* Override any GCC internal prototype to avoid an error.
10860 Use char because int might match the return type of a GCC
10861 builtin and then its argument prototype would still apply. */
10865 char cmsOpenProfileFromFile ();
10869 return cmsOpenProfileFromFile ();
10874 if ac_fn_c_try_link
"$LINENO"; then :
10875 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10877 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10879 rm -f core conftest.err conftest.
$ac_objext \
10880 conftest
$ac_exeext conftest.
$ac_ext
10881 LIBS
=$ac_check_lib_save_LIBS
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10884 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10885 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10887 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10893 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10894 case "x$with_cms" in
10895 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10897 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10898 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10902 if test "x$with_freetype" != "xno"
10904 ac_save_CPPFLAGS
="$CPPFLAGS"
10905 if test -n "$FREETYPE_CFLAGS"; then :
10907 elif test -n "$PKG_CONFIG"; then :
10908 FREETYPE_CFLAGS
=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
10910 FREETYPE_CFLAGS
=${FREETYPE_CFLAGS:-`(freetype-config --cflags || freetype2-config --cflags) 2>/dev/null`}
10911 CPPFLAGS
="$CPPFLAGS $FREETYPE_CFLAGS"
10912 if test -n "$FREETYPE_LIBS"; then :
10914 elif test -n "$PKG_CONFIG"; then :
10915 FREETYPE_LIBS
=`$PKG_CONFIG --libs freetype2 2>/dev/null`
10917 FREETYPE_LIBS
=${FREETYPE_LIBS:-`(freetype-config --libs || freetype2-config --libs) 2>/dev/null`}
10918 FREETYPE_LIBS
=${FREETYPE_LIBS:-"-lfreetype"}
10919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10920 $as_echo_n "checking for -lfreetype... " >&6; }
10921 if ${ac_cv_lib_soname_freetype+:} false
; then :
10922 $as_echo_n "(cached) " >&6
10924 ac_check_soname_save_LIBS
=$LIBS
10925 LIBS
="-lfreetype $FREETYPE_LIBS $LIBS"
10926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10929 /* Override any GCC internal prototype to avoid an error.
10930 Use char because int might match the return type of a GCC
10931 builtin and then its argument prototype would still apply. */
10935 char FT_Init_FreeType ();
10939 return FT_Init_FreeType ();
10944 if ac_fn_c_try_link
"$LINENO"; then :
10946 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10947 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'` ;;
10948 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10949 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10950 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10954 rm -f core conftest.err conftest.
$ac_objext \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_soname_save_LIBS
10958 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10960 $as_echo "not found" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10964 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10966 cat >>confdefs.h
<<_ACEOF
10967 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10972 if test "$ft_lib" = "yes"
10974 for ac_header
in ft2build.h \
10975 freetype
/freetype.h \
10976 freetype
/ftglyph.h \
10977 freetype
/fttypes.h \
10978 freetype
/tttables.h \
10979 freetype
/ftsnames.h \
10980 freetype
/ttnameid.h \
10981 freetype
/ftoutln.h \
10982 freetype
/ftwinfnt.h \
10983 freetype
/ftmodapi.h \
10984 freetype
/ftlcdfil.h
10986 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10987 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10988 # include <ft2build.h>
10991 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10992 cat >>confdefs.h
<<_ACEOF
10993 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11002 #include <ft2build.h>
11003 #include <freetype/fttrigon.h>
11005 if ac_fn_c_try_cpp
"$LINENO"; then :
11007 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
11009 wine_cv_fttrigon
=yes
11011 wine_cv_fttrigon
=no
11013 rm -f conftest.err conftest.i conftest.
$ac_ext
11014 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
11016 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
11018 cat >>confdefs.h
<<_ACEOF
11019 #define HAVE_FT_TRUETYPEENGINETYPE 1
11025 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
11028 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
11036 CPPFLAGS
="$ac_save_CPPFLAGS"
11038 if test "x$ac_cv_header_freetype_freetype_h" != xyes
-o "x$wine_cv_fttrigon" != xyes
; then :
11039 case "x$with_freetype" in
11041 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
11042 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
11045 test "x$ac_cv_header_freetype_freetype_h" = xyes
-a "x$wine_cv_fttrigon" = xyes || enable_fonts
=${enable_fonts:-no}
11047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
11048 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
11049 if ${ac_cv_c_ppdev+:} false
; then :
11050 $as_echo_n "(cached) " >&6
11052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11053 /* end confdefs.h. */
11054 #ifdef HAVE_SYS_IOCTL_H
11055 # include <sys/ioctl.h>
11057 #include <linux/ppdev.h>
11061 ioctl (1,PPCLAIM,0)
11066 if ac_fn_c_try_compile
"$LINENO"; then :
11067 ac_cv_c_ppdev
="yes"
11071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11074 $as_echo "$ac_cv_c_ppdev" >&6; }
11075 if test "$ac_cv_c_ppdev" = "yes"
11078 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11082 ac_wine_check_funcs_save_LIBS
="$LIBS"
11083 LIBS
="$LIBS $LIBPTHREAD"
11085 pthread_attr_get_np \
11086 pthread_getattr_np \
11087 pthread_getthreadid_np \
11088 pthread_get_stackaddr_np \
11089 pthread_get_stacksize_np
11091 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11092 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11093 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11094 cat >>confdefs.h
<<_ACEOF
11095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11101 LIBS
="$ac_wine_check_funcs_save_LIBS"
11103 if test "$ac_cv_header_zlib_h" = "yes"
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11106 $as_echo_n "checking for inflate in -lz... " >&6; }
11107 if ${ac_cv_lib_z_inflate+:} false
; then :
11108 $as_echo_n "(cached) " >&6
11110 ac_check_lib_save_LIBS
=$LIBS
11112 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11130 if ac_fn_c_try_link
"$LINENO"; then :
11131 ac_cv_lib_z_inflate
=yes
11133 ac_cv_lib_z_inflate
=no
11135 rm -f core conftest.err conftest.
$ac_objext \
11136 conftest
$ac_exeext conftest.
$ac_ext
11137 LIBS
=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11140 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11141 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11143 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11150 if test "x$ZLIB" = "x"; then :
11151 case "x$with_zlib" in
11152 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11154 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11155 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11159 if test "x$enable_tools" != xno
11161 if test "$ac_cv_header_gettext_po_h" = "yes"
11163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11164 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11165 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11166 $as_echo_n "(cached) " >&6
11168 ac_check_lib_save_LIBS
=$LIBS
11169 LIBS
="-lgettextpo $LIBS"
11170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11171 /* end confdefs.h. */
11173 /* Override any GCC internal prototype to avoid an error.
11174 Use char because int might match the return type of a GCC
11175 builtin and then its argument prototype would still apply. */
11179 char po_message_msgctxt ();
11183 return po_message_msgctxt ();
11188 if ac_fn_c_try_link
"$LINENO"; then :
11189 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11191 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11193 rm -f core conftest.err conftest.
$ac_objext \
11194 conftest
$ac_exeext conftest.
$ac_ext
11195 LIBS
=$ac_check_lib_save_LIBS
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11198 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11199 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11201 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11203 LIBGETTEXTPO
="-lgettextpo"
11208 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11209 case "x$with_gettextpo" in
11210 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11212 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11213 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11218 if test "x$with_gstreamer" != "xno"
11220 ac_save_CPPFLAGS
="$CPPFLAGS"
11221 if test -n "$GSTREAMER_CFLAGS"; then :
11223 elif test -n "$PKG_CONFIG"; then :
11224 GSTREAMER_CFLAGS
=`$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11227 CPPFLAGS
="$CPPFLAGS $GSTREAMER_CFLAGS"
11228 if test -n "$GSTREAMER_LIBS"; then :
11230 elif test -n "$PKG_CONFIG"; then :
11231 GSTREAMER_LIBS
=`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`
11236 for i
in $GSTREAMER_CFLAGS
11239 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11242 GSTREAMER_CFLAGS
=$ac_gst_incl
11243 CPPFLAGS
="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
11244 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11245 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11246 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11247 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11249 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11251 /* end confdefs.h. */
11252 #include <gst/app/gstappsink.h>
11256 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11261 if ac_fn_c_try_compile
"$LINENO"; then :
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11263 $as_echo "yes" >&6; }
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11265 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11266 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11267 $as_echo_n "(cached) " >&6
11269 ac_check_lib_save_LIBS
=$LIBS
11270 LIBS
="-lgstreamer-0.10 $LIBS"
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11280 char gst_pad_get_caps_reffed ();
11284 return gst_pad_get_caps_reffed ();
11289 if ac_fn_c_try_link
"$LINENO"; then :
11290 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11292 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11294 rm -f core conftest.err conftest.
$ac_objext \
11295 conftest
$ac_exeext conftest.
$ac_ext
11296 LIBS
=$ac_check_lib_save_LIBS
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11299 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11300 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11302 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11303 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11304 $as_echo_n "(cached) " >&6
11306 ac_check_lib_save_LIBS
=$LIBS
11307 LIBS
="-lgstapp-0.10 $GSTREAMER_LIBS $LIBS"
11308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11317 char gst_app_buffer_new ();
11321 return gst_app_buffer_new ();
11326 if ac_fn_c_try_link
"$LINENO"; then :
11327 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11329 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11331 rm -f core conftest.err conftest.
$ac_objext \
11332 conftest
$ac_exeext conftest.
$ac_ext
11333 LIBS
=$ac_check_lib_save_LIBS
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11336 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11337 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11345 $as_echo "no" >&6; }
11347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11352 GSTREAMER_CFLAGS
=""
11356 CPPFLAGS
="$ac_save_CPPFLAGS"
11358 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11359 case "x$with_gstreamer" in
11360 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11362 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11363 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11366 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11370 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11373 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11374 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11375 $as_echo_n "(cached) " >&6
11377 ac_check_lib_save_LIBS
=$LIBS
11378 LIBS
="-lasound $LIBS"
11379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11388 char snd_pcm_hw_params_get_access_mask ();
11392 return snd_pcm_hw_params_get_access_mask ();
11397 if ac_fn_c_try_link
"$LINENO"; then :
11398 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11400 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11402 rm -f core conftest.err conftest.
$ac_objext \
11403 conftest
$ac_exeext conftest.
$ac_ext
11404 LIBS
=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11407 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11408 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11410 /* end confdefs.h. */
11411 #ifdef HAVE_ALSA_ASOUNDLIB_H
11412 #include <alsa/asoundlib.h>
11413 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11414 #include <sys/asoundlib.h>
11419 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11424 if ac_fn_c_try_compile
"$LINENO"; then :
11425 ALSALIBS
="-lasound"
11427 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11432 if test "x$with_oss" != xno
11434 ac_save_CPPFLAGS
="$CPPFLAGS"
11435 if test -f /etc
/oss.conf
11439 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11440 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11441 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11442 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11443 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11445 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11447 cat >>confdefs.h
<<_ACEOF
11448 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11451 OSS4INCL
="$ac_oss_incl"
11458 CPPFLAGS
="$ac_save_CPPFLAGS"
11459 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11461 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11466 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11469 $as_echo_n "checking for -lcapi20... " >&6; }
11470 if ${ac_cv_lib_soname_capi20+:} false
; then :
11471 $as_echo_n "(cached) " >&6
11473 ac_check_soname_save_LIBS
=$LIBS
11474 LIBS
="-lcapi20 $LIBS"
11475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11476 /* end confdefs.h. */
11478 /* Override any GCC internal prototype to avoid an error.
11479 Use char because int might match the return type of a GCC
11480 builtin and then its argument prototype would still apply. */
11484 char capi20_register ();
11488 return capi20_register ();
11493 if ac_fn_c_try_link
"$LINENO"; then :
11495 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11496 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'` ;;
11497 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11498 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11499 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11503 rm -f core conftest.err conftest.
$ac_objext \
11504 conftest
$ac_exeext conftest.
$ac_ext
11505 LIBS
=$ac_check_soname_save_LIBS
11507 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11509 $as_echo "not found" >&6; }
11512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11513 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11515 cat >>confdefs.h
<<_ACEOF
11516 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11522 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11523 case "x$with_capi" in
11524 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11526 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11527 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11533 if test "x$with_cups" != "xno"
11535 ac_save_CPPFLAGS
="$CPPFLAGS"
11536 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11537 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11538 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11539 for ac_header
in cups
/cups.h
11541 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11542 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11543 cat >>confdefs.h
<<_ACEOF
11544 #define HAVE_CUPS_CUPS_H 1
11546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11547 $as_echo_n "checking for -lcups... " >&6; }
11548 if ${ac_cv_lib_soname_cups+:} false
; then :
11549 $as_echo_n "(cached) " >&6
11551 ac_check_soname_save_LIBS
=$LIBS
11552 LIBS
="-lcups $ac_cups_libs $LIBS"
11553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11556 /* Override any GCC internal prototype to avoid an error.
11557 Use char because int might match the return type of a GCC
11558 builtin and then its argument prototype would still apply. */
11562 char cupsGetDefault ();
11566 return cupsGetDefault ();
11571 if ac_fn_c_try_link
"$LINENO"; then :
11573 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11574 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'` ;;
11575 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11576 if test "x$ac_cv_lib_soname_cups" = x
; then :
11577 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11581 rm -f core conftest.err conftest.
$ac_objext \
11582 conftest
$ac_exeext conftest.
$ac_ext
11583 LIBS
=$ac_check_soname_save_LIBS
11585 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11587 $as_echo "not found" >&6; }
11590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11591 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11593 cat >>confdefs.h
<<_ACEOF
11594 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11597 CUPSINCL
="$ac_cups_cflags"
11603 CPPFLAGS
="$ac_save_CPPFLAGS"
11605 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11606 case "x$with_cups" in
11607 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11609 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11610 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11614 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11617 $as_echo_n "checking for -lfontconfig... " >&6; }
11618 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_check_soname_save_LIBS
=$LIBS
11622 LIBS
="-lfontconfig $LIBS"
11623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11641 if ac_fn_c_try_link
"$LINENO"; then :
11643 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11644 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'` ;;
11645 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11646 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11647 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11651 rm -f core conftest.err conftest.
$ac_objext \
11652 conftest
$ac_exeext conftest.
$ac_ext
11653 LIBS
=$ac_check_soname_save_LIBS
11655 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11657 $as_echo "not found" >&6; }
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11661 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11663 cat >>confdefs.h
<<_ACEOF
11664 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11669 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11671 ac_save_CPPFLAGS
="$CPPFLAGS"
11672 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11673 $as_unset ac_cv_header_fontconfig_fontconfig_h
11674 for ac_header
in fontconfig
/fontconfig.h
11676 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11677 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11678 cat >>confdefs.h
<<_ACEOF
11679 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11686 CPPFLAGS
="$ac_save_CPPFLAGS"
11687 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11689 FONTCONFIGINCL
="$X_CFLAGS"
11691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11692 $as_echo_n "checking for -lfontconfig... " >&6; }
11693 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11694 $as_echo_n "(cached) " >&6
11696 ac_check_soname_save_LIBS
=$LIBS
11697 LIBS
="-lfontconfig $X_LIBS $LIBS"
11698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11699 /* end confdefs.h. */
11701 /* Override any GCC internal prototype to avoid an error.
11702 Use char because int might match the return type of a GCC
11703 builtin and then its argument prototype would still apply. */
11716 if ac_fn_c_try_link
"$LINENO"; then :
11718 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11719 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'` ;;
11720 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11721 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11722 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11726 rm -f core conftest.err conftest.
$ac_objext \
11727 conftest
$ac_exeext conftest.
$ac_ext
11728 LIBS
=$ac_check_soname_save_LIBS
11730 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11732 $as_echo "not found" >&6; }
11735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11736 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11738 cat >>confdefs.h
<<_ACEOF
11739 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11746 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11747 case "x$with_fontconfig" in
11748 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11750 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11751 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11755 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11758 $as_echo_n "checking for -lgsm... " >&6; }
11759 if ${ac_cv_lib_soname_gsm+:} false
; then :
11760 $as_echo_n "(cached) " >&6
11762 ac_check_soname_save_LIBS
=$LIBS
11764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11773 char gsm_create ();
11777 return gsm_create ();
11782 if ac_fn_c_try_link
"$LINENO"; then :
11784 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11785 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'` ;;
11786 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11787 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11788 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11792 rm -f core conftest.err conftest.
$ac_objext \
11793 conftest
$ac_exeext conftest.
$ac_ext
11794 LIBS
=$ac_check_soname_save_LIBS
11796 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11798 $as_echo "not found" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11802 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11804 cat >>confdefs.h
<<_ACEOF
11805 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11811 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11812 case "x$with_gsm" in
11813 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11815 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11816 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11820 if test "$ac_cv_header_jpeglib_h" = "yes"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11823 $as_echo_n "checking for -ljpeg... " >&6; }
11824 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11825 $as_echo_n "(cached) " >&6
11827 ac_check_soname_save_LIBS
=$LIBS
11828 LIBS
="-ljpeg $LIBS"
11829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11838 char jpeg_start_decompress ();
11842 return jpeg_start_decompress ();
11847 if ac_fn_c_try_link
"$LINENO"; then :
11849 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11850 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'` ;;
11851 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11852 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11853 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 rm -f core conftest.err conftest.
$ac_objext \
11858 conftest
$ac_exeext conftest.
$ac_ext
11859 LIBS
=$ac_check_soname_save_LIBS
11861 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11863 $as_echo "not found" >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11867 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11869 cat >>confdefs.h
<<_ACEOF
11870 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11876 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11877 case "x$with_jpeg" in
11878 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11880 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11881 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11885 if test "$ac_cv_header_png_h" = "yes"
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11888 $as_echo_n "checking for -lpng... " >&6; }
11889 if ${ac_cv_lib_soname_png+:} false
; then :
11890 $as_echo_n "(cached) " >&6
11892 ac_check_soname_save_LIBS
=$LIBS
11893 LIBS
="-lpng -lm -lz $LIBS"
11894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 /* Override any GCC internal prototype to avoid an error.
11898 Use char because int might match the return type of a GCC
11899 builtin and then its argument prototype would still apply. */
11903 char png_create_read_struct ();
11907 return png_create_read_struct ();
11912 if ac_fn_c_try_link
"$LINENO"; then :
11914 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11915 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'` ;;
11916 *) 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'`
11917 if test "x$ac_cv_lib_soname_png" = x
; then :
11918 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11922 rm -f core conftest.err conftest.
$ac_objext \
11923 conftest
$ac_exeext conftest.
$ac_ext
11924 LIBS
=$ac_check_soname_save_LIBS
11926 if test "x$ac_cv_lib_soname_png" = "x"; then :
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11928 $as_echo "not found" >&6; }
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11932 $as_echo "$ac_cv_lib_soname_png" >&6; }
11934 cat >>confdefs.h
<<_ACEOF
11935 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11941 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11942 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_check_lib_save_LIBS
=$LIBS
11946 LIBS
="-lpng -lm -lz $LIBS"
11947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11956 char png_set_expand_gray_1_2_4_to_8 ();
11960 return png_set_expand_gray_1_2_4_to_8 ();
11965 if ac_fn_c_try_link
"$LINENO"; then :
11966 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11968 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11970 rm -f core conftest.err conftest.
$ac_objext \
11971 conftest
$ac_exeext conftest.
$ac_ext
11972 LIBS
=$ac_check_lib_save_LIBS
11974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11975 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11976 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11978 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11983 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11985 ac_save_CPPFLAGS
="$CPPFLAGS"
11986 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11987 $as_unset ac_cv_header_png_h
11988 for ac_header
in png.h
11990 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11991 if test "x$ac_cv_header_png_h" = xyes
; then :
11992 cat >>confdefs.h
<<_ACEOF
11993 #define HAVE_PNG_H 1
12000 CPPFLAGS
="$ac_save_CPPFLAGS"
12001 if test "$ac_cv_header_png_h" = "yes"
12003 PNGINCL
="$X_CFLAGS"
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
12006 $as_echo_n "checking for -lpng... " >&6; }
12007 if ${ac_cv_lib_soname_png+:} false
; then :
12008 $as_echo_n "(cached) " >&6
12010 ac_check_soname_save_LIBS
=$LIBS
12011 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12021 char png_create_read_struct ();
12025 return png_create_read_struct ();
12030 if ac_fn_c_try_link
"$LINENO"; then :
12032 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12033 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'` ;;
12034 *) 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'`
12035 if test "x$ac_cv_lib_soname_png" = x
; then :
12036 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12040 rm -f core conftest.err conftest.
$ac_objext \
12041 conftest
$ac_exeext conftest.
$ac_ext
12042 LIBS
=$ac_check_soname_save_LIBS
12044 if test "x$ac_cv_lib_soname_png" = "x"; then :
12045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12046 $as_echo "not found" >&6; }
12049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
12050 $as_echo "$ac_cv_lib_soname_png" >&6; }
12052 cat >>confdefs.h
<<_ACEOF
12053 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
12058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
12059 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
12060 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
12061 $as_echo_n "(cached) " >&6
12063 ac_check_lib_save_LIBS
=$LIBS
12064 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12065 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12066 /* end confdefs.h. */
12068 /* Override any GCC internal prototype to avoid an error.
12069 Use char because int might match the return type of a GCC
12070 builtin and then its argument prototype would still apply. */
12074 char png_set_expand_gray_1_2_4_to_8 ();
12078 return png_set_expand_gray_1_2_4_to_8 ();
12083 if ac_fn_c_try_link
"$LINENO"; then :
12084 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12086 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12088 rm -f core conftest.err conftest.
$ac_objext \
12089 conftest
$ac_exeext conftest.
$ac_ext
12090 LIBS
=$ac_check_lib_save_LIBS
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12093 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12094 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12095 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12101 if test "x$ac_cv_lib_soname_png" = "x"; then :
12102 case "x$with_png" in
12103 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12105 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12106 This is an error since --with-png was requested." "$LINENO" 5 ;;
12110 if test "$ac_cv_header_tiffio_h" = "yes"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12113 $as_echo_n "checking for -ltiff... " >&6; }
12114 if ${ac_cv_lib_soname_tiff+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_soname_save_LIBS
=$LIBS
12118 LIBS
="-ltiff $LIBS"
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12128 char TIFFClientOpen ();
12132 return TIFFClientOpen ();
12137 if ac_fn_c_try_link
"$LINENO"; then :
12139 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12140 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'` ;;
12141 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12142 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12143 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12147 rm -f core conftest.err conftest.
$ac_objext \
12148 conftest
$ac_exeext conftest.
$ac_ext
12149 LIBS
=$ac_check_soname_save_LIBS
12151 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12153 $as_echo "not found" >&6; }
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12157 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12159 cat >>confdefs.h
<<_ACEOF
12160 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12166 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12167 case "x$with_tiff" in
12168 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12170 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12171 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12175 if test "$ac_cv_header_mpg123_h" = "yes"
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12178 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12179 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12180 $as_echo_n "(cached) " >&6
12182 ac_check_lib_save_LIBS
=$LIBS
12183 LIBS
="-lmpg123 $LIBS"
12184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12185 /* end confdefs.h. */
12187 /* Override any GCC internal prototype to avoid an error.
12188 Use char because int might match the return type of a GCC
12189 builtin and then its argument prototype would still apply. */
12193 char mpg123_feed ();
12197 return mpg123_feed ();
12202 if ac_fn_c_try_link
"$LINENO"; then :
12203 ac_cv_lib_mpg123_mpg123_feed
=yes
12205 ac_cv_lib_mpg123_mpg123_feed
=no
12207 rm -f core conftest.err conftest.
$ac_objext \
12208 conftest
$ac_exeext conftest.
$ac_ext
12209 LIBS
=$ac_check_lib_save_LIBS
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12212 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12213 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12214 LIBMPG123
="-lmpg123"
12219 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12220 case "x$with_mpg123" in
12221 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12223 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12224 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12227 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}
12229 if test "$ac_cv_header_AL_al_h" = "yes"
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12232 $as_echo_n "checking for -lopenal... " >&6; }
12233 if ${ac_cv_lib_soname_openal+:} false
; then :
12234 $as_echo_n "(cached) " >&6
12236 ac_check_soname_save_LIBS
=$LIBS
12237 LIBS
="-lopenal $LIBS"
12238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12241 /* Override any GCC internal prototype to avoid an error.
12242 Use char because int might match the return type of a GCC
12243 builtin and then its argument prototype would still apply. */
12247 char alGetSource3i ();
12251 return alGetSource3i ();
12256 if ac_fn_c_try_link
"$LINENO"; then :
12258 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12259 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'` ;;
12260 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12261 if test "x$ac_cv_lib_soname_openal" = x
; then :
12262 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12266 rm -f core conftest.err conftest.
$ac_objext \
12267 conftest
$ac_exeext conftest.
$ac_ext
12268 LIBS
=$ac_check_soname_save_LIBS
12270 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12272 $as_echo "not found" >&6; }
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12276 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12278 cat >>confdefs.h
<<_ACEOF
12279 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12282 LIBOPENAL
="-lopenal"
12284 ac_cv_lib_openal
=yes
12286 cat >>confdefs.h
<<_ACEOF
12287 #define HAVE_OPENAL 1
12292 if test "x$ac_cv_lib_openal" != xyes
; then :
12293 case "x$with_openal" in
12294 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12296 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12297 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12300 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12302 if test "$ac_cv_header_kstat_h" = "yes"
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12305 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12306 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12307 $as_echo_n "(cached) " >&6
12309 ac_check_lib_save_LIBS
=$LIBS
12310 LIBS
="-lkstat $LIBS"
12311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12312 /* end confdefs.h. */
12314 /* Override any GCC internal prototype to avoid an error.
12315 Use char because int might match the return type of a GCC
12316 builtin and then its argument prototype would still apply. */
12320 char kstat_open ();
12324 return kstat_open ();
12329 if ac_fn_c_try_link
"$LINENO"; then :
12330 ac_cv_lib_kstat_kstat_open
=yes
12332 ac_cv_lib_kstat_kstat_open
=no
12334 rm -f core conftest.err conftest.
$ac_objext \
12335 conftest
$ac_exeext conftest.
$ac_ext
12336 LIBS
=$ac_check_lib_save_LIBS
12338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12339 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12340 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12342 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12351 $as_echo_n "checking for -lodbc... " >&6; }
12352 if ${ac_cv_lib_soname_odbc+:} false
; then :
12353 $as_echo_n "(cached) " >&6
12355 ac_check_soname_save_LIBS
=$LIBS
12356 LIBS
="-lodbc $LIBS"
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12366 char SQLConnect ();
12370 return SQLConnect ();
12375 if ac_fn_c_try_link
"$LINENO"; then :
12377 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12378 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'` ;;
12379 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12380 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12381 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12385 rm -f core conftest.err conftest.
$ac_objext \
12386 conftest
$ac_exeext conftest.
$ac_ext
12387 LIBS
=$ac_check_soname_save_LIBS
12389 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12391 $as_echo "not found" >&6; }
12392 cat >>confdefs.h
<<_ACEOF
12393 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12398 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12400 cat >>confdefs.h
<<_ACEOF
12401 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12407 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12408 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12409 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12410 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12412 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12413 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12414 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12416 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12422 if test "x${GCC}" = "xyes"
12424 EXTRACFLAGS
="-Wall -pipe"
12426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12427 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12428 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12429 $as_echo_n "(cached) " >&6
12431 if test "$cross_compiling" = yes; then :
12432 ac_cv_c_gcc_strength_bug
="yes"
12434 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12435 /* end confdefs.h. */
12436 int L[4] = {0,1,2,3};
12440 static int Array[3];
12441 unsigned int B = 3;
12443 for(i=0; i<B; i++) Array[i] = i - 3;
12444 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12446 return (Array[1] != -2 || L[2] != 3)
12451 if ac_fn_c_try_run
"$LINENO"; then :
12452 ac_cv_c_gcc_strength_bug
="no"
12454 ac_cv_c_gcc_strength_bug
="yes"
12456 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12457 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12462 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12463 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12465 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12469 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12470 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12471 $as_echo_n "(cached) " >&6
12473 ac_wine_try_cflags_saved
=$CFLAGS
12474 CFLAGS
="$CFLAGS -fno-builtin"
12475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12476 /* end confdefs.h. */
12477 int main(int argc, char **argv) { return 0; }
12479 if ac_fn_c_try_link
"$LINENO"; then :
12480 ac_cv_cflags__fno_builtin
=yes
12482 ac_cv_cflags__fno_builtin
=no
12484 rm -f core conftest.err conftest.
$ac_objext \
12485 conftest
$ac_exeext conftest.
$ac_ext
12486 CFLAGS
=$ac_wine_try_cflags_saved
12488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12489 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12490 if test $ac_cv_cflags__fno_builtin = yes; then :
12491 BUILTINFLAG
="-fno-builtin"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12495 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12496 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_wine_try_cflags_saved
=$CFLAGS
12500 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503 int main(int argc, char **argv) { return 0; }
12505 if ac_fn_c_try_link
"$LINENO"; then :
12506 ac_cv_cflags__fno_strict_aliasing
=yes
12508 ac_cv_cflags__fno_strict_aliasing
=no
12510 rm -f core conftest.err conftest.
$ac_objext \
12511 conftest
$ac_exeext conftest.
$ac_ext
12512 CFLAGS
=$ac_wine_try_cflags_saved
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12515 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12516 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12517 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12520 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12521 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12522 $as_echo_n "(cached) " >&6
12524 ac_wine_try_cflags_saved
=$CFLAGS
12525 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12528 int main(int argc, char **argv) { return 0; }
12530 if ac_fn_c_try_link
"$LINENO"; then :
12531 ac_cv_cflags__Wdeclaration_after_statement
=yes
12533 ac_cv_cflags__Wdeclaration_after_statement
=no
12535 rm -f core conftest.err conftest.
$ac_objext \
12536 conftest
$ac_exeext conftest.
$ac_ext
12537 CFLAGS
=$ac_wine_try_cflags_saved
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12540 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12541 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12542 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12545 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12546 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12547 $as_echo_n "(cached) " >&6
12549 ac_wine_try_cflags_saved
=$CFLAGS
12550 CFLAGS
="$CFLAGS -Wempty-body"
12551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12552 /* end confdefs.h. */
12553 int main(int argc, char **argv) { return 0; }
12555 if ac_fn_c_try_link
"$LINENO"; then :
12556 ac_cv_cflags__Wempty_body
=yes
12558 ac_cv_cflags__Wempty_body
=no
12560 rm -f core conftest.err conftest.
$ac_objext \
12561 conftest
$ac_exeext conftest.
$ac_ext
12562 CFLAGS
=$ac_wine_try_cflags_saved
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12565 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12566 if test $ac_cv_cflags__Wempty_body = yes; then :
12567 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12570 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12571 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12572 $as_echo_n "(cached) " >&6
12574 ac_wine_try_cflags_saved
=$CFLAGS
12575 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12577 /* end confdefs.h. */
12578 int main(int argc, char **argv) { return 0; }
12580 if ac_fn_c_try_link
"$LINENO"; then :
12581 ac_cv_cflags__Wignored_qualifiers
=yes
12583 ac_cv_cflags__Wignored_qualifiers
=no
12585 rm -f core conftest.err conftest.
$ac_objext \
12586 conftest
$ac_exeext conftest.
$ac_ext
12587 CFLAGS
=$ac_wine_try_cflags_saved
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12590 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12591 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12592 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12595 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12596 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12597 $as_echo_n "(cached) " >&6
12599 ac_wine_try_cflags_saved
=$CFLAGS
12600 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12603 int main(int argc, char **argv) { return 0; }
12605 if ac_fn_c_try_link
"$LINENO"; then :
12606 ac_cv_cflags__Wstrict_prototypes
=yes
12608 ac_cv_cflags__Wstrict_prototypes
=no
12610 rm -f core conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12612 CFLAGS
=$ac_wine_try_cflags_saved
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12615 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12616 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12617 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12620 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12621 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12622 $as_echo_n "(cached) " >&6
12624 ac_wine_try_cflags_saved
=$CFLAGS
12625 CFLAGS
="$CFLAGS -Wtype-limits"
12626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12627 /* end confdefs.h. */
12628 int main(int argc, char **argv) { return 0; }
12630 if ac_fn_c_try_link
"$LINENO"; then :
12631 ac_cv_cflags__Wtype_limits
=yes
12633 ac_cv_cflags__Wtype_limits
=no
12635 rm -f core conftest.err conftest.
$ac_objext \
12636 conftest
$ac_exeext conftest.
$ac_ext
12637 CFLAGS
=$ac_wine_try_cflags_saved
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12640 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12641 if test $ac_cv_cflags__Wtype_limits = yes; then :
12642 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12645 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12646 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12647 $as_echo_n "(cached) " >&6
12649 ac_wine_try_cflags_saved
=$CFLAGS
12650 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12652 /* end confdefs.h. */
12653 int main(int argc, char **argv) { return 0; }
12655 if ac_fn_c_try_link
"$LINENO"; then :
12656 ac_cv_cflags__Wunused_but_set_parameter
=yes
12658 ac_cv_cflags__Wunused_but_set_parameter
=no
12660 rm -f core conftest.err conftest.
$ac_objext \
12661 conftest
$ac_exeext conftest.
$ac_ext
12662 CFLAGS
=$ac_wine_try_cflags_saved
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12665 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12666 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12667 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12670 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12671 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12672 $as_echo_n "(cached) " >&6
12674 ac_wine_try_cflags_saved
=$CFLAGS
12675 CFLAGS
="$CFLAGS -Wwrite-strings"
12676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12677 /* end confdefs.h. */
12678 int main(int argc, char **argv) { return 0; }
12680 if ac_fn_c_try_link
"$LINENO"; then :
12681 ac_cv_cflags__Wwrite_strings
=yes
12683 ac_cv_cflags__Wwrite_strings
=no
12685 rm -f core conftest.err conftest.
$ac_objext \
12686 conftest
$ac_exeext conftest.
$ac_ext
12687 CFLAGS
=$ac_wine_try_cflags_saved
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12690 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12691 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12692 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12695 for ac_flag
in $CFLAGS; do
12697 -g) case $host_os in
12698 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12699 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12700 if ${ac_cv_cflags__gstabsp+:} false
; then :
12701 $as_echo_n "(cached) " >&6
12703 ac_wine_try_cflags_saved
=$CFLAGS
12704 CFLAGS
="$CFLAGS -gstabs+"
12705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12706 /* end confdefs.h. */
12707 int main(int argc, char **argv) { return 0; }
12709 if ac_fn_c_try_link
"$LINENO"; then :
12710 ac_cv_cflags__gstabsp
=yes
12712 ac_cv_cflags__gstabsp
=no
12714 rm -f core conftest.err conftest.
$ac_objext \
12715 conftest
$ac_exeext conftest.
$ac_ext
12716 CFLAGS
=$ac_wine_try_cflags_saved
12718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12719 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12720 if test $ac_cv_cflags__gstabsp = yes; then :
12721 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12723 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12724 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12725 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12726 $as_echo_n "(cached) " >&6
12728 ac_wine_try_cflags_saved
=$CFLAGS
12729 CFLAGS
="$CFLAGS -gdwarf-2"
12730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12731 /* end confdefs.h. */
12732 int main(int argc, char **argv) { return 0; }
12734 if ac_fn_c_try_link
"$LINENO"; then :
12735 ac_cv_cflags__gdwarf_2
=yes
12737 ac_cv_cflags__gdwarf_2
=no
12739 rm -f core conftest.err conftest.
$ac_objext \
12740 conftest
$ac_exeext conftest.
$ac_ext
12741 CFLAGS
=$ac_wine_try_cflags_saved
12743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12744 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12745 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12746 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12749 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12750 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12751 $as_echo_n "(cached) " >&6
12753 ac_wine_try_cflags_saved
=$CFLAGS
12754 CFLAGS
="$CFLAGS -gstrict-dwarf"
12755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12756 /* end confdefs.h. */
12757 int main(int argc, char **argv) { return 0; }
12759 if ac_fn_c_try_link
"$LINENO"; then :
12760 ac_cv_cflags__gstrict_dwarf
=yes
12762 ac_cv_cflags__gstrict_dwarf
=no
12764 rm -f core conftest.err conftest.
$ac_objext \
12765 conftest
$ac_exeext conftest.
$ac_ext
12766 CFLAGS
=$ac_wine_try_cflags_saved
12768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12769 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12770 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12771 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12778 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12779 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12780 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12781 $as_echo_n "(cached) " >&6
12783 ac_wine_try_cflags_saved
=$CFLAGS
12784 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12786 /* end confdefs.h. */
12787 int main(int argc, char **argv) { return 0; }
12789 if ac_fn_c_try_link
"$LINENO"; then :
12790 ac_cv_cflags__fno_omit_frame_pointer
=yes
12792 ac_cv_cflags__fno_omit_frame_pointer
=no
12794 rm -f core conftest.err conftest.
$ac_objext \
12795 conftest
$ac_exeext conftest.
$ac_ext
12796 CFLAGS
=$ac_wine_try_cflags_saved
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12799 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12800 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12801 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12806 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12807 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12808 if ${ac_cv_cflags__Wno_format+:} false
; then :
12809 $as_echo_n "(cached) " >&6
12811 ac_wine_try_cflags_saved
=$CFLAGS
12812 CFLAGS
="$CFLAGS -Wno-format"
12813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12814 /* end confdefs.h. */
12815 int main(int argc, char **argv) { return 0; }
12817 if ac_fn_c_try_link
"$LINENO"; then :
12818 ac_cv_cflags__Wno_format
=yes
12820 ac_cv_cflags__Wno_format
=no
12822 rm -f core conftest.err conftest.
$ac_objext \
12823 conftest
$ac_exeext conftest.
$ac_ext
12824 CFLAGS
=$ac_wine_try_cflags_saved
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12827 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12828 if test $ac_cv_cflags__Wno_format = yes; then :
12829 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12833 saved_CFLAGS
="$CFLAGS"
12834 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12836 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12837 if ${ac_cv_c_string_h_warnings+:} false
; then :
12838 $as_echo_n "(cached) " >&6
12840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12842 #include <string.h>
12851 if ac_fn_c_try_compile
"$LINENO"; then :
12852 ac_cv_c_string_h_warnings
=no
12854 ac_cv_c_string_h_warnings
=yes
12856 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12859 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12860 CFLAGS
="$saved_CFLAGS"
12861 if test "$ac_cv_c_string_h_warnings" = "no"
12863 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12866 saved_CFLAGS
="$CFLAGS"
12867 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12869 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12870 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12871 $as_echo_n "(cached) " >&6
12873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12874 /* end confdefs.h. */
12875 #include <string.h>
12879 char*f(const char *h,char n) {return strchr(h,n);}
12884 if ac_fn_c_try_compile
"$LINENO"; then :
12885 ac_cv_c_logicalop_noisy
=no
12887 ac_cv_c_logicalop_noisy
=yes
12889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12892 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12893 CFLAGS
="$saved_CFLAGS"
12894 if test "$ac_cv_c_logicalop_noisy" = "no"
12896 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12899 if test "x$enable_maintainer_mode" = "xyes"
12901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12902 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12903 if ${ac_cv_cflags__Werror+:} false
; then :
12904 $as_echo_n "(cached) " >&6
12906 ac_wine_try_cflags_saved
=$CFLAGS
12907 CFLAGS
="$CFLAGS -Werror"
12908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 int main(int argc, char **argv) { return 0; }
12912 if ac_fn_c_try_link
"$LINENO"; then :
12913 ac_cv_cflags__Werror
=yes
12915 ac_cv_cflags__Werror
=no
12917 rm -f core conftest.err conftest.
$ac_objext \
12918 conftest
$ac_exeext conftest.
$ac_ext
12919 CFLAGS
=$ac_wine_try_cflags_saved
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12922 $as_echo "$ac_cv_cflags__Werror" >&6; }
12923 if test $ac_cv_cflags__Werror = yes; then :
12924 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12928 saved_CFLAGS
="$CFLAGS"
12929 CFLAGS
="$CFLAGS -Werror"
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12931 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12932 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12933 $as_echo_n "(cached) " >&6
12935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12936 /* end confdefs.h. */
12937 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12946 if ac_fn_c_try_compile
"$LINENO"; then :
12947 ac_cv_have_ms_hook_prologue
="yes"
12949 ac_cv_have_ms_hook_prologue
="no"
12951 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12954 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12955 CFLAGS
="$saved_CFLAGS"
12956 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12959 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12962 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12969 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12970 if ${ac_cv_c_fortify_enabled+:} false
; then :
12971 $as_echo_n "(cached) " >&6
12973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12974 /* end confdefs.h. */
12975 #include <string.h>
12979 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12980 #error Fortify enabled
12986 if ac_fn_c_try_compile
"$LINENO"; then :
12987 ac_cv_c_fortify_enabled
=no
12989 ac_cv_c_fortify_enabled
=yes
12991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12994 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12995 if test "$ac_cv_c_fortify_enabled" = yes
12997 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
13002 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
13003 if ${ac_cv_c_extern_prefix+:} false
; then :
13004 $as_echo_n "(cached) " >&6
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13008 extern int ac_test;
13012 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
13017 if ac_fn_c_try_link
"$LINENO"; then :
13018 ac_cv_c_extern_prefix
="yes"
13020 ac_cv_c_extern_prefix
="no"
13022 rm -f core conftest.err conftest.
$ac_objext \
13023 conftest
$ac_exeext conftest.
$ac_ext
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
13026 $as_echo "$ac_cv_c_extern_prefix" >&6; }
13030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
13031 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
13032 if ${ac_cv_c_stdcall_suffix+:} false
; then :
13033 $as_echo_n "(cached) " >&6
13035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13036 /* end confdefs.h. */
13038 #define __stdcall __attribute__((__stdcall__))
13040 int __stdcall ac_test(int i) { return i; }
13044 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
13049 if ac_fn_c_try_link
"$LINENO"; then :
13050 ac_cv_c_stdcall_suffix
="yes"
13052 ac_cv_c_stdcall_suffix
="no"
13054 rm -f core conftest.err conftest.
$ac_objext \
13055 conftest
$ac_exeext conftest.
$ac_ext
13057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
13058 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
13059 *) ac_cv_c_stdcall_suffix
="no" ;;
13063 if test "$ac_cv_c_extern_prefix" = "yes"
13065 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13067 asm_name_prefix
="_"
13069 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13075 if test "$ac_cv_c_stdcall_suffix" = "yes"
13077 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13080 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13086 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13087 if ${ac_cv_asm_func_def+:} false
; then :
13088 $as_echo_n "(cached) " >&6
13090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13091 /* end confdefs.h. */
13096 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13101 if ac_fn_c_try_link
"$LINENO"; then :
13102 ac_cv_asm_func_def
=".def"
13104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13105 /* end confdefs.h. */
13110 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13115 if ac_fn_c_try_link
"$LINENO"; then :
13116 ac_cv_asm_func_def
=".type @function"
13118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13124 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13129 if ac_fn_c_try_link
"$LINENO"; then :
13130 ac_cv_asm_func_def
=".type 2"
13132 ac_cv_asm_func_def
="unknown"
13134 rm -f core conftest.err conftest.
$ac_objext \
13135 conftest
$ac_exeext conftest.
$ac_ext
13137 rm -f core conftest.err conftest.
$ac_objext \
13138 conftest
$ac_exeext conftest.
$ac_ext
13140 rm -f core conftest.err conftest.
$ac_objext \
13141 conftest
$ac_exeext conftest.
$ac_ext
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13144 $as_echo "$ac_cv_asm_func_def" >&6; }
13147 case "$ac_cv_asm_func_def" in
13149 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13151 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13153 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13155 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13157 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13159 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13161 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13163 asm_func_header
="" ;;
13166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13167 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13168 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13169 $as_echo_n "(cached) " >&6
13171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13173 asm(".text\n\t.long 0");
13182 if ac_fn_c_try_compile
"$LINENO"; then :
13183 ac_cv_c_asm_outside_funcs
="yes"
13185 ac_cv_c_asm_outside_funcs
="no"
13187 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13190 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13193 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13194 if ${ac_cv_c_dot_previous+:} false
; then :
13195 $as_echo_n "(cached) " >&6
13197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13198 /* end confdefs.h. */
13203 asm(".text\nac_test:\t.long 0\n\t.previous");
13208 if ac_fn_c_try_link
"$LINENO"; then :
13209 ac_cv_c_dot_previous
="yes"
13211 ac_cv_c_dot_previous
="no"
13213 rm -f core conftest.err conftest.
$ac_objext \
13214 conftest
$ac_exeext conftest.
$ac_ext
13216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13217 $as_echo "$ac_cv_c_dot_previous" >&6; }
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13220 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13221 if ${ac_cv_c_cfi_support+:} false
; then :
13222 $as_echo_n "(cached) " >&6
13224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13225 /* end confdefs.h. */
13226 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13235 if ac_fn_c_try_compile
"$LINENO"; then :
13236 ac_cv_c_cfi_support
="yes"
13238 ac_cv_c_cfi_support
="no"
13240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13243 $as_echo "$ac_cv_c_cfi_support" >&6; }
13245 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13246 asm_func_trailer
=""
13247 if test "$ac_cv_c_dot_previous" = "yes"
13249 asm_func_trailer
="\\n\\t.previous"
13251 if test "$ac_cv_c_cfi_support" = "yes"
13253 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13254 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13256 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13258 UNWINDFLAGS
=-fasynchronous-unwind-tables
13261 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13265 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13268 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13270 cat >>confdefs.h
<<_ACEOF
13271 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13275 cat >>confdefs.h
<<_ACEOF
13276 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13281 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13284 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13294 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13299 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13305 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13310 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13312 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13319 ac_save_CFLAGS
="$CFLAGS"
13320 CFLAGS
="$CFLAGS $BUILTINFLAG"
13394 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13395 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13396 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13397 cat >>confdefs.h
<<_ACEOF
13398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13404 CFLAGS
="$ac_save_CFLAGS"
13406 if test "$ac_cv_func_dlopen" = no
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13409 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13410 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13411 $as_echo_n "(cached) " >&6
13413 ac_check_lib_save_LIBS
=$LIBS
13415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13416 /* end confdefs.h. */
13418 /* Override any GCC internal prototype to avoid an error.
13419 Use char because int might match the return type of a GCC
13420 builtin and then its argument prototype would still apply. */
13433 if ac_fn_c_try_link
"$LINENO"; then :
13434 ac_cv_lib_dl_dlopen
=yes
13436 ac_cv_lib_dl_dlopen
=no
13438 rm -f core conftest.err conftest.
$ac_objext \
13439 conftest
$ac_exeext conftest.
$ac_ext
13440 LIBS
=$ac_check_lib_save_LIBS
13442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13443 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13444 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13445 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13451 ac_wine_check_funcs_save_LIBS
="$LIBS"
13452 LIBS
="$LIBS $LIBDL"
13453 for ac_func
in dladdr
13455 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13456 if test "x$ac_cv_func_dladdr" = xyes
; then :
13457 cat >>confdefs.h
<<_ACEOF
13458 #define HAVE_DLADDR 1
13464 LIBS
="$ac_wine_check_funcs_save_LIBS"
13466 if test "$ac_cv_func_poll" = no
13468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13469 $as_echo_n "checking for poll in -lpoll... " >&6; }
13470 if ${ac_cv_lib_poll_poll+:} false
; then :
13471 $as_echo_n "(cached) " >&6
13473 ac_check_lib_save_LIBS
=$LIBS
13474 LIBS
="-lpoll $LIBS"
13475 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13476 /* end confdefs.h. */
13478 /* Override any GCC internal prototype to avoid an error.
13479 Use char because int might match the return type of a GCC
13480 builtin and then its argument prototype would still apply. */
13493 if ac_fn_c_try_link
"$LINENO"; then :
13494 ac_cv_lib_poll_poll
=yes
13496 ac_cv_lib_poll_poll
=no
13498 rm -f core conftest.err conftest.
$ac_objext \
13499 conftest
$ac_exeext conftest.
$ac_ext
13500 LIBS
=$ac_check_lib_save_LIBS
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13503 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13504 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13505 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13513 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13514 if ${ac_cv_search_gethostbyname+:} false
; then :
13515 $as_echo_n "(cached) " >&6
13517 ac_func_search_save_LIBS
=$LIBS
13518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13521 /* Override any GCC internal prototype to avoid an error.
13522 Use char because int might match the return type of a GCC
13523 builtin and then its argument prototype would still apply. */
13527 char gethostbyname ();
13531 return gethostbyname ();
13536 for ac_lib
in '' nsl
; do
13537 if test -z "$ac_lib"; then
13538 ac_res
="none required"
13541 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13543 if ac_fn_c_try_link
"$LINENO"; then :
13544 ac_cv_search_gethostbyname
=$ac_res
13546 rm -f core conftest.err conftest.
$ac_objext \
13548 if ${ac_cv_search_gethostbyname+:} false
; then :
13552 if ${ac_cv_search_gethostbyname+:} false
; then :
13555 ac_cv_search_gethostbyname
=no
13557 rm conftest.
$ac_ext
13558 LIBS
=$ac_func_search_save_LIBS
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13561 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13562 ac_res
=$ac_cv_search_gethostbyname
13563 if test "$ac_res" != no
; then :
13564 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13570 $as_echo_n "checking for library containing connect... " >&6; }
13571 if ${ac_cv_search_connect+:} false
; then :
13572 $as_echo_n "(cached) " >&6
13574 ac_func_search_save_LIBS
=$LIBS
13575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13576 /* end confdefs.h. */
13578 /* Override any GCC internal prototype to avoid an error.
13579 Use char because int might match the return type of a GCC
13580 builtin and then its argument prototype would still apply. */
13593 for ac_lib
in '' socket
; do
13594 if test -z "$ac_lib"; then
13595 ac_res
="none required"
13598 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13600 if ac_fn_c_try_link
"$LINENO"; then :
13601 ac_cv_search_connect
=$ac_res
13603 rm -f core conftest.err conftest.
$ac_objext \
13605 if ${ac_cv_search_connect+:} false
; then :
13609 if ${ac_cv_search_connect+:} false
; then :
13612 ac_cv_search_connect
=no
13614 rm conftest.
$ac_ext
13615 LIBS
=$ac_func_search_save_LIBS
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13618 $as_echo "$ac_cv_search_connect" >&6; }
13619 ac_res
=$ac_cv_search_connect
13620 if test "$ac_res" != no
; then :
13621 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13627 $as_echo_n "checking for library containing inet_aton... " >&6; }
13628 if ${ac_cv_search_inet_aton+:} false
; then :
13629 $as_echo_n "(cached) " >&6
13631 ac_func_search_save_LIBS
=$LIBS
13632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13645 return inet_aton ();
13650 for ac_lib
in '' resolv
; do
13651 if test -z "$ac_lib"; then
13652 ac_res
="none required"
13655 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13657 if ac_fn_c_try_link
"$LINENO"; then :
13658 ac_cv_search_inet_aton
=$ac_res
13660 rm -f core conftest.err conftest.
$ac_objext \
13662 if ${ac_cv_search_inet_aton+:} false
; then :
13666 if ${ac_cv_search_inet_aton+:} false
; then :
13669 ac_cv_search_inet_aton
=no
13671 rm conftest.
$ac_ext
13672 LIBS
=$ac_func_search_save_LIBS
13674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13675 $as_echo "$ac_cv_search_inet_aton" >&6; }
13676 ac_res
=$ac_cv_search_inet_aton
13677 if test "$ac_res" != no
; then :
13678 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13697 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13698 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13699 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13700 cat >>confdefs.h
<<_ACEOF
13701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13710 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13711 if ${ac_cv_search_clock_gettime+:} false
; then :
13712 $as_echo_n "(cached) " >&6
13714 ac_func_search_save_LIBS
=$LIBS
13715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13724 char clock_gettime ();
13728 return clock_gettime ();
13733 for ac_lib
in '' rt
; do
13734 if test -z "$ac_lib"; then
13735 ac_res
="none required"
13738 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13740 if ac_fn_c_try_link
"$LINENO"; then :
13741 ac_cv_search_clock_gettime
=$ac_res
13743 rm -f core conftest.err conftest.
$ac_objext \
13745 if ${ac_cv_search_clock_gettime+:} false
; then :
13749 if ${ac_cv_search_clock_gettime+:} false
; then :
13752 ac_cv_search_clock_gettime
=no
13754 rm conftest.
$ac_ext
13755 LIBS
=$ac_func_search_save_LIBS
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13758 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13759 ac_res
=$ac_cv_search_clock_gettime
13760 if test "$ac_res" != no
; then :
13761 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13763 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13765 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13773 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13775 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13777 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13779 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13780 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13781 $as_echo_n "(cached) " >&6
13783 ac_check_lib_save_LIBS
=$LIBS
13784 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13785 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13786 /* end confdefs.h. */
13788 /* Override any GCC internal prototype to avoid an error.
13789 Use char because int might match the return type of a GCC
13790 builtin and then its argument prototype would still apply. */
13794 char ldap_initialize ();
13798 return ldap_initialize ();
13803 if ac_fn_c_try_link
"$LINENO"; then :
13804 ac_cv_lib_ldap_r_ldap_initialize
=yes
13806 ac_cv_lib_ldap_r_ldap_initialize
=no
13808 rm -f core conftest.err conftest.
$ac_objext \
13809 conftest
$ac_exeext conftest.
$ac_ext
13810 LIBS
=$ac_check_lib_save_LIBS
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13813 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13814 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13816 $as_echo_n "checking for ber_init in -llber... " >&6; }
13817 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13818 $as_echo_n "(cached) " >&6
13820 ac_check_lib_save_LIBS
=$LIBS
13821 LIBS
="-llber $LIBPTHREAD $LIBS"
13822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13823 /* end confdefs.h. */
13825 /* Override any GCC internal prototype to avoid an error.
13826 Use char because int might match the return type of a GCC
13827 builtin and then its argument prototype would still apply. */
13835 return ber_init ();
13840 if ac_fn_c_try_link
"$LINENO"; then :
13841 ac_cv_lib_lber_ber_init
=yes
13843 ac_cv_lib_lber_ber_init
=no
13845 rm -f core conftest.err conftest.
$ac_objext \
13846 conftest
$ac_exeext conftest.
$ac_ext
13847 LIBS
=$ac_check_lib_save_LIBS
13849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13850 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13851 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13853 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13855 LDAPLIBS
="-lldap_r -llber"
13862 ac_wine_check_funcs_save_LIBS
="$LIBS"
13863 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13865 ldap_count_references \
13866 ldap_first_reference \
13867 ldap_next_reference \
13868 ldap_parse_reference \
13869 ldap_parse_sort_control \
13870 ldap_parse_sortresponse_control \
13871 ldap_parse_vlv_control \
13872 ldap_parse_vlvresponse_control
13874 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13875 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13876 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13877 cat >>confdefs.h
<<_ACEOF
13878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13884 LIBS
="$ac_wine_check_funcs_save_LIBS"
13886 if test "x$LDAPLIBS" = "x"; then :
13887 case "x$with_ldap" in
13888 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13890 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13891 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13896 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13897 if ${wine_cv_one_arg_mkdir+:} false
; then :
13898 $as_echo_n "(cached) " >&6
13900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13901 /* end confdefs.h. */
13902 #include <sys/stat.h>
13911 if ac_fn_c_try_compile
"$LINENO"; then :
13912 wine_cv_one_arg_mkdir
=yes
13914 wine_cv_one_arg_mkdir
=no
13916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13919 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13920 if test "$wine_cv_one_arg_mkdir" = "yes"
13923 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13928 $as_echo_n "checking for sched_setaffinity... " >&6; }
13929 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13930 $as_echo_n "(cached) " >&6
13932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13933 /* end confdefs.h. */
13934 #define _GNU_SOURCE
13939 sched_setaffinity(0, 0, 0);
13944 if ac_fn_c_try_link
"$LINENO"; then :
13945 wine_cv_have_sched_setaffinity
=yes
13947 wine_cv_have_sched_setaffinity
=no
13949 rm -f core conftest.err conftest.
$ac_objext \
13950 conftest
$ac_exeext conftest.
$ac_ext
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13953 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13954 if test "$wine_cv_have_sched_setaffinity" = "yes"
13957 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13962 $as_echo_n "checking for fallocate... " >&6; }
13963 if ${wine_cv_have_fallocate+:} false
; then :
13964 $as_echo_n "(cached) " >&6
13966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13967 /* end confdefs.h. */
13968 #define _GNU_SOURCE
13973 fallocate(-1, 0, 0, 0);
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 wine_cv_have_fallocate
=yes
13981 wine_cv_have_fallocate
=no
13983 rm -f core conftest.err conftest.
$ac_objext \
13984 conftest
$ac_exeext conftest.
$ac_ext
13986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13987 $as_echo "$wine_cv_have_fallocate" >&6; }
13988 if test "$wine_cv_have_fallocate" = "yes"
13991 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13997 $as_echo_n "checking for inline... " >&6; }
13998 if ${ac_cv_c_inline+:} false
; then :
13999 $as_echo_n "(cached) " >&6
14002 for ac_kw
in inline __inline__ __inline
; do
14003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14004 /* end confdefs.h. */
14005 #ifndef __cplusplus
14007 static $ac_kw foo_t static_foo () {return 0; }
14008 $ac_kw foo_t foo () {return 0; }
14012 if ac_fn_c_try_compile
"$LINENO"; then :
14013 ac_cv_c_inline
=$ac_kw
14015 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14016 test "$ac_cv_c_inline" != no
&& break
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
14021 $as_echo "$ac_cv_c_inline" >&6; }
14023 case $ac_cv_c_inline in
14026 case $ac_cv_c_inline in
14028 *) ac_val
=$ac_cv_c_inline;;
14030 cat >>confdefs.h
<<_ACEOF
14031 #ifndef __cplusplus
14032 #define inline $ac_val
14038 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
14039 if test "x$ac_cv_type_mode_t" = xyes
; then :
14041 cat >>confdefs.h
<<_ACEOF
14042 #define HAVE_MODE_T 1
14047 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
14048 if test "x$ac_cv_type_off_t" = xyes
; then :
14050 cat >>confdefs.h
<<_ACEOF
14051 #define HAVE_OFF_T 1
14056 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
14057 if test "x$ac_cv_type_pid_t" = xyes
; then :
14059 cat >>confdefs.h
<<_ACEOF
14060 #define HAVE_PID_T 1
14065 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14066 if test "x$ac_cv_type_size_t" = xyes
; then :
14068 cat >>confdefs.h
<<_ACEOF
14069 #define HAVE_SIZE_T 1
14074 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14075 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14077 cat >>confdefs.h
<<_ACEOF
14078 #define HAVE_SSIZE_T 1
14083 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14084 if test "x$ac_cv_type_long_long" = xyes
; then :
14086 cat >>confdefs.h
<<_ACEOF
14087 #define HAVE_LONG_LONG 1
14092 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14093 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14095 cat >>confdefs.h
<<_ACEOF
14096 #define HAVE_FSBLKCNT_T 1
14101 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14102 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14104 cat >>confdefs.h
<<_ACEOF
14105 #define HAVE_FSFILCNT_T 1
14111 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14112 #include <signal.h>
14114 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14116 cat >>confdefs.h
<<_ACEOF
14117 #define HAVE_SIGSET_T 1
14123 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14125 if test "x$ac_cv_type_request_sense" = xyes
; then :
14127 cat >>confdefs.h
<<_ACEOF
14128 #define HAVE_REQUEST_SENSE 1
14135 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14136 #ifdef HAVE_SYS_SOCKET_H
14137 #include <sys/socket.h>
14139 #ifdef HAVE_SYS_SOCKETVAR_H
14140 #include <sys/socketvar.h>
14142 #ifdef HAVE_NET_ROUTE_H
14143 #include <net/route.h>
14145 #ifdef HAVE_NETINET_IN_H
14146 #include <netinet/in.h>
14148 #ifdef HAVE_NETINET_IN_SYSTM_H
14149 #include <netinet/in_systm.h>
14151 #ifdef HAVE_NETINET_IP_H
14152 #include <netinet/ip.h>
14154 #ifdef HAVE_NETINET_IN_PCB_H
14155 #include <netinet/in_pcb.h>
14158 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14160 cat >>confdefs.h
<<_ACEOF
14161 #define HAVE_STRUCT_XINPGEN 1
14168 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14169 #include <linux/input.h>
14172 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14174 cat >>confdefs.h
<<_ACEOF
14175 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14183 $as_echo_n "checking for sigaddset... " >&6; }
14184 if ${wine_cv_have_sigaddset+:} false
; then :
14185 $as_echo_n "(cached) " >&6
14187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14188 /* end confdefs.h. */
14189 #include <signal.h>
14193 sigset_t set; sigaddset(&set,SIGTERM);
14198 if ac_fn_c_try_link
"$LINENO"; then :
14199 wine_cv_have_sigaddset
=yes
14201 wine_cv_have_sigaddset
=no
14203 rm -f core conftest.err conftest.
$ac_objext \
14204 conftest
$ac_exeext conftest.
$ac_ext
14206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14207 $as_echo "$wine_cv_have_sigaddset" >&6; }
14208 if test "$wine_cv_have_sigaddset" = "yes"
14211 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14217 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14218 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14219 $as_echo_n "(cached) " >&6
14221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14222 /* end confdefs.h. */
14230 struct hostent *result;
14237 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14238 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14244 if ac_fn_c_try_link
"$LINENO"; then :
14245 wine_cv_linux_gethostbyname_r_6
=yes
14247 wine_cv_linux_gethostbyname_r_6
=no
14250 rm -f core conftest.err conftest.
$ac_objext \
14251 conftest
$ac_exeext conftest.
$ac_ext
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14255 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14256 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14259 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14263 if test "$ac_cv_header_linux_joystick_h" = "yes"
14265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14266 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14267 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14268 $as_echo_n "(cached) " >&6
14270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14271 /* end confdefs.h. */
14273 #include <sys/ioctl.h>
14274 #include <sys/types.h>
14275 #include <linux/joystick.h>
14277 struct js_event blub;
14278 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14279 #error "no 2.2 header"
14290 if ac_fn_c_try_compile
"$LINENO"; then :
14291 wine_cv_linux_joystick_22_api
=yes
14293 wine_cv_linux_joystick_22_api
=no
14295 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14299 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14300 if test "$wine_cv_linux_joystick_22_api" = "yes"
14303 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14309 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14310 #ifdef HAVE_SYS_PARAM_H
14311 # include <sys/param.h>
14313 #ifdef HAVE_SYS_MOUNT_H
14314 # include <sys/mount.h>
14316 #ifdef HAVE_SYS_VFS_H
14317 # include <sys/vfs.h>
14319 #ifdef HAVE_SYS_STATFS_H
14320 # include <sys/statfs.h>
14323 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14325 cat >>confdefs.h
<<_ACEOF
14326 #define HAVE_STRUCT_STATFS_F_BFREE 1
14331 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14332 #ifdef HAVE_SYS_PARAM_H
14333 # include <sys/param.h>
14335 #ifdef HAVE_SYS_MOUNT_H
14336 # include <sys/mount.h>
14338 #ifdef HAVE_SYS_VFS_H
14339 # include <sys/vfs.h>
14341 #ifdef HAVE_SYS_STATFS_H
14342 # include <sys/statfs.h>
14345 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14347 cat >>confdefs.h
<<_ACEOF
14348 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14353 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14354 #ifdef HAVE_SYS_PARAM_H
14355 # include <sys/param.h>
14357 #ifdef HAVE_SYS_MOUNT_H
14358 # include <sys/mount.h>
14360 #ifdef HAVE_SYS_VFS_H
14361 # include <sys/vfs.h>
14363 #ifdef HAVE_SYS_STATFS_H
14364 # include <sys/statfs.h>
14367 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14369 cat >>confdefs.h
<<_ACEOF
14370 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14375 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14376 #ifdef HAVE_SYS_PARAM_H
14377 # include <sys/param.h>
14379 #ifdef HAVE_SYS_MOUNT_H
14380 # include <sys/mount.h>
14382 #ifdef HAVE_SYS_VFS_H
14383 # include <sys/vfs.h>
14385 #ifdef HAVE_SYS_STATFS_H
14386 # include <sys/statfs.h>
14389 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14391 cat >>confdefs.h
<<_ACEOF
14392 #define HAVE_STRUCT_STATFS_F_FFREE 1
14397 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14398 #ifdef HAVE_SYS_PARAM_H
14399 # include <sys/param.h>
14401 #ifdef HAVE_SYS_MOUNT_H
14402 # include <sys/mount.h>
14404 #ifdef HAVE_SYS_VFS_H
14405 # include <sys/vfs.h>
14407 #ifdef HAVE_SYS_STATFS_H
14408 # include <sys/statfs.h>
14411 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14413 cat >>confdefs.h
<<_ACEOF
14414 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14419 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14420 #ifdef HAVE_SYS_PARAM_H
14421 # include <sys/param.h>
14423 #ifdef HAVE_SYS_MOUNT_H
14424 # include <sys/mount.h>
14426 #ifdef HAVE_SYS_VFS_H
14427 # include <sys/vfs.h>
14429 #ifdef HAVE_SYS_STATFS_H
14430 # include <sys/statfs.h>
14433 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14435 cat >>confdefs.h
<<_ACEOF
14436 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14443 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14444 #include <sys/statvfs.h>
14447 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14449 cat >>confdefs.h
<<_ACEOF
14450 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14457 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14458 #include <dirent.h>
14461 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14463 cat >>confdefs.h
<<_ACEOF
14464 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14471 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14472 #ifdef HAVE_SYS_SOCKET_H
14473 # include <sys/socket.h>
14475 #ifdef HAVE_SYS_UN_H
14476 # include <sys/un.h>
14479 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14481 cat >>confdefs.h
<<_ACEOF
14482 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14487 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14488 #ifdef HAVE_SYS_SOCKET_H
14489 # include <sys/socket.h>
14491 #ifdef HAVE_SYS_UN_H
14492 # include <sys/un.h>
14495 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14497 cat >>confdefs.h
<<_ACEOF
14498 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14503 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14504 #ifdef HAVE_SYS_SOCKET_H
14505 # include <sys/socket.h>
14507 #ifdef HAVE_SYS_UN_H
14508 # include <sys/un.h>
14511 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14513 cat >>confdefs.h
<<_ACEOF
14514 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14521 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14522 #ifdef HAVE_SCSI_SG_H
14523 #include <scsi/sg.h>
14526 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14528 cat >>confdefs.h
<<_ACEOF
14529 #define HAVE_SCSIREQ_T_CMD 1
14534 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>
14535 #ifdef HAVE_SCSI_SG_H
14536 #include <scsi/sg.h>
14539 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14541 cat >>confdefs.h
<<_ACEOF
14542 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14549 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14551 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14553 cat >>confdefs.h
<<_ACEOF
14554 #define HAVE_SIGINFO_T_SI_FD 1
14561 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14562 #ifdef HAVE_SYS_MTIO_H
14563 #include <sys/mtio.h>
14566 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14568 cat >>confdefs.h
<<_ACEOF
14569 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14574 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14575 #ifdef HAVE_SYS_MTIO_H
14576 #include <sys/mtio.h>
14579 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14581 cat >>confdefs.h
<<_ACEOF
14582 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14587 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14588 #ifdef HAVE_SYS_MTIO_H
14589 #include <sys/mtio.h>
14592 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14594 cat >>confdefs.h
<<_ACEOF
14595 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14602 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14603 #include <getopt.h>
14606 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14608 cat >>confdefs.h
<<_ACEOF
14609 #define HAVE_STRUCT_OPTION_NAME 1
14616 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14617 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14619 cat >>confdefs.h
<<_ACEOF
14620 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14625 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14626 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14628 cat >>confdefs.h
<<_ACEOF
14629 #define HAVE_STRUCT_STAT_ST_MTIM 1
14634 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14635 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14637 cat >>confdefs.h
<<_ACEOF
14638 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14643 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14644 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14646 cat >>confdefs.h
<<_ACEOF
14647 #define HAVE_STRUCT_STAT_ST_CTIM 1
14652 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14653 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14655 cat >>confdefs.h
<<_ACEOF
14656 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14661 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14662 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14664 cat >>confdefs.h
<<_ACEOF
14665 #define HAVE_STRUCT_STAT_ST_ATIM 1
14670 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14671 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14673 cat >>confdefs.h
<<_ACEOF
14674 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14679 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14680 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14682 cat >>confdefs.h
<<_ACEOF
14683 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14688 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14689 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14691 cat >>confdefs.h
<<_ACEOF
14692 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14697 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14698 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14700 cat >>confdefs.h
<<_ACEOF
14701 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14706 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14707 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14709 cat >>confdefs.h
<<_ACEOF
14710 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14715 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14716 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14718 cat >>confdefs.h
<<_ACEOF
14719 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14726 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
14727 #include <sys/types.h>
14729 #ifdef HAVE_NETINET_IN_H
14730 #include <netinet/in.h>
14733 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14735 cat >>confdefs.h
<<_ACEOF
14736 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14743 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14744 #include <sys/types.h>
14746 #ifdef HAVE_NETINET_IN_H
14747 # include <netinet/in.h>
14749 #ifdef HAVE_ARPA_NAMESER_H
14750 # include <arpa/nameser.h>
14753 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14755 cat >>confdefs.h
<<_ACEOF
14756 #define HAVE_NS_MSG__MSG_PTR 1
14763 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14764 #include <sys/types.h>
14766 #ifdef HAVE_NETINET_IP_H
14767 #include <netinet/ip.h>
14769 #ifdef HAVE_NETINET_IP_ICMP_H
14770 #include <netinet/ip_icmp.h>
14772 #ifdef HAVE_NETINET_ICMP_VAR_H
14773 #include <netinet/icmp_var.h>
14776 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14778 cat >>confdefs.h
<<_ACEOF
14779 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14786 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14787 #include <sys/types.h>
14789 #ifdef HAVE_ALIAS_H
14792 #ifdef HAVE_SYS_SOCKET_H
14793 #include <sys/socket.h>
14795 #ifdef HAVE_SYS_SOCKETVAR_H
14796 #include <sys/socketvar.h>
14798 #ifdef HAVE_SYS_TIMEOUT_H
14799 #include <sys/timeout.h>
14801 #ifdef HAVE_NETINET_IN_H
14802 #include <netinet/in.h>
14804 #ifdef HAVE_NETINET_IN_SYSTM_H
14805 #include <netinet/in_systm.h>
14807 #ifdef HAVE_NETINET_IP_H
14808 #include <netinet/ip.h>
14810 #ifdef HAVE_NETINET_IP_VAR_H
14811 #include <netinet/ip_var.h>
14813 #ifdef HAVE_NETINET_IP_ICMP_H
14814 #include <netinet/ip_icmp.h>
14816 #ifdef HAVE_NETINET_ICMP_VAR_H
14817 #include <netinet/icmp_var.h>
14820 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14822 cat >>confdefs.h
<<_ACEOF
14823 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14830 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14831 #include <sys/types.h>
14833 #ifdef HAVE_SYS_SOCKETVAR_H
14834 #include <sys/socketvar.h>
14836 #ifdef HAVE_NETINET_IN_H
14837 #include <netinet/in.h>
14839 #ifdef HAVE_NETINET_IP_VAR_H
14840 #include <netinet/ip_var.h>
14843 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14845 cat >>confdefs.h
<<_ACEOF
14846 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14853 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
14854 #include <netinet/ip_var.h>
14857 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14859 cat >>confdefs.h
<<_ACEOF
14860 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14867 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14868 #include <sys/types.h>
14870 #ifdef HAVE_SYS_SOCKETVAR_H
14871 #include <sys/socketvar.h>
14873 #ifdef HAVE_NETINET_IN_H
14874 #include <netinet/in.h>
14876 #ifdef HAVE_NETINET_TCP_H
14877 #include <netinet/tcp.h>
14879 #ifdef HAVE_NETINET_TCP_VAR_H
14880 #include <netinet/tcp_var.h>
14883 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14885 cat >>confdefs.h
<<_ACEOF
14886 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14893 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
14894 #include <netinet/tcp_var.h>
14897 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14899 cat >>confdefs.h
<<_ACEOF
14900 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14907 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14908 #include <sys/types.h>
14910 #ifdef HAVE_NETINET_IN_H
14911 #include <netinet/in.h>
14913 #ifdef HAVE_NETINET_IP_VAR_H
14914 #include <netinet/ip_var.h>
14916 #ifdef HAVE_NETINET_UDP_H
14917 #include <netinet/udp.h>
14919 #ifdef HAVE_NETINET_UDP_VAR_H
14920 #include <netinet/udp_var.h>
14923 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14925 cat >>confdefs.h
<<_ACEOF
14926 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14933 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14934 #include <sys/types.h>
14936 #ifdef HAVE_NET_IF_H
14937 # include <net/if.h>
14940 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14942 cat >>confdefs.h
<<_ACEOF
14943 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14951 $as_echo_n "checking for timezone variable... " >&6; }
14952 if ${ac_cv_have_timezone+:} false
; then :
14953 $as_echo_n "(cached) " >&6
14955 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14966 if ac_fn_c_try_link
"$LINENO"; then :
14967 ac_cv_have_timezone
="yes"
14969 ac_cv_have_timezone
="no"
14971 rm -f core conftest.err conftest.
$ac_objext \
14972 conftest
$ac_exeext conftest.
$ac_ext
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14975 $as_echo "$ac_cv_have_timezone" >&6; }
14976 if test "$ac_cv_have_timezone" = "yes"
14979 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14983 $as_echo_n "checking for daylight variable... " >&6; }
14984 if ${ac_cv_have_daylight+:} false
; then :
14985 $as_echo_n "(cached) " >&6
14987 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14988 /* end confdefs.h. */
14998 if ac_fn_c_try_link
"$LINENO"; then :
14999 ac_cv_have_daylight
="yes"
15001 ac_cv_have_daylight
="no"
15003 rm -f core conftest.err conftest.
$ac_objext \
15004 conftest
$ac_exeext conftest.
$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
15007 $as_echo "$ac_cv_have_daylight" >&6; }
15008 if test "$ac_cv_have_daylight" = "yes"
15011 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
15015 ac_save_LIBS
="$LIBS"
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
15018 $as_echo_n "checking for isinf... " >&6; }
15019 if ${ac_cv_have_isinf+:} false
; then :
15020 $as_echo_n "(cached) " >&6
15022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15028 float f = 0.0; return isinf(f)
15033 if ac_fn_c_try_link
"$LINENO"; then :
15034 ac_cv_have_isinf
="yes"
15036 ac_cv_have_isinf
="no"
15038 rm -f core conftest.err conftest.
$ac_objext \
15039 conftest
$ac_exeext conftest.
$ac_ext
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
15042 $as_echo "$ac_cv_have_isinf" >&6; }
15043 if test "$ac_cv_have_isinf" = "yes"
15046 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
15051 $as_echo_n "checking for isnan... " >&6; }
15052 if ${ac_cv_have_isnan+:} false
; then :
15053 $as_echo_n "(cached) " >&6
15055 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15061 float f = 0.0; return isnan(f)
15066 if ac_fn_c_try_link
"$LINENO"; then :
15067 ac_cv_have_isnan
="yes"
15069 ac_cv_have_isnan
="no"
15071 rm -f core conftest.err conftest.
$ac_objext \
15072 conftest
$ac_exeext conftest.
$ac_ext
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15075 $as_echo "$ac_cv_have_isnan" >&6; }
15076 if test "$ac_cv_have_isnan" = "yes"
15079 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15082 LIBS
="$ac_save_LIBS"
15086 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15087 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15088 if ${ac_cv_cpp_def___i386__+:} false
; then :
15089 $as_echo_n "(cached) " >&6
15091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15092 /* end confdefs.h. */
15097 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15098 $EGREP "yes" >/dev
/null
2>&1; then :
15099 ac_cv_cpp_def___i386__
=yes
15101 ac_cv_cpp_def___i386__
=no
15106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15107 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15108 if test $ac_cv_cpp_def___i386__ = yes; then :
15109 CFLAGS
="$CFLAGS -D__i386__"
15110 LINTFLAGS
="$LINTFLAGS -D__i386__"
15112 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15113 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15114 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15115 $as_echo_n "(cached) " >&6
15117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15118 /* end confdefs.h. */
15123 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15124 $EGREP "yes" >/dev
/null
2>&1; then :
15125 ac_cv_cpp_def___x86_64__
=yes
15127 ac_cv_cpp_def___x86_64__
=no
15132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15133 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15134 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15135 CFLAGS
="$CFLAGS -D__x86_64__"
15136 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15138 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15139 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15140 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15141 $as_echo_n "(cached) " >&6
15143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15144 /* end confdefs.h. */
15145 #ifndef __sparc64__
15149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15150 $EGREP "yes" >/dev
/null
2>&1; then :
15151 ac_cv_cpp_def___sparc64__
=yes
15153 ac_cv_cpp_def___sparc64__
=no
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15159 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15160 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15161 CFLAGS
="$CFLAGS -D__sparc64__"
15162 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15164 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15165 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15166 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15167 $as_echo_n "(cached) " >&6
15169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15170 /* end confdefs.h. */
15175 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15176 $EGREP "yes" >/dev
/null
2>&1; then :
15177 ac_cv_cpp_def___sparc__
=yes
15179 ac_cv_cpp_def___sparc__
=no
15184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15185 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15186 if test $ac_cv_cpp_def___sparc__ = yes; then :
15187 CFLAGS
="$CFLAGS -D__sparc__"
15188 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15190 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15191 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15192 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15193 $as_echo_n "(cached) " >&6
15195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15196 /* end confdefs.h. */
15197 #ifndef __powerpc64__
15201 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15202 $EGREP "yes" >/dev
/null
2>&1; then :
15203 ac_cv_cpp_def___powerpc64__
=yes
15205 ac_cv_cpp_def___powerpc64__
=no
15210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15211 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15212 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15213 CFLAGS
="$CFLAGS -D__powerpc64__"
15214 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15216 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15217 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15218 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15219 $as_echo_n "(cached) " >&6
15221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223 #ifndef __powerpc__
15227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15228 $EGREP "yes" >/dev
/null
2>&1; then :
15229 ac_cv_cpp_def___powerpc__
=yes
15231 ac_cv_cpp_def___powerpc__
=no
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15237 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15238 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15239 CFLAGS
="$CFLAGS -D__powerpc__"
15240 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15242 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15243 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15244 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15245 $as_echo_n "(cached) " >&6
15247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 #ifndef __aarch64__
15253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15254 $EGREP "yes" >/dev
/null
2>&1; then :
15255 ac_cv_cpp_def___aarch64__
=yes
15257 ac_cv_cpp_def___aarch64__
=no
15262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15263 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15264 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15265 CFLAGS
="$CFLAGS -D__aarch64__"
15266 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15268 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15269 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15270 if ${ac_cv_cpp_def___arm__+:} false
; then :
15271 $as_echo_n "(cached) " >&6
15273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15274 /* end confdefs.h. */
15279 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15280 $EGREP "yes" >/dev
/null
2>&1; then :
15281 ac_cv_cpp_def___arm__
=yes
15283 ac_cv_cpp_def___arm__
=no
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15289 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15290 if test $ac_cv_cpp_def___arm__ = yes; then :
15291 CFLAGS
="$CFLAGS -D__arm__"
15292 LINTFLAGS
="$LINTFLAGS -D__arm__"
15296 case $host_vendor in
15297 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15298 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15299 if ${ac_cv_cpp_def___sun__+:} false
; then :
15300 $as_echo_n "(cached) " >&6
15302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15303 /* end confdefs.h. */
15308 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15309 $EGREP "yes" >/dev
/null
2>&1; then :
15310 ac_cv_cpp_def___sun__
=yes
15312 ac_cv_cpp_def___sun__
=no
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15318 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15319 if test $ac_cv_cpp_def___sun__ = yes; then :
15320 CFLAGS
="$CFLAGS -D__sun__"
15321 LINTFLAGS
="$LINTFLAGS -D__sun__"
15329 ac_config_commands
="$ac_config_commands include/stamp-h"
15332 ALL_MAKEFILE_DEPENDS
="
15333 # Rules automatically generated by configure
15338 Makefile: Makefile.in Make.vars.in Make.rules config.status
15339 @./config.status Make.tmp Makefile"
15342 ALL_TEST_RESOURCES
=""
15345 wine_fn_append_file
()
15347 as_fn_append
$1 " \\$as_nl $2"
15350 wine_fn_append_rule
()
15352 as_fn_append
$1 "$as_nl$2"
15355 wine_fn_has_flag
()
15357 expr ",$2," : ".*,$1,.*" >/dev
/null
15360 wine_fn_all_dir_rules
()
15364 ac_makedep
="\$(MAKEDEP)"
15365 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15366 if test $ac_dir != tools
15368 ac_alldeps
="$2 $ac_makedep"
15370 ac_alldeps
="$2 include/config.h"
15373 *.
in) ac_input
=$ac_input:$2 ;;
15374 *) ac_makedep
="$2 $ac_makedep" ;;
15377 wine_fn_append_file ALL_DIRS
$ac_dir
15378 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15379 "__clean__: $ac_dir/__clean__
15380 .PHONY: $ac_dir/__clean__
15381 $ac_dir/__clean__: $ac_dir/Makefile
15382 @cd $ac_dir && \$(MAKE) clean
15383 \$(RM) $ac_dir/Makefile
15384 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15385 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15386 depend: $ac_dir/__depend__
15387 .PHONY: $ac_dir/__depend__
15388 $ac_dir/__depend__: $ac_makedep dummy
15389 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15392 wine_fn_pot_rules
()
15397 test "x$with_gettextpo" = xyes ||
return
15399 if wine_fn_has_flag mc
$ac_flags
15401 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15402 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15403 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15404 @cd $ac_dir && \$(MAKE) msg.pot
15405 $ac_dir/msg.pot: tools/wmc include"
15407 if wine_fn_has_flag po
$ac_flags
15409 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15410 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15411 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15412 @cd $ac_dir && \$(MAKE) rsrc.pot
15413 $ac_dir/rsrc.pot: tools/wrc include"
15417 wine_fn_config_makefile
()
15423 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15427 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15428 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15431 $ac_dir: $ac_dir/Makefile dummy
15432 @cd $ac_dir && \$(MAKE)"
15434 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15436 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15437 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15438 $ac_dir/__install__:: $ac_dir
15439 @cd $ac_dir && \$(MAKE) install
15440 $ac_dir/__uninstall__:: $ac_dir/Makefile
15441 @cd $ac_dir && \$(MAKE) uninstall
15442 install:: $ac_dir/__install__
15443 __uninstall__: $ac_dir/__uninstall__"
15445 if wine_fn_has_flag install-lib
$ac_flags
15447 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15448 ".PHONY: $ac_dir/__install-lib__
15449 $ac_dir/__install-lib__:: $ac_dir
15450 @cd $ac_dir && \$(MAKE) install-lib
15451 install-lib:: $ac_dir/__install-lib__"
15454 if wine_fn_has_flag install-dev
$ac_flags
15456 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15457 ".PHONY: $ac_dir/__install-dev
15458 $ac_dir/__install-dev__:: $ac_dir
15459 @cd $ac_dir && \$(MAKE) install-dev
15460 install-dev:: $ac_dir/__install-dev__"
15464 wine_fn_config_lib
()
15468 ac_dir
=dlls
/$ac_name
15469 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15471 if wine_fn_has_flag install-dev
$ac_flags
15474 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15475 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15476 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15477 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15478 $ac_dir/__uninstall__::
15479 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15480 install install-dev:: $ac_dir/__install__
15481 __uninstall__: $ac_dir/__uninstall__"
15484 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15485 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15488 wine_fn_config_dll
()
15491 ac_dir
=dlls
/$ac_name
15494 ac_implib
=${4:-$ac_name}
15495 ac_file
=$ac_dir/lib
$ac_implib
15497 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15501 *16) ac_implibflags
=" -m16" ;;
15503 *) ac_dll
=$ac_dll.dll
;;
15506 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15508 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15509 test "$ac_enable" != enable_win16 ||
return 0
15510 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15512 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15513 "$ac_dir: __builddeps__
15514 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15515 @cd $ac_dir && \$(MAKE) \$@"
15517 if wine_fn_has_flag install-lib
$ac_flags
15520 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15521 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15522 install install-lib:: $ac_dir/__install-lib__
15523 __uninstall__: $ac_dir/__uninstall__"
15524 if test -n "$DLLEXT"
15526 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15527 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15528 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15529 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15530 $ac_dir/__uninstall__::
15531 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15533 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15534 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15535 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15536 $ac_dir/__uninstall__::
15537 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15541 wine_fn_pot_rules
$ac_dir $ac_flags
15544 if wine_fn_has_flag staticimplib
$ac_flags
15546 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15547 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15548 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15549 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15550 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15551 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15552 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15553 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15554 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15555 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15556 $ac_dir/__uninstall__::
15557 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15558 install install-dev:: $ac_dir/__install-dev__
15559 __uninstall__: $ac_dir/__uninstall__"
15561 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15564 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15565 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15566 $ac_dir/__uninstall__::
15567 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15570 if test "x$CROSSTEST_DISABLE" = x
15572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15573 "__builddeps__: $ac_file.cross.a
15574 $ac_file.cross.a: $ac_dir/Makefile dummy
15575 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15578 elif wine_fn_has_flag implib
$ac_flags
15580 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15581 "__builddeps__: $ac_file.$IMPLIBEXT
15582 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15583 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15584 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15585 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15586 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15587 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15588 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15589 $ac_dir/__uninstall__::
15590 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15591 install install-dev:: $ac_dir/__install-dev__
15592 __uninstall__: $ac_dir/__uninstall__"
15593 if test "x$CROSSTEST_DISABLE" = x
15595 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15596 "__builddeps__: $ac_file.cross.a
15597 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15598 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15601 if test "$ac_name" != "$ac_implib"
15603 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15604 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15605 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15606 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15608 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15609 if test "x$CROSSTEST_DISABLE" = x
15611 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15612 "__builddeps__: dlls/lib$ac_implib.cross.a
15613 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15614 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15620 wine_fn_config_program
()
15623 ac_dir
=programs
/$ac_name
15626 ac_program
=$ac_name
15630 *) ac_program
=$ac_program.exe
;;
15633 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15635 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15638 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15639 "$ac_dir: __builddeps__"
15641 wine_fn_pot_rules
$ac_dir $ac_flags
15643 wine_fn_has_flag
install $ac_flags ||
return
15644 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15645 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15646 install install-lib:: $ac_dir/__install__
15647 __uninstall__: $ac_dir/__uninstall__"
15649 if test -n "$DLLEXT"
15651 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15652 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15653 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15654 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15655 $ac_dir/__uninstall__::
15656 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15658 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15660 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15661 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15662 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15663 $ac_dir/__uninstall__::
15664 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15667 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15668 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15669 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15670 $ac_dir/__uninstall__::
15671 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15674 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15676 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15677 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15678 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15679 $ac_dir/__uninstall__::
15680 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15685 wine_fn_config_test
()
15690 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15691 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15693 if test "x$enable_tests" = xno
; then :
15696 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15699 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15700 @cd $ac_dir && \$(MAKE)
15701 programs/winetest: $ac_dir
15702 check test: $ac_dir/__test__
15703 .PHONY: $ac_dir/__test__
15704 $ac_dir/__test__: dummy
15705 @cd $ac_dir && \$(MAKE) test
15707 \$(RM) $ac_dir/*.ok"
15709 if test "x$CROSSTEST_DISABLE" = x
15711 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15712 "crosstest: $ac_dir/__crosstest__
15713 .PHONY: $ac_dir/__crosstest__
15714 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15715 @cd $ac_dir && \$(MAKE) crosstest"
15720 wine_fn_config_tool
()
15724 if test "x$enable_tools" = xno
; then :
15728 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15730 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15731 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15733 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15737 wine_fn_config_makerules
()
15741 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15742 "$ac_rules: $ac_rules.in $ac_deps config.status
15743 @./config.status $ac_rules
15748 wine_fn_config_symlink
()
15751 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15753 @./config.status $ac_link
15758 if test "x$CROSSTEST_DISABLE" != x
15760 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15762 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15764 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15765 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15766 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15767 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15768 if test "x$enable_fonts" != xno
; then
15769 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15770 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15772 if test "x$enable_fonts" != xno
; then
15773 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15774 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15776 if test "x$enable_fonts" != xno
; then
15777 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15778 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15780 if test "x$enable_fonts" != xno
; then
15781 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15782 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15784 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15785 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15786 if test "x$enable_tools" != xno
; then
15787 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15788 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15790 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15791 wine_fn_config_symlink wine
15792 if test "x$enable_win64" != xno
; then
15793 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15794 wine_fn_config_symlink wine64
15797 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15799 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15801 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15803 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15805 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15807 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15809 ac_config_commands
="$ac_config_commands include/wine"
15812 wine_fn_config_makerules Make.rules
15813 MAKE_RULES
=Make.rules
15814 ac_config_files
="$ac_config_files Make.rules"
15816 wine_fn_config_makerules Maketest.rules Make.rules
15817 MAKE_TEST_RULES
=Maketest.rules
15818 ac_config_files
="$ac_config_files Maketest.rules"
15820 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15821 MAKE_DLL_RULES
=dlls
/Makedll.rules
15822 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15824 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15825 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15826 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15828 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15829 MAKE_PROG_RULES
=programs
/Makeprog.rules
15830 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15833 wine_fn_config_dll acledit enable_acledit
15834 wine_fn_config_dll aclui enable_aclui implib
15835 wine_fn_config_dll activeds enable_activeds implib
15836 wine_fn_config_dll actxprxy enable_actxprxy
15837 wine_fn_config_lib adsiid
15838 wine_fn_config_dll advapi32 enable_advapi32 implib
15839 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15840 wine_fn_config_dll advpack enable_advpack implib
15841 wine_fn_config_test dlls
/advpack
/tests advpack_test
15842 wine_fn_config_dll amstream enable_amstream
15843 wine_fn_config_test dlls
/amstream
/tests amstream_test
15844 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15845 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15846 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15847 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15848 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15849 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15850 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15851 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15852 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15853 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15854 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15855 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15856 wine_fn_config_dll apphelp enable_apphelp
15857 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15858 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15859 wine_fn_config_dll atl enable_atl implib
15860 wine_fn_config_test dlls
/atl
/tests atl_test
15861 wine_fn_config_dll atl100 enable_atl100 implib
15862 wine_fn_config_test dlls
/atl100
/tests atl100_test
15863 wine_fn_config_dll atl80 enable_atl80 implib
15864 wine_fn_config_test dlls
/atl80
/tests atl80_test
15865 wine_fn_config_dll authz enable_authz
15866 wine_fn_config_dll avicap32 enable_avicap32 implib
15867 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15868 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15869 wine_fn_config_dll avifile.dll16 enable_win16
15870 wine_fn_config_dll avrt enable_avrt implib
15871 wine_fn_config_dll bcrypt enable_bcrypt
15872 wine_fn_config_dll browseui enable_browseui po
15873 wine_fn_config_test dlls
/browseui
/tests browseui_test
15874 wine_fn_config_dll cabinet enable_cabinet implib
15875 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15876 wine_fn_config_dll capi2032 enable_capi2032 implib
15877 wine_fn_config_dll cards enable_cards implib
15878 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15879 wine_fn_config_dll clusapi enable_clusapi implib
15880 wine_fn_config_dll comcat enable_comcat
15881 wine_fn_config_test dlls
/comcat
/tests comcat_test
15882 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15883 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15884 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15885 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15886 wine_fn_config_dll
comm.drv16 enable_win16
15887 wine_fn_config_dll commdlg.dll16 enable_win16
15888 wine_fn_config_dll compobj.dll16 enable_win16
15889 wine_fn_config_dll compstui enable_compstui implib
15890 wine_fn_config_dll credui enable_credui implib
,po
15891 wine_fn_config_test dlls
/credui
/tests credui_test
15892 wine_fn_config_dll crtdll enable_crtdll implib
15893 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15894 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15895 wine_fn_config_dll cryptdlg enable_cryptdlg po
15896 wine_fn_config_dll cryptdll enable_cryptdll implib
15897 wine_fn_config_dll cryptnet enable_cryptnet implib
15898 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15899 wine_fn_config_dll cryptui enable_cryptui implib
,po
15900 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15901 wine_fn_config_dll ctapi32 enable_ctapi32
15902 wine_fn_config_dll ctl3d.dll16 enable_win16
15903 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15904 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15905 wine_fn_config_dll d3d10 enable_d3d10 implib
15906 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15907 wine_fn_config_dll d3d10core enable_d3d10core implib
15908 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15909 wine_fn_config_dll d3d11 enable_d3d11
15910 wine_fn_config_dll d3d8 enable_d3d8 implib
15911 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15912 wine_fn_config_dll d3d9 enable_d3d9 implib
15913 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15914 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15915 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15916 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15917 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15918 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15919 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15920 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15921 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15922 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15923 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15924 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15925 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15926 wine_fn_config_dll d3dim enable_d3dim implib
15927 wine_fn_config_dll d3drm enable_d3drm implib
15928 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15929 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15930 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15931 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15932 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15933 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15934 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15935 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15936 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15937 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15938 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15939 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15940 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15941 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15942 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15943 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15944 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15945 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15946 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15947 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15948 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15949 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15950 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15951 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15952 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15953 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15954 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15955 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15956 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15957 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15958 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15959 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15960 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15961 wine_fn_config_dll d3dxof enable_d3dxof implib
15962 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15963 wine_fn_config_dll dbgeng enable_dbgeng implib
15964 wine_fn_config_dll dbghelp enable_dbghelp implib
15965 wine_fn_config_dll dciman32 enable_dciman32 implib
15966 wine_fn_config_dll ddeml.dll16 enable_win16
15967 wine_fn_config_dll ddraw enable_ddraw implib
15968 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15969 wine_fn_config_dll ddrawex enable_ddrawex
15970 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15971 wine_fn_config_dll devenum enable_devenum po
15972 wine_fn_config_test dlls
/devenum
/tests devenum_test
15973 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15974 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15975 wine_fn_config_test dlls
/dinput
/tests dinput_test
15976 wine_fn_config_dll dinput8 enable_dinput8 implib
15977 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15978 wine_fn_config_dll dispdib.dll16 enable_win16
15979 wine_fn_config_dll dispex enable_dispex
15980 wine_fn_config_test dlls
/dispex
/tests dispex_test
15981 wine_fn_config_dll display.drv16 enable_win16
15982 wine_fn_config_dll dmband enable_dmband
15983 wine_fn_config_test dlls
/dmband
/tests dmband_test
15984 wine_fn_config_dll dmcompos enable_dmcompos
15985 wine_fn_config_dll dmime enable_dmime
15986 wine_fn_config_test dlls
/dmime
/tests dmime_test
15987 wine_fn_config_dll dmloader enable_dmloader
15988 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15989 wine_fn_config_dll dmscript enable_dmscript
15990 wine_fn_config_dll dmstyle enable_dmstyle
15991 wine_fn_config_dll dmsynth enable_dmsynth
15992 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15993 wine_fn_config_dll dmusic enable_dmusic
15994 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15995 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15996 wine_fn_config_dll dnsapi enable_dnsapi implib
15997 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15998 wine_fn_config_dll dplay enable_dplay implib
15999 wine_fn_config_dll dplayx enable_dplayx implib
16000 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
16001 wine_fn_config_dll dpnaddr enable_dpnaddr
16002 wine_fn_config_dll dpnet enable_dpnet implib
16003 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
16004 wine_fn_config_dll dpnhpast enable_dpnhpast
16005 wine_fn_config_dll dpnlobby enable_dpnlobby
16006 wine_fn_config_dll dpwsockx enable_dpwsockx
16007 wine_fn_config_dll drmclien enable_drmclien
16008 wine_fn_config_dll dsound enable_dsound implib
16009 wine_fn_config_test dlls
/dsound
/tests dsound_test
16010 wine_fn_config_dll dssenh enable_dssenh
16011 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
16012 wine_fn_config_dll dswave enable_dswave
16013 wine_fn_config_dll dwmapi enable_dwmapi implib
16014 wine_fn_config_dll dwrite enable_dwrite implib
16015 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
16016 wine_fn_config_dll dxdiagn enable_dxdiagn po
16017 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
16018 wine_fn_config_lib dxerr8
16019 wine_fn_config_lib dxerr9
16020 wine_fn_config_dll dxgi enable_dxgi implib
16021 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
16022 wine_fn_config_lib dxguid
16023 wine_fn_config_dll explorerframe enable_explorerframe
16024 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
16025 wine_fn_config_dll faultrep enable_faultrep implib
16026 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
16027 wine_fn_config_dll fltlib enable_fltlib
16028 wine_fn_config_dll fusion enable_fusion
16029 wine_fn_config_test dlls
/fusion
/tests fusion_test
16030 wine_fn_config_dll fwpuclnt enable_fwpuclnt
16031 wine_fn_config_dll gameux enable_gameux
16032 wine_fn_config_test dlls
/gameux
/tests gameux_test
16033 wine_fn_config_dll gdi.exe16 enable_win16
16034 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
16035 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
16036 wine_fn_config_dll gdiplus enable_gdiplus implib
16037 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
16038 wine_fn_config_dll glu32 enable_glu32 implib
16039 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
16040 wine_fn_config_dll gpkcsp enable_gpkcsp
16041 wine_fn_config_dll hal enable_hal
16042 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
16043 wine_fn_config_dll hid enable_hid implib
16044 wine_fn_config_dll hlink enable_hlink implib
16045 wine_fn_config_test dlls
/hlink
/tests hlink_test
16046 wine_fn_config_dll hnetcfg enable_hnetcfg
16047 wine_fn_config_dll httpapi enable_httpapi
16048 wine_fn_config_dll iccvid enable_iccvid po
16049 wine_fn_config_dll icmp enable_icmp
16050 wine_fn_config_dll ieframe enable_ieframe implib
,po
16051 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
16052 wine_fn_config_dll ifsmgr.vxd enable_win16
16053 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
16054 wine_fn_config_dll imagehlp enable_imagehlp implib
16055 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
16056 wine_fn_config_dll imm.dll16 enable_win16
16057 wine_fn_config_dll imm32 enable_imm32 implib
16058 wine_fn_config_test dlls
/imm32
/tests imm32_test
16059 wine_fn_config_dll inetcomm enable_inetcomm implib
16060 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
16061 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
16062 wine_fn_config_dll inetmib1 enable_inetmib1
16063 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
16064 wine_fn_config_dll infosoft enable_infosoft
16065 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16066 wine_fn_config_dll initpki enable_initpki
16067 wine_fn_config_dll inkobj enable_inkobj
16068 wine_fn_config_dll inseng enable_inseng
16069 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16070 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16071 wine_fn_config_dll itircl enable_itircl
16072 wine_fn_config_dll itss enable_itss
16073 wine_fn_config_test dlls
/itss
/tests itss_test
16074 wine_fn_config_dll joy.cpl enable_joy_cpl po
16075 wine_fn_config_dll jscript enable_jscript po
16076 wine_fn_config_test dlls
/jscript
/tests jscript_test
16077 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16078 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16079 wine_fn_config_dll keyboard.drv16 enable_win16
16080 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16081 wine_fn_config_dll ktmw32 enable_ktmw32
16082 wine_fn_config_dll loadperf enable_loadperf implib
16083 wine_fn_config_dll localspl enable_localspl po
16084 wine_fn_config_test dlls
/localspl
/tests localspl_test
16085 wine_fn_config_dll localui enable_localui po
16086 wine_fn_config_test dlls
/localui
/tests localui_test
16087 wine_fn_config_dll lz32 enable_lz32 implib
16088 wine_fn_config_test dlls
/lz32
/tests lz32_test
16089 wine_fn_config_dll lzexpand.dll16 enable_win16
16090 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16091 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16092 wine_fn_config_dll mapistub enable_mapistub
16093 wine_fn_config_dll mciavi32 enable_mciavi32
16094 wine_fn_config_dll mcicda enable_mcicda
16095 wine_fn_config_dll mciqtz32 enable_mciqtz32
16096 wine_fn_config_dll mciseq enable_mciseq
16097 wine_fn_config_dll mciwave enable_mciwave
16098 wine_fn_config_dll mgmtapi enable_mgmtapi
16099 wine_fn_config_dll midimap enable_midimap
16100 wine_fn_config_dll mlang enable_mlang implib
16101 wine_fn_config_test dlls
/mlang
/tests mlang_test
16102 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16103 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16104 wine_fn_config_dll mmdevapi enable_mmdevapi
16105 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16106 wine_fn_config_dll mmdevldr.vxd enable_win16
16107 wine_fn_config_dll mmsystem.dll16 enable_win16
16108 wine_fn_config_dll monodebg.vxd enable_win16
16109 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16110 wine_fn_config_dll mouse.drv16 enable_win16
16111 wine_fn_config_dll mpr enable_mpr implib
,po
16112 wine_fn_config_test dlls
/mpr
/tests mpr_test
16113 wine_fn_config_dll mprapi enable_mprapi implib
16114 wine_fn_config_dll msacm.dll16 enable_win16
16115 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16116 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16117 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16118 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16119 wine_fn_config_dll mscat32 enable_mscat32
16120 wine_fn_config_dll mscms enable_mscms implib
16121 wine_fn_config_test dlls
/mscms
/tests mscms_test
16122 wine_fn_config_dll mscoree enable_mscoree
16123 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16124 wine_fn_config_dll msctf enable_msctf
16125 wine_fn_config_test dlls
/msctf
/tests msctf_test
16126 wine_fn_config_dll msdaps enable_msdaps
16127 wine_fn_config_dll msdmo enable_msdmo implib
16128 wine_fn_config_dll msftedit enable_msftedit
16129 wine_fn_config_dll msg711.acm enable_msg711_acm
16130 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16131 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16132 wine_fn_config_dll mshtml enable_mshtml implib
,po
16133 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16134 wine_fn_config_dll msi enable_msi implib
,po
16135 wine_fn_config_test dlls
/msi
/tests msi_test
16136 wine_fn_config_dll msident enable_msident
16137 wine_fn_config_dll msimg32 enable_msimg32 implib
16138 wine_fn_config_dll msimsg enable_msimsg
16139 wine_fn_config_dll msimtf enable_msimtf
16140 wine_fn_config_dll msisip enable_msisip
16141 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16142 wine_fn_config_dll msls31 enable_msls31
16143 wine_fn_config_dll msnet32 enable_msnet32
16144 wine_fn_config_dll mspatcha enable_mspatcha
16145 wine_fn_config_dll msrle32 enable_msrle32 po
16146 wine_fn_config_dll mssign32 enable_mssign32
16147 wine_fn_config_dll mssip32 enable_mssip32
16148 wine_fn_config_dll mstask enable_mstask
16149 wine_fn_config_test dlls
/mstask
/tests mstask_test
16150 wine_fn_config_dll msvcirt enable_msvcirt
16151 wine_fn_config_dll msvcm80 enable_msvcm80
16152 wine_fn_config_dll msvcm90 enable_msvcm90
16153 wine_fn_config_dll msvcp100 enable_msvcp100
16154 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16155 wine_fn_config_dll msvcp110 enable_msvcp110
16156 wine_fn_config_dll msvcp60 enable_msvcp60
16157 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16158 wine_fn_config_dll msvcp70 enable_msvcp70
16159 wine_fn_config_dll msvcp71 enable_msvcp71
16160 wine_fn_config_dll msvcp80 enable_msvcp80
16161 wine_fn_config_dll msvcp90 enable_msvcp90
16162 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16163 wine_fn_config_dll msvcr100 enable_msvcr100
16164 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16165 wine_fn_config_dll msvcr110 enable_msvcr110
16166 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16167 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16168 wine_fn_config_dll msvcr80 enable_msvcr80
16169 wine_fn_config_dll msvcr90 enable_msvcr90
16170 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16171 wine_fn_config_dll msvcrt enable_msvcrt implib
16172 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16173 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16174 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16175 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16176 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16177 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16178 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16179 wine_fn_config_dll msvidc32 enable_msvidc32 po
16180 wine_fn_config_dll msvideo.dll16 enable_win16
16181 wine_fn_config_dll mswsock enable_mswsock implib
16182 wine_fn_config_dll msxml enable_msxml
16183 wine_fn_config_dll msxml2 enable_msxml2
16184 wine_fn_config_dll msxml3 enable_msxml3
16185 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16186 wine_fn_config_dll msxml4 enable_msxml4
16187 wine_fn_config_dll msxml6 enable_msxml6
16188 wine_fn_config_dll nddeapi enable_nddeapi implib
16189 wine_fn_config_dll netapi32 enable_netapi32 implib
16190 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16191 wine_fn_config_dll newdev enable_newdev implib
16192 wine_fn_config_dll normaliz enable_normaliz implib
16193 wine_fn_config_dll npmshtml enable_npmshtml
16194 wine_fn_config_dll ntdll enable_ntdll implib
16195 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16196 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16197 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16198 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16199 wine_fn_config_dll ntprint enable_ntprint
16200 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16201 wine_fn_config_dll objsel enable_objsel
16202 wine_fn_config_dll odbc32 enable_odbc32 implib
16203 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16204 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16205 wine_fn_config_dll odbccu32 enable_odbccu32
16206 wine_fn_config_dll ole2.dll16 enable_win16
16207 wine_fn_config_dll ole2conv.dll16 enable_win16
16208 wine_fn_config_dll ole2disp.dll16 enable_win16
16209 wine_fn_config_dll ole2nls.dll16 enable_win16
16210 wine_fn_config_dll ole2prox.dll16 enable_win16
16211 wine_fn_config_dll ole2thk.dll16 enable_win16
16212 wine_fn_config_dll ole32 enable_ole32 implib
16213 wine_fn_config_test dlls
/ole32
/tests ole32_test
16214 wine_fn_config_dll oleacc enable_oleacc implib
,po
16215 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16216 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16217 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16218 wine_fn_config_dll olecli.dll16 enable_win16
16219 wine_fn_config_dll olecli32 enable_olecli32 implib
16220 wine_fn_config_dll oledb32 enable_oledb32
16221 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16222 wine_fn_config_dll oledlg enable_oledlg implib
,po
16223 wine_fn_config_dll olepro32 enable_olepro32 implib
16224 wine_fn_config_dll olesvr.dll16 enable_win16
16225 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16226 wine_fn_config_dll olethk32 enable_olethk32
16227 wine_fn_config_dll openal32 enable_openal32
16228 wine_fn_config_dll opencl enable_opencl
16229 wine_fn_config_dll opengl32 enable_opengl32 implib
16230 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16231 wine_fn_config_dll pdh enable_pdh implib
16232 wine_fn_config_test dlls
/pdh
/tests pdh_test
16233 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16234 wine_fn_config_dll pidgen enable_pidgen
16235 wine_fn_config_dll powrprof enable_powrprof implib
16236 wine_fn_config_dll printui enable_printui
16237 wine_fn_config_dll propsys enable_propsys implib
16238 wine_fn_config_test dlls
/propsys
/tests propsys_test
16239 wine_fn_config_dll psapi enable_psapi implib
16240 wine_fn_config_test dlls
/psapi
/tests psapi_test
16241 wine_fn_config_dll pstorec enable_pstorec
16242 wine_fn_config_dll qcap enable_qcap
16243 wine_fn_config_dll qedit enable_qedit
16244 wine_fn_config_test dlls
/qedit
/tests qedit_test
16245 wine_fn_config_dll qmgr enable_qmgr
16246 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16247 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16248 wine_fn_config_dll quartz enable_quartz implib
16249 wine_fn_config_test dlls
/quartz
/tests quartz_test
16250 wine_fn_config_dll query enable_query
16251 wine_fn_config_dll rasapi16.dll16 enable_win16
16252 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16253 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16254 wine_fn_config_dll rasdlg enable_rasdlg implib
16255 wine_fn_config_dll regapi enable_regapi
16256 wine_fn_config_dll resutils enable_resutils implib
16257 wine_fn_config_dll riched20 enable_riched20 implib
16258 wine_fn_config_test dlls
/riched20
/tests riched20_test
16259 wine_fn_config_dll riched32 enable_riched32
16260 wine_fn_config_test dlls
/riched32
/tests riched32_test
16261 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16262 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16263 wine_fn_config_dll rsabase enable_rsabase
16264 wine_fn_config_dll rsaenh enable_rsaenh implib
16265 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16266 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16267 wine_fn_config_dll rtutils enable_rtutils implib
16268 wine_fn_config_dll samlib enable_samlib
16269 wine_fn_config_dll sane.ds enable_sane_ds po
16270 wine_fn_config_dll scarddlg enable_scarddlg
16271 wine_fn_config_dll sccbase enable_sccbase
16272 wine_fn_config_dll schannel enable_schannel
16273 wine_fn_config_test dlls
/schannel
/tests schannel_test
16274 wine_fn_config_dll scrrun enable_scrrun
16275 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16276 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16277 wine_fn_config_dll secur32 enable_secur32 implib
16278 wine_fn_config_test dlls
/secur32
/tests secur32_test
16279 wine_fn_config_dll security enable_security
16280 wine_fn_config_dll sensapi enable_sensapi implib
16281 wine_fn_config_dll serialui enable_serialui implib
,po
16282 wine_fn_config_test dlls
/serialui
/tests serialui_test
16283 wine_fn_config_dll setupapi enable_setupapi implib
,po
16284 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16285 wine_fn_config_dll setupx.dll16 enable_win16
16286 wine_fn_config_dll sfc enable_sfc implib
16287 wine_fn_config_dll sfc_os enable_sfc_os implib
16288 wine_fn_config_dll shdoclc enable_shdoclc po
16289 wine_fn_config_dll shdocvw enable_shdocvw implib
16290 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16291 wine_fn_config_dll shell.dll16 enable_win16
16292 wine_fn_config_dll shell32 enable_shell32 implib
,po
16293 wine_fn_config_test dlls
/shell32
/tests shell32_test
16294 wine_fn_config_dll shfolder enable_shfolder implib
16295 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16296 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16297 wine_fn_config_dll slbcsp enable_slbcsp
16298 wine_fn_config_dll slc enable_slc implib
16299 wine_fn_config_dll snmpapi enable_snmpapi implib
16300 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16301 wine_fn_config_dll softpub enable_softpub
16302 wine_fn_config_dll sound.drv16 enable_win16
16303 wine_fn_config_dll spoolss enable_spoolss implib
16304 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16305 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16306 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16307 wine_fn_config_dll sti enable_sti implib
16308 wine_fn_config_test dlls
/sti
/tests sti_test
16309 wine_fn_config_dll storage.dll16 enable_win16
16310 wine_fn_config_dll stress.dll16 enable_win16
16311 wine_fn_config_lib strmbase
16312 wine_fn_config_lib strmiids
16313 wine_fn_config_dll svrapi enable_svrapi
16314 wine_fn_config_dll sxs enable_sxs implib
16315 wine_fn_config_test dlls
/sxs
/tests sxs_test
16316 wine_fn_config_dll system.drv16 enable_win16
16317 wine_fn_config_dll t2embed enable_t2embed
16318 wine_fn_config_dll tapi32 enable_tapi32 implib
16319 wine_fn_config_dll toolhelp.dll16 enable_win16
16320 wine_fn_config_dll traffic enable_traffic
16321 wine_fn_config_dll twain.dll16 enable_win16
16322 wine_fn_config_dll twain_32 enable_twain_32
16323 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16324 wine_fn_config_dll typelib.dll16 enable_win16
16325 wine_fn_config_dll unicows enable_unicows implib
16326 wine_fn_config_dll updspapi enable_updspapi
16327 wine_fn_config_dll url enable_url implib
16328 wine_fn_config_dll urlmon enable_urlmon implib
,po
16329 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16330 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16331 wine_fn_config_dll user.exe16 enable_win16
16332 wine_fn_config_dll user32 enable_user32 implib
,po
16333 wine_fn_config_test dlls
/user32
/tests user32_test
16334 wine_fn_config_dll userenv enable_userenv implib
16335 wine_fn_config_test dlls
/userenv
/tests userenv_test
16336 wine_fn_config_dll usp10 enable_usp10 implib
16337 wine_fn_config_test dlls
/usp10
/tests usp10_test
16338 wine_fn_config_lib uuid
16339 wine_fn_config_dll uxtheme enable_uxtheme implib
16340 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16341 wine_fn_config_dll vbscript enable_vbscript
16342 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16343 wine_fn_config_dll vcomp enable_vcomp
16344 wine_fn_config_dll vcomp100 enable_vcomp100
16345 wine_fn_config_dll vcomp90 enable_vcomp90
16346 wine_fn_config_dll vdhcp.vxd enable_win16
16347 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16348 wine_fn_config_dll ver.dll16 enable_win16
16349 wine_fn_config_dll version enable_version implib
16350 wine_fn_config_test dlls
/version
/tests version_test
16351 wine_fn_config_dll vmm.vxd enable_win16
16352 wine_fn_config_dll vnbt.vxd enable_win16
16353 wine_fn_config_dll vnetbios.vxd enable_win16
16354 wine_fn_config_dll vtdapi.vxd enable_win16
16355 wine_fn_config_dll vwin32.vxd enable_win16
16356 wine_fn_config_dll w32skrnl enable_win16
16357 wine_fn_config_dll w32sys.dll16 enable_win16
16358 wine_fn_config_dll wbemprox enable_wbemprox
16359 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16360 wine_fn_config_dll webservices enable_webservices implib
16361 wine_fn_config_dll wer enable_wer implib
16362 wine_fn_config_test dlls
/wer
/tests wer_test
16363 wine_fn_config_dll wevtapi enable_wevtapi
16364 wine_fn_config_dll wiaservc enable_wiaservc
16365 wine_fn_config_dll win32s16.dll16 enable_win16
16366 wine_fn_config_dll win87em.dll16 enable_win16
16367 wine_fn_config_dll winaspi.dll16 enable_win16
16368 wine_fn_config_dll windebug.dll16 enable_win16
16369 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16370 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16371 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16372 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16373 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16374 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16375 wine_fn_config_lib winecrt0
16376 wine_fn_config_dll wined3d enable_wined3d implib
16377 wine_fn_config_dll winegstreamer enable_winegstreamer
16378 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16379 wine_fn_config_dll winemac.drv enable_winemac_drv
16380 wine_fn_config_dll winemapi enable_winemapi
16381 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16382 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16383 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16384 wine_fn_config_dll wineps16.drv16 enable_win16
16385 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16386 wine_fn_config_dll winex11.drv enable_winex11_drv
16387 wine_fn_config_dll wing.dll16 enable_win16
16388 wine_fn_config_dll wing32 enable_wing32
16389 wine_fn_config_dll winhttp enable_winhttp implib
16390 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16391 wine_fn_config_dll wininet enable_wininet implib
,po
16392 wine_fn_config_test dlls
/wininet
/tests wininet_test
16393 wine_fn_config_dll winmm enable_winmm implib
,po
16394 wine_fn_config_test dlls
/winmm
/tests winmm_test
16395 wine_fn_config_dll winnls.dll16 enable_win16
16396 wine_fn_config_dll winnls32 enable_winnls32 implib
16397 wine_fn_config_dll winscard enable_winscard implib
16398 wine_fn_config_dll winsock.dll16 enable_win16
16399 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16400 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16401 wine_fn_config_dll winsta enable_winsta
16402 wine_fn_config_dll wintab.dll16 enable_win16
16403 wine_fn_config_dll wintab32 enable_wintab32 implib
16404 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16405 wine_fn_config_dll wintrust enable_wintrust implib
16406 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16407 wine_fn_config_dll wlanapi enable_wlanapi
16408 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16409 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16410 wine_fn_config_dll wmi enable_wmi
16411 wine_fn_config_dll wmiutils enable_wmiutils
16412 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16413 wine_fn_config_dll wmvcore enable_wmvcore
16414 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16415 wine_fn_config_dll wow32 enable_win16 implib
16416 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16417 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16418 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16419 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16420 wine_fn_config_dll wsnmp32 enable_wsnmp32
16421 wine_fn_config_dll wsock32 enable_wsock32 implib
16422 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16423 wine_fn_config_dll wuapi enable_wuapi
16424 wine_fn_config_dll wuaueng enable_wuaueng
16425 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16426 wine_fn_config_dll xinput1_1 enable_xinput1_1
16427 wine_fn_config_dll xinput1_2 enable_xinput1_2
16428 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16429 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16430 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16431 wine_fn_config_dll xmllite enable_xmllite
16432 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16433 wine_fn_config_dll xolehlp enable_xolehlp
16434 wine_fn_config_dll xpsprint enable_xpsprint
16435 wine_fn_config_dll xpssvcs enable_xpssvcs
16436 wine_fn_config_makefile documentation enable_documentation
16437 wine_fn_config_makefile fonts enable_fonts install-lib
16438 wine_fn_config_makefile include enable_include install-dev
16439 wine_fn_config_makefile libs
/port enable_libs_port
16440 wine_fn_config_makefile libs
/wine enable_libs_wine
16441 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16442 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16443 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16444 wine_fn_config_program attrib enable_attrib
install,po
16445 wine_fn_config_program cabarc enable_cabarc
install
16446 wine_fn_config_program cacls enable_cacls
install
16447 wine_fn_config_program
clock enable_clock
install,po
16448 wine_fn_config_program cmd enable_cmd
install,po
16449 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16450 wine_fn_config_program conhost enable_conhost
install
16451 wine_fn_config_program control enable_control
install
16452 wine_fn_config_program cscript enable_cscript
install
16453 wine_fn_config_program dxdiag enable_dxdiag
install,po
16454 wine_fn_config_program eject enable_eject
install
16455 wine_fn_config_program
expand enable_expand
install
16456 wine_fn_config_program explorer enable_explorer
install,po
16457 wine_fn_config_program extrac32 enable_extrac32
install
16458 wine_fn_config_program findstr enable_findstr
install
16459 wine_fn_config_program hh enable_hh
install
16460 wine_fn_config_program hostname enable_hostname
install,po
16461 wine_fn_config_program icinfo enable_icinfo
install
16462 wine_fn_config_program iexplore enable_iexplore
install
16463 wine_fn_config_program ipconfig enable_ipconfig
install,po
16464 wine_fn_config_program lodctr enable_lodctr
install
16465 wine_fn_config_program mofcomp enable_mofcomp
install
16466 wine_fn_config_program mshta enable_mshta
install
16467 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16468 wine_fn_config_program net enable_net
install,po
16469 wine_fn_config_program netsh enable_netsh
install
16470 wine_fn_config_program netstat enable_netstat
install,po
16471 wine_fn_config_program ngen enable_ngen
install
16472 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16473 wine_fn_config_program oleview enable_oleview
install,po
16474 wine_fn_config_program
ping enable_ping
install
16475 wine_fn_config_program plugplay enable_plugplay
install
16476 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16477 wine_fn_config_program progman enable_progman
install,po
16478 wine_fn_config_program reg enable_reg
install,po
16479 wine_fn_config_program regasm enable_regasm
install
16480 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16481 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16482 wine_fn_config_program regsvcs enable_regsvcs
install
16483 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16484 wine_fn_config_program rpcss enable_rpcss
install
16485 wine_fn_config_program rundll.exe16 enable_win16
install
16486 wine_fn_config_program rundll32 enable_rundll32
install
16487 wine_fn_config_program sc enable_sc
install
16488 wine_fn_config_program schtasks enable_schtasks
install
16489 wine_fn_config_program secedit enable_secedit
install
16490 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16491 wine_fn_config_program services enable_services
install
16492 wine_fn_config_test programs
/services
/tests services.exe_test
16493 wine_fn_config_program spoolsv enable_spoolsv
install
16494 wine_fn_config_program start enable_start
install,po
16495 wine_fn_config_program svchost enable_svchost
install
16496 wine_fn_config_program taskkill enable_taskkill
install,po
16497 wine_fn_config_program taskmgr enable_taskmgr
install,po
16498 wine_fn_config_program termsv enable_termsv
install
16499 wine_fn_config_program uninstaller enable_uninstaller
install,po
16500 wine_fn_config_program unlodctr enable_unlodctr
install
16501 wine_fn_config_program view enable_view
install,po
16502 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16503 wine_fn_config_program winebrowser enable_winebrowser
install
16504 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16505 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16506 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16507 wine_fn_config_program winedevice enable_winedevice
install
16508 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16509 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16510 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16511 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16512 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16513 wine_fn_config_program winetest enable_winetest
16514 wine_fn_config_program winevdm enable_win16
install
16515 wine_fn_config_program winhelp.exe16 enable_win16
install
16516 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16517 wine_fn_config_program winoldap.mod16 enable_win16
install
16518 wine_fn_config_program winver enable_winver
install
16519 wine_fn_config_program wmic enable_wmic
install,po
16520 wine_fn_config_program wordpad enable_wordpad
install,po
16521 wine_fn_config_program
write enable_write
install,po
16522 wine_fn_config_program wscript enable_wscript
install
16523 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16524 wine_fn_config_program wusa enable_wusa
install
16525 wine_fn_config_program xcopy enable_xcopy
install,po
16526 wine_fn_config_makefile server enable_server install-lib
,manpage
16527 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16528 wine_fn_config_tool tools
/widl install-dev
,manpage
16529 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16530 wine_fn_config_tool tools
/winedump install-dev
,manpage
16531 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16532 wine_fn_config_tool tools
/wmc install-dev
,manpage
16533 wine_fn_config_tool tools
/wrc install-dev
,manpage
16583 ac_config_commands
="$ac_config_commands Makefile"
16586 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16590 if test "x$enable_maintainer_mode" = xyes
16592 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16593 cd \$(srcdir) && autoconf --warnings=all
16594 \$(srcdir)/include/config.h.in: include/stamp-h.in
16595 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16596 cd \$(srcdir) && autoheader --warnings=all
16597 @echo timestamp > \$@"
16600 if test "x$with_gettextpo" = xyes
16602 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16603 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16604 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16605 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16606 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16607 msgcat -o \$@ \$(ALL_POT_FILES)"
16610 if test "$MSGFMT" != false
16612 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16614 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16619 if test "x$enable_tools" != xno
16621 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16623 \$(RM) tools/makedep\$(EXEEXT)"
16626 if test -n "$with_wine64"
16628 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16629 fonts server tools:
16630 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16631 $with_wine64/loader/wine:
16632 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16633 $with_wine64/loader/wine-preloader:
16634 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16636 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16639 cat >confcache
<<\_ACEOF
16640 # This file is a shell script that caches the results of configure
16641 # tests run on this system so they can be shared between configure
16642 # scripts and configure runs, see configure's option --config-cache.
16643 # It is not useful on other systems. If it contains results you don't
16644 # want to keep, you may remove or edit it.
16646 # config.status only pays attention to the cache file if you give it
16647 # the --recheck option to rerun configure.
16649 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16650 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16651 # following values.
16655 # The following way of writing the cache mishandles newlines in values,
16656 # but we know of no workaround that is simple, portable, and efficient.
16657 # So, we kill variables containing newlines.
16658 # Ultrix sh set writes to stderr and can't be redirected directly,
16659 # and sets the high bit in the cache file unless we assign to the vars.
16661 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16662 eval ac_val
=\$
$ac_var
16666 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16667 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16670 _ | IFS | as_nl
) ;; #(
16671 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16672 *) { eval $ac_var=; unset $ac_var;} ;;
16678 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16679 *${as_nl}ac_space
=\
*)
16680 # `set' does not quote correctly, so add quotes: double-quote
16681 # substitution turns \\\\ into \\, and sed turns \\ into \.
16684 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16687 # `set' quotes correctly as required by POSIX, so do not add quotes.
16688 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16697 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16699 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16701 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16702 if test -w "$cache_file"; then
16703 if test "x$cache_file" != "x/dev/null"; then
16704 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16705 $as_echo "$as_me: updating cache $cache_file" >&6;}
16706 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16707 cat confcache
>"$cache_file"
16709 case $cache_file in #(
16711 mv -f confcache
"$cache_file"$$
&&
16712 mv -f "$cache_file"$$
"$cache_file" ;; #(
16714 mv -f confcache
"$cache_file" ;;
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16720 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16725 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16726 # Let make expand exec_prefix.
16727 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16729 DEFS
=-DHAVE_CONFIG_H
16734 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16735 # 1. Remove the extension, and $U if already installed.
16736 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16737 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16738 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16739 # will be set to the directory where LIBOBJS objects are built.
16740 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16741 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16743 LIBOBJS
=$ac_libobjs
16745 LTLIBOBJS
=$ac_ltlibobjs
16749 : "${CONFIG_STATUS=./config.status}"
16751 ac_clean_files_save
=$ac_clean_files
16752 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16754 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16756 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16758 # Generated by $as_me.
16759 # Run this file to recreate the current configuration.
16760 # Compiler output produced by configure, useful for debugging
16761 # configure, is in config.log if it exists.
16764 ac_cs_recheck=false
16767 SHELL=\${CONFIG_SHELL-$SHELL}
16770 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16771 ## -------------------- ##
16772 ## M4sh Initialization. ##
16773 ## -------------------- ##
16775 # Be more Bourne compatible
16776 DUALCASE
=1; export DUALCASE
# for MKS sh
16777 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16780 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16781 # is contrary to our usage. Disable this feature.
16782 alias -g '${1+"$@"}'='"$@"'
16783 setopt NO_GLOB_SUBST
16785 case `(set -o) 2>/dev/null` in #(
16797 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16798 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16799 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16800 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16801 # Prefer a ksh shell builtin over an external printf program on Solaris,
16802 # but without wasting forks for bash or zsh.
16803 if test -z "$BASH_VERSION$ZSH_VERSION" \
16804 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16805 as_echo='print
-r --'
16806 as_echo_n='print
-rn --'
16807 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16808 as_echo='printf %s
\n'
16809 as_echo_n='printf %s
'
16811 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16812 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16813 as_echo_n='/usr
/ucb
/echo -n'
16815 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16816 as_echo_n_body='eval
16820 expr "X$arg" : "X\\(.*\\)$as_nl";
16821 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16823 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16825 export as_echo_n_body
16826 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16828 export as_echo_body
16829 as_echo='sh
-c $as_echo_body as_echo
'
16832 # The user is always right.
16833 if test "${PATH_SEPARATOR+set}" != set; then
16835 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16836 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16843 # We need space, tab and new line, in precisely that order. Quoting is
16844 # there to prevent editors from complaining about space-tab.
16845 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16846 # splitting by setting IFS to empty value.)
16849 # Find who we are. Look in the path if we contain no directory separator.
16852 *[\\/]* ) as_myself=$0 ;;
16853 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16854 for as_dir in $PATH
16857 test -z "$as_dir" && as_dir=.
16858 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16864 # We did not find ourselves, most probably we were run as `sh COMMAND'
16865 # in which case we are not to be found in the path.
16866 if test "x$as_myself" = x
; then
16869 if test ! -f "$as_myself"; then
16870 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16874 # Unset variables that we do not need and which cause bugs (e.g. in
16875 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16876 # suppresses any "Segmentation fault" message there. '((' could
16877 # trigger a bug in pdksh 5.2.14.
16878 for as_var
in BASH_ENV ENV MAIL MAILPATH
16879 do eval test x\
${$as_var+set} = xset \
16880 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16893 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16896 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16897 # ----------------------------------------
16898 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16899 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16900 # script with STATUS, using 1 if that was 0.
16903 as_status
=$1; test $as_status -eq 0 && as_status
=1
16905 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16906 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16908 $as_echo "$as_me: error: $2" >&2
16909 as_fn_exit
$as_status
16913 # as_fn_set_status STATUS
16914 # -----------------------
16915 # Set $? to STATUS, without forking.
16916 as_fn_set_status
()
16919 } # as_fn_set_status
16921 # as_fn_exit STATUS
16922 # -----------------
16923 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16927 as_fn_set_status
$1
16933 # Portably unset VAR.
16936 { eval $1=; unset $1;}
16938 as_unset
=as_fn_unset
16939 # as_fn_append VAR VALUE
16940 # ----------------------
16941 # Append the text in VALUE to the end of the definition contained in VAR. Take
16942 # advantage of any shell optimizations that allow amortized linear growth over
16943 # repeated appends, instead of the typical quadratic growth present in naive
16945 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16946 eval 'as_fn_append ()
16957 # as_fn_arith ARG...
16958 # ------------------
16959 # Perform arithmetic evaluation on the ARGs, and store the result in the
16960 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16961 # must be portable across $(()) and expr.
16962 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16963 eval 'as_fn_arith ()
16970 as_val
=`expr "$@" || test $? -eq 1`
16975 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16976 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16982 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16983 as_basename
=basename
16988 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16994 as_me
=`$as_basename -- "$0" ||
16995 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16996 X"$0" : 'X\(//\)$' \| \
16997 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16999 sed '/^.*\/\([^/][^/]*\)\/*$/{
17013 # Avoid depending upon Character Ranges.
17014 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
17015 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17016 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
17017 as_cr_digits
='0123456789'
17018 as_cr_alnum
=$as_cr_Letters$as_cr_digits
17020 ECHO_C
= ECHO_N
= ECHO_T
=
17021 case `echo -n x` in #(((((
17023 case `echo 'xy\c'` in
17024 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
17026 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
17033 rm -f conf$$ conf$$.exe conf$$.
file
17034 if test -d conf$$.dir
; then
17035 rm -f conf$$.dir
/conf$$.
file
17038 mkdir conf$$.dir
2>/dev
/null
17040 if (echo >conf$$.
file) 2>/dev
/null
; then
17041 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
17043 # ... but there are two gotchas:
17044 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17045 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17046 # In both cases, we have to default to `cp -pR'.
17047 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
17049 elif ln conf$$.
file conf$$
2>/dev
/null
; then
17057 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
17058 rmdir conf$$.dir
2>/dev
/null
17063 # Create "$as_dir" as a directory, including parents if necessary.
17068 -*) as_dir
=.
/$as_dir;;
17070 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17074 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17075 *) as_qdir
=$as_dir;;
17077 as_dirs
="'$as_qdir' $as_dirs"
17078 as_dir
=`$as_dirname -- "$as_dir" ||
17079 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17080 X"$as_dir" : 'X\(//\)[^/]' \| \
17081 X"$as_dir" : 'X\(//\)$' \| \
17082 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17083 $as_echo X"$as_dir" |
17084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17088 /^X\(\/\/\)[^/].*/{
17101 test -d "$as_dir" && break
17103 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17104 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17108 if mkdir
-p .
2>/dev
/null
; then
17109 as_mkdir_p
='mkdir -p "$as_dir"'
17111 test -d .
/-p && rmdir .
/-p
17116 # as_fn_executable_p FILE
17117 # -----------------------
17118 # Test if FILE is an executable regular file.
17119 as_fn_executable_p
()
17121 test -f "$1" && test -x "$1"
17122 } # as_fn_executable_p
17123 as_test_x
='test -x'
17124 as_executable_p
=as_fn_executable_p
17126 # Sed expression to map a string onto a valid CPP name.
17127 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17129 # Sed expression to map a string onto a valid variable name.
17130 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17134 ## ----------------------------------- ##
17135 ## Main body of $CONFIG_STATUS script. ##
17136 ## ----------------------------------- ##
17138 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17141 # Save the log message, to keep $0 and so on meaningful, and to
17142 # report actual input values of CONFIG_FILES etc. instead of their
17143 # values after options handling.
17145 This file was extended by Wine $as_me 1.5.29, which was
17146 generated by GNU Autoconf 2.69. Invocation command line was
17148 CONFIG_FILES = $CONFIG_FILES
17149 CONFIG_HEADERS = $CONFIG_HEADERS
17150 CONFIG_LINKS = $CONFIG_LINKS
17151 CONFIG_COMMANDS = $CONFIG_COMMANDS
17154 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17159 case $ac_config_files in *"
17160 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17163 case $ac_config_headers in *"
17164 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17169 # Files that config.status was made for.
17170 config_files="$ac_config_files"
17171 config_headers="$ac_config_headers"
17172 config_links="$ac_config_links"
17173 config_commands="$ac_config_commands"
17177 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17179 \`$as_me' instantiates files and other configuration actions
17180 from templates according to the current configuration. Unless the files
17181 and actions are specified as TAGs, all are instantiated by default.
17183 Usage: $0 [OPTION]... [TAG]...
17185 -h, --help print this help, then exit
17186 -V, --version print version number and configuration settings, then exit
17187 --config print configuration, then exit
17188 -q, --quiet, --silent
17189 do not print progress messages
17190 -d, --debug don't remove temporary files
17191 --recheck update $as_me by reconfiguring in the same conditions
17192 --file=FILE[:TEMPLATE]
17193 instantiate the configuration file FILE
17194 --header=FILE[:TEMPLATE]
17195 instantiate the configuration header FILE
17197 Configuration files:
17200 Configuration headers:
17203 Configuration links:
17206 Configuration commands:
17209 Report bugs to <wine-devel@winehq.org>.
17210 Wine home page: <http://www.winehq.org>."
17213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17214 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17216 Wine config.status 1.5.29
17217 configured by $0, generated by GNU Autoconf 2.69,
17218 with options \\"\$ac_cs_config\\"
17220 Copyright (C) 2012 Free Software Foundation, Inc.
17221 This config.status script is free software; the Free Software Foundation
17222 gives unlimited permission to copy, distribute and modify it."
17227 test -n "\$AWK" || AWK=awk
17230 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17231 # The default lists apply if the user does not specify any file.
17237 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17238 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17242 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17254 # Handling of the options.
17255 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17257 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17258 $as_echo "$ac_cs_version"; exit ;;
17259 --config |
--confi |
--conf |
--con |
--co |
--c )
17260 $as_echo "$ac_cs_config"; exit ;;
17261 --debug |
--debu |
--deb |
--de |
--d |
-d )
17263 --file |
--fil |
--fi |
--f )
17266 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17267 '') as_fn_error $?
"missing file argument" ;;
17269 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17270 ac_need_defaults
=false
;;
17271 --header |
--heade |
--head |
--hea )
17274 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17276 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17277 ac_need_defaults
=false
;;
17279 # Conflict between --help and --header
17280 as_fn_error $?
"ambiguous option: \`$1'
17281 Try \`$0 --help' for more information.";;
17282 --help |
--hel |
-h )
17283 $as_echo "$ac_cs_usage"; exit ;;
17284 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17285 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17288 # This is an error.
17289 -*) as_fn_error $?
"unrecognized option: \`$1'
17290 Try \`$0 --help' for more information." ;;
17292 *) as_fn_append ac_config_targets
" $1"
17293 ac_need_defaults
=false
;;
17299 ac_configure_extra_args
=
17301 if $ac_cs_silent; then
17303 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17307 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17308 if \$ac_cs_recheck; then
17309 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17311 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17312 CONFIG_SHELL='$SHELL'
17313 export CONFIG_SHELL
17318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17322 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17323 ## Running $as_me. ##
17329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17333 wine_fn_output_makefile ()
17335 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17336 $ALL_MAKEFILE_DEPENDS
17338 as_fn_error $? "could not create Makefile" "$LINENO" 5
17343 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17345 # Handling of arguments.
17346 for ac_config_target
in $ac_config_targets
17348 case $ac_config_target in
17349 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17350 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17351 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17352 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17353 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17354 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17355 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17356 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17357 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17358 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17359 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17360 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17361 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17362 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17363 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17364 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17365 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17366 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17367 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17368 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17369 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17370 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17371 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17372 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17373 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17374 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17376 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17381 # If the user did not use the arguments to specify the items to instantiate,
17382 # then the envvar interface is used. Set only those that are not.
17383 # We use the long form for the default assignment because of an extremely
17384 # bizarre bug on SunOS 4.1.3.
17385 if $ac_need_defaults; then
17386 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17387 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17388 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17389 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17392 # Have a temporary directory for convenience. Make it in the build tree
17393 # simply because there is no reason against having it here, and in addition,
17394 # creating and moving files from /tmp can sometimes cause problems.
17395 # Hook for its removal unless debugging.
17396 # Note that there is a small window in which the directory will not be cleaned:
17397 # after its creation but before its name has been assigned to `$tmp'.
17401 trap 'exit_status=$?
17402 : "${ac_tmp:=$tmp}"
17403 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17405 trap 'as_fn_exit 1' 1 2 13 15
17407 # Create a (secure) tmp directory for tmp files.
17410 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17414 tmp
=.
/conf$$
-$RANDOM
17415 (umask 077 && mkdir
"$tmp")
17416 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17419 # Set up the scripts for CONFIG_FILES section.
17420 # No need to generate them if there are no CONFIG_FILES.
17421 # This happens for instance with `./config.status config.h'.
17422 if test -n "$CONFIG_FILES"; then
17424 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17425 ac_cs_awk_getline
=:
17426 ac_cs_awk_pipe_init
=
17427 ac_cs_awk_read_file
='
17428 while ((getline aline < (F[key])) > 0)
17431 ac_cs_awk_pipe_fini
=
17433 ac_cs_awk_getline
=false
17434 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17435 ac_cs_awk_read_file
='
17437 print "cat " F[key] " &&"
17438 '$ac_cs_awk_pipe_init
17439 # The final `:' finishes the AND list.
17440 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17442 ac_cr
=`echo X | tr X '\015'`
17443 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17444 # But we know of no other shell where ac_cr would be empty at this
17445 # point, so we can use a bashism as a fallback.
17446 if test "x$ac_cr" = x
; then
17447 eval ac_cr
=\$
\'\\r
\'
17449 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17450 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17453 ac_cs_awk_cr
=$ac_cr
17456 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17459 # Create commands to substitute file output variables.
17461 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17462 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17463 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17466 } >conf$
$files.sh
&&
17467 . .
/conf$
$files.sh ||
17468 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17469 rm -f conf$
$files.sh
17472 echo "cat >conf$$subs.awk <<_ACEOF" &&
17473 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17475 } >conf$$subs.sh ||
17476 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17477 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17479 for ac_last_try in false false false false false :; do
17480 . ./conf$$subs.sh ||
17481 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17483 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17484 if test $ac_delim_n = $ac_delim_num; then
17486 elif $ac_last_try; then
17487 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17489 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17492 rm -f conf$$subs.sh
17494 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17495 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17499 s/^/S["/; s
/!.
*/"]=/
17509 s/\(.\{148\}\)..*/\1/
17511 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17516 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17523 s/\(.\{148\}\)..*/\1/
17525 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17529 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17534 ' <conf$$subs.awk | sed '
17539 ' >>$CONFIG_STATUS || ac_write_fail=1
17540 rm -f conf$$subs.awk
17541 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17543 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17544 for (key in S) S_is_set[key] = 1
17546 \$ac_cs_awk_pipe_init
17550 nfields = split(line, field, "@
")
17552 len = length(field[1])
17553 for (i = 2; i < nfields; i++) {
17555 keylen = length(key)
17556 if (S_is_set[key]) {
17558 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17559 len += length(value) + length(field[++i])
17564 if (nfields == 3 && !substed) {
17566 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17567 \$ac_cs_awk_read_file
17573 \$ac_cs_awk_pipe_fini
17576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17577 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17578 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17581 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17582 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17585 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17586 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17587 # trailing colons and then remove the whole line if VPATH becomes empty
17588 # (actually we leave an empty line to preserve line numbers).
17589 if test "x
$srcdir" = x.; then
17590 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17608 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17609 fi # test -n "$CONFIG_FILES"
17611 # Set up the scripts for CONFIG_HEADERS section.
17612 # No need to generate them if there are no CONFIG_HEADERS.
17613 # This happens for instance with `./config.status Makefile'.
17614 if test -n "$CONFIG_HEADERS"; then
17615 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17619 # Transform confdefs.h into an awk script `defines.awk', embedded as
17620 # here-document in config.status, that substitutes the proper values into
17621 # config.h.in to produce config.h.
17623 # Create a delimiter string that does not exist in confdefs.h, to ease
17624 # handling of long lines.
17626 for ac_last_try in false false :; do
17627 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17628 if test -z "$ac_tt"; then
17630 elif $ac_last_try; then
17631 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17633 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17637 # For the awk script, D is an array of macro values keyed by name,
17638 # likewise P contains macro parameters if any. Preserve backslash
17639 # newline sequences.
17641 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17643 s/.\{148\}/&'"$ac_delim"'/g
17646 s/^[ ]*#[ ]*define[ ][ ]*/ /
17653 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17655 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17659 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17660 D["\
1"]=" \
3\\\\\\n
"\\/p
17662 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17667 s/.\{148\}/&'"$ac_delim"'/g
17672 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17675 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17677 ' <confdefs.h | sed '
17678 s/'"$ac_delim"'/"\\\
17679 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17682 for (key in D) D_is_set[key] = 1
17685 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17687 split(line, arg, " ")
17688 if (arg[1] == "#") {
17692 defundef
= substr
(arg
[1], 2)
17695 split(mac1
, mac2
, "(") #)
17697 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17698 if (D_is_set
[macro
]) {
17699 # Preserve the white space surrounding the "#".
17700 print prefix
"define", macro P
[macro
] D
[macro
]
17703 # Replace #undef with comments. This is necessary, for example,
17704 # in the case of _POSIX_SOURCE, which is predefined and required
17705 # on some systems where configure will not decide to define it.
17706 if (defundef
== "undef") {
17707 print
"/*", prefix defundef
, macro
, "*/"
17715 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17716 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17717 fi # test -n "$CONFIG_HEADERS"
17720 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17725 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17727 case $ac_mode$ac_tag in
17729 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17730 :[FH
]-) ac_tag
=-:-;;
17731 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17748 -) ac_f
="$ac_tmp/stdin";;
17749 *) # Look for the file first in the build tree, then in the source tree
17750 # (if the path is not absolute). The absolute path cannot be DOS-style,
17751 # because $ac_f cannot contain `:'.
17755 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17757 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17759 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17760 as_fn_append ac_file_inputs
" '$ac_f'"
17763 # Let's still pretend it is `configure' which instantiates (i.e., don't
17764 # use $as_me), people would be surprised to read:
17765 # /* config.h. Generated by config.status. */
17766 configure_input
='Generated from '`
17767 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17769 if test x
"$ac_file" != x-
; then
17770 configure_input
="$ac_file. $configure_input"
17771 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17772 $as_echo "$as_me: creating $ac_file" >&6;}
17774 # Neutralize special characters interpreted by sed in replacement strings.
17775 case $configure_input in #(
17776 *\
&* |
*\|
* |
*\\* )
17777 ac_sed_conf_input
=`$as_echo "$configure_input" |
17778 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17779 *) ac_sed_conf_input
=$configure_input;;
17783 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17784 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17789 ac_dir
=`$as_dirname -- "$ac_file" ||
17790 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17791 X"$ac_file" : 'X\(//\)[^/]' \| \
17792 X"$ac_file" : 'X\(//\)$' \| \
17793 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17794 $as_echo X"$ac_file" |
17795 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17799 /^X\(\/\/\)[^/].*/{
17812 as_dir
="$ac_dir"; as_fn_mkdir_p
17816 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17818 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17819 # A ".." for each directory in $ac_dir_suffix.
17820 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17821 case $ac_top_builddir_sub in
17822 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17823 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17826 ac_abs_top_builddir
=$ac_pwd
17827 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17828 # for backward compatibility:
17829 ac_top_builddir
=$ac_top_build_prefix
17832 .
) # We are building in place.
17834 ac_top_srcdir
=$ac_top_builddir_sub
17835 ac_abs_top_srcdir
=$ac_pwd ;;
17836 [\\/]* | ?
:[\\/]* ) # Absolute name.
17837 ac_srcdir
=$srcdir$ac_dir_suffix;
17838 ac_top_srcdir
=$srcdir
17839 ac_abs_top_srcdir
=$srcdir ;;
17840 *) # Relative name.
17841 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17842 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17843 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17845 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17855 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17856 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17860 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17861 # If the template does not know about datarootdir, expand it.
17862 # FIXME: This hack should be removed a few years after 2.60.
17863 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17874 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17875 *datarootdir
*) ac_datarootdir_seen
=yes;;
17876 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17877 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17878 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17880 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17881 ac_datarootdir_hack='
17882 s&@datadir@&$datadir&g
17883 s&@docdir@&$docdir&g
17884 s&@infodir@&$infodir&g
17885 s&@localedir@&$localedir&g
17886 s&@mandir@&$mandir&g
17887 s&\\\${datarootdir}&$datarootdir&g' ;;
17891 # Neutralize VPATH when `$srcdir' = `.'.
17892 # Shell code in configure.ac might set extrasub.
17893 # FIXME: do we really want to maintain this feature?
17894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17895 ac_sed_extra="$ac_vpsub
17898 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17900 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17901 s|@configure_input@|
$ac_sed_conf_input|
;t t
17902 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17903 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17904 s
&@srcdir@
&$ac_srcdir&;t t
17905 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17906 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17907 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17908 s
&@builddir@
&$ac_builddir&;t t
17909 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17910 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17911 s
&@INSTALL@
&$ac_INSTALL&;t t
17912 $ac_datarootdir_hack
17914 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17915 if $ac_cs_awk_getline; then
17916 $AWK -f "$ac_tmp/subs.
awk"
17918 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17920 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17922 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17923 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17924 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17925 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17927 which seems to be undefined. Please make sure it is defined" >&5
17928 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17929 which seems to be undefined. Please make sure it is defined" >&2;}
17931 rm -f "$ac_tmp/stdin"
17933 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17934 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17936 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17942 if test x"$ac_file" != x-; then
17944 $as_echo "/* $configure_input */" \
17945 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17946 } >"$ac_tmp/config.h" \
17947 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17948 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17950 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17953 mv "$ac_tmp/config.h" "$ac_file" \
17954 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17957 $as_echo "/* $configure_input */" \
17958 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17959 || as_fn_error $? "could not create -" "$LINENO" 5
17967 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17970 # Prefer the file from the source tree if names are identical.
17971 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17972 ac_source=$srcdir/$ac_source
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17976 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17978 if test ! -r "$ac_source"; then
17979 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17983 # Try a relative symlink, then a hard link, then a copy.
17985 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17986 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17988 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17989 ln "$ac_source" "$ac_file" 2>/dev/null ||
17990 cp -p "$ac_source" "$ac_file" ||
17991 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17994 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17995 $as_echo "$as_me: executing $ac_file commands" >&6;}
18000 case $ac_file$ac_mode in
18001 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
18002 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
18003 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
18004 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
18005 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
18006 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
18007 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
18008 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
18009 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
18010 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
18011 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
18012 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
18013 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
18014 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
18015 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
18016 "Makefile":C) wine_fn_output_makefile Makefile ;;
18024 ac_clean_files=$ac_clean_files_save
18026 test $ac_write_fail = 0 ||
18027 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
18030 # configure is writing to config.log, and then calls config.status.
18031 # config.status does its own redirection, appending to config.log.
18032 # Unfortunately, on DOS this fails, as config.log is still kept open
18033 # by configure, so config.status won't be able to
write to it
; its
18034 # output is simply discarded. So we exec the FD to /dev/null,
18035 # effectively closing config.log, so it can be properly (re)opened and
18036 # appended to by config.status. When coming back to configure, we
18037 # need to make the FD available again.
18038 if test "$no_create" != yes; then
18040 ac_config_status_args
=
18041 test "$silent" = yes &&
18042 ac_config_status_args
="$ac_config_status_args --quiet"
18044 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
18046 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
18047 # would make configure fail if this is the last instruction.
18048 $ac_cs_success || as_fn_exit
1
18050 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
18051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18052 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
18056 if test "$no_create" = "yes"
18062 if test "x$wine_notices != "x
; then
18065 for msg
in $wine_notices; do
18067 if test -n "$msg"; then
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18069 $as_echo "$as_me: $msg" >&6;}
18074 for msg
in $wine_warnings; do
18076 if test -n "$msg"; then
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18079 $as_echo "$as_me: WARNING: $msg" >&2;}
18085 $as_me: Finished. Do '${ac_make}' to compile Wine.