2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.31.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev
/null
; then :
183 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
188 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir
=.
195 for as_base
in sh bash ksh sh5
; do
196 # Try only shells that exist, to save several forks.
197 as_shell
=$as_dir/$as_base
198 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
200 CONFIG_SHELL
=$as_shell as_have_required
=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
209 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
211 CONFIG_SHELL
=$SHELL as_have_required
=yes
216 if test "x$CONFIG_SHELL" != x
; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
226 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x
$as_have_required = xno
; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x
${ZSH_VERSION+set} = xset
; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: wine-devel@winehq.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE
= GREP_OPTIONS
=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir
=.
/$as_dir;;
296 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
300 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs
="'$as_qdir' $as_dirs"
304 as_dir
=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
330 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
365 as_val
=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status
=$1; test $as_status -eq 0 && as_status
=1
379 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit
$as_status
386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
405 as_me
=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits
='0123456789'
429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
432 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
433 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x
"$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C
= ECHO_N
= ECHO_T
=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
476 rm -f conf$$ conf$$.exe conf$$.
file
477 if test -d conf$$.dir
; then
478 rm -f conf$$.dir
/conf$$.
file
481 mkdir conf$$.dir
2>/dev
/null
483 if (echo >conf$$.
file) 2>/dev
/null
; then
484 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
492 elif ln conf$$.
file conf$$
2>/dev
/null
; then
500 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
501 rmdir conf$$.dir
2>/dev
/null
503 if mkdir
-p .
2>/dev
/null
; then
504 as_mkdir_p
='mkdir -p "$as_dir"'
506 test -d .
/-p && rmdir .
/-p
510 if test -x / >/dev
/null
2>&1; then
513 if ls -dL / >/dev
/null
2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p
=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix
=/usr
/local
553 ac_config_libobj_dir
=.
560 # Identity of this package.
562 PACKAGE_TARNAME
='wine'
563 PACKAGE_VERSION
='1.3.31'
564 PACKAGE_STRING
='Wine 1.3.31'
565 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
566 PACKAGE_URL
='http://www.winehq.org'
568 ac_unique_file
="server/atom.c"
569 # Factoring default headers for most tests.
570 ac_includes_default
="\
572 #ifdef HAVE_SYS_TYPES_H
573 # include <sys/types.h>
575 #ifdef HAVE_SYS_STAT_H
576 # include <sys/stat.h>
582 # ifdef HAVE_STDLIB_H
587 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
592 #ifdef HAVE_STRINGS_H
593 # include <strings.h>
595 #ifdef HAVE_INTTYPES_H
596 # include <inttypes.h>
605 ac_subst_vars
='LTLIBOBJS
668 APPLICATIONSERVICESLIB
757 program_transform_name
768 ac_subst_files
='MAKE_RULES
774 enable_option_checking
778 enable_maintainer_mode
826 ac_precious_vars
='build_alias
841 # Initialize some variables set by options.
843 ac_init_version
=false
844 ac_unrecognized_opts
=
846 # The variables have the same names as the options, with
847 # dashes changed to underlines.
855 program_transform_name
=s
,x
,x
,
863 # Installation directory options.
864 # These are left unexpanded so users can "make install exec_prefix=/foo"
865 # and all the variables that are supposed to be based on exec_prefix
866 # by default will actually change.
867 # Use braces instead of parens because sh, perl, etc. also accept them.
868 # (The list follows the same order as the GNU Coding Standards.)
869 bindir
='${exec_prefix}/bin'
870 sbindir
='${exec_prefix}/sbin'
871 libexecdir
='${exec_prefix}/libexec'
872 datarootdir
='${prefix}/share'
873 datadir
='${datarootdir}'
874 sysconfdir
='${prefix}/etc'
875 sharedstatedir
='${prefix}/com'
876 localstatedir
='${prefix}/var'
877 includedir
='${prefix}/include'
878 oldincludedir
='/usr/include'
879 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
880 infodir
='${datarootdir}/info'
885 libdir
='${exec_prefix}/lib'
886 localedir
='${datarootdir}/locale'
887 mandir
='${datarootdir}/man'
893 # If the previous option needs an argument, assign it.
894 if test -n "$ac_prev"; then
895 eval $ac_prev=\
$ac_option
901 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
906 # Accept the important Cygnus configure options, so we can diagnose typos.
908 case $ac_dashdash$ac_option in
912 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
914 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
917 -build |
--build |
--buil |
--bui |
--bu)
918 ac_prev
=build_alias
;;
919 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
920 build_alias
=$ac_optarg ;;
922 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
923 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
924 ac_prev
=cache_file
;;
925 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
926 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
927 cache_file
=$ac_optarg ;;
930 cache_file
=config.cache
;;
932 -datadir |
--datadir |
--datadi |
--datad)
934 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
935 datadir
=$ac_optarg ;;
937 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
938 |
--dataroo |
--dataro |
--datar)
939 ac_prev
=datarootdir
;;
940 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
941 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
942 datarootdir
=$ac_optarg ;;
944 -disable-* |
--disable-*)
945 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
946 # Reject names that are not valid shell variable names.
947 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
948 as_fn_error $?
"invalid feature name: $ac_useropt"
949 ac_useropt_orig
=$ac_useropt
950 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
951 case $ac_user_opts in
955 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
956 ac_unrecognized_sep
=', ';;
958 eval enable_
$ac_useropt=no
;;
960 -docdir |
--docdir |
--docdi |
--doc |
--do)
962 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
965 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
967 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
970 -enable-* |
--enable-*)
971 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
972 # Reject names that are not valid shell variable names.
973 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
974 as_fn_error $?
"invalid feature name: $ac_useropt"
975 ac_useropt_orig
=$ac_useropt
976 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
977 case $ac_user_opts in
981 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
982 ac_unrecognized_sep
=', ';;
984 eval enable_
$ac_useropt=\
$ac_optarg ;;
986 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
987 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
988 |
--exec |
--exe |
--ex)
989 ac_prev
=exec_prefix
;;
990 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
991 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
992 |
--exec=* |
--exe=* |
--ex=*)
993 exec_prefix
=$ac_optarg ;;
995 -gas |
--gas |
--ga |
--g)
996 # Obsolete; use --with-gas.
999 -help |
--help |
--hel |
--he |
-h)
1000 ac_init_help
=long
;;
1001 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1002 ac_init_help
=recursive
;;
1003 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1004 ac_init_help
=short
;;
1006 -host |
--host |
--hos |
--ho)
1007 ac_prev
=host_alias
;;
1008 -host=* |
--host=* |
--hos=* |
--ho=*)
1009 host_alias
=$ac_optarg ;;
1011 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1013 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1015 htmldir
=$ac_optarg ;;
1017 -includedir |
--includedir |
--includedi |
--included |
--include \
1018 |
--includ |
--inclu |
--incl |
--inc)
1019 ac_prev
=includedir
;;
1020 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1021 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1022 includedir
=$ac_optarg ;;
1024 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1026 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1027 infodir
=$ac_optarg ;;
1029 -libdir |
--libdir |
--libdi |
--libd)
1031 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1032 libdir
=$ac_optarg ;;
1034 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1035 |
--libexe |
--libex |
--libe)
1036 ac_prev
=libexecdir
;;
1037 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1038 |
--libexe=* |
--libex=* |
--libe=*)
1039 libexecdir
=$ac_optarg ;;
1041 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1042 ac_prev
=localedir
;;
1043 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1044 localedir
=$ac_optarg ;;
1046 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1047 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1048 ac_prev
=localstatedir
;;
1049 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1050 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1051 localstatedir
=$ac_optarg ;;
1053 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1055 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1056 mandir
=$ac_optarg ;;
1058 -nfp |
--nfp |
--nf)
1059 # Obsolete; use --without-fp.
1062 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1063 |
--no-cr |
--no-c |
-n)
1066 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1067 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1070 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1071 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1072 |
--oldin |
--oldi |
--old |
--ol |
--o)
1073 ac_prev
=oldincludedir
;;
1074 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1075 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1076 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1077 oldincludedir
=$ac_optarg ;;
1079 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1081 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1082 prefix
=$ac_optarg ;;
1084 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1085 |
--program-pre |
--program-pr |
--program-p)
1086 ac_prev
=program_prefix
;;
1087 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1088 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1089 program_prefix
=$ac_optarg ;;
1091 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1092 |
--program-suf |
--program-su |
--program-s)
1093 ac_prev
=program_suffix
;;
1094 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1095 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1096 program_suffix
=$ac_optarg ;;
1098 -program-transform-name |
--program-transform-name \
1099 |
--program-transform-nam |
--program-transform-na \
1100 |
--program-transform-n |
--program-transform- \
1101 |
--program-transform |
--program-transfor \
1102 |
--program-transfo |
--program-transf \
1103 |
--program-trans |
--program-tran \
1104 |
--progr-tra |
--program-tr |
--program-t)
1105 ac_prev
=program_transform_name
;;
1106 -program-transform-name=* |
--program-transform-name=* \
1107 |
--program-transform-nam=* |
--program-transform-na=* \
1108 |
--program-transform-n=* |
--program-transform-=* \
1109 |
--program-transform=* |
--program-transfor=* \
1110 |
--program-transfo=* |
--program-transf=* \
1111 |
--program-trans=* |
--program-tran=* \
1112 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1113 program_transform_name
=$ac_optarg ;;
1115 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1117 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1118 pdfdir
=$ac_optarg ;;
1120 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1122 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1125 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1126 |
-silent |
--silent |
--silen |
--sile |
--sil)
1129 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1131 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1133 sbindir
=$ac_optarg ;;
1135 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1136 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1137 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1139 ac_prev
=sharedstatedir
;;
1140 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1141 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1142 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1144 sharedstatedir
=$ac_optarg ;;
1146 -site |
--site |
--sit)
1148 -site=* |
--site=* |
--sit=*)
1151 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1153 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1154 srcdir
=$ac_optarg ;;
1156 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1157 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1158 ac_prev
=sysconfdir
;;
1159 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1160 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1161 sysconfdir
=$ac_optarg ;;
1163 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1164 ac_prev
=target_alias
;;
1165 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1166 target_alias
=$ac_optarg ;;
1168 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1171 -version |
--version |
--versio |
--versi |
--vers |
-V)
1172 ac_init_version
=: ;;
1175 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1178 as_fn_error $?
"invalid package name: $ac_useropt"
1179 ac_useropt_orig
=$ac_useropt
1180 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1181 case $ac_user_opts in
1185 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1186 ac_unrecognized_sep
=', ';;
1188 eval with_
$ac_useropt=\
$ac_optarg ;;
1190 -without-* |
--without-*)
1191 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1192 # Reject names that are not valid shell variable names.
1193 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1194 as_fn_error $?
"invalid package name: $ac_useropt"
1195 ac_useropt_orig
=$ac_useropt
1196 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1197 case $ac_user_opts in
1201 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1202 ac_unrecognized_sep
=', ';;
1204 eval with_
$ac_useropt=no
;;
1207 # Obsolete; use --with-x.
1210 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1211 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1212 ac_prev
=x_includes
;;
1213 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1214 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1215 x_includes
=$ac_optarg ;;
1217 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1218 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1219 ac_prev
=x_libraries
;;
1220 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1221 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1222 x_libraries
=$ac_optarg ;;
1224 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1225 Try \`$0 --help' for more information"
1229 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1230 # Reject names that are not valid shell variable names.
1231 case $ac_envvar in #(
1232 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1233 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1235 eval $ac_envvar=\
$ac_optarg
1236 export $ac_envvar ;;
1239 # FIXME: should be removed in autoconf 3.0.
1240 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1241 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1242 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1243 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1249 if test -n "$ac_prev"; then
1250 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1251 as_fn_error $?
"missing argument to $ac_option"
1254 if test -n "$ac_unrecognized_opts"; then
1255 case $enable_option_checking in
1257 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1258 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1262 # Check all directory arguments for consistency.
1263 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1264 datadir sysconfdir sharedstatedir localstatedir includedir \
1265 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1266 libdir localedir mandir
1268 eval ac_val
=\$
$ac_var
1269 # Remove trailing slashes.
1272 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1273 eval $ac_var=\
$ac_val;;
1275 # Be sure to have absolute directory names.
1277 [\\/$
]* | ?
:[\\/]* ) continue;;
1278 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1280 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1283 # There might be people who depend on the old broken behavior: `$host'
1284 # used to hold the argument of --host etc.
1285 # FIXME: To remove some day.
1288 target
=$target_alias
1290 # FIXME: To remove some day.
1291 if test "x$host_alias" != x
; then
1292 if test "x$build_alias" = x
; then
1293 cross_compiling
=maybe
1294 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1295 If a cross compiler is detected then cross compile mode will be used" >&2
1296 elif test "x$build_alias" != "x$host_alias"; then
1302 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1304 test "$silent" = yes && exec 6>/dev
/null
1307 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1308 ac_ls_di
=`ls -di .` &&
1309 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1310 as_fn_error $?
"working directory cannot be determined"
1311 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1312 as_fn_error $?
"pwd does not report name of working directory"
1315 # Find the source files, if location was not specified.
1316 if test -z "$srcdir"; then
1317 ac_srcdir_defaulted
=yes
1318 # Try the directory containing this script, then the parent directory.
1319 ac_confdir
=`$as_dirname -- "$as_myself" ||
1320 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1321 X"$as_myself" : 'X\(//\)[^/]' \| \
1322 X"$as_myself" : 'X\(//\)$' \| \
1323 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1324 $as_echo X"$as_myself" |
1325 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1347 ac_srcdir_defaulted
=no
1349 if test ! -r "$srcdir/$ac_unique_file"; then
1350 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1351 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1353 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1355 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1357 # When building in place, set srcdir=.
1358 if test "$ac_abs_confdir" = "$ac_pwd"; then
1361 # Remove unnecessary trailing slashes from srcdir.
1362 # Double slashes in file names in object file debugging info
1363 # mess up M-x gdb in Emacs.
1365 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1367 for ac_var
in $ac_precious_vars; do
1368 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1369 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1370 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1375 # Report the --help message.
1377 if test "$ac_init_help" = "long"; then
1378 # Omit some internal or obsolete options to make the list less imposing.
1379 # This message is too long to be a string in the A/UX 3.1 sh.
1381 \`configure' configures Wine 1.3.31 to adapt to many kinds of systems.
1383 Usage: $0 [OPTION]... [VAR=VALUE]...
1385 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1386 VAR=VALUE. See below for descriptions of some of the useful variables.
1388 Defaults for the options are specified in brackets.
1391 -h, --help display this help and exit
1392 --help=short display options specific to this package
1393 --help=recursive display the short help of all the included packages
1394 -V, --version display version information and exit
1395 -q, --quiet, --silent do not print \`checking ...' messages
1396 --cache-file=FILE cache test results in FILE [disabled]
1397 -C, --config-cache alias for \`--cache-file=config.cache'
1398 -n, --no-create do not create output files
1399 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1401 Installation directories:
1402 --prefix=PREFIX install architecture-independent files in PREFIX
1403 [$ac_default_prefix]
1404 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1407 By default, \`make install' will install all the files in
1408 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1409 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1410 for instance \`--prefix=\$HOME'.
1412 For better control, use the options below.
1414 Fine tuning of the installation directories:
1415 --bindir=DIR user executables [EPREFIX/bin]
1416 --sbindir=DIR system admin executables [EPREFIX/sbin]
1417 --libexecdir=DIR program executables [EPREFIX/libexec]
1418 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1419 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1420 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1421 --libdir=DIR object code libraries [EPREFIX/lib]
1422 --includedir=DIR C header files [PREFIX/include]
1423 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1424 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1425 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1426 --infodir=DIR info documentation [DATAROOTDIR/info]
1427 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1428 --mandir=DIR man documentation [DATAROOTDIR/man]
1429 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1430 --htmldir=DIR html documentation [DOCDIR]
1431 --dvidir=DIR dvi documentation [DOCDIR]
1432 --pdfdir=DIR pdf documentation [DOCDIR]
1433 --psdir=DIR ps documentation [DOCDIR]
1439 --x-includes=DIR X include files are
in DIR
1440 --x-libraries=DIR X library files are
in DIR
1443 --build=BUILD configure
for building on BUILD
[guessed
]
1444 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1448 if test -n "$ac_init_help"; then
1449 case $ac_init_help in
1450 short | recursive
) echo "Configuration of Wine 1.3.31:";;
1455 --disable-option-checking ignore unrecognized
--enable/--with options
1456 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1457 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1458 --disable-win16 do not include Win16 support
1459 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1461 --disable-tests do not build the regression tests
1462 --enable-maintainer-mode
1463 enable maintainer-specific build rules
1464 --disable-largefile omit support for large files
1467 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1468 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1469 --without-alsa do not use the Alsa sound support
1470 --without-capi do not use CAPI (ISDN support)
1471 --without-cms do not use CMS (color management support)
1472 --without-coreaudio do not use the CoreAudio sound support
1473 --without-cups do not use CUPS
1474 --without-curses do not use (n)curses
1475 --without-fontconfig do not use fontconfig
1476 --without-freetype do not use the FreeType library
1477 --without-gettext do not use gettext
1478 --with-gettextpo use the GetTextPO library to rebuild po files
1479 --without-gphoto do not use gphoto (Digital Camera support)
1480 --without-glu do not use the GLU library
1481 --without-gnutls do not use GnuTLS (schannel support)
1482 --without-gsm do not use libgsm (GSM 06.10 codec support)
1483 --without-gstreamer do not use GStreamer (codecs support)
1484 --without-hal do not use HAL (dynamic device support)
1485 --without-jpeg do not use JPEG
1486 --without-ldap do not use LDAP
1487 --without-mpg123 do not use the mpg123 library
1488 --without-openal do not use OpenAL
1489 --without-opencl do not use OpenCL
1490 --without-opengl do not use OpenGL
1491 --without-openssl do not use OpenSSL
1492 --without-oss do not use the OSS sound support
1493 --without-png do not use PNG
1494 --without-pthread do not use the pthread library
1495 --without-sane do not use SANE (scanner support)
1496 --without-tiff do not use TIFF
1497 --without-v4l do not use v4l1 (v4l support)
1498 --without-xcomposite do not use the Xcomposite extension
1499 --without-xcursor do not use the Xcursor extension
1500 --without-xinerama do not use Xinerama (multi-monitor support)
1501 --without-xinput do not use the Xinput extension
1502 --without-xinput2 do not use the Xinput 2 extension
1503 --without-xml do not use XML
1504 --without-xrandr do not use Xrandr (resolution changes)
1505 --without-xrender do not use the Xrender extension
1506 --without-xshape do not use the Xshape extension
1507 --without-xshm do not use XShm (shared memory extension)
1508 --without-xslt do not use XSLT
1509 --without-xxf86vm do not use XFree video mode extension
1510 --without-zlib do not use Zlib (data compression)
1511 --with-wine-tools=DIR use Wine tools from directory DIR
1512 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1513 --with-x use the X Window System
1515 Some influential environment variables:
1516 CC C compiler command
1517 CFLAGS C compiler flags
1518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1519 nonstandard directory <lib dir>
1520 LIBS libraries to pass to the linker, e.g. -l<library>
1521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1522 you have headers in a nonstandard directory <include dir>
1523 CXX C++ compiler command
1524 CXXFLAGS C++ compiler flags
1526 XMKMF Path to xmkmf, Makefile generator for X Window System
1528 Use these variables to override the choices made by `configure' or to
help
1529 it to
find libraries and programs with nonstandard names
/locations.
1531 Report bugs to
<wine-devel@winehq.org
>.
1532 Wine home page
: <http
://www.winehq.org
>.
1537 if test "$ac_init_help" = "recursive"; then
1538 # If there are subdirs, report their specific --help.
1539 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1540 test -d "$ac_dir" ||
1541 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1546 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1548 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1549 # A ".." for each directory in $ac_dir_suffix.
1550 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1551 case $ac_top_builddir_sub in
1552 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1553 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1556 ac_abs_top_builddir
=$ac_pwd
1557 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1558 # for backward compatibility:
1559 ac_top_builddir
=$ac_top_build_prefix
1562 .
) # We are building in place.
1564 ac_top_srcdir
=$ac_top_builddir_sub
1565 ac_abs_top_srcdir
=$ac_pwd ;;
1566 [\\/]* | ?
:[\\/]* ) # Absolute name.
1567 ac_srcdir
=$srcdir$ac_dir_suffix;
1568 ac_top_srcdir
=$srcdir
1569 ac_abs_top_srcdir
=$srcdir ;;
1571 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1572 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1573 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1575 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1577 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1578 # Check for guested configure.
1579 if test -f "$ac_srcdir/configure.gnu"; then
1581 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1582 elif test -f "$ac_srcdir/configure"; then
1584 $SHELL "$ac_srcdir/configure" --help=recursive
1586 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1588 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1592 test -n "$ac_init_help" && exit $ac_status
1593 if $ac_init_version; then
1595 Wine configure
1.3.31
1596 generated by GNU Autoconf
2.68
1598 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1599 This configure
script is free software
; the Free Software Foundation
1600 gives unlimited permission to copy
, distribute and modify it.
1605 ## ------------------------ ##
1606 ## Autoconf initialization. ##
1607 ## ------------------------ ##
1609 # ac_fn_c_try_compile LINENO
1610 # --------------------------
1611 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1612 ac_fn_c_try_compile
()
1614 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1615 rm -f conftest.
$ac_objext
1616 if { { ac_try
="$ac_compile"
1618 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1619 *) ac_try_echo=$ac_try;;
1621 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1622 $as_echo "$ac_try_echo"; } >&5
1623 (eval "$ac_compile") 2>conftest.err
1625 if test -s conftest.err; then
1626 grep -v '^ *+' conftest.err >conftest.er1
1627 cat conftest.er1 >&5
1628 mv -f conftest.er1 conftest.err
1630 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1631 test $ac_status = 0; } && {
1632 test -z "$ac_c_werror_flag" ||
1633 test ! -s conftest.err
1634 } && test -s conftest.$ac_objext; then :
1637 $as_echo "$as_me: failed program was:" >&5
1638 sed 's/^/| /' conftest.$ac_ext >&5
1642 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1643 as_fn_set_status $ac_retval
1645 } # ac_fn_c_try_compile
1647 # ac_fn_cxx_try_compile LINENO
1648 # ----------------------------
1649 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1650 ac_fn_cxx_try_compile ()
1652 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1653 rm -f conftest.$ac_objext
1654 if { { ac_try="$ac_compile"
1656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1657 *) ac_try_echo
=$ac_try;;
1659 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1660 $as_echo "$ac_try_echo"; } >&5
1661 (eval "$ac_compile") 2>conftest.err
1663 if test -s conftest.err
; then
1664 grep -v '^ *+' conftest.err
>conftest.er1
1665 cat conftest.er1
>&5
1666 mv -f conftest.er1 conftest.err
1668 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1669 test $ac_status = 0; } && {
1670 test -z "$ac_cxx_werror_flag" ||
1671 test ! -s conftest.err
1672 } && test -s conftest.
$ac_objext; then :
1675 $as_echo "$as_me: failed program was:" >&5
1676 sed 's/^/| /' conftest.
$ac_ext >&5
1680 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1681 as_fn_set_status
$ac_retval
1683 } # ac_fn_cxx_try_compile
1685 # ac_fn_c_try_link LINENO
1686 # -----------------------
1687 # Try to link conftest.$ac_ext, and return whether this succeeded.
1690 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1691 rm -f conftest.
$ac_objext conftest
$ac_exeext
1692 if { { ac_try
="$ac_link"
1694 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1695 *) ac_try_echo=$ac_try;;
1697 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1698 $as_echo "$ac_try_echo"; } >&5
1699 (eval "$ac_link") 2>conftest.err
1701 if test -s conftest.err; then
1702 grep -v '^ *+' conftest.err >conftest.er1
1703 cat conftest.er1 >&5
1704 mv -f conftest.er1 conftest.err
1706 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1707 test $ac_status = 0; } && {
1708 test -z "$ac_c_werror_flag" ||
1709 test ! -s conftest.err
1710 } && test -s conftest$ac_exeext && {
1711 test "$cross_compiling" = yes ||
1712 $as_test_x conftest$ac_exeext
1716 $as_echo "$as_me: failed program was:" >&5
1717 sed 's/^/| /' conftest.$ac_ext >&5
1721 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1722 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1723 # interfere with the next link command; also delete a directory that is
1724 # left behind by Apple's compiler. We do this before executing the actions.
1725 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_c_try_link
1731 # ac_fn_c_try_cpp LINENO
1732 # ----------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_cpp conftest.$ac_ext"
1739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } > conftest.i
&& {
1753 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1754 test ! -s conftest.err
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status
$ac_retval
1768 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1769 # -------------------------------------------------------
1770 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1771 # the include files in INCLUDES and setting the cache variable VAR
1773 ac_fn_c_check_header_mongrel
()
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 if eval \
${$3+:} false
; then :
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \
${$3+:} false
; then :
1780 $as_echo_n "(cached) " >&6
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1786 # Is the header compilable?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1788 $as_echo_n "checking $2 usability... " >&6; }
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_c_try_compile
"$LINENO"; then :
1795 ac_header_compiler
=yes
1797 ac_header_compiler
=no
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1801 $as_echo "$ac_header_compiler" >&6; }
1803 # Is the header present?
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1805 $as_echo_n "checking $2 presence... " >&6; }
1806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1810 if ac_fn_c_try_cpp
"$LINENO"; then :
1811 ac_header_preproc
=yes
1813 ac_header_preproc
=no
1815 rm -f conftest.err conftest.i conftest.
$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1817 $as_echo "$ac_header_preproc" >&6; }
1819 # So? What about this header?
1820 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1823 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1829 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1831 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1833 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1835 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 ( $as_echo "## ------------------------------------ ##
1839 ## Report this to wine-devel@winehq.org ##
1840 ## ------------------------------------ ##"
1841 ) |
sed "s/^/$as_me: WARNING: /" >&2
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \
${$3+:} false
; then :
1847 $as_echo_n "(cached) " >&6
1849 eval "$3=\$ac_header_compiler"
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_c_check_header_mongrel
1859 # ac_fn_c_try_run LINENO
1860 # ----------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1862 # that executables *can* be run.
1865 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1866 if { { ac_try
="$ac_link"
1868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1877 { { case "(($ac_try" in
1878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1879 *) ac_try_echo
=$ac_try;;
1881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_try") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; }; }; then :
1889 $as_echo "$as_me: program exited with status $ac_status" >&5
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.
$ac_ext >&5
1893 ac_retval
=$ac_status
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status
$ac_retval
1901 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1902 # -------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_c_check_header_compile
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \
${$3+:} false
; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_c_try_compile
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_c_check_header_compile
1932 # ac_fn_c_check_func LINENO FUNC VAR
1933 # ----------------------------------
1934 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1935 ac_fn_c_check_func
()
1937 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1939 $as_echo_n "checking for $2... " >&6; }
1940 if eval \
${$3+:} false
; then :
1941 $as_echo_n "(cached) " >&6
1943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1944 /* end confdefs.h. */
1945 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1946 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1947 #define $2 innocuous_$2
1949 /* System header to define __stub macros and hopefully few prototypes,
1950 which can conflict with char $2 (); below.
1951 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1952 <limits.h> exists even on freestanding compilers. */
1955 # include <limits.h>
1957 # include <assert.h>
1962 /* Override any GCC internal prototype to avoid an error.
1963 Use char because int might match the return type of a GCC
1964 builtin and then its argument prototype would still apply. */
1969 /* The GNU C library defines this for functions which it implements
1970 to always fail with ENOSYS. Some functions are actually named
1971 something starting with __ and the normal name is an alias. */
1972 #if defined __stub_$2 || defined __stub___$2
1984 if ac_fn_c_try_link
"$LINENO"; then :
1989 rm -f core conftest.err conftest.
$ac_objext \
1990 conftest
$ac_exeext conftest.
$ac_ext
1993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1994 $as_echo "$ac_res" >&6; }
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1997 } # ac_fn_c_check_func
1999 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2000 # ----------------------------------------------------
2001 # Tries to find if the field MEMBER exists in type AGGR, after including
2002 # INCLUDES, setting cache variable VAR accordingly.
2003 ac_fn_c_check_member
()
2005 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2007 $as_echo_n "checking for $2.$3... " >&6; }
2008 if eval \
${$4+:} false
; then :
2009 $as_echo_n "(cached) " >&6
2011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2024 if ac_fn_c_try_compile
"$LINENO"; then :
2027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2028 /* end confdefs.h. */
2034 if (sizeof ac_aggr.$3)
2040 if ac_fn_c_try_compile
"$LINENO"; then :
2045 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2051 $as_echo "$ac_res" >&6; }
2052 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2054 } # ac_fn_c_check_member
2056 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2057 # -------------------------------------------
2058 # Tests whether TYPE exists after having included INCLUDES, setting cache
2059 # variable VAR accordingly.
2060 ac_fn_c_check_type
()
2062 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2064 $as_echo_n "checking for $2... " >&6; }
2065 if eval \
${$3+:} false
; then :
2066 $as_echo_n "(cached) " >&6
2069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2070 /* end confdefs.h. */
2081 if ac_fn_c_try_compile
"$LINENO"; then :
2082 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2083 /* end confdefs.h. */
2094 if ac_fn_c_try_compile
"$LINENO"; then :
2099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2105 $as_echo "$ac_res" >&6; }
2106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2108 } # ac_fn_c_check_type
2109 cat >config.log
<<_ACEOF
2110 This file contains any messages produced by compilers while
2111 running configure, to aid debugging if configure makes a mistake.
2113 It was created by Wine $as_me 1.3.31, which was
2114 generated by GNU Autoconf 2.68. Invocation command line was
2126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2145 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2149 test -z "$as_dir" && as_dir
=.
2150 $as_echo "PATH: $as_dir"
2166 # Keep a trace of the command line.
2167 # Strip out --no-create and --no-recursion so they do not pile up.
2168 # Strip out --silent because we don't want to record it for future runs.
2169 # Also quote any args containing shell meta-characters.
2170 # Make two passes to allow for proper duplicate-argument suppression.
2174 ac_must_keep_next
=false
2180 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2181 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2182 |
-silent |
--silent |
--silen |
--sile |
--sil)
2185 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2188 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2190 as_fn_append ac_configure_args1
" '$ac_arg'"
2191 if test $ac_must_keep_next = true
; then
2192 ac_must_keep_next
=false
# Got value, back to normal.
2195 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2196 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2197 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2198 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2199 case "$ac_configure_args0 " in
2200 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2203 -* ) ac_must_keep_next
=true
;;
2206 as_fn_append ac_configure_args
" '$ac_arg'"
2211 { ac_configure_args0
=; unset ac_configure_args0
;}
2212 { ac_configure_args1
=; unset ac_configure_args1
;}
2214 # When interrupted or exit'd, cleanup temporary files, and complete
2215 # config.log. We remove comments because anyway the quotes in there
2216 # would cause problems or look ugly.
2217 # WARNING: Use '\'' to represent an apostrophe within the trap.
2218 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2219 trap 'exit_status=$?
2220 # Save into config.log some information that might help in debugging.
2224 $as_echo "## ---------------- ##
2225 ## Cache variables. ##
2226 ## ---------------- ##"
2228 # The following way of writing the cache mishandles newlines in values,
2230 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2231 eval ac_val=\$$ac_var
2235 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2236 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2239 _ | IFS | as_nl) ;; #(
2240 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2241 *) { eval $ac_var=; unset $ac_var;} ;;
2246 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2247 *${as_nl}ac_space=\ *)
2249 "s/'\''/'\''\\\\'\'''\''/g;
2250 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2253 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260 $as_echo "## ----------------- ##
2261 ## Output variables. ##
2262 ## ----------------- ##"
2264 for ac_var in $ac_subst_vars
2266 eval ac_val=\$$ac_var
2268 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2270 $as_echo "$ac_var='\''$ac_val'\''"
2274 if test -n "$ac_subst_files"; then
2275 $as_echo "## ------------------- ##
2276 ## File substitutions. ##
2277 ## ------------------- ##"
2279 for ac_var
in $ac_subst_files
2281 eval ac_val
=\$
$ac_var
2283 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2285 $as_echo "$ac_var='\''$ac_val'\''"
2290 if test -s confdefs.h; then
2291 $as_echo "## ----------- ##
2298 test "$ac_signal" != 0 &&
2299 $as_echo "$as_me: caught signal $ac_signal"
2300 $as_echo "$as_me: exit $exit_status"
2302 rm -f core *.core core.conftest.* &&
2303 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2306 for ac_signal
in 1 2 13 15; do
2307 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2311 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2312 rm -f -r conftest
* confdefs.h
2314 $as_echo "/* confdefs.h */" > confdefs.h
2316 # Predefined preprocessor variables.
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_NAME "$PACKAGE_NAME"
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_STRING "$PACKAGE_STRING"
2334 cat >>confdefs.h
<<_ACEOF
2335 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2338 cat >>confdefs.h
<<_ACEOF
2339 #define PACKAGE_URL "$PACKAGE_URL"
2343 # Let the site file select an alternate cache file if it wants to.
2344 # Prefer an explicitly selected file to automatically selected ones.
2347 if test -n "$CONFIG_SITE"; then
2348 # We do not want a PATH search for config.site.
2349 case $CONFIG_SITE in #((
2350 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2351 */*) ac_site_file1
=$CONFIG_SITE;;
2352 *) ac_site_file1
=.
/$CONFIG_SITE;;
2354 elif test "x$prefix" != xNONE
; then
2355 ac_site_file1
=$prefix/share
/config.site
2356 ac_site_file2
=$prefix/etc
/config.site
2358 ac_site_file1
=$ac_default_prefix/share
/config.site
2359 ac_site_file2
=$ac_default_prefix/etc
/config.site
2361 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2363 test "x$ac_site_file" = xNONE
&& continue
2364 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2366 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2367 sed 's/^/| /' "$ac_site_file" >&5
2369 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2370 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2371 as_fn_error $?
"failed to load site script $ac_site_file
2372 See \`config.log' for more details" "$LINENO" 5; }
2376 if test -r "$cache_file"; then
2377 # Some versions of bash will fail to source /dev/null (special files
2378 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2379 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2381 $as_echo "$as_me: loading cache $cache_file" >&6;}
2383 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2384 *) .
"./$cache_file";;
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2389 $as_echo "$as_me: creating cache $cache_file" >&6;}
2393 # Check that the precious variables saved in the cache have kept the same
2395 ac_cache_corrupted
=false
2396 for ac_var
in $ac_precious_vars; do
2397 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2398 eval ac_new_set
=\
$ac_env_${ac_var}_set
2399 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2400 eval ac_new_val
=\
$ac_env_${ac_var}_value
2401 case $ac_old_set,$ac_new_set in
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2404 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2405 ac_cache_corrupted
=: ;;
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2408 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2409 ac_cache_corrupted
=: ;;
2412 if test "x$ac_old_val" != "x$ac_new_val"; then
2413 # differences in whitespace do not lead to failure.
2414 ac_old_val_w
=`echo x $ac_old_val`
2415 ac_new_val_w
=`echo x $ac_new_val`
2416 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2418 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2419 ac_cache_corrupted
=:
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2422 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2423 eval $ac_var=\
$ac_old_val
2425 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2426 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2428 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2431 # Pass precious variables to config.status.
2432 if test "$ac_new_set" = set; then
2434 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2435 *) ac_arg
=$ac_var=$ac_new_val ;;
2437 case " $ac_configure_args " in
2438 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2439 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2443 if $ac_cache_corrupted; then
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2447 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2448 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2450 ## -------------------- ##
2451 ## Main body of script. ##
2452 ## -------------------- ##
2455 ac_cpp
='$CPP $CPPFLAGS'
2456 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2457 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2458 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2462 ac_config_headers
="$ac_config_headers include/config.h"
2465 for ac_dir
in tools
"$srcdir"/tools
; do
2466 if test -f "$ac_dir/install-sh"; then
2468 ac_install_sh
="$ac_aux_dir/install-sh -c"
2470 elif test -f "$ac_dir/install.sh"; then
2472 ac_install_sh
="$ac_aux_dir/install.sh -c"
2474 elif test -f "$ac_dir/shtool"; then
2476 ac_install_sh
="$ac_aux_dir/shtool install -c"
2480 if test -z "$ac_aux_dir"; then
2481 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2484 # These three variables are undocumented and unsupported,
2485 # and are intended to be withdrawn in a future Autoconf release.
2486 # They can cause serious problems if a builder's source tree is in a directory
2487 # whose full name contains unusual characters.
2488 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2489 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2490 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2496 # Check whether --enable-win16 was given.
2497 if test "${enable_win16+set}" = set; then :
2498 enableval
=$enable_win16;
2501 # Check whether --enable-win64 was given.
2502 if test "${enable_win64+set}" = set; then :
2503 enableval
=$enable_win64;
2506 # Check whether --enable-tests was given.
2507 if test "${enable_tests+set}" = set; then :
2508 enableval
=$enable_tests;
2511 # Check whether --enable-maintainer-mode was given.
2512 if test "${enable_maintainer_mode+set}" = set; then :
2513 enableval
=$enable_maintainer_mode;
2518 # Check whether --with-alsa was given.
2519 if test "${with_alsa+set}" = set; then :
2520 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2524 # Check whether --with-capi was given.
2525 if test "${with_capi+set}" = set; then :
2526 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2530 # Check whether --with-cms was given.
2531 if test "${with_cms+set}" = set; then :
2532 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2536 # Check whether --with-coreaudio was given.
2537 if test "${with_coreaudio+set}" = set; then :
2538 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2542 # Check whether --with-cups was given.
2543 if test "${with_cups+set}" = set; then :
2548 # Check whether --with-curses was given.
2549 if test "${with_curses+set}" = set; then :
2550 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2554 # Check whether --with-fontconfig was given.
2555 if test "${with_fontconfig+set}" = set; then :
2556 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2560 # Check whether --with-freetype was given.
2561 if test "${with_freetype+set}" = set; then :
2562 withval
=$with_freetype;
2566 # Check whether --with-gettext was given.
2567 if test "${with_gettext+set}" = set; then :
2568 withval
=$with_gettext;
2572 # Check whether --with-gettextpo was given.
2573 if test "${with_gettextpo+set}" = set; then :
2574 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2578 # Check whether --with-gphoto was given.
2579 if test "${with_gphoto+set}" = set; then :
2580 withval
=$with_gphoto;
2584 # Check whether --with-glu was given.
2585 if test "${with_glu+set}" = set; then :
2586 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2590 # Check whether --with-gnutls was given.
2591 if test "${with_gnutls+set}" = set; then :
2592 withval
=$with_gnutls;
2596 # Check whether --with-gsm was given.
2597 if test "${with_gsm+set}" = set; then :
2598 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2602 # Check whether --with-gstreamer was given.
2603 if test "${with_gstreamer+set}" = set; then :
2604 withval
=$with_gstreamer;
2608 # Check whether --with-hal was given.
2609 if test "${with_hal+set}" = set; then :
2614 # Check whether --with-jpeg was given.
2615 if test "${with_jpeg+set}" = set; then :
2616 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2620 # Check whether --with-ldap was given.
2621 if test "${with_ldap+set}" = set; then :
2622 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2626 # Check whether --with-mpg123 was given.
2627 if test "${with_mpg123+set}" = set; then :
2628 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2632 # Check whether --with-openal was given.
2633 if test "${with_openal+set}" = set; then :
2634 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2638 # Check whether --with-opencl was given.
2639 if test "${with_opencl+set}" = set; then :
2640 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2644 # Check whether --with-opengl was given.
2645 if test "${with_opengl+set}" = set; then :
2646 withval
=$with_opengl;
2650 # Check whether --with-openssl was given.
2651 if test "${with_openssl+set}" = set; then :
2652 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2656 # Check whether --with-oss was given.
2657 if test "${with_oss+set}" = set; then :
2662 # Check whether --with-png was given.
2663 if test "${with_png+set}" = set; then :
2664 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2668 # Check whether --with-pthread was given.
2669 if test "${with_pthread+set}" = set; then :
2670 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2674 # Check whether --with-sane was given.
2675 if test "${with_sane+set}" = set; then :
2680 # Check whether --with-tiff was given.
2681 if test "${with_tiff+set}" = set; then :
2682 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2686 # Check whether --with-v4l was given.
2687 if test "${with_v4l+set}" = set; then :
2692 # Check whether --with-xcomposite was given.
2693 if test "${with_xcomposite+set}" = set; then :
2694 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2698 # Check whether --with-xcursor was given.
2699 if test "${with_xcursor+set}" = set; then :
2700 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2704 # Check whether --with-xinerama was given.
2705 if test "${with_xinerama+set}" = set; then :
2706 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2710 # Check whether --with-xinput was given.
2711 if test "${with_xinput+set}" = set; then :
2712 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2716 # Check whether --with-xinput2 was given.
2717 if test "${with_xinput2+set}" = set; then :
2718 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2722 # Check whether --with-xml was given.
2723 if test "${with_xml+set}" = set; then :
2728 # Check whether --with-xrandr was given.
2729 if test "${with_xrandr+set}" = set; then :
2730 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2734 # Check whether --with-xrender was given.
2735 if test "${with_xrender+set}" = set; then :
2736 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2740 # Check whether --with-xshape was given.
2741 if test "${with_xshape+set}" = set; then :
2742 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2746 # Check whether --with-xshm was given.
2747 if test "${with_xshm+set}" = set; then :
2748 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2752 # Check whether --with-xslt was given.
2753 if test "${with_xslt+set}" = set; then :
2758 # Check whether --with-xxf86vm was given.
2759 if test "${with_xxf86vm+set}" = set; then :
2760 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
2764 # Check whether --with-zlib was given.
2765 if test "${with_zlib+set}" = set; then :
2766 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2771 # Check whether --with-wine-tools was given.
2772 if test "${with_wine_tools+set}" = set; then :
2773 withval
=$with_wine_tools;
2777 # Check whether --with-wine64 was given.
2778 if test "${with_wine64+set}" = set; then :
2779 withval
=$with_wine64;
2783 # Make sure we can run config.sub.
2784 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2785 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2788 $as_echo_n "checking build system type... " >&6; }
2789 if ${ac_cv_build+:} false
; then :
2790 $as_echo_n "(cached) " >&6
2792 ac_build_alias
=$build_alias
2793 test "x$ac_build_alias" = x
&&
2794 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2795 test "x$ac_build_alias" = x
&&
2796 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2797 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2798 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2802 $as_echo "$ac_cv_build" >&6; }
2803 case $ac_cv_build in
2805 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2808 ac_save_IFS
=$IFS; IFS
='-'
2814 # Remember, the first character of IFS is used to create $*,
2815 # except with old shells:
2818 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2822 $as_echo_n "checking host system type... " >&6; }
2823 if ${ac_cv_host+:} false
; then :
2824 $as_echo_n "(cached) " >&6
2826 if test "x$host_alias" = x
; then
2827 ac_cv_host
=$ac_cv_build
2829 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2830 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2835 $as_echo "$ac_cv_host" >&6; }
2838 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2841 ac_save_IFS
=$IFS; IFS
='-'
2847 # Remember, the first character of IFS is used to create $*,
2848 # except with old shells:
2851 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2857 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2858 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2859 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2867 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 cat >conftest.
make <<\_ACEOF
2874 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2879 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2881 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2885 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892 SET_MAKE
="MAKE=${MAKE-make}"
2896 ac_cpp
='$CPP $CPPFLAGS'
2897 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2898 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2899 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2900 if test -n "$ac_tool_prefix"; then
2901 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2902 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2904 $as_echo_n "checking for $ac_word... " >&6; }
2905 if ${ac_cv_prog_CC+:} false
; then :
2906 $as_echo_n "(cached) " >&6
2908 if test -n "$CC"; then
2909 ac_cv_prog_CC
="$CC" # Let the user override the test.
2911 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2915 test -z "$as_dir" && as_dir
=.
2916 for ac_exec_ext
in '' $ac_executable_extensions; do
2917 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2918 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2929 if test -n "$CC"; then
2930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2931 $as_echo "$CC" >&6; }
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2939 if test -z "$ac_cv_prog_CC"; then
2941 # Extract the first word of "gcc", so it can be a program name with args.
2942 set dummy gcc
; ac_word
=$2
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2944 $as_echo_n "checking for $ac_word... " >&6; }
2945 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2946 $as_echo_n "(cached) " >&6
2948 if test -n "$ac_ct_CC"; then
2949 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2955 test -z "$as_dir" && as_dir
=.
2956 for ac_exec_ext
in '' $ac_executable_extensions; do
2957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2958 ac_cv_prog_ac_ct_CC
="gcc"
2959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2968 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2969 if test -n "$ac_ct_CC"; then
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2971 $as_echo "$ac_ct_CC" >&6; }
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2974 $as_echo "no" >&6; }
2977 if test "x$ac_ct_CC" = x
; then
2980 case $cross_compiling:$ac_tool_warned in
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2984 ac_tool_warned
=yes ;;
2992 if test -z "$CC"; then
2993 if test -n "$ac_tool_prefix"; then
2994 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2995 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997 $as_echo_n "checking for $ac_word... " >&6; }
2998 if ${ac_cv_prog_CC+:} false
; then :
2999 $as_echo_n "(cached) " >&6
3001 if test -n "$CC"; then
3002 ac_cv_prog_CC
="$CC" # Let the user override the test.
3004 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3008 test -z "$as_dir" && as_dir
=.
3009 for ac_exec_ext
in '' $ac_executable_extensions; do
3010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3011 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3022 if test -n "$CC"; then
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3024 $as_echo "$CC" >&6; }
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3027 $as_echo "no" >&6; }
3033 if test -z "$CC"; then
3034 # Extract the first word of "cc", so it can be a program name with args.
3035 set dummy cc
; ac_word
=$2
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3037 $as_echo_n "checking for $ac_word... " >&6; }
3038 if ${ac_cv_prog_CC+:} false
; then :
3039 $as_echo_n "(cached) " >&6
3041 if test -n "$CC"; then
3042 ac_cv_prog_CC
="$CC" # Let the user override the test.
3045 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3049 test -z "$as_dir" && as_dir
=.
3050 for ac_exec_ext
in '' $ac_executable_extensions; do
3051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3052 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3053 ac_prog_rejected
=yes
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3064 if test $ac_prog_rejected = yes; then
3065 # We found a bogon in the path, so make sure we never use it.
3066 set dummy
$ac_cv_prog_CC
3068 if test $# != 0; then
3069 # We chose a different compiler from the bogus one.
3070 # However, it has the same basename, so the bogon will be chosen
3071 # first if we set CC to just the basename; use the full file name.
3073 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3079 if test -n "$CC"; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3081 $as_echo "$CC" >&6; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3089 if test -z "$CC"; then
3090 if test -n "$ac_tool_prefix"; then
3091 for ac_prog
in cl.exe
3093 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3094 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3096 $as_echo_n "checking for $ac_word... " >&6; }
3097 if ${ac_cv_prog_CC+:} false
; then :
3098 $as_echo_n "(cached) " >&6
3100 if test -n "$CC"; then
3101 ac_cv_prog_CC
="$CC" # Let the user override the test.
3103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3107 test -z "$as_dir" && as_dir
=.
3108 for ac_exec_ext
in '' $ac_executable_extensions; do
3109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3110 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3121 if test -n "$CC"; then
3122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3123 $as_echo "$CC" >&6; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3126 $as_echo "no" >&6; }
3130 test -n "$CC" && break
3133 if test -z "$CC"; then
3135 for ac_prog
in cl.exe
3137 # Extract the first word of "$ac_prog", so it can be a program name with args.
3138 set dummy
$ac_prog; ac_word
=$2
3139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3140 $as_echo_n "checking for $ac_word... " >&6; }
3141 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3142 $as_echo_n "(cached) " >&6
3144 if test -n "$ac_ct_CC"; then
3145 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3151 test -z "$as_dir" && as_dir
=.
3152 for ac_exec_ext
in '' $ac_executable_extensions; do
3153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3154 ac_cv_prog_ac_ct_CC
="$ac_prog"
3155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3164 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3165 if test -n "$ac_ct_CC"; then
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3167 $as_echo "$ac_ct_CC" >&6; }
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3170 $as_echo "no" >&6; }
3174 test -n "$ac_ct_CC" && break
3177 if test "x$ac_ct_CC" = x
; then
3180 case $cross_compiling:$ac_tool_warned in
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3183 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3184 ac_tool_warned
=yes ;;
3193 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3194 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3195 as_fn_error $?
"no acceptable C compiler found in \$PATH
3196 See \`config.log' for more details" "$LINENO" 5; }
3198 # Provide some information about the compiler.
3199 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3202 for ac_option
in --version -v -V -qversion; do
3203 { { ac_try
="$ac_compiler $ac_option >&5"
3205 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3206 *) ac_try_echo=$ac_try;;
3208 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3209 $as_echo "$ac_try_echo"; } >&5
3210 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3212 if test -s conftest.err; then
3214 ... rest of stderr output deleted ...
3215 10q' conftest.err >conftest.er1
3216 cat conftest.er1 >&5
3218 rm -f conftest.er1 conftest.err
3219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3220 test $ac_status = 0; }
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3234 ac_clean_files_save=$ac_clean_files
3235 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3236 # Try to create an executable without -o first, disregard a.out.
3237 # It will help us diagnose broken compilers, and finding out an intuition
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3240 $as_echo_n "checking whether the C compiler works... " >&6; }
3241 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3243 # The possible output files:
3244 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3247 for ac_file in $ac_files
3250 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3251 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3256 if { { ac_try="$ac_link_default"
3258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3259 *) ac_try_echo
=$ac_try;;
3261 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_link_default") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; then :
3267 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3268 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3269 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3270 # so that the user can short-circuit this test for compilers unknown to
3272 for ac_file
in $ac_files ''
3274 test -f "$ac_file" ||
continue
3276 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3279 # We found the default executable, but exeext='' is most
3283 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3285 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3287 # We set ac_cv_exeext here because the later test for it is not
3288 # safe: cross compilers may not add the suffix if given an `-o'
3289 # argument, so we may need to know it at that point already.
3290 # Even if this section looks crufty: it has the advantage of
3297 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3302 if test -z "$ac_file"; then :
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3305 $as_echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.
$ac_ext >&5
3308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3310 as_fn_error
77 "C compiler cannot create executables
3311 See \`config.log' for more details" "$LINENO" 5; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3314 $as_echo "yes" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3317 $as_echo_n "checking for C compiler default output file name... " >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3319 $as_echo "$ac_file" >&6; }
3320 ac_exeext
=$ac_cv_exeext
3322 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3323 ac_clean_files
=$ac_clean_files_save
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3325 $as_echo_n "checking for suffix of executables... " >&6; }
3326 if { { ac_try
="$ac_link"
3328 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3329 *) ac_try_echo=$ac_try;;
3331 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3332 $as_echo "$ac_try_echo"; } >&5
3333 (eval "$ac_link") 2>&5
3335 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3336 test $ac_status = 0; }; then :
3337 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3338 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3339 # work properly (i.e., refer to `conftest.exe'), while it won't with
3341 for ac_file
in conftest.exe conftest conftest.
*; do
3342 test -f "$ac_file" ||
continue
3344 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3345 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3351 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3354 See \`config.log' for more details" "$LINENO" 5; }
3356 rm -f conftest conftest
$ac_cv_exeext
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3358 $as_echo "$ac_cv_exeext" >&6; }
3360 rm -f conftest.
$ac_ext
3361 EXEEXT
=$ac_cv_exeext
3363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3369 FILE *f = fopen ("conftest.out", "w");
3370 return ferror (f) || fclose (f) != 0;
3376 ac_clean_files
="$ac_clean_files conftest.out"
3377 # Check that the compiler produces executables we can run. If not, either
3378 # the compiler is broken, or we cross compile.
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3380 $as_echo_n "checking whether we are cross compiling... " >&6; }
3381 if test "$cross_compiling" != yes; then
3382 { { ac_try
="$ac_link"
3384 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3385 *) ac_try_echo=$ac_try;;
3387 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3388 $as_echo "$ac_try_echo"; } >&5
3389 (eval "$ac_link") 2>&5
3391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3392 test $ac_status = 0; }
3393 if { ac_try='./conftest$ac_cv_exeext'
3394 { { case "(($ac_try" in
3395 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3396 *) ac_try_echo
=$ac_try;;
3398 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3399 $as_echo "$ac_try_echo"; } >&5
3400 (eval "$ac_try") 2>&5
3402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3403 test $ac_status = 0; }; }; then
3406 if test "$cross_compiling" = maybe
; then
3409 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3410 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3411 as_fn_error $?
"cannot run C compiled programs.
3412 If you meant to cross compile, use \`--host'.
3413 See \`config.log' for more details" "$LINENO" 5; }
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3418 $as_echo "$cross_compiling" >&6; }
3420 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3421 ac_clean_files
=$ac_clean_files_save
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3423 $as_echo_n "checking for suffix of object files... " >&6; }
3424 if ${ac_cv_objext+:} false
; then :
3425 $as_echo_n "(cached) " >&6
3427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3438 rm -f conftest.o conftest.obj
3439 if { { ac_try
="$ac_compile"
3441 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3442 *) ac_try_echo=$ac_try;;
3444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3445 $as_echo "$ac_try_echo"; } >&5
3446 (eval "$ac_compile") 2>&5
3448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3449 test $ac_status = 0; }; then :
3450 for ac_file in conftest.o conftest.obj conftest.*; do
3451 test -f "$ac_file" || continue;
3453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3459 $as_echo "$as_me: failed program was:" >&5
3460 sed 's/^/| /' conftest.$ac_ext >&5
3462 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3463 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3464 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3465 See \
`config.log' for more details" "$LINENO" 5; }
3467 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3470 $as_echo "$ac_cv_objext" >&6; }
3471 OBJEXT=$ac_cv_objext
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3474 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3475 if ${ac_cv_c_compiler_gnu+:} false; then :
3476 $as_echo_n "(cached) " >&6
3478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3479 /* end confdefs.h. */
3492 if ac_fn_c_try_compile "$LINENO"; then :
3497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3498 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3502 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3503 if test $ac_compiler_gnu = yes; then
3508 ac_test_CFLAGS=${CFLAGS+set}
3509 ac_save_CFLAGS=$CFLAGS
3510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3511 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3512 if ${ac_cv_prog_cc_g+:} false; then :
3513 $as_echo_n "(cached) " >&6
3515 ac_save_c_werror_flag=$ac_c_werror_flag
3516 ac_c_werror_flag=yes
3519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3520 /* end confdefs.h. */
3530 if ac_fn_c_try_compile "$LINENO"; then :
3534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3535 /* end confdefs.h. */
3545 if ac_fn_c_try_compile "$LINENO"; then :
3548 ac_c_werror_flag=$ac_save_c_werror_flag
3550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3551 /* end confdefs.h. */
3561 if ac_fn_c_try_compile "$LINENO"; then :
3564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 ac_c_werror_flag=$ac_save_c_werror_flag
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3572 $as_echo "$ac_cv_prog_cc_g" >&6; }
3573 if test "$ac_test_CFLAGS" = set; then
3574 CFLAGS=$ac_save_CFLAGS
3575 elif test $ac_cv_prog_cc_g = yes; then
3576 if test "$GCC" = yes; then
3582 if test "$GCC" = yes; then
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3589 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3590 if ${ac_cv_prog_cc_c89+:} false; then :
3591 $as_echo_n "(cached) " >&6
3593 ac_cv_prog_cc_c89=no
3595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3596 /* end confdefs.h. */
3599 #include <sys/types.h>
3600 #include <sys/stat.h>
3601 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3602 struct buf { int x; };
3603 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3604 static char *e (p, i)
3610 static char *f (char * (*g) (char **, int), char **p, ...)
3615 s = g (p, va_arg (v,int));
3620 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3621 function prototypes and stuff, but not '\xHH' hex character constants.
3622 These don't provoke an error unfortunately, instead are silently treated
3623 as 'x'. The following induces an error, until -std is added to get
3624 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3625 array size at least. It's necessary to write '\x00'==0 to get something
3626 that's true only with -std. */
3627 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3629 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3630 inside strings and character constants. */
3632 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3634 int test (int i, double x);
3635 struct s1 {int (*f) (int a);};
3636 struct s2 {int (*f) (double a);};
3637 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3643 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3648 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3649 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3651 CC="$ac_save_CC $ac_arg"
3652 if ac_fn_c_try_compile "$LINENO"; then :
3653 ac_cv_prog_cc_c89=$ac_arg
3655 rm -f core conftest.err conftest.$ac_objext
3656 test "x$ac_cv_prog_cc_c89" != "xno" && break
3658 rm -f conftest.$ac_ext
3663 case "x$ac_cv_prog_cc_c89" in
3665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3666 $as_echo "none needed" >&6; } ;;
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3669 $as_echo "unsupported" >&6; } ;;
3671 CC="$CC $ac_cv_prog_cc_c89"
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3673 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3675 if test "x$ac_cv_prog_cc_c89" != xno; then :
3680 ac_cpp='$CPP $CPPFLAGS'
3681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3686 ac_cpp='$CXXCPP $CPPFLAGS'
3687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3690 if test -z "$CXX"; then
3691 if test -n "$CCC"; then
3694 if test -n "$ac_tool_prefix"; then
3695 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3697 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3698 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if ${ac_cv_prog_CXX+:} false; then :
3702 $as_echo_n "(cached) " >&6
3704 if test -n "$CXX"; then
3705 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3707 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3711 test -z "$as_dir" && as_dir=.
3712 for ac_exec_ext in '' $ac_executable_extensions; do
3713 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3714 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3715 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3725 if test -n "$CXX"; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3727 $as_echo "$CXX" >&6; }
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3730 $as_echo "no" >&6; }
3734 test -n "$CXX" && break
3737 if test -z "$CXX"; then
3739 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3741 # Extract the first word of "$ac_prog", so it can be a program name with args.
3742 set dummy $ac_prog; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$ac_ct_CXX"; then
3749 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3758 ac_cv_prog_ac_ct_CXX="$ac_prog"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3768 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3769 if test -n "$ac_ct_CXX"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3771 $as_echo "$ac_ct_CXX" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3778 test -n "$ac_ct_CXX" && break
3781 if test "x$ac_ct_CXX" = x; then
3784 case $cross_compiling:$ac_tool_warned in
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3788 ac_tool_warned=yes ;;
3796 # Provide some information about the compiler.
3797 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3800 for ac_option in --version -v -V -qversion; do
3801 { { ac_try="$ac_compiler $ac_option >&5"
3803 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3804 *) ac_try_echo
=$ac_try;;
3806 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3807 $as_echo "$ac_try_echo"; } >&5
3808 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3810 if test -s conftest.err
; then
3812 ... rest of stderr output deleted ...
3813 10q' conftest.err
>conftest.er1
3814 cat conftest.er1
>&5
3816 rm -f conftest.er1 conftest.err
3817 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3818 test $ac_status = 0; }
3821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3822 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3823 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3824 $as_echo_n "(cached) " >&6
3826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3827 /* end confdefs.h. */
3840 if ac_fn_cxx_try_compile
"$LINENO"; then :
3845 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3846 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3850 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3851 if test $ac_compiler_gnu = yes; then
3856 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3857 ac_save_CXXFLAGS
=$CXXFLAGS
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3859 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3860 if ${ac_cv_prog_cxx_g+:} false
; then :
3861 $as_echo_n "(cached) " >&6
3863 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3864 ac_cxx_werror_flag
=yes
3867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3868 /* end confdefs.h. */
3878 if ac_fn_cxx_try_compile
"$LINENO"; then :
3879 ac_cv_prog_cxx_g
=yes
3882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3883 /* end confdefs.h. */
3893 if ac_fn_cxx_try_compile
"$LINENO"; then :
3896 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3899 /* end confdefs.h. */
3909 if ac_fn_cxx_try_compile
"$LINENO"; then :
3910 ac_cv_prog_cxx_g
=yes
3912 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3917 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3920 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3921 if test "$ac_test_CXXFLAGS" = set; then
3922 CXXFLAGS
=$ac_save_CXXFLAGS
3923 elif test $ac_cv_prog_cxx_g = yes; then
3924 if test "$GXX" = yes; then
3930 if test "$GXX" = yes; then
3937 ac_cpp
='$CPP $CPPFLAGS'
3938 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3939 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3940 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3942 if test -n "$ac_tool_prefix"; then
3943 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3944 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3946 $as_echo_n "checking for $ac_word... " >&6; }
3947 if ${ac_cv_prog_CPPBIN+:} false
; then :
3948 $as_echo_n "(cached) " >&6
3950 if test -n "$CPPBIN"; then
3951 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3957 test -z "$as_dir" && as_dir
=.
3958 for ac_exec_ext
in '' $ac_executable_extensions; do
3959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3960 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3970 CPPBIN
=$ac_cv_prog_CPPBIN
3971 if test -n "$CPPBIN"; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3973 $as_echo "$CPPBIN" >&6; }
3975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3976 $as_echo "no" >&6; }
3981 if test -z "$ac_cv_prog_CPPBIN"; then
3982 ac_ct_CPPBIN
=$CPPBIN
3983 # Extract the first word of "cpp", so it can be a program name with args.
3984 set dummy cpp
; ac_word
=$2
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3986 $as_echo_n "checking for $ac_word... " >&6; }
3987 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
3988 $as_echo_n "(cached) " >&6
3990 if test -n "$ac_ct_CPPBIN"; then
3991 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3993 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3997 test -z "$as_dir" && as_dir
=.
3998 for ac_exec_ext
in '' $ac_executable_extensions; do
3999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4000 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4010 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4011 if test -n "$ac_ct_CPPBIN"; then
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4013 $as_echo "$ac_ct_CPPBIN" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4019 if test "x$ac_ct_CPPBIN" = x
; then
4022 case $cross_compiling:$ac_tool_warned in
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4026 ac_tool_warned
=yes ;;
4028 CPPBIN
=$ac_ct_CPPBIN
4031 CPPBIN
="$ac_cv_prog_CPPBIN"
4035 cat >>confdefs.h
<<_ACEOF
4036 #define EXEEXT "$ac_exeext"
4042 if test "x$enable_win64" = "xyes"
4046 LD
="${LD:-ld} -arch x86_64"
4047 AS
="${AS:-as} -arch x86_64"
4049 notice_platform
="64-bit "
4055 LD
="${LD:-ld} -arch i386"
4056 AS
="${AS:-as} -arch i386"
4058 notice_platform
="32-bit "
4061 enable_win16
=${enable_win16:-yes}
4065 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4070 $as_echo_n "checking whether $CC works... " >&6; }
4072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4073 /* end confdefs.h. */
4083 if ac_fn_c_try_link
"$LINENO"; then :
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4085 $as_echo "yes" >&6; }
4087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4088 $as_echo "no" >&6; }
4089 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4091 rm -f core conftest.err conftest.
$ac_objext \
4092 conftest
$ac_exeext conftest.
$ac_ext
4093 LD
="${LD:-ld} -m elf_i386"
4096 notice_platform
="32-bit "
4099 enable_win16
=${enable_win16:-yes}
4101 if test "x${GCC}" = "xyes"
4103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4104 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4111 void func(__builtin_ms_va_list *args);
4116 if ac_fn_c_try_compile
"$LINENO"; then :
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4118 $as_echo "yes" >&6; }
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4121 $as_echo "no" >&6; }
4122 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4130 *-mingw32*|
*-cygwin*)
4131 enable_win16
=${enable_win16:-no}
4132 CFLAGS
="$CFLAGS -D_WIN32"
4135 enable_win16
=${enable_win16:-yes}
4139 enable_win16
=${enable_win16:-no}
4140 enable_win64
=${enable_win64:-no}
4142 enable_winetest
=${enable_winetest:-$enable_tests}
4144 if test -n "$with_wine64"
4146 if test "x$enable_win64" = "xyes"
4148 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4149 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4153 enable_fonts
=${enable_fonts:-no}
4154 enable_server
=${enable_server:-no}
4155 enable_tools
=${enable_tools:-no}
4156 elif test "x$enable_win64" = "xyes"
4158 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4162 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4163 if ${wine_cv_toolsdir+:} false
; then :
4164 $as_echo_n "(cached) " >&6
4166 wine_cv_toolsdir
="$with_wine_tools"
4167 if test -z "$with_wine_tools"; then
4168 if test "$cross_compiling" = "yes"; then
4169 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4170 elif test -n "$with_wine64"; then
4171 wine_cv_toolsdir
="$with_wine64"
4174 if test -z "$wine_cv_toolsdir"; then
4175 wine_cv_toolsdir
="\$(top_builddir)"
4176 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4177 case "$wine_cv_toolsdir" in
4179 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4182 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4186 $as_echo "$wine_cv_toolsdir" >&6; }
4187 TOOLSDIR
=$wine_cv_toolsdir
4189 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4191 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4197 # Extract the first word of "$ac_prog", so it can be a program name with args.
4198 set dummy
$ac_prog; ac_word
=$2
4199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4200 $as_echo_n "checking for $ac_word... " >&6; }
4201 if ${ac_cv_prog_FLEX+:} false
; then :
4202 $as_echo_n "(cached) " >&6
4204 if test -n "$FLEX"; then
4205 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4207 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4211 test -z "$as_dir" && as_dir
=.
4212 for ac_exec_ext
in '' $ac_executable_extensions; do
4213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4214 ac_cv_prog_FLEX
="$ac_prog"
4215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4224 FLEX
=$ac_cv_prog_FLEX
4225 if test -n "$FLEX"; then
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4227 $as_echo "$FLEX" >&6; }
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4230 $as_echo "no" >&6; }
4234 test -n "$FLEX" && break
4236 test -n "$FLEX" || FLEX
="none"
4238 if test "$FLEX" = "none"
4240 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4243 $as_echo_n "checking whether flex is recent enough... " >&6; }
4244 cat >conftest.l
<<EOF
4246 #include "prediluvian.h"
4250 if $FLEX -t conftest.l
>/dev
/null
2>&5
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4253 $as_echo "yes" >&6; }
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4256 $as_echo "no" >&6; }
4257 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4260 for ac_prog
in bison
4262 # Extract the first word of "$ac_prog", so it can be a program name with args.
4263 set dummy
$ac_prog; ac_word
=$2
4264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4265 $as_echo_n "checking for $ac_word... " >&6; }
4266 if ${ac_cv_prog_BISON+:} false
; then :
4267 $as_echo_n "(cached) " >&6
4269 if test -n "$BISON"; then
4270 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4272 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4276 test -z "$as_dir" && as_dir
=.
4277 for ac_exec_ext
in '' $ac_executable_extensions; do
4278 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4279 ac_cv_prog_BISON
="$ac_prog"
4280 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4289 BISON
=$ac_cv_prog_BISON
4290 if test -n "$BISON"; then
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4292 $as_echo "$BISON" >&6; }
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4295 $as_echo "no" >&6; }
4299 test -n "$BISON" && break
4301 test -n "$BISON" || BISON
="none"
4303 if test "$BISON" = "none"
4305 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4308 if test -n "$ac_tool_prefix"; then
4309 for ac_prog
in ar gar
4311 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4312 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_AR+:} false
; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$AR"; then
4319 ac_cv_prog_AR
="$AR" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4328 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4339 if test -n "$AR"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4341 $as_echo "$AR" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4348 test -n "$AR" && break
4351 if test -z "$AR"; then
4353 for ac_prog
in ar gar
4355 # Extract the first word of "$ac_prog", so it can be a program name with args.
4356 set dummy
$ac_prog; ac_word
=$2
4357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4358 $as_echo_n "checking for $ac_word... " >&6; }
4359 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4360 $as_echo_n "(cached) " >&6
4362 if test -n "$ac_ct_AR"; then
4363 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4365 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4369 test -z "$as_dir" && as_dir
=.
4370 for ac_exec_ext
in '' $ac_executable_extensions; do
4371 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4372 ac_cv_prog_ac_ct_AR
="$ac_prog"
4373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4382 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4383 if test -n "$ac_ct_AR"; then
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4385 $as_echo "$ac_ct_AR" >&6; }
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4388 $as_echo "no" >&6; }
4392 test -n "$ac_ct_AR" && break
4395 if test "x$ac_ct_AR" = x
; then
4398 case $cross_compiling:$ac_tool_warned in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4401 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4402 ac_tool_warned
=yes ;;
4410 if test -n "$ac_tool_prefix"; then
4411 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4412 set dummy
${ac_tool_prefix}ranlib
; 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_RANLIB+:} false
; then :
4416 $as_echo_n "(cached) " >&6
4418 if test -n "$RANLIB"; then
4419 ac_cv_prog_RANLIB
="$RANLIB" # 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 { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4428 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 RANLIB
=$ac_cv_prog_RANLIB
4439 if test -n "$RANLIB"; then
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4441 $as_echo "$RANLIB" >&6; }
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4444 $as_echo "no" >&6; }
4449 if test -z "$ac_cv_prog_RANLIB"; then
4450 ac_ct_RANLIB
=$RANLIB
4451 # Extract the first word of "ranlib", so it can be a program name with args.
4452 set dummy ranlib
; ac_word
=$2
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4454 $as_echo_n "checking for $ac_word... " >&6; }
4455 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4456 $as_echo_n "(cached) " >&6
4458 if test -n "$ac_ct_RANLIB"; then
4459 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4461 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4465 test -z "$as_dir" && as_dir
=.
4466 for ac_exec_ext
in '' $ac_executable_extensions; do
4467 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4468 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4478 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4479 if test -n "$ac_ct_RANLIB"; then
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4481 $as_echo "$ac_ct_RANLIB" >&6; }
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4484 $as_echo "no" >&6; }
4487 if test "x$ac_ct_RANLIB" = x
; then
4490 case $cross_compiling:$ac_tool_warned in
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4493 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4494 ac_tool_warned
=yes ;;
4496 RANLIB
=$ac_ct_RANLIB
4499 RANLIB
="$ac_cv_prog_RANLIB"
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4503 $as_echo_n "checking whether ln -s works... " >&6; }
4505 if test "$LN_S" = "ln -s"; then
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4507 $as_echo "yes" >&6; }
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4510 $as_echo "no, using $LN_S" >&6; }
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4514 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4515 if ${ac_cv_path_GREP+:} false
; then :
4516 $as_echo_n "(cached) " >&6
4518 if test -z "$GREP"; then
4519 ac_path_GREP_found
=false
4520 # Loop through the user's path and test for each of PROGNAME-LIST
4521 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4522 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4525 test -z "$as_dir" && as_dir
=.
4526 for ac_prog
in grep ggrep
; do
4527 for ac_exec_ext
in '' $ac_executable_extensions; do
4528 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4529 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4530 # Check for GNU ac_path_GREP and select it if it is found.
4531 # Check for GNU $ac_path_GREP
4532 case `"$ac_path_GREP" --version 2>&1` in
4534 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4537 $as_echo_n 0123456789 >"conftest.in"
4540 cat "conftest.in" "conftest.in" >"conftest.tmp"
4541 mv "conftest.tmp" "conftest.in"
4542 cp "conftest.in" "conftest.nl"
4543 $as_echo 'GREP' >> "conftest.nl"
4544 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4545 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4546 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4547 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4548 # Best one so far, save it but keep looking for a better one
4549 ac_cv_path_GREP
="$ac_path_GREP"
4550 ac_path_GREP_max
=$ac_count
4552 # 10*(2^10) chars as input seems more than enough
4553 test $ac_count -gt 10 && break
4555 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4558 $ac_path_GREP_found && break 3
4563 if test -z "$ac_cv_path_GREP"; then
4564 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4567 ac_cv_path_GREP
=$GREP
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4572 $as_echo "$ac_cv_path_GREP" >&6; }
4573 GREP
="$ac_cv_path_GREP"
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4577 $as_echo_n "checking for egrep... " >&6; }
4578 if ${ac_cv_path_EGREP+:} false
; then :
4579 $as_echo_n "(cached) " >&6
4581 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4582 then ac_cv_path_EGREP
="$GREP -E"
4584 if test -z "$EGREP"; then
4585 ac_path_EGREP_found
=false
4586 # Loop through the user's path and test for each of PROGNAME-LIST
4587 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4588 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4591 test -z "$as_dir" && as_dir
=.
4592 for ac_prog
in egrep; do
4593 for ac_exec_ext
in '' $ac_executable_extensions; do
4594 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4595 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4596 # Check for GNU ac_path_EGREP and select it if it is found.
4597 # Check for GNU $ac_path_EGREP
4598 case `"$ac_path_EGREP" --version 2>&1` in
4600 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4603 $as_echo_n 0123456789 >"conftest.in"
4606 cat "conftest.in" "conftest.in" >"conftest.tmp"
4607 mv "conftest.tmp" "conftest.in"
4608 cp "conftest.in" "conftest.nl"
4609 $as_echo 'EGREP' >> "conftest.nl"
4610 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4611 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4612 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4613 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4614 # Best one so far, save it but keep looking for a better one
4615 ac_cv_path_EGREP
="$ac_path_EGREP"
4616 ac_path_EGREP_max
=$ac_count
4618 # 10*(2^10) chars as input seems more than enough
4619 test $ac_count -gt 10 && break
4621 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4624 $ac_path_EGREP_found && break 3
4629 if test -z "$ac_cv_path_EGREP"; then
4630 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4633 ac_cv_path_EGREP
=$EGREP
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4639 $as_echo "$ac_cv_path_EGREP" >&6; }
4640 EGREP
="$ac_cv_path_EGREP"
4643 # Extract the first word of "ldconfig", so it can be a program name with args.
4644 set dummy ldconfig
; ac_word
=$2
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4646 $as_echo_n "checking for $ac_word... " >&6; }
4647 if ${ac_cv_path_LDCONFIG+:} false
; then :
4648 $as_echo_n "(cached) " >&6
4652 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4655 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4656 for as_dir
in /sbin
/usr
/sbin
$PATH
4659 test -z "$as_dir" && as_dir
=.
4660 for ac_exec_ext
in '' $ac_executable_extensions; do
4661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4662 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4670 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4674 LDCONFIG
=$ac_cv_path_LDCONFIG
4675 if test -n "$LDCONFIG"; then
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4677 $as_echo "$LDCONFIG" >&6; }
4679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4680 $as_echo "no" >&6; }
4684 # Find a good install program. We prefer a C program (faster),
4685 # so one script is as good as another. But avoid the broken or
4686 # incompatible versions:
4687 # SysV /etc/install, /usr/sbin/install
4688 # SunOS /usr/etc/install
4689 # IRIX /sbin/install
4691 # AmigaOS /C/install, which installs bootblocks on floppy discs
4692 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4693 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4694 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4695 # OS/2's system install, which has a completely different semantic
4696 # ./install, which can be erroneously created by make from ./install.sh.
4697 # Reject install programs that cannot install multiple files.
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4699 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4700 if test -z "$INSTALL"; then
4701 if ${ac_cv_path_install+:} false
; then :
4702 $as_echo_n "(cached) " >&6
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4708 test -z "$as_dir" && as_dir
=.
4709 # Account for people who put trailing slashes in PATH elements.
4710 case $as_dir/ in #((
4711 .
/ | .
// |
/[cC
]/* | \
4712 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4713 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4716 # OSF1 and SCO ODT 3.0 have their own names for install.
4717 # Don't use installbsd from OSF since it installs stuff as root
4719 for ac_prog
in ginstall scoinst
install; do
4720 for ac_exec_ext
in '' $ac_executable_extensions; do
4721 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4722 if test $ac_prog = install &&
4723 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4724 # AIX install. It has an incompatible calling convention.
4726 elif test $ac_prog = install &&
4727 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4728 # program-specific install script used by HP pwplus--don't use.
4731 rm -rf conftest.one conftest.two conftest.dir
4732 echo one
> conftest.one
4733 echo two
> conftest.two
4735 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4736 test -s conftest.one
&& test -s conftest.two
&&
4737 test -s conftest.dir
/conftest.one
&&
4738 test -s conftest.dir
/conftest.two
4740 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4753 rm -rf conftest.one conftest.two conftest.dir
4756 if test "${ac_cv_path_install+set}" = set; then
4757 INSTALL
=$ac_cv_path_install
4759 # As a last resort, use the slow shell script. Don't cache a
4760 # value for INSTALL within a source directory, because that will
4761 # break other packages using the cache if that directory is
4762 # removed, or if the value is a relative name.
4763 INSTALL
=$ac_install_sh
4766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4767 $as_echo "$INSTALL" >&6; }
4769 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4770 # It thinks the first close brace ends the variable substitution.
4771 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4773 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4775 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4778 [\\/$
]* | ?
:[\\/]* ) ;;
4779 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4782 for ac_prog
in lclint lint
4784 # Extract the first word of "$ac_prog", so it can be a program name with args.
4785 set dummy
$ac_prog; ac_word
=$2
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4787 $as_echo_n "checking for $ac_word... " >&6; }
4788 if ${ac_cv_prog_LINT+:} false
; then :
4789 $as_echo_n "(cached) " >&6
4791 if test -n "$LINT"; then
4792 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4794 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4798 test -z "$as_dir" && as_dir
=.
4799 for ac_exec_ext
in '' $ac_executable_extensions; do
4800 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4801 ac_cv_prog_LINT
="$ac_prog"
4802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4811 LINT
=$ac_cv_prog_LINT
4812 if test -n "$LINT"; then
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4814 $as_echo "$LINT" >&6; }
4816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4817 $as_echo "no" >&6; }
4821 test -n "$LINT" && break
4824 if test "$LINT" = "lint"
4826 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4830 for ac_prog
in fontforge
4832 # Extract the first word of "$ac_prog", so it can be a program name with args.
4833 set dummy
$ac_prog; ac_word
=$2
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4835 $as_echo_n "checking for $ac_word... " >&6; }
4836 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4837 $as_echo_n "(cached) " >&6
4839 if test -n "$FONTFORGE"; then
4840 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4842 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4846 test -z "$as_dir" && as_dir
=.
4847 for ac_exec_ext
in '' $ac_executable_extensions; do
4848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4849 ac_cv_prog_FONTFORGE
="$ac_prog"
4850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4859 FONTFORGE
=$ac_cv_prog_FONTFORGE
4860 if test -n "$FONTFORGE"; then
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4862 $as_echo "$FONTFORGE" >&6; }
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4865 $as_echo "no" >&6; }
4869 test -n "$FONTFORGE" && break
4871 test -n "$FONTFORGE" || FONTFORGE
="false"
4873 for ac_prog
in pkg-config
4875 # Extract the first word of "$ac_prog", so it can be a program name with args.
4876 set dummy
$ac_prog; ac_word
=$2
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4878 $as_echo_n "checking for $ac_word... " >&6; }
4879 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4880 $as_echo_n "(cached) " >&6
4882 if test -n "$PKG_CONFIG"; then
4883 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4885 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4889 test -z "$as_dir" && as_dir
=.
4890 for ac_exec_ext
in '' $ac_executable_extensions; do
4891 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4892 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4893 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4902 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4903 if test -n "$PKG_CONFIG"; then
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4905 $as_echo "$PKG_CONFIG" >&6; }
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4908 $as_echo "no" >&6; }
4912 test -n "$PKG_CONFIG" && break
4914 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4918 # Extract the first word of "$ac_prog", so it can be a program name with args.
4919 set dummy
$ac_prog; ac_word
=$2
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4921 $as_echo_n "checking for $ac_word... " >&6; }
4922 if ${ac_cv_prog_RSVG+:} false
; then :
4923 $as_echo_n "(cached) " >&6
4925 if test -n "$RSVG"; then
4926 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4932 test -z "$as_dir" && as_dir
=.
4933 for ac_exec_ext
in '' $ac_executable_extensions; do
4934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4935 ac_cv_prog_RSVG
="$ac_prog"
4936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4945 RSVG
=$ac_cv_prog_RSVG
4946 if test -n "$RSVG"; then
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4948 $as_echo "$RSVG" >&6; }
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4951 $as_echo "no" >&6; }
4955 test -n "$RSVG" && break
4957 test -n "$RSVG" || RSVG
="false"
4959 for ac_prog
in convert
4961 # Extract the first word of "$ac_prog", so it can be a program name with args.
4962 set dummy
$ac_prog; ac_word
=$2
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4964 $as_echo_n "checking for $ac_word... " >&6; }
4965 if ${ac_cv_prog_CONVERT+:} false
; then :
4966 $as_echo_n "(cached) " >&6
4968 if test -n "$CONVERT"; then
4969 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
4971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4975 test -z "$as_dir" && as_dir
=.
4976 for ac_exec_ext
in '' $ac_executable_extensions; do
4977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4978 ac_cv_prog_CONVERT
="$ac_prog"
4979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 CONVERT
=$ac_cv_prog_CONVERT
4989 if test -n "$CONVERT"; then
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4991 $as_echo "$CONVERT" >&6; }
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4994 $as_echo "no" >&6; }
4998 test -n "$CONVERT" && break
5000 test -n "$CONVERT" || CONVERT
="false"
5002 for ac_prog
in icotool
5004 # Extract the first word of "$ac_prog", so it can be a program name with args.
5005 set dummy
$ac_prog; ac_word
=$2
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5007 $as_echo_n "checking for $ac_word... " >&6; }
5008 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5009 $as_echo_n "(cached) " >&6
5011 if test -n "$ICOTOOL"; then
5012 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5014 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5018 test -z "$as_dir" && as_dir
=.
5019 for ac_exec_ext
in '' $ac_executable_extensions; do
5020 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5021 ac_cv_prog_ICOTOOL
="$ac_prog"
5022 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 ICOTOOL
=$ac_cv_prog_ICOTOOL
5032 if test -n "$ICOTOOL"; then
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5034 $as_echo "$ICOTOOL" >&6; }
5036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5037 $as_echo "no" >&6; }
5041 test -n "$ICOTOOL" && break
5043 test -n "$ICOTOOL" || ICOTOOL
="false"
5045 for ac_prog
in msgfmt
5047 # Extract the first word of "$ac_prog", so it can be a program name with args.
5048 set dummy
$ac_prog; ac_word
=$2
5049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5050 $as_echo_n "checking for $ac_word... " >&6; }
5051 if ${ac_cv_prog_MSGFMT+:} false
; then :
5052 $as_echo_n "(cached) " >&6
5054 if test -n "$MSGFMT"; then
5055 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5057 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5061 test -z "$as_dir" && as_dir
=.
5062 for ac_exec_ext
in '' $ac_executable_extensions; do
5063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5064 ac_cv_prog_MSGFMT
="$ac_prog"
5065 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5074 MSGFMT
=$ac_cv_prog_MSGFMT
5075 if test -n "$MSGFMT"; then
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5077 $as_echo "$MSGFMT" >&6; }
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5080 $as_echo "no" >&6; }
5084 test -n "$MSGFMT" && break
5086 test -n "$MSGFMT" || MSGFMT
="false"
5089 if test "x$enable_maintainer_mode" != "xyes"
5094 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5095 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5097 if test "$CONVERT" = false
5099 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5102 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5103 convert_version
=`convert --version | head -n1`
5104 if test "x$convert_version" != "x"
5106 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5107 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5108 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5113 if test "$CONVERT" = false
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5116 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5117 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5120 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5124 if test "$ICOTOOL" = false
5126 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5129 $as_echo_n "checking for recent enough icotool... " >&6; }
5130 icotool_version
=`icotool --version | head -n1`
5131 if test "x$icotool_version" != "x"
5133 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5134 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5135 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5138 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5141 if test "$ICOTOOL" = false
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5144 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5145 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5148 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5154 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5157 test "x$with_gettext" != xno || MSGFMT
=false
5158 if test "$MSGFMT" = false
; then :
5159 case "x$with_gettext" in
5160 x
) as_fn_append wine_warnings
"|gettext tools not found, translations won't be built." ;;
5162 *) as_fn_error $?
"gettext tools not found, translations won't be built.
5163 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5169 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5170 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5171 $as_echo_n "(cached) " >&6
5173 ac_check_lib_save_LIBS
=$LIBS
5175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5178 /* Override any GCC internal prototype to avoid an error.
5179 Use char because int might match the return type of a GCC
5180 builtin and then its argument prototype would still apply. */
5184 char i386_set_ldt ();
5188 return i386_set_ldt ();
5193 if ac_fn_c_try_link
"$LINENO"; then :
5194 ac_cv_lib_i386_i386_set_ldt
=yes
5196 ac_cv_lib_i386_i386_set_ldt
=no
5198 rm -f core conftest.err conftest.
$ac_objext \
5199 conftest
$ac_exeext conftest.
$ac_ext
5200 LIBS
=$ac_check_lib_save_LIBS
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5203 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5204 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5205 cat >>confdefs.h
<<_ACEOF
5206 #define HAVE_LIBI386 1
5213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5214 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5215 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5216 $as_echo_n "(cached) " >&6
5218 ac_check_lib_save_LIBS
=$LIBS
5219 LIBS
="-lossaudio $LIBS"
5220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5221 /* end confdefs.h. */
5223 /* Override any GCC internal prototype to avoid an error.
5224 Use char because int might match the return type of a GCC
5225 builtin and then its argument prototype would still apply. */
5233 return _oss_ioctl ();
5238 if ac_fn_c_try_link
"$LINENO"; then :
5239 ac_cv_lib_ossaudio__oss_ioctl
=yes
5241 ac_cv_lib_ossaudio__oss_ioctl
=no
5243 rm -f core conftest.err conftest.
$ac_objext \
5244 conftest
$ac_exeext conftest.
$ac_ext
5245 LIBS
=$ac_check_lib_save_LIBS
5247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5248 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5249 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5250 cat >>confdefs.h
<<_ACEOF
5251 #define HAVE_LIBOSSAUDIO 1
5254 LIBS
="-lossaudio $LIBS"
5265 # Check whether --enable-largefile was given.
5266 if test "${enable_largefile+set}" = set; then :
5267 enableval
=$enable_largefile;
5270 if test "$enable_largefile" != no
; then
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5273 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5274 if ${ac_cv_sys_largefile_CC+:} false
; then :
5275 $as_echo_n "(cached) " >&6
5277 ac_cv_sys_largefile_CC
=no
5278 if test "$GCC" != yes; then
5281 # IRIX 6.2 and later do not support large files by default,
5282 # so use the C compiler's -n32 option if that helps.
5283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5284 /* end confdefs.h. */
5285 #include <sys/types.h>
5286 /* Check that off_t can represent 2**63 - 1 correctly.
5287 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5288 since some C++ compilers masquerading as C compilers
5289 incorrectly reject 9223372036854775807. */
5290 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5291 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5292 && LARGE_OFF_T % 2147483647 == 1)
5302 if ac_fn_c_try_compile
"$LINENO"; then :
5305 rm -f core conftest.err conftest.
$ac_objext
5307 if ac_fn_c_try_compile
"$LINENO"; then :
5308 ac_cv_sys_largefile_CC
=' -n32'; break
5310 rm -f core conftest.err conftest.
$ac_objext
5314 rm -f conftest.
$ac_ext
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5318 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5319 if test "$ac_cv_sys_largefile_CC" != no
; then
5320 CC
=$CC$ac_cv_sys_largefile_CC
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5324 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5325 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5326 $as_echo_n "(cached) " >&6
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5331 #include <sys/types.h>
5332 /* Check that off_t can represent 2**63 - 1 correctly.
5333 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5334 since some C++ compilers masquerading as C compilers
5335 incorrectly reject 9223372036854775807. */
5336 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5337 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5338 && LARGE_OFF_T % 2147483647 == 1)
5348 if ac_fn_c_try_compile
"$LINENO"; then :
5349 ac_cv_sys_file_offset_bits
=no
; break
5351 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5354 #define _FILE_OFFSET_BITS 64
5355 #include <sys/types.h>
5356 /* Check that off_t can represent 2**63 - 1 correctly.
5357 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5358 since some C++ compilers masquerading as C compilers
5359 incorrectly reject 9223372036854775807. */
5360 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5361 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5362 && LARGE_OFF_T % 2147483647 == 1)
5372 if ac_fn_c_try_compile
"$LINENO"; then :
5373 ac_cv_sys_file_offset_bits
=64; break
5375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5376 ac_cv_sys_file_offset_bits
=unknown
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5381 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5382 case $ac_cv_sys_file_offset_bits in #(
5385 cat >>confdefs.h
<<_ACEOF
5386 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5391 if test $ac_cv_sys_file_offset_bits = unknown
; then
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5393 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5394 if ${ac_cv_sys_large_files+:} false
; then :
5395 $as_echo_n "(cached) " >&6
5398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5400 #include <sys/types.h>
5401 /* Check that off_t can represent 2**63 - 1 correctly.
5402 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5403 since some C++ compilers masquerading as C compilers
5404 incorrectly reject 9223372036854775807. */
5405 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5406 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5407 && LARGE_OFF_T % 2147483647 == 1)
5417 if ac_fn_c_try_compile
"$LINENO"; then :
5418 ac_cv_sys_large_files
=no
; break
5420 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5422 /* end confdefs.h. */
5423 #define _LARGE_FILES 1
5424 #include <sys/types.h>
5425 /* Check that off_t can represent 2**63 - 1 correctly.
5426 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5427 since some C++ compilers masquerading as C compilers
5428 incorrectly reject 9223372036854775807. */
5429 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5430 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5431 && LARGE_OFF_T % 2147483647 == 1)
5441 if ac_fn_c_try_compile
"$LINENO"; then :
5442 ac_cv_sys_large_files
=1; break
5444 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5445 ac_cv_sys_large_files
=unknown
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5450 $as_echo "$ac_cv_sys_large_files" >&6; }
5451 case $ac_cv_sys_large_files in #(
5454 cat >>confdefs.h
<<_ACEOF
5455 #define _LARGE_FILES $ac_cv_sys_large_files
5465 ac_cpp
='$CPP $CPPFLAGS'
5466 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5467 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5468 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5470 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5471 # On Suns, sometimes $CPP names a directory.
5472 if test -n "$CPP" && test -d "$CPP"; then
5475 if test -z "$CPP"; then
5476 if ${ac_cv_prog_CPP+:} false
; then :
5477 $as_echo_n "(cached) " >&6
5479 # Double quotes because CPP needs to be expanded
5480 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5483 for ac_c_preproc_warn_flag
in '' yes
5485 # Use a header file that comes with gcc, so configuring glibc
5486 # with a fresh cross-compiler works.
5487 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5488 # <limits.h> exists even on freestanding compilers.
5489 # On the NeXT, cc -E runs the code through the compiler's parser,
5490 # not just through cpp. "Syntax error" is here to catch this case.
5491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5494 # include <limits.h>
5496 # include <assert.h>
5500 if ac_fn_c_try_cpp
"$LINENO"; then :
5503 # Broken: fails on valid input.
5506 rm -f conftest.err conftest.i conftest.
$ac_ext
5508 # OK, works on sane cases. Now check whether nonexistent headers
5509 # can be detected and how.
5510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5512 #include <ac_nonexistent.h>
5514 if ac_fn_c_try_cpp
"$LINENO"; then :
5515 # Broken: success on invalid input.
5518 # Passes both tests.
5522 rm -f conftest.err conftest.i conftest.
$ac_ext
5525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5526 rm -f conftest.i conftest.err conftest.
$ac_ext
5527 if $ac_preproc_ok; then :
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5540 $as_echo "$CPP" >&6; }
5542 for ac_c_preproc_warn_flag
in '' yes
5544 # Use a header file that comes with gcc, so configuring glibc
5545 # with a fresh cross-compiler works.
5546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5547 # <limits.h> exists even on freestanding compilers.
5548 # On the NeXT, cc -E runs the code through the compiler's parser,
5549 # not just through cpp. "Syntax error" is here to catch this case.
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5553 # include <limits.h>
5555 # include <assert.h>
5559 if ac_fn_c_try_cpp
"$LINENO"; then :
5562 # Broken: fails on valid input.
5565 rm -f conftest.err conftest.i conftest.
$ac_ext
5567 # OK, works on sane cases. Now check whether nonexistent headers
5568 # can be detected and how.
5569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5571 #include <ac_nonexistent.h>
5573 if ac_fn_c_try_cpp
"$LINENO"; then :
5574 # Broken: success on invalid input.
5577 # Passes both tests.
5581 rm -f conftest.err conftest.i conftest.
$ac_ext
5584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5585 rm -f conftest.i conftest.err conftest.
$ac_ext
5586 if $ac_preproc_ok; then :
5589 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5590 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5591 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5592 See \`config.log' for more details" "$LINENO" 5; }
5596 ac_cpp
='$CPP $CPPFLAGS'
5597 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5598 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5599 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5603 $as_echo_n "checking for ANSI C header files... " >&6; }
5604 if ${ac_cv_header_stdc+:} false
; then :
5605 $as_echo_n "(cached) " >&6
5607 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5608 /* end confdefs.h. */
5622 if ac_fn_c_try_compile
"$LINENO"; then :
5623 ac_cv_header_stdc
=yes
5625 ac_cv_header_stdc
=no
5627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5629 if test $ac_cv_header_stdc = yes; then
5630 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5632 /* end confdefs.h. */
5636 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5637 $EGREP "memchr" >/dev
/null
2>&1; then :
5640 ac_cv_header_stdc
=no
5646 if test $ac_cv_header_stdc = yes; then
5647 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5648 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5649 /* end confdefs.h. */
5653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5654 $EGREP "free" >/dev
/null
2>&1; then :
5657 ac_cv_header_stdc
=no
5663 if test $ac_cv_header_stdc = yes; then
5664 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5665 if test "$cross_compiling" = yes; then :
5668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5669 /* end confdefs.h. */
5672 #if ((' ' & 0x0FF) == 0x020)
5673 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5674 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5676 # define ISLOWER(c) \
5677 (('a' <= (c) && (c) <= 'i') \
5678 || ('j' <= (c) && (c) <= 'r') \
5679 || ('s' <= (c) && (c) <= 'z'))
5680 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5683 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5688 for (i = 0; i < 256; i++)
5689 if (XOR (islower (i), ISLOWER (i))
5690 || toupper (i) != TOUPPER (i))
5695 if ac_fn_c_try_run
"$LINENO"; then :
5698 ac_cv_header_stdc
=no
5700 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5701 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5707 $as_echo "$ac_cv_header_stdc" >&6; }
5708 if test $ac_cv_header_stdc = yes; then
5710 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5714 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5715 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5716 inttypes.h stdint.h unistd.h
5718 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5719 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5721 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5722 cat >>confdefs.h
<<_ACEOF
5723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5733 ApplicationServices
/ApplicationServices.h \
5734 AudioToolbox
/AudioConverter.h \
5735 AudioUnit
/AudioUnit.h \
5736 AudioUnit
/AudioComponent.h \
5739 CoreAudio
/CoreAudio.h \
5740 DiskArbitration
/DiskArbitration.h \
5742 IOKit
/hid
/IOHIDLib.h \
5745 QuickTime
/ImageCompression.h \
5746 Security
/Security.h \
5760 fontconfig
/fontconfig.h \
5799 netinet
/in_systm.h \
5866 valgrind
/memcheck.h \
5867 valgrind
/valgrind.h \
5871 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5872 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5873 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5874 cat >>confdefs.h
<<_ACEOF
5875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5883 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5884 if ${ac_cv_header_stat_broken+:} false
; then :
5885 $as_echo_n "(cached) " >&6
5887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5888 /* end confdefs.h. */
5889 #include <sys/types.h>
5890 #include <sys/stat.h>
5892 #if defined S_ISBLK && defined S_IFDIR
5893 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5896 #if defined S_ISBLK && defined S_IFCHR
5897 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5900 #if defined S_ISLNK && defined S_IFREG
5901 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5904 #if defined S_ISSOCK && defined S_IFREG
5905 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5909 if ac_fn_c_try_compile
"$LINENO"; then :
5910 ac_cv_header_stat_broken
=no
5912 ac_cv_header_stat_broken
=yes
5914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5917 $as_echo "$ac_cv_header_stat_broken" >&6; }
5918 if test $ac_cv_header_stat_broken = yes; then
5920 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5926 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5928 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5929 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5930 #ifdef HAVE_SYS_PARAM_H
5931 # include <sys/param.h>
5934 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5935 cat >>confdefs.h
<<_ACEOF
5936 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5951 netinet
/if_ether.h \
5952 netinet
/if_inarp.h \
5960 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5961 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5962 #ifdef HAVE_SYS_SOCKET_H
5963 # include <sys/socket.h>
5965 #ifdef HAVE_SYS_SOCKETVAR_H
5966 # include <sys/socketvar.h>
5968 #ifdef HAVE_NET_ROUTE_H
5969 # include <net/route.h>
5971 #ifdef HAVE_NETINET_IN_H
5972 # include <netinet/in.h>
5974 #ifdef HAVE_NETINET_IN_SYSTM_H
5975 # include <netinet/in_systm.h>
5977 #ifdef HAVE_NET_IF_H
5978 # include <net/if.h>
5980 #ifdef HAVE_NETINET_IP_H
5981 # include <netinet/ip.h>
5984 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5985 cat >>confdefs.h
<<_ACEOF
5986 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5994 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
5996 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5997 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6001 #ifdef HAVE_SYS_SOCKET_H
6002 # include <sys/socket.h>
6004 #ifdef HAVE_SYS_SOCKETVAR_H
6005 # include <sys/socketvar.h>
6007 #ifdef HAVE_SYS_TIMEOUT_H
6008 # include <sys/timeout.h>
6010 #ifdef HAVE_NETINET_IN_H
6011 # include <netinet/in.h>
6013 #ifdef HAVE_NETINET_IN_SYSTM_H
6014 # include <netinet/in_systm.h>
6016 #ifdef HAVE_NETINET_IP_H
6017 # include <netinet/ip.h>
6019 #ifdef HAVE_NETINET_IP_VAR_H
6020 # include <netinet/ip_var.h>
6022 #ifdef HAVE_NETINET_IP_ICMP_H
6023 # include <netinet/ip_icmp.h>
6025 #ifdef HAVE_NETINET_UDP_H
6026 # include <netinet/udp.h>
6028 #ifdef HAVE_NETINET_TCP_H
6029 # include <netinet/tcp.h>
6031 #ifdef HAVE_NETINET_TCP_TIMER_H
6032 #include <netinet/tcp_timer.h>
6035 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6036 cat >>confdefs.h
<<_ACEOF
6037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6045 for ac_header
in linux
/ipx.h linux
/irda.h
6047 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6048 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6049 #ifdef HAVE_ASM_TYPES_H
6050 # include <asm/types.h>
6052 #ifdef HAVE_SYS_SOCKET_H
6053 # include <sys/socket.h>
6055 #ifdef HAVE_LINUX_TYPES_H
6056 # include <linux/types.h>
6059 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6060 cat >>confdefs.h
<<_ACEOF
6061 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6069 for ac_header
in mach-o
/dyld_images.h
6071 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6072 # include <stdbool.h>
6074 #ifdef HAVE_STDINT_H
6075 # include <stdint.h>
6078 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6079 cat >>confdefs.h
<<_ACEOF
6080 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6088 for ac_header
in resolv.h
6090 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6091 #ifdef HAVE_SYS_SOCKET_H
6092 # include <sys/socket.h>
6094 #ifdef HAVE_NETINET_IN_H
6095 # include <netinet/in.h>
6097 #ifdef HAVE_ARPA_NAMESER_H
6098 # include <arpa/nameser.h>
6101 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6102 cat >>confdefs.h
<<_ACEOF
6103 #define HAVE_RESOLV_H 1
6111 for ac_header
in ifaddrs.h
6113 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6115 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6116 cat >>confdefs.h
<<_ACEOF
6117 #define HAVE_IFADDRS_H 1
6125 for ac_header
in ucontext.h
6127 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6129 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6130 cat >>confdefs.h
<<_ACEOF
6131 #define HAVE_UCONTEXT_H 1
6139 for ac_header
in sys
/thr.h
6141 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6142 #ifdef HAVE_UCONTEXT_H
6143 #include <ucontext.h>
6146 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6147 cat >>confdefs.h
<<_ACEOF
6148 #define HAVE_SYS_THR_H 1
6156 for ac_header
in pthread_np.h
6158 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6159 #include <pthread.h>
6162 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6163 cat >>confdefs.h
<<_ACEOF
6164 #define HAVE_PTHREAD_NP_H 1
6172 for ac_header
in linux
/videodev.h linux
/videodev2.h
6174 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6175 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6176 #include <sys/time.h>
6178 #include <sys/types.h>
6179 #ifdef HAVE_ASM_TYPES_H
6180 #include <asm/types.h>
6183 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6184 cat >>confdefs.h
<<_ACEOF
6185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6193 for ac_header
in linux
/capi.h
6195 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6197 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6198 cat >>confdefs.h
<<_ACEOF
6199 #define HAVE_LINUX_CAPI_H 1
6210 DLLFLAGS
="-D_REENTRANT"
6224 STATIC_IMPLIBEXT
="def.a"
6225 # Extract the first word of "ldd", so it can be a program name with args.
6226 set dummy ldd
; ac_word
=$2
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6228 $as_echo_n "checking for $ac_word... " >&6; }
6229 if ${ac_cv_path_LDD+:} false
; then :
6230 $as_echo_n "(cached) " >&6
6234 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6238 as_dummy
="/sbin:/usr/sbin:$PATH"
6239 for as_dir
in $as_dummy
6242 test -z "$as_dir" && as_dir
=.
6243 for ac_exec_ext
in '' $ac_executable_extensions; do
6244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6245 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6253 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6258 if test -n "$LDD"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6260 $as_echo "$LDD" >&6; }
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6270 if test -n "$ac_tool_prefix"; then
6271 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6272 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6274 $as_echo_n "checking for $ac_word... " >&6; }
6275 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6276 $as_echo_n "(cached) " >&6
6278 if test -n "$DLLTOOL"; then
6279 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6281 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6285 test -z "$as_dir" && as_dir
=.
6286 for ac_exec_ext
in '' $ac_executable_extensions; do
6287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6288 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 DLLTOOL
=$ac_cv_prog_DLLTOOL
6299 if test -n "$DLLTOOL"; then
6300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6301 $as_echo "$DLLTOOL" >&6; }
6303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6304 $as_echo "no" >&6; }
6309 if test -z "$ac_cv_prog_DLLTOOL"; then
6310 ac_ct_DLLTOOL
=$DLLTOOL
6311 # Extract the first word of "dlltool", so it can be a program name with args.
6312 set dummy dlltool
; ac_word
=$2
6313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6314 $as_echo_n "checking for $ac_word... " >&6; }
6315 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6316 $as_echo_n "(cached) " >&6
6318 if test -n "$ac_ct_DLLTOOL"; then
6319 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6325 test -z "$as_dir" && as_dir
=.
6326 for ac_exec_ext
in '' $ac_executable_extensions; do
6327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6328 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6338 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6339 if test -n "$ac_ct_DLLTOOL"; then
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6341 $as_echo "$ac_ct_DLLTOOL" >&6; }
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6344 $as_echo "no" >&6; }
6347 if test "x$ac_ct_DLLTOOL" = x
; then
6350 case $cross_compiling:$ac_tool_warned in
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6353 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6354 ac_tool_warned
=yes ;;
6356 DLLTOOL
=$ac_ct_DLLTOOL
6359 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6362 if test -n "$ac_tool_prefix"; then
6363 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6364 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6366 $as_echo_n "checking for $ac_word... " >&6; }
6367 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6368 $as_echo_n "(cached) " >&6
6370 if test -n "$DLLWRAP"; then
6371 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6373 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6377 test -z "$as_dir" && as_dir
=.
6378 for ac_exec_ext
in '' $ac_executable_extensions; do
6379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6380 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6390 DLLWRAP
=$ac_cv_prog_DLLWRAP
6391 if test -n "$DLLWRAP"; then
6392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6393 $as_echo "$DLLWRAP" >&6; }
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6396 $as_echo "no" >&6; }
6401 if test -z "$ac_cv_prog_DLLWRAP"; then
6402 ac_ct_DLLWRAP
=$DLLWRAP
6403 # Extract the first word of "dllwrap", so it can be a program name with args.
6404 set dummy dllwrap
; ac_word
=$2
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6406 $as_echo_n "checking for $ac_word... " >&6; }
6407 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6408 $as_echo_n "(cached) " >&6
6410 if test -n "$ac_ct_DLLWRAP"; then
6411 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6413 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6417 test -z "$as_dir" && as_dir
=.
6418 for ac_exec_ext
in '' $ac_executable_extensions; do
6419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6420 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6430 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6431 if test -n "$ac_ct_DLLWRAP"; then
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6433 $as_echo "$ac_ct_DLLWRAP" >&6; }
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6436 $as_echo "no" >&6; }
6439 if test "x$ac_ct_DLLWRAP" = x
; then
6442 case $cross_compiling:$ac_tool_warned in
6444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6445 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6446 ac_tool_warned
=yes ;;
6448 DLLWRAP
=$ac_ct_DLLWRAP
6451 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6454 if test "$DLLWRAP" = "false"; then
6460 STATIC_IMPLIBEXT
="a"
6461 enable_iphlpapi
=${enable_iphlpapi:-no}
6462 enable_kernel32
=${enable_kernel32:-no}
6463 enable_msvcrt
=${enable_msvcrt:-no}
6464 enable_ntdll
=${enable_ntdll:-no}
6465 enable_ws2_32
=${enable_ws2_32:-no}
6466 enable_loader
=${enable_loader:-no}
6467 enable_server
=${enable_server:-no}
6468 with_x
=${with_x:-no}
6469 with_pthread
=${with_pthread:-no}
6474 DLLFLAGS
="$DLLFLAGS -fPIC"
6475 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6476 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6477 LDSHARED
="\$(CC) -dynamiclib"
6478 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6479 COREFOUNDATIONLIB
="-framework CoreFoundation"
6481 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6483 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6487 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6490 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6493 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6495 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6498 if test "$ac_cv_header_Security_Security_h" = "yes"
6500 SECURITYLIB
="-framework Security -framework CoreFoundation"
6502 with_gnutls
=${with_gnutls:-no}
6504 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6506 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6508 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6511 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6514 ac_save_LIBS
="$LIBS"
6515 LIBS
="$LIBS $COREAUDIO"
6516 for ac_func
in AUGraphAddNode
6518 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6519 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6520 cat >>confdefs.h
<<_ACEOF
6521 #define HAVE_AUGRAPHADDNODE 1
6527 LIBS
="$ac_save_LIBS"
6529 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6531 FRAMEWORK_OPENAL
="-framework OpenAL"
6534 cat >>confdefs.h
<<_ACEOF
6535 #define HAVE_OPENAL 1
6538 ac_cv_lib_openal
=yes
6540 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6542 LIBOPENCL
="-framework OpenCL"
6544 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6546 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6548 ac_save_LIBS
="$LIBS"
6549 LIBS
="$LIBS $IOKITLIB"
6550 for ac_func
in IOHIDManagerCreate
6552 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6553 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6554 cat >>confdefs.h
<<_ACEOF
6555 #define HAVE_IOHIDMANAGERCREATE 1
6561 LIBS
="$ac_save_LIBS"
6565 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6567 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6569 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6571 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6573 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6575 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6577 CARBONLIB
="-framework Carbon"
6579 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6581 if test "x$enable_win16" = "xyes"
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6584 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6585 if test "$cross_compiling" = yes; then :
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6587 $as_echo "cross-compiling, assuming yes" >&6; }
6589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6590 /* end confdefs.h. */
6593 "good:\tnop;nop\n\t"
6594 ".globl _testfunc\n"
6595 "_testfunc:\tcallw good");
6596 extern void testfunc();
6600 unsigned short *p = (unsigned short *)testfunc;
6601 return p[0] != 0xe866 || p[1] != 0xfffa
6606 if ac_fn_c_try_run
"$LINENO"; then :
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6608 $as_echo "yes" >&6; }
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6611 $as_echo "no" >&6; }
6612 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
6614 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6615 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6621 DLLFLAGS
="$DLLFLAGS -fPIC"
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6624 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6625 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6626 $as_echo_n "(cached) " >&6
6628 ac_wine_try_cflags_saved
=$CFLAGS
6629 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6634 if ac_fn_c_try_link
"$LINENO"; then :
6635 ac_cv_c_dll_gnuelf
="yes"
6637 ac_cv_c_dll_gnuelf
="no"
6639 rm -f core conftest.err conftest.
$ac_objext \
6640 conftest
$ac_exeext conftest.
$ac_ext
6641 CFLAGS
=$ac_wine_try_cflags_saved
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6644 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6645 if test "$ac_cv_c_dll_gnuelf" = "yes"
6647 LDSHARED
="\$(CC) -shared"
6648 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6650 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6651 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6652 $as_echo_n "(cached) " >&6
6654 ac_wine_try_cflags_saved
=$CFLAGS
6655 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6658 int main(int argc, char **argv) { return 0; }
6660 if ac_fn_c_try_link
"$LINENO"; then :
6661 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6663 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6665 rm -f core conftest.err conftest.
$ac_objext \
6666 conftest
$ac_exeext conftest.
$ac_ext
6667 CFLAGS
=$ac_wine_try_cflags_saved
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6670 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6671 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6672 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6675 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6676 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6677 $as_echo_n "(cached) " >&6
6679 ac_wine_try_cflags_saved
=$CFLAGS
6680 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6683 int main(int argc, char **argv) { return 0; }
6685 if ac_fn_c_try_link
"$LINENO"; then :
6686 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6688 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6690 rm -f core conftest.err conftest.
$ac_objext \
6691 conftest
$ac_exeext conftest.
$ac_ext
6692 CFLAGS
=$ac_wine_try_cflags_saved
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6695 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6696 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6697 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6702 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6703 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6704 $as_echo_n "(cached) " >&6
6706 ac_wine_try_cflags_saved
=$CFLAGS
6707 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6709 /* end confdefs.h. */
6710 int main(int argc, char **argv) { return 0; }
6712 if ac_fn_c_try_link
"$LINENO"; then :
6713 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6715 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6717 rm -f core conftest.err conftest.
$ac_objext \
6718 conftest
$ac_exeext conftest.
$ac_ext
6719 CFLAGS
=$ac_wine_try_cflags_saved
6721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6722 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6723 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6724 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6727 { $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
6728 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6729 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6730 $as_echo_n "(cached) " >&6
6732 ac_wine_try_cflags_saved
=$CFLAGS
6733 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6736 int main(int argc, char **argv) { return 0; }
6738 if ac_fn_c_try_link
"$LINENO"; then :
6739 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6741 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6743 rm -f core conftest.err conftest.
$ac_objext \
6744 conftest
$ac_exeext conftest.
$ac_ext
6745 CFLAGS
=$ac_wine_try_cflags_saved
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6748 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6749 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6750 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6753 echo '{ global: *; };' >conftest.map
6754 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6756 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6757 if eval \
${$as_ac_var+:} false
; then :
6758 $as_echo_n "(cached) " >&6
6760 ac_wine_try_cflags_saved
=$CFLAGS
6761 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6763 /* end confdefs.h. */
6764 int main(int argc, char **argv) { return 0; }
6766 if ac_fn_c_try_link
"$LINENO"; then :
6767 eval "$as_ac_var=yes"
6769 eval "$as_ac_var=no"
6771 rm -f core conftest.err conftest.
$ac_objext \
6772 conftest
$ac_exeext conftest.
$ac_ext
6773 CFLAGS
=$ac_wine_try_cflags_saved
6775 eval ac_res
=\$
$as_ac_var
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6777 $as_echo "$ac_res" >&6; }
6778 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6779 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6784 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6785 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6786 $as_echo_n "(cached) " >&6
6788 ac_wine_try_cflags_saved
=$CFLAGS
6789 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6791 /* end confdefs.h. */
6792 int main(int argc, char **argv) { return 0; }
6794 if ac_fn_c_try_link
"$LINENO"; then :
6795 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6797 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6799 rm -f core conftest.err conftest.
$ac_objext \
6800 conftest
$ac_exeext conftest.
$ac_ext
6801 CFLAGS
=$ac_wine_try_cflags_saved
6803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6804 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6805 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6806 LDEXECFLAGS
="-Wl,--export-dynamic"
6810 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6812 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6813 if eval \
${$as_ac_var+:} false
; then :
6814 $as_echo_n "(cached) " >&6
6816 ac_wine_try_cflags_saved
=$CFLAGS
6817 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6819 /* end confdefs.h. */
6820 int main(int argc, char **argv) { return 0; }
6822 if ac_fn_c_try_link
"$LINENO"; then :
6823 eval "$as_ac_var=yes"
6825 eval "$as_ac_var=no"
6827 rm -f core conftest.err conftest.
$ac_objext \
6828 conftest
$ac_exeext conftest.
$ac_ext
6829 CFLAGS
=$ac_wine_try_cflags_saved
6831 eval ac_res
=\$
$as_ac_var
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6833 $as_echo "$ac_res" >&6; }
6834 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6835 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6836 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6838 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6840 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6841 if eval \
${$as_ac_var+:} false
; then :
6842 $as_echo_n "(cached) " >&6
6844 ac_wine_try_cflags_saved
=$CFLAGS
6845 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6847 /* end confdefs.h. */
6848 int main(int argc, char **argv) { return 0; }
6850 if ac_fn_c_try_link
"$LINENO"; then :
6851 eval "$as_ac_var=yes"
6853 eval "$as_ac_var=no"
6855 rm -f core conftest.err conftest.
$ac_objext \
6856 conftest
$ac_exeext conftest.
$ac_ext
6857 CFLAGS
=$ac_wine_try_cflags_saved
6859 eval ac_res
=\$
$as_ac_var
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6861 $as_echo "$ac_res" >&6; }
6862 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6863 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6864 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6869 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6870 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6871 $as_echo_n "(cached) " >&6
6873 ac_wine_try_cflags_saved
=$CFLAGS
6874 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6876 /* end confdefs.h. */
6877 int main(int argc, char **argv) { return 0; }
6879 if ac_fn_c_try_link
"$LINENO"; then :
6880 ac_cv_cflags__Wl___enable_new_dtags
=yes
6882 ac_cv_cflags__Wl___enable_new_dtags
=no
6884 rm -f core conftest.err conftest.
$ac_objext \
6885 conftest
$ac_exeext conftest.
$ac_ext
6886 CFLAGS
=$ac_wine_try_cflags_saved
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6889 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6890 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6891 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6895 *i
[3456789]86* | x86_64
)
6896 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6898 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6899 if eval \
${$as_ac_var+:} false
; then :
6900 $as_echo_n "(cached) " >&6
6902 ac_wine_try_cflags_saved
=$CFLAGS
6903 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6905 /* end confdefs.h. */
6906 int main(int argc, char **argv) { return 0; }
6908 if ac_fn_c_try_link
"$LINENO"; then :
6909 eval "$as_ac_var=yes"
6911 eval "$as_ac_var=no"
6913 rm -f core conftest.err conftest.
$ac_objext \
6914 conftest
$ac_exeext conftest.
$ac_ext
6915 CFLAGS
=$ac_wine_try_cflags_saved
6917 eval ac_res
=\$
$as_ac_var
6918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6919 $as_echo "$ac_res" >&6; }
6920 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6922 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6923 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6927 # Extract the first word of "prelink", so it can be a program name with args.
6928 set dummy prelink
; ac_word
=$2
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6930 $as_echo_n "checking for $ac_word... " >&6; }
6931 if ${ac_cv_path_PRELINK+:} false
; then :
6932 $as_echo_n "(cached) " >&6
6936 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6939 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6940 for as_dir
in /sbin
/usr
/sbin
$PATH
6943 test -z "$as_dir" && as_dir
=.
6944 for ac_exec_ext
in '' $ac_executable_extensions; do
6945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6946 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6954 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6958 PRELINK
=$ac_cv_path_PRELINK
6959 if test -n "$PRELINK"; then
6960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6961 $as_echo "$PRELINK" >&6; }
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6964 $as_echo "no" >&6; }
6968 if test "x$PRELINK" = xfalse
6970 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
6976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6977 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6978 if ${ac_cv_c_dll_unixware+:} false
; then :
6979 $as_echo_n "(cached) " >&6
6981 ac_wine_try_cflags_saved
=$CFLAGS
6982 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6984 /* end confdefs.h. */
6987 if ac_fn_c_try_link
"$LINENO"; then :
6988 ac_cv_c_dll_unixware
="yes"
6990 ac_cv_c_dll_unixware
="no"
6992 rm -f core conftest.err conftest.
$ac_objext \
6993 conftest
$ac_exeext conftest.
$ac_ext
6994 CFLAGS
=$ac_wine_try_cflags_saved
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6997 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6998 if test "$ac_cv_c_dll_unixware" = "yes"
7000 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7001 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7005 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7006 if ${ac_cv_c_dll_hpux+:} false
; then :
7007 $as_echo_n "(cached) " >&6
7009 ac_wine_try_cflags_saved
=$CFLAGS
7010 CFLAGS
="$CFLAGS -shared"
7011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7012 /* end confdefs.h. */
7015 if ac_fn_c_try_link
"$LINENO"; then :
7016 ac_cv_c_dll_hpux
="yes"
7018 ac_cv_c_dll_hpux
="no"
7020 rm -f core conftest.err conftest.
$ac_objext \
7021 conftest
$ac_exeext conftest.
$ac_ext
7022 CFLAGS
=$ac_wine_try_cflags_saved
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7025 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7026 if test "$ac_cv_c_dll_hpux" = "yes"
7030 LDDLLFLAGS
="-shared -fPIC"
7031 LDSHARED
="\$(CC) -shared"
7038 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7039 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7041 if test "$LIBEXT" = "a"; then
7042 as_fn_error $?
"could not find a way to build shared libraries.
7043 It is currently not possible to build Wine without shared library
7044 (.so) support to allow transparent switch between .so and .dll files.
7045 If you are using Linux, you will need a newer binutils.
7049 CROSSTEST_DISABLE
=\
#
7051 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7055 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 " ;;
7057 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 " ;;
7059 ac_prefix_list
="" ;;
7061 for ac_prog
in $ac_prefix_list
7063 # Extract the first word of "$ac_prog", so it can be a program name with args.
7064 set dummy
$ac_prog; ac_word
=$2
7065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 $as_echo_n "checking for $ac_word... " >&6; }
7067 if ${ac_cv_prog_CROSSCC+:} false
; then :
7068 $as_echo_n "(cached) " >&6
7070 if test -n "$CROSSCC"; then
7071 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7073 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7077 test -z "$as_dir" && as_dir
=.
7078 for ac_exec_ext
in '' $ac_executable_extensions; do
7079 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7080 ac_cv_prog_CROSSCC
="$ac_prog"
7081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7090 CROSSCC
=$ac_cv_prog_CROSSCC
7091 if test -n "$CROSSCC"; then
7092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7093 $as_echo "$CROSSCC" >&6; }
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7096 $as_echo "no" >&6; }
7100 test -n "$CROSSCC" && break
7102 test -n "$CROSSCC" || CROSSCC
="false"
7104 if test "$CROSSCC" != "false"
7108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7109 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7111 /* end confdefs.h. */
7121 if ac_fn_c_try_compile
"$LINENO"; then :
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7123 $as_echo "yes" >&6; }
7130 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7134 if test -n "$target"
7136 CROSSTEST_DISABLE
=""
7137 CROSSTARGET
="$target"
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7142 $as_echo "no" >&6; }
7144 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7150 if test "$ac_cv_header_pthread_h" = "yes"
7152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7153 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7154 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7155 $as_echo_n "(cached) " >&6
7157 ac_check_lib_save_LIBS
=$LIBS
7158 LIBS
="-lpthread $LIBS"
7159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7162 /* Override any GCC internal prototype to avoid an error.
7163 Use char because int might match the return type of a GCC
7164 builtin and then its argument prototype would still apply. */
7168 char pthread_create ();
7172 return pthread_create ();
7177 if ac_fn_c_try_link
"$LINENO"; then :
7178 ac_cv_lib_pthread_pthread_create
=yes
7180 ac_cv_lib_pthread_pthread_create
=no
7182 rm -f core conftest.err conftest.
$ac_objext \
7183 conftest
$ac_exeext conftest.
$ac_ext
7184 LIBS
=$ac_check_lib_save_LIBS
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7187 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7188 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7189 LIBPTHREAD
="-lpthread"
7194 if test "x$LIBPTHREAD" = "x"; then :
7195 case "x$with_pthread" in
7197 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7198 Wine cannot support threads without libpthread.
7199 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7205 $as_echo_n "checking for X... " >&6; }
7208 # Check whether --with-x was given.
7209 if test "${with_x+set}" = set; then :
7213 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7214 if test "x$with_x" = xno
; then
7215 # The user explicitly disabled X.
7218 case $x_includes,$x_libraries in #(
7219 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7220 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7221 $as_echo_n "(cached) " >&6
7223 # One or both of the vars are not set, and there is no cached value.
7224 ac_x_includes
=no ac_x_libraries
=no
7225 rm -f -r conftest.dir
7226 if mkdir conftest.dir
; then
7228 cat >Imakefile
<<'_ACEOF'
7230 @echo incroot='${INCROOT}'
7232 @echo usrlibdir='${USRLIBDIR}'
7234 @echo libdir='${LIBDIR}'
7236 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7237 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7238 for ac_var
in incroot usrlibdir libdir
; do
7239 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7241 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7242 for ac_extension
in a so sl dylib la dll
; do
7243 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7244 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7245 ac_im_usrlibdir
=$ac_im_libdir; break
7248 # Screen out bogus values from the imake configuration. They are
7249 # bogus both because they are the default anyway, and because
7250 # using them would break gcc on systems where it needs fixed includes.
7251 case $ac_im_incroot in
7252 /usr
/include
) ac_x_includes
= ;;
7253 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7255 case $ac_im_usrlibdir in
7256 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7257 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7261 rm -f -r conftest.dir
7264 # Standard set of common directories for X headers.
7265 # Check X11 before X11Rn because it is often a symlink to the current release.
7279 /usr/local/X11/include
7280 /usr/local/X11R7/include
7281 /usr/local/X11R6/include
7282 /usr/local/X11R5/include
7283 /usr/local/X11R4/include
7285 /usr/local/include/X11
7286 /usr/local/include/X11R7
7287 /usr/local/include/X11R6
7288 /usr/local/include/X11R5
7289 /usr/local/include/X11R4
7293 /usr/XFree86/include/X11
7297 /usr/unsupported/include
7299 /usr/local/x11r5/include
7300 /usr/lpp/Xamples/include
7302 /usr/openwin/include
7303 /usr/openwin/share/include'
7305 if test "$ac_x_includes" = no
; then
7306 # Guess where to find include files, by looking for Xlib.h.
7307 # First, try using that file with no special directory specified.
7308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7309 /* end confdefs.h. */
7310 #include <X11/Xlib.h>
7312 if ac_fn_c_try_cpp
"$LINENO"; then :
7313 # We can compile using X headers with no special include directory.
7316 for ac_dir
in $ac_x_header_dirs; do
7317 if test -r "$ac_dir/X11/Xlib.h"; then
7318 ac_x_includes
=$ac_dir
7323 rm -f conftest.err conftest.i conftest.
$ac_ext
7324 fi # $ac_x_includes = no
7326 if test "$ac_x_libraries" = no
; then
7327 # Check for the libraries.
7328 # See if we find them without any special options.
7329 # Don't add to $LIBS permanently.
7332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7333 /* end confdefs.h. */
7334 #include <X11/Xlib.h>
7343 if ac_fn_c_try_link
"$LINENO"; then :
7345 # We can link X programs with no special library path.
7349 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7351 # Don't even attempt the hair of trying to link an X program!
7352 for ac_extension
in a so sl dylib la dll
; do
7353 if test -r "$ac_dir/libX11.$ac_extension"; then
7354 ac_x_libraries
=$ac_dir
7360 rm -f core conftest.err conftest.
$ac_objext \
7361 conftest
$ac_exeext conftest.
$ac_ext
7362 fi # $ac_x_libraries = no
7364 case $ac_x_includes,$ac_x_libraries in #(
7366 # Didn't find X, or a directory has "'" in its name.
7367 ac_cv_have_x
="have_x=no";; #(
7369 # Record where we found X for the cache.
7370 ac_cv_have_x
="have_x=yes\
7371 ac_x_includes='$ac_x_includes'\
7372 ac_x_libraries='$ac_x_libraries'"
7378 eval "$ac_cv_have_x"
7381 if test "$have_x" != yes; then
7382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7383 $as_echo "$have_x" >&6; }
7386 # If each of the values was on the command line, it overrides each guess.
7387 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7388 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7389 # Update the cache value to reflect the command line values.
7390 ac_cv_have_x
="have_x=yes\
7391 ac_x_includes='$x_includes'\
7392 ac_x_libraries='$x_libraries'"
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7394 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7397 if test "$no_x" = yes; then
7398 # Not all programs may use this symbol, but it does not hurt to define it.
7400 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7402 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7404 if test -n "$x_includes"; then
7405 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7408 # It would also be nice to do this for all -L options, not just this one.
7409 if test -n "$x_libraries"; then
7410 X_LIBS
="$X_LIBS -L$x_libraries"
7411 # For Solaris; some versions of Sun CC require a space after -R and
7412 # others require no space. Words are not sufficient . . . .
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7414 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7415 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7416 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7417 ac_c_werror_flag
=yes
7418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7419 /* end confdefs.h. */
7429 if ac_fn_c_try_link
"$LINENO"; then :
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7431 $as_echo "no" >&6; }
7432 X_LIBS
="$X_LIBS -R$x_libraries"
7434 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7436 /* end confdefs.h. */
7446 if ac_fn_c_try_link
"$LINENO"; then :
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7448 $as_echo "yes" >&6; }
7449 X_LIBS
="$X_LIBS -R $x_libraries"
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7452 $as_echo "neither works" >&6; }
7454 rm -f core conftest.err conftest.
$ac_objext \
7455 conftest
$ac_exeext conftest.
$ac_ext
7457 rm -f core conftest.err conftest.
$ac_objext \
7458 conftest
$ac_exeext conftest.
$ac_ext
7459 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7463 # Check for system-dependent libraries X programs must link with.
7464 # Do this before checking for the system-independent R6 libraries
7465 # (-lICE), since we may need -lsocket or whatever for X linking.
7467 if test "$ISC" = yes; then
7468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7470 # Martyn Johnson says this is needed for Ultrix, if the X
7471 # libraries were built with DECnet support. And Karl Berry says
7472 # the Alpha needs dnet_stub (dnet does not exist).
7473 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7475 /* end confdefs.h. */
7477 /* Override any GCC internal prototype to avoid an error.
7478 Use char because int might match the return type of a GCC
7479 builtin and then its argument prototype would still apply. */
7483 char XOpenDisplay ();
7487 return XOpenDisplay ();
7492 if ac_fn_c_try_link
"$LINENO"; then :
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7496 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7497 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7498 $as_echo_n "(cached) " >&6
7500 ac_check_lib_save_LIBS
=$LIBS
7502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7503 /* end confdefs.h. */
7505 /* Override any GCC internal prototype to avoid an error.
7506 Use char because int might match the return type of a GCC
7507 builtin and then its argument prototype would still apply. */
7515 return dnet_ntoa ();
7520 if ac_fn_c_try_link
"$LINENO"; then :
7521 ac_cv_lib_dnet_dnet_ntoa
=yes
7523 ac_cv_lib_dnet_dnet_ntoa
=no
7525 rm -f core conftest.err conftest.
$ac_objext \
7526 conftest
$ac_exeext conftest.
$ac_ext
7527 LIBS
=$ac_check_lib_save_LIBS
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7530 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7531 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7532 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7535 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7537 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7538 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7539 $as_echo_n "(cached) " >&6
7541 ac_check_lib_save_LIBS
=$LIBS
7542 LIBS
="-ldnet_stub $LIBS"
7543 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7544 /* end confdefs.h. */
7546 /* Override any GCC internal prototype to avoid an error.
7547 Use char because int might match the return type of a GCC
7548 builtin and then its argument prototype would still apply. */
7556 return dnet_ntoa ();
7561 if ac_fn_c_try_link
"$LINENO"; then :
7562 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7564 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7566 rm -f core conftest.err conftest.
$ac_objext \
7567 conftest
$ac_exeext conftest.
$ac_ext
7568 LIBS
=$ac_check_lib_save_LIBS
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7571 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7572 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7573 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7578 rm -f core conftest.err conftest.
$ac_objext \
7579 conftest
$ac_exeext conftest.
$ac_ext
7580 LIBS
="$ac_xsave_LIBS"
7582 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7583 # to get the SysV transport functions.
7584 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7586 # The nsl library prevents programs from opening the X display
7587 # on Irix 5.2, according to T.E. Dickey.
7588 # The functions gethostbyname, getservbyname, and inet_addr are
7589 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7590 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7591 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7595 if test $ac_cv_func_gethostbyname = no
; then
7596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7597 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7598 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7599 $as_echo_n "(cached) " >&6
7601 ac_check_lib_save_LIBS
=$LIBS
7603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7604 /* end confdefs.h. */
7606 /* Override any GCC internal prototype to avoid an error.
7607 Use char because int might match the return type of a GCC
7608 builtin and then its argument prototype would still apply. */
7612 char gethostbyname ();
7616 return gethostbyname ();
7621 if ac_fn_c_try_link
"$LINENO"; then :
7622 ac_cv_lib_nsl_gethostbyname
=yes
7624 ac_cv_lib_nsl_gethostbyname
=no
7626 rm -f core conftest.err conftest.
$ac_objext \
7627 conftest
$ac_exeext conftest.
$ac_ext
7628 LIBS
=$ac_check_lib_save_LIBS
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7631 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7632 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7633 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7636 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7638 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7639 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7640 $as_echo_n "(cached) " >&6
7642 ac_check_lib_save_LIBS
=$LIBS
7644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h. */
7647 /* Override any GCC internal prototype to avoid an error.
7648 Use char because int might match the return type of a GCC
7649 builtin and then its argument prototype would still apply. */
7653 char gethostbyname ();
7657 return gethostbyname ();
7662 if ac_fn_c_try_link
"$LINENO"; then :
7663 ac_cv_lib_bsd_gethostbyname
=yes
7665 ac_cv_lib_bsd_gethostbyname
=no
7667 rm -f core conftest.err conftest.
$ac_objext \
7668 conftest
$ac_exeext conftest.
$ac_ext
7669 LIBS
=$ac_check_lib_save_LIBS
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7672 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7673 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7674 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7680 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7681 # socket/setsockopt and other routines are undefined under SCO ODT
7682 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7683 # on later versions), says Simon Leinen: it contains gethostby*
7684 # variants that don't use the name server (or something). -lsocket
7685 # must be given before -lnsl if both are needed. We assume that
7686 # if connect needs -lnsl, so does gethostbyname.
7687 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7688 if test "x$ac_cv_func_connect" = xyes
; then :
7692 if test $ac_cv_func_connect = no
; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7694 $as_echo_n "checking for connect in -lsocket... " >&6; }
7695 if ${ac_cv_lib_socket_connect+:} false
; then :
7696 $as_echo_n "(cached) " >&6
7698 ac_check_lib_save_LIBS
=$LIBS
7699 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7701 /* end confdefs.h. */
7703 /* Override any GCC internal prototype to avoid an error.
7704 Use char because int might match the return type of a GCC
7705 builtin and then its argument prototype would still apply. */
7718 if ac_fn_c_try_link
"$LINENO"; then :
7719 ac_cv_lib_socket_connect
=yes
7721 ac_cv_lib_socket_connect
=no
7723 rm -f core conftest.err conftest.
$ac_objext \
7724 conftest
$ac_exeext conftest.
$ac_ext
7725 LIBS
=$ac_check_lib_save_LIBS
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7728 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7729 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7730 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7735 # Guillermo Gomez says -lposix is necessary on A/UX.
7736 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7737 if test "x$ac_cv_func_remove" = xyes
; then :
7741 if test $ac_cv_func_remove = no
; then
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7743 $as_echo_n "checking for remove in -lposix... " >&6; }
7744 if ${ac_cv_lib_posix_remove+:} false
; then :
7745 $as_echo_n "(cached) " >&6
7747 ac_check_lib_save_LIBS
=$LIBS
7748 LIBS
="-lposix $LIBS"
7749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7750 /* end confdefs.h. */
7752 /* Override any GCC internal prototype to avoid an error.
7753 Use char because int might match the return type of a GCC
7754 builtin and then its argument prototype would still apply. */
7767 if ac_fn_c_try_link
"$LINENO"; then :
7768 ac_cv_lib_posix_remove
=yes
7770 ac_cv_lib_posix_remove
=no
7772 rm -f core conftest.err conftest.
$ac_objext \
7773 conftest
$ac_exeext conftest.
$ac_ext
7774 LIBS
=$ac_check_lib_save_LIBS
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7777 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7778 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7784 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7785 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7786 if test "x$ac_cv_func_shmat" = xyes
; then :
7790 if test $ac_cv_func_shmat = no
; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7792 $as_echo_n "checking for shmat in -lipc... " >&6; }
7793 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7794 $as_echo_n "(cached) " >&6
7796 ac_check_lib_save_LIBS
=$LIBS
7798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7799 /* end confdefs.h. */
7801 /* Override any GCC internal prototype to avoid an error.
7802 Use char because int might match the return type of a GCC
7803 builtin and then its argument prototype would still apply. */
7816 if ac_fn_c_try_link
"$LINENO"; then :
7817 ac_cv_lib_ipc_shmat
=yes
7819 ac_cv_lib_ipc_shmat
=no
7821 rm -f core conftest.err conftest.
$ac_objext \
7822 conftest
$ac_exeext conftest.
$ac_ext
7823 LIBS
=$ac_check_lib_save_LIBS
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7826 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7827 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7828 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7834 # Check for libraries that X11R6 Xt/Xaw programs need.
7835 ac_save_LDFLAGS
=$LDFLAGS
7836 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7837 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7838 # check for ICE first), but we must link in the order -lSM -lICE or
7839 # we get undefined symbols. So assume we have SM if we have ICE.
7840 # These have to be linked with before -lX11, unlike the other
7841 # libraries we check for below, so use a different variable.
7842 # John Interrante, Karl Berry
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7844 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7845 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7846 $as_echo_n "(cached) " >&6
7848 ac_check_lib_save_LIBS
=$LIBS
7849 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7853 /* Override any GCC internal prototype to avoid an error.
7854 Use char because int might match the return type of a GCC
7855 builtin and then its argument prototype would still apply. */
7859 char IceConnectionNumber ();
7863 return IceConnectionNumber ();
7868 if ac_fn_c_try_link
"$LINENO"; then :
7869 ac_cv_lib_ICE_IceConnectionNumber
=yes
7871 ac_cv_lib_ICE_IceConnectionNumber
=no
7873 rm -f core conftest.err conftest.
$ac_objext \
7874 conftest
$ac_exeext conftest.
$ac_ext
7875 LIBS
=$ac_check_lib_save_LIBS
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7878 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7879 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7880 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7883 LDFLAGS
=$ac_save_LDFLAGS
7888 if test "$have_x" = "yes"
7891 ac_save_CPPFLAGS
="$CPPFLAGS"
7892 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7895 $as_echo_n "checking for -lX11... " >&6; }
7896 if ${ac_cv_lib_soname_X11+:} false
; then :
7897 $as_echo_n "(cached) " >&6
7899 ac_check_soname_save_LIBS
=$LIBS
7900 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7902 /* end confdefs.h. */
7904 /* Override any GCC internal prototype to avoid an error.
7905 Use char because int might match the return type of a GCC
7906 builtin and then its argument prototype would still apply. */
7910 char XCreateWindow ();
7914 return XCreateWindow ();
7919 if ac_fn_c_try_link
"$LINENO"; then :
7921 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7922 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'` ;;
7923 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7926 rm -f core conftest.err conftest.
$ac_objext \
7927 conftest
$ac_exeext conftest.
$ac_ext
7928 LIBS
=$ac_check_soname_save_LIBS
7930 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7932 $as_echo "not found" >&6; }
7935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7936 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7938 cat >>confdefs.h
<<_ACEOF
7939 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7945 $as_echo_n "checking for -lXext... " >&6; }
7946 if ${ac_cv_lib_soname_Xext+:} false
; then :
7947 $as_echo_n "(cached) " >&6
7949 ac_check_soname_save_LIBS
=$LIBS
7950 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7952 /* end confdefs.h. */
7954 /* Override any GCC internal prototype to avoid an error.
7955 Use char because int might match the return type of a GCC
7956 builtin and then its argument prototype would still apply. */
7960 char XextCreateExtension ();
7964 return XextCreateExtension ();
7969 if ac_fn_c_try_link
"$LINENO"; then :
7971 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7972 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'` ;;
7973 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7976 rm -f core conftest.err conftest.
$ac_objext \
7977 conftest
$ac_exeext conftest.
$ac_ext
7978 LIBS
=$ac_check_soname_save_LIBS
7980 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7982 $as_echo "not found" >&6; }
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7986 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7988 cat >>confdefs.h
<<_ACEOF
7989 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7995 for ac_header
in X11
/Xlib.h \
7998 X11
/Xcursor
/Xcursor.h \
7999 X11
/extensions
/shape.h \
8000 X11
/extensions
/XInput.h \
8001 X11
/extensions
/XInput2.h \
8002 X11
/extensions
/XShm.h \
8003 X11
/extensions
/Xcomposite.h \
8004 X11
/extensions
/Xinerama.h \
8005 X11
/extensions
/Xrandr.h \
8006 X11
/extensions
/Xrender.h \
8007 X11
/extensions
/xf86vmode.h \
8008 X11
/extensions
/xf86vmproto.h
8010 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8011 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8012 # include <X11/Xlib.h>
8014 #ifdef HAVE_X11_XUTIL_H
8015 # include <X11/Xutil.h>
8018 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8019 cat >>confdefs.h
<<_ACEOF
8020 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8028 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8031 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8032 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8033 $as_echo_n "(cached) " >&6
8035 ac_check_lib_save_LIBS
=$LIBS
8036 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8038 /* end confdefs.h. */
8040 /* Override any GCC internal prototype to avoid an error.
8041 Use char because int might match the return type of a GCC
8042 builtin and then its argument prototype would still apply. */
8046 char XkbQueryExtension ();
8050 return XkbQueryExtension ();
8055 if ac_fn_c_try_link
"$LINENO"; then :
8056 ac_cv_lib_X11_XkbQueryExtension
=yes
8058 ac_cv_lib_X11_XkbQueryExtension
=no
8060 rm -f core conftest.err conftest.
$ac_objext \
8061 conftest
$ac_exeext conftest.
$ac_ext
8062 LIBS
=$ac_check_lib_save_LIBS
8064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8065 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8066 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8068 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8074 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8077 $as_echo_n "checking for -lXcursor... " >&6; }
8078 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8079 $as_echo_n "(cached) " >&6
8081 ac_check_soname_save_LIBS
=$LIBS
8082 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8084 /* end confdefs.h. */
8086 /* Override any GCC internal prototype to avoid an error.
8087 Use char because int might match the return type of a GCC
8088 builtin and then its argument prototype would still apply. */
8092 char XcursorImageLoadCursor ();
8096 return XcursorImageLoadCursor ();
8101 if ac_fn_c_try_link
"$LINENO"; then :
8103 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8104 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'` ;;
8105 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8108 rm -f core conftest.err conftest.
$ac_objext \
8109 conftest
$ac_exeext conftest.
$ac_ext
8110 LIBS
=$ac_check_soname_save_LIBS
8112 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8114 $as_echo "not found" >&6; }
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8118 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8120 cat >>confdefs.h
<<_ACEOF
8121 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8127 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8128 case "x$with_xcursor" in
8129 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8131 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8132 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8136 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8139 $as_echo_n "checking for -lXi... " >&6; }
8140 if ${ac_cv_lib_soname_Xi+:} false
; then :
8141 $as_echo_n "(cached) " >&6
8143 ac_check_soname_save_LIBS
=$LIBS
8144 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8146 /* end confdefs.h. */
8148 /* Override any GCC internal prototype to avoid an error.
8149 Use char because int might match the return type of a GCC
8150 builtin and then its argument prototype would still apply. */
8154 char XOpenDevice ();
8158 return XOpenDevice ();
8163 if ac_fn_c_try_link
"$LINENO"; then :
8165 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8166 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'` ;;
8167 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8170 rm -f core conftest.err conftest.
$ac_objext \
8171 conftest
$ac_exeext conftest.
$ac_ext
8172 LIBS
=$ac_check_soname_save_LIBS
8174 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8176 $as_echo "not found" >&6; }
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8180 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8182 cat >>confdefs.h
<<_ACEOF
8183 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8189 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8190 case "x$with_xinput" in
8191 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8193 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8194 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8198 if test "x$ac_cv_lib_soname_Xi" != x
8200 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8201 case "x$with_xinput2" in
8202 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8204 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8205 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8210 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8213 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8214 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8215 $as_echo_n "(cached) " >&6
8217 ac_check_lib_save_LIBS
=$LIBS
8218 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8220 /* end confdefs.h. */
8222 /* Override any GCC internal prototype to avoid an error.
8223 Use char because int might match the return type of a GCC
8224 builtin and then its argument prototype would still apply. */
8228 char XShmQueryExtension ();
8232 return XShmQueryExtension ();
8237 if ac_fn_c_try_link
"$LINENO"; then :
8238 ac_cv_lib_Xext_XShmQueryExtension
=yes
8240 ac_cv_lib_Xext_XShmQueryExtension
=no
8242 rm -f core conftest.err conftest.
$ac_objext \
8243 conftest
$ac_exeext conftest.
$ac_ext
8244 LIBS
=$ac_check_lib_save_LIBS
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8247 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8248 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8250 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8255 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8256 case "x$with_xshm" in
8257 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8259 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8260 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8264 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8267 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8268 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8269 $as_echo_n "(cached) " >&6
8271 ac_check_lib_save_LIBS
=$LIBS
8272 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8274 /* end confdefs.h. */
8276 /* Override any GCC internal prototype to avoid an error.
8277 Use char because int might match the return type of a GCC
8278 builtin and then its argument prototype would still apply. */
8282 char XShapeQueryExtension ();
8286 return XShapeQueryExtension ();
8291 if ac_fn_c_try_link
"$LINENO"; then :
8292 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8294 ac_cv_lib_Xext_XShapeQueryExtension
=no
8296 rm -f core conftest.err conftest.
$ac_objext \
8297 conftest
$ac_exeext conftest.
$ac_ext
8298 LIBS
=$ac_check_lib_save_LIBS
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8301 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8302 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8304 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8309 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8310 case "x$with_xshape" in
8311 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8313 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8314 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8318 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8321 $as_echo_n "checking for -lXxf86vm... " >&6; }
8322 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8323 $as_echo_n "(cached) " >&6
8325 ac_check_soname_save_LIBS
=$LIBS
8326 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8328 /* end confdefs.h. */
8330 /* Override any GCC internal prototype to avoid an error.
8331 Use char because int might match the return type of a GCC
8332 builtin and then its argument prototype would still apply. */
8336 char XF86VidModeQueryExtension ();
8340 return XF86VidModeQueryExtension ();
8345 if ac_fn_c_try_link
"$LINENO"; then :
8347 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8348 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'` ;;
8349 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8352 rm -f core conftest.err conftest.
$ac_objext \
8353 conftest
$ac_exeext conftest.
$ac_ext
8354 LIBS
=$ac_check_soname_save_LIBS
8356 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8358 $as_echo "not found" >&6; }
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8362 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8364 cat >>confdefs.h
<<_ACEOF
8365 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8371 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8372 case "x$with_xxf86vm" in
8373 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8375 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8376 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8380 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"
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8383 $as_echo_n "checking for -lXrender... " >&6; }
8384 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8385 $as_echo_n "(cached) " >&6
8387 ac_check_soname_save_LIBS
=$LIBS
8388 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8392 /* Override any GCC internal prototype to avoid an error.
8393 Use char because int might match the return type of a GCC
8394 builtin and then its argument prototype would still apply. */
8398 char XRenderQueryExtension ();
8402 return XRenderQueryExtension ();
8407 if ac_fn_c_try_link
"$LINENO"; then :
8409 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8410 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'` ;;
8411 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8414 rm -f core conftest.err conftest.
$ac_objext \
8415 conftest
$ac_exeext conftest.
$ac_ext
8416 LIBS
=$ac_check_soname_save_LIBS
8418 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8420 $as_echo "not found" >&6; }
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8424 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8426 cat >>confdefs.h
<<_ACEOF
8427 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8431 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8432 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8433 $as_echo_n "(cached) " >&6
8435 ac_check_lib_save_LIBS
=$LIBS
8436 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8438 /* end confdefs.h. */
8440 /* Override any GCC internal prototype to avoid an error.
8441 Use char because int might match the return type of a GCC
8442 builtin and then its argument prototype would still apply. */
8446 char XRenderSetPictureTransform ();
8450 return XRenderSetPictureTransform ();
8455 if ac_fn_c_try_link
"$LINENO"; then :
8456 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8458 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8460 rm -f core conftest.err conftest.
$ac_objext \
8461 conftest
$ac_exeext conftest.
$ac_ext
8462 LIBS
=$ac_check_lib_save_LIBS
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8465 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8466 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8468 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8475 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8476 case "x$with_xrender" in
8477 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8479 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8480 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8484 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8487 /* end confdefs.h. */
8488 #include <X11/Xlib.h>
8489 #include <X11/extensions/Xrandr.h>
8493 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8498 if ac_fn_c_try_compile
"$LINENO"; then :
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8500 $as_echo_n "checking for -lXrandr... " >&6; }
8501 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8502 $as_echo_n "(cached) " >&6
8504 ac_check_soname_save_LIBS
=$LIBS
8505 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8509 /* Override any GCC internal prototype to avoid an error.
8510 Use char because int might match the return type of a GCC
8511 builtin and then its argument prototype would still apply. */
8515 char XRRQueryExtension ();
8519 return XRRQueryExtension ();
8524 if ac_fn_c_try_link
"$LINENO"; then :
8526 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8527 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'` ;;
8528 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8531 rm -f core conftest.err conftest.
$ac_objext \
8532 conftest
$ac_exeext conftest.
$ac_ext
8533 LIBS
=$ac_check_soname_save_LIBS
8535 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8537 $as_echo "not found" >&6; }
8540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8541 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8543 cat >>confdefs.h
<<_ACEOF
8544 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8550 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8552 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8553 case "x$with_xrandr" in
8554 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8556 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8557 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8561 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8564 /* end confdefs.h. */
8565 #include <X11/Xlib.h>
8566 #include <X11/extensions/Xinerama.h>
8570 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8575 if ac_fn_c_try_compile
"$LINENO"; then :
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8577 $as_echo_n "checking for -lXinerama... " >&6; }
8578 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8579 $as_echo_n "(cached) " >&6
8581 ac_check_soname_save_LIBS
=$LIBS
8582 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8586 /* Override any GCC internal prototype to avoid an error.
8587 Use char because int might match the return type of a GCC
8588 builtin and then its argument prototype would still apply. */
8592 char XineramaQueryScreens ();
8596 return XineramaQueryScreens ();
8601 if ac_fn_c_try_link
"$LINENO"; then :
8603 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8604 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'` ;;
8605 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8608 rm -f core conftest.err conftest.
$ac_objext \
8609 conftest
$ac_exeext conftest.
$ac_ext
8610 LIBS
=$ac_check_soname_save_LIBS
8612 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8614 $as_echo "not found" >&6; }
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8618 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8620 cat >>confdefs.h
<<_ACEOF
8621 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8627 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8629 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8630 case "x$with_xinerama" in
8631 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8633 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8634 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8638 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8641 $as_echo_n "checking for -lXcomposite... " >&6; }
8642 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8643 $as_echo_n "(cached) " >&6
8645 ac_check_soname_save_LIBS
=$LIBS
8646 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8648 /* end confdefs.h. */
8650 /* Override any GCC internal prototype to avoid an error.
8651 Use char because int might match the return type of a GCC
8652 builtin and then its argument prototype would still apply. */
8656 char XCompositeRedirectWindow ();
8660 return XCompositeRedirectWindow ();
8665 if ac_fn_c_try_link
"$LINENO"; then :
8667 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8668 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'` ;;
8669 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8672 rm -f core conftest.err conftest.
$ac_objext \
8673 conftest
$ac_exeext conftest.
$ac_ext
8674 LIBS
=$ac_check_soname_save_LIBS
8676 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8678 $as_echo "not found" >&6; }
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8682 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8684 cat >>confdefs.h
<<_ACEOF
8685 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8691 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8692 case "x$with_xcomposite" in
8693 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8695 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8696 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8700 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8701 #include <X11/Xlib.h>
8704 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8706 cat >>confdefs.h
<<_ACEOF
8707 #define HAVE_XICCALLBACK_CALLBACK 1
8712 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8713 #include <X11/Xlib.h>
8716 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8718 cat >>confdefs.h
<<_ACEOF
8719 #define HAVE_XEVENT_XCOOKIE 1
8728 if test "x$with_opengl" != "xno"
8730 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8732 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8733 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8734 # include <GL/glx.h>
8737 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8738 cat >>confdefs.h
<<_ACEOF
8739 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8746 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8749 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8750 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8751 $as_echo_n "(cached) " >&6
8753 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8759 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8764 if ac_fn_c_try_compile
"$LINENO"; then :
8765 wine_cv_opengl_header_version_OK
="yes"
8767 wine_cv_opengl_header_version_OK
="no"
8769 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8772 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8774 if test "$wine_cv_opengl_header_version_OK" = "yes"
8776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8777 $as_echo_n "checking for -lGL... " >&6; }
8778 if ${ac_cv_lib_soname_GL+:} false
; then :
8779 $as_echo_n "(cached) " >&6
8781 ac_check_soname_save_LIBS
=$LIBS
8782 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8784 /* end confdefs.h. */
8786 /* Override any GCC internal prototype to avoid an error.
8787 Use char because int might match the return type of a GCC
8788 builtin and then its argument prototype would still apply. */
8792 char glXCreateContext ();
8796 return glXCreateContext ();
8801 if ac_fn_c_try_link
"$LINENO"; then :
8803 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8804 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'` ;;
8805 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8808 rm -f core conftest.err conftest.
$ac_objext \
8809 conftest
$ac_exeext conftest.
$ac_ext
8810 LIBS
=$ac_check_soname_save_LIBS
8812 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8814 $as_echo "not found" >&6; }
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8816 $as_echo_n "checking for -lGL... " >&6; }
8817 if ${ac_cv_lib_soname_GL+:} false
; then :
8818 $as_echo_n "(cached) " >&6
8820 ac_check_soname_save_LIBS
=$LIBS
8821 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"
8822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8823 /* end confdefs.h. */
8825 /* Override any GCC internal prototype to avoid an error.
8826 Use char because int might match the return type of a GCC
8827 builtin and then its argument prototype would still apply. */
8831 char glXCreateContext ();
8835 return glXCreateContext ();
8840 if ac_fn_c_try_link
"$LINENO"; then :
8842 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8843 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'` ;;
8844 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8847 rm -f core conftest.err conftest.
$ac_objext \
8848 conftest
$ac_exeext conftest.
$ac_ext
8849 LIBS
=$ac_check_soname_save_LIBS
8851 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8853 $as_echo "not found" >&6; }
8854 if test -f /usr
/X11R
6/lib
/libGL.a
8856 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8857 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8859 opengl_msg
="No OpenGL library found on this system."
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8863 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8865 cat >>confdefs.h
<<_ACEOF
8866 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8869 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"
8871 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8876 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8878 cat >>confdefs.h
<<_ACEOF
8879 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8884 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8887 if test "$ac_cv_header_GL_glu_h" = "yes"
8889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8890 $as_echo_n "checking for -lGLU... " >&6; }
8891 if ${ac_cv_lib_soname_GLU+:} false
; then :
8892 $as_echo_n "(cached) " >&6
8894 ac_check_soname_save_LIBS
=$LIBS
8895 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8897 /* end confdefs.h. */
8899 /* Override any GCC internal prototype to avoid an error.
8900 Use char because int might match the return type of a GCC
8901 builtin and then its argument prototype would still apply. */
8909 return gluLookAt ();
8914 if ac_fn_c_try_link
"$LINENO"; then :
8916 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8917 dylib
) ac_cv_lib_soname_GLU
=`otool -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8918 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8921 rm -f core conftest.err conftest.
$ac_objext \
8922 conftest
$ac_exeext conftest.
$ac_ext
8923 LIBS
=$ac_check_soname_save_LIBS
8925 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8927 $as_echo "not found" >&6; }
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8931 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8933 cat >>confdefs.h
<<_ACEOF
8934 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8940 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8941 case "x$with_glu" in
8942 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8944 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8945 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8949 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8952 opengl_msg
="OpenGL development headers not found."
8954 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8955 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8957 enable_opengl32
=${enable_opengl32:-no}
8958 enable_glu32
=${enable_glu32:-no}
8960 if test -n "$opengl_msg"; then :
8961 case "x$with_opengl" in
8962 x
) as_fn_append wine_warnings
"|$opengl_msg
8963 OpenGL and Direct3D won't be supported." ;;
8965 *) as_fn_error $?
"$opengl_msg
8966 OpenGL and Direct3D won't be supported.
8967 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8971 CPPFLAGS
="$ac_save_CPPFLAGS"
8976 enable_winex11_drv
=${enable_winex11_drv:-no}
8977 enable_opengl32
=${enable_opengl32:-no}
8978 enable_glu32
=${enable_glu32:-no}
8980 if test "x$XLIB" = "x"; then :
8983 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
8984 without X support, which probably isn't what you want. You will need
8985 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8986 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8990 if test "$ac_cv_header_CL_cl_h" = "yes"
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
8993 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
8994 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
8995 $as_echo_n "(cached) " >&6
8997 ac_check_lib_save_LIBS
=$LIBS
8998 LIBS
="-lOpenCL $LIBS"
8999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9000 /* end confdefs.h. */
9002 /* Override any GCC internal prototype to avoid an error.
9003 Use char because int might match the return type of a GCC
9004 builtin and then its argument prototype would still apply. */
9008 char clGetPlatformInfo ();
9012 return clGetPlatformInfo ();
9017 if ac_fn_c_try_link
"$LINENO"; then :
9018 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9020 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9022 rm -f core conftest.err conftest.
$ac_objext \
9023 conftest
$ac_exeext conftest.
$ac_ext
9024 LIBS
=$ac_check_lib_save_LIBS
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9027 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9028 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9029 LIBOPENCL
="-lOpenCL"
9034 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9035 case "x$with_opencl" in
9036 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9038 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9039 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9042 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9051 if test "x$with_xml" != "xno"
9053 ac_save_CPPFLAGS
="$CPPFLAGS"
9054 if test "$PKG_CONFIG" != "false"
9056 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9057 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9059 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9060 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9062 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9063 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9065 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9066 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9067 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9068 cat >>confdefs.h
<<_ACEOF
9069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9076 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"
9078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9079 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9080 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9081 $as_echo_n "(cached) " >&6
9083 ac_check_lib_save_LIBS
=$LIBS
9084 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9086 /* end confdefs.h. */
9088 /* Override any GCC internal prototype to avoid an error.
9089 Use char because int might match the return type of a GCC
9090 builtin and then its argument prototype would still apply. */
9094 char xmlParseMemory ();
9098 return xmlParseMemory ();
9103 if ac_fn_c_try_link
"$LINENO"; then :
9104 ac_cv_lib_xml2_xmlParseMemory
=yes
9106 ac_cv_lib_xml2_xmlParseMemory
=no
9108 rm -f core conftest.err conftest.
$ac_objext \
9109 conftest
$ac_exeext conftest.
$ac_ext
9110 LIBS
=$ac_check_lib_save_LIBS
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9113 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9114 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9116 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9118 XML2LIBS
="$ac_xml_libs"
9119 XML2INCL
="$ac_xml_cflags"
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9123 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9124 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9125 $as_echo_n "(cached) " >&6
9127 ac_check_lib_save_LIBS
=$LIBS
9128 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9130 /* end confdefs.h. */
9132 /* Override any GCC internal prototype to avoid an error.
9133 Use char because int might match the return type of a GCC
9134 builtin and then its argument prototype would still apply. */
9138 char xmlReadMemory ();
9142 return xmlReadMemory ();
9147 if ac_fn_c_try_link
"$LINENO"; then :
9148 ac_cv_lib_xml2_xmlReadMemory
=yes
9150 ac_cv_lib_xml2_xmlReadMemory
=no
9152 rm -f core conftest.err conftest.
$ac_objext \
9153 conftest
$ac_exeext conftest.
$ac_ext
9154 LIBS
=$ac_check_lib_save_LIBS
9156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9157 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9158 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9160 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9165 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9166 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9167 $as_echo_n "(cached) " >&6
9169 ac_check_lib_save_LIBS
=$LIBS
9170 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9172 /* end confdefs.h. */
9174 /* Override any GCC internal prototype to avoid an error.
9175 Use char because int might match the return type of a GCC
9176 builtin and then its argument prototype would still apply. */
9180 char xmlNewDocPI ();
9184 return xmlNewDocPI ();
9189 if ac_fn_c_try_link
"$LINENO"; then :
9190 ac_cv_lib_xml2_xmlNewDocPI
=yes
9192 ac_cv_lib_xml2_xmlNewDocPI
=no
9194 rm -f core conftest.err conftest.
$ac_objext \
9195 conftest
$ac_exeext conftest.
$ac_ext
9196 LIBS
=$ac_check_lib_save_LIBS
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9199 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9200 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9202 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9207 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9208 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9209 $as_echo_n "(cached) " >&6
9211 ac_check_lib_save_LIBS
=$LIBS
9212 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9214 /* end confdefs.h. */
9216 /* Override any GCC internal prototype to avoid an error.
9217 Use char because int might match the return type of a GCC
9218 builtin and then its argument prototype would still apply. */
9222 char xmlSchemaSetParserStructuredErrors ();
9226 return xmlSchemaSetParserStructuredErrors ();
9231 if ac_fn_c_try_link
"$LINENO"; then :
9232 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9234 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9236 rm -f core conftest.err conftest.
$ac_objext \
9237 conftest
$ac_exeext conftest.
$ac_ext
9238 LIBS
=$ac_check_lib_save_LIBS
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9241 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9242 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9244 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9249 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9250 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9251 $as_echo_n "(cached) " >&6
9253 ac_check_lib_save_LIBS
=$LIBS
9254 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9256 /* end confdefs.h. */
9258 /* Override any GCC internal prototype to avoid an error.
9259 Use char because int might match the return type of a GCC
9260 builtin and then its argument prototype would still apply. */
9264 char xmlSchemaSetValidStructuredErrors ();
9268 return xmlSchemaSetValidStructuredErrors ();
9273 if ac_fn_c_try_link
"$LINENO"; then :
9274 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9276 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9278 rm -f core conftest.err conftest.
$ac_objext \
9279 conftest
$ac_exeext conftest.
$ac_ext
9280 LIBS
=$ac_check_lib_save_LIBS
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9283 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9284 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9286 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9291 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9292 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9293 $as_echo_n "(cached) " >&6
9295 ac_check_lib_save_LIBS
=$LIBS
9296 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9297 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9298 /* end confdefs.h. */
9300 /* Override any GCC internal prototype to avoid an error.
9301 Use char because int might match the return type of a GCC
9302 builtin and then its argument prototype would still apply. */
9306 char xmlFirstElementChild ();
9310 return xmlFirstElementChild ();
9315 if ac_fn_c_try_link
"$LINENO"; then :
9316 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9318 ac_cv_lib_xml2_xmlFirstElementChild
=no
9320 rm -f core conftest.err conftest.
$ac_objext \
9321 conftest
$ac_exeext conftest.
$ac_ext
9322 LIBS
=$ac_check_lib_save_LIBS
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9325 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9326 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9328 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9332 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9334 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9336 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9341 CPPFLAGS
="$ac_save_CPPFLAGS"
9343 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9344 case "x$with_xml" in
9345 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9347 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9348 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9352 if test "x$with_xslt" != "xno"
9354 if test "$PKG_CONFIG" != "false"
9356 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9357 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9359 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9360 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9362 ac_save_CPPFLAGS
="$CPPFLAGS"
9363 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9364 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9366 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9367 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9368 # include <libxslt/pattern.h>
9371 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9372 cat >>confdefs.h
<<_ACEOF
9373 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9380 CPPFLAGS
="$ac_save_CPPFLAGS"
9381 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9384 $as_echo_n "checking for -lxslt... " >&6; }
9385 if ${ac_cv_lib_soname_xslt+:} false
; then :
9386 $as_echo_n "(cached) " >&6
9388 ac_check_soname_save_LIBS
=$LIBS
9389 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9391 /* end confdefs.h. */
9393 /* Override any GCC internal prototype to avoid an error.
9394 Use char because int might match the return type of a GCC
9395 builtin and then its argument prototype would still apply. */
9399 char xsltCompilePattern ();
9403 return xsltCompilePattern ();
9408 if ac_fn_c_try_link
"$LINENO"; then :
9410 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9411 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'` ;;
9412 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9415 rm -f core conftest.err conftest.
$ac_objext \
9416 conftest
$ac_exeext conftest.
$ac_ext
9417 LIBS
=$ac_check_soname_save_LIBS
9419 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9421 $as_echo "not found" >&6; }
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9425 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9427 cat >>confdefs.h
<<_ACEOF
9428 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9431 XSLTINCL
="$ac_xslt_cflags"
9435 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9436 case "x$with_xslt" in
9437 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9439 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9440 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9446 if test "x$with_hal" != "xno"
9448 ac_save_CPPFLAGS
="$CPPFLAGS"
9449 if test "$PKG_CONFIG" != "false"
9451 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9452 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9453 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9455 for ac_header
in dbus
/dbus.h hal
/libhal.h
9457 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9458 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9459 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9460 cat >>confdefs.h
<<_ACEOF
9461 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9468 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9471 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9472 if ${ac_cv_lib_dbus_1_dbus_connection_close+:} false
; then :
9473 $as_echo_n "(cached) " >&6
9475 ac_check_lib_save_LIBS
=$LIBS
9476 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9486 char dbus_connection_close ();
9490 return dbus_connection_close ();
9495 if ac_fn_c_try_link
"$LINENO"; then :
9496 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9498 ac_cv_lib_dbus_1_dbus_connection_close
=no
9500 rm -f core conftest.err conftest.
$ac_objext \
9501 conftest
$ac_exeext conftest.
$ac_ext
9502 LIBS
=$ac_check_lib_save_LIBS
9504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9505 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9506 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = xyes
; then :
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9508 $as_echo_n "checking for -lhal... " >&6; }
9509 if ${ac_cv_lib_soname_hal+:} false
; then :
9510 $as_echo_n "(cached) " >&6
9512 ac_check_soname_save_LIBS
=$LIBS
9513 LIBS
="-lhal $ac_hal_libs $LIBS"
9514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9515 /* end confdefs.h. */
9517 /* Override any GCC internal prototype to avoid an error.
9518 Use char because int might match the return type of a GCC
9519 builtin and then its argument prototype would still apply. */
9523 char libhal_ctx_new ();
9527 return libhal_ctx_new ();
9532 if ac_fn_c_try_link
"$LINENO"; then :
9534 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9535 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'` ;;
9536 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9539 rm -f core conftest.err conftest.
$ac_objext \
9540 conftest
$ac_exeext conftest.
$ac_ext
9541 LIBS
=$ac_check_soname_save_LIBS
9543 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9545 $as_echo "not found" >&6; }
9548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9549 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9551 cat >>confdefs.h
<<_ACEOF
9552 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9555 HALINCL
="$ac_hal_cflags"
9560 CPPFLAGS
="$ac_save_CPPFLAGS"
9562 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9563 case "x$with_hal" in
9564 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9566 *) as_fn_error $?
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9567 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9571 if test "x$with_gnutls" != "xno"
9573 ac_save_CPPFLAGS
="$CPPFLAGS"
9574 if test "$PKG_CONFIG" != "false"
9576 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9577 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9578 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9580 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9581 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9583 /* end confdefs.h. */
9584 #include <gnutls/gnutls.h>
9588 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9593 if ac_fn_c_try_compile
"$LINENO"; then :
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9595 $as_echo_n "checking for -lgnutls... " >&6; }
9596 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9597 $as_echo_n "(cached) " >&6
9599 ac_check_soname_save_LIBS
=$LIBS
9600 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9602 /* end confdefs.h. */
9604 /* Override any GCC internal prototype to avoid an error.
9605 Use char because int might match the return type of a GCC
9606 builtin and then its argument prototype would still apply. */
9610 char gnutls_global_init ();
9614 return gnutls_global_init ();
9619 if ac_fn_c_try_link
"$LINENO"; then :
9621 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9622 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'` ;;
9623 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9626 rm -f core conftest.err conftest.
$ac_objext \
9627 conftest
$ac_exeext conftest.
$ac_ext
9628 LIBS
=$ac_check_soname_save_LIBS
9630 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9632 $as_echo "not found" >&6; }
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9636 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9638 cat >>confdefs.h
<<_ACEOF
9639 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9642 GNUTLSINCL
="$ac_gnutls_cflags"
9646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9650 CPPFLAGS
="$ac_save_CPPFLAGS"
9652 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9653 case "x$with_gnutls" in
9654 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9656 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9657 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9662 if test "$ac_cv_header_ncurses_h" = "yes"
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9665 $as_echo_n "checking for -lncurses... " >&6; }
9666 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9667 $as_echo_n "(cached) " >&6
9669 ac_check_soname_save_LIBS
=$LIBS
9670 LIBS
="-lncurses $LIBS"
9671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9674 /* Override any GCC internal prototype to avoid an error.
9675 Use char because int might match the return type of a GCC
9676 builtin and then its argument prototype would still apply. */
9689 if ac_fn_c_try_link
"$LINENO"; then :
9691 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9692 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'` ;;
9693 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9696 rm -f core conftest.err conftest.
$ac_objext \
9697 conftest
$ac_exeext conftest.
$ac_ext
9698 LIBS
=$ac_check_soname_save_LIBS
9700 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9702 $as_echo "not found" >&6; }
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9706 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9708 cat >>confdefs.h
<<_ACEOF
9709 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9712 CURSESLIBS
="-lncurses"
9714 elif test "$ac_cv_header_curses_h" = "yes"
9716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9717 $as_echo_n "checking for -lcurses... " >&6; }
9718 if ${ac_cv_lib_soname_curses+:} false
; then :
9719 $as_echo_n "(cached) " >&6
9721 ac_check_soname_save_LIBS
=$LIBS
9722 LIBS
="-lcurses $LIBS"
9723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9724 /* end confdefs.h. */
9726 /* Override any GCC internal prototype to avoid an error.
9727 Use char because int might match the return type of a GCC
9728 builtin and then its argument prototype would still apply. */
9741 if ac_fn_c_try_link
"$LINENO"; then :
9743 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9744 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'` ;;
9745 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9748 rm -f core conftest.err conftest.
$ac_objext \
9749 conftest
$ac_exeext conftest.
$ac_ext
9750 LIBS
=$ac_check_soname_save_LIBS
9752 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9754 $as_echo "not found" >&6; }
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9758 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9760 cat >>confdefs.h
<<_ACEOF
9761 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9764 CURSESLIBS
="-lcurses"
9767 ac_save_LIBS
="$LIBS"
9768 LIBS
="$LIBS $CURSESLIBS"
9769 for ac_func
in mousemask
9771 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9772 if test "x$ac_cv_func_mousemask" = xyes
; then :
9773 cat >>confdefs.h
<<_ACEOF
9774 #define HAVE_MOUSEMASK 1
9780 LIBS
="$ac_save_LIBS"
9781 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9782 case "x$with_curses" in
9783 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9785 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9786 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9790 if test "x$with_sane" != "xno"
9792 ac_save_CPPFLAGS
="$CPPFLAGS"
9793 # Extract the first word of "sane-config", so it can be a program name with args.
9794 set dummy sane-config
; ac_word
=$2
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9796 $as_echo_n "checking for $ac_word... " >&6; }
9797 if ${ac_cv_prog_sane_devel+:} false
; then :
9798 $as_echo_n "(cached) " >&6
9800 if test -n "$sane_devel"; then
9801 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9803 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9807 test -z "$as_dir" && as_dir
=.
9808 for ac_exec_ext
in '' $ac_executable_extensions; do
9809 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9810 ac_cv_prog_sane_devel
="sane-config"
9811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9818 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9821 sane_devel
=$ac_cv_prog_sane_devel
9822 if test -n "$sane_devel"; then
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9824 $as_echo "$sane_devel" >&6; }
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9827 $as_echo "no" >&6; }
9831 if test "$sane_devel" != "no"
9833 ac_sane_incl
="`$sane_devel --cflags`"
9834 ac_sane_libs
="`$sane_devel --ldflags`"
9835 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9837 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9838 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9840 $as_echo_n "checking for -lsane... " >&6; }
9841 if ${ac_cv_lib_soname_sane+:} false
; then :
9842 $as_echo_n "(cached) " >&6
9844 ac_check_soname_save_LIBS
=$LIBS
9845 LIBS
="-lsane $ac_sane_libs $LIBS"
9846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9859 return sane_init ();
9864 if ac_fn_c_try_link
"$LINENO"; then :
9866 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9867 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'` ;;
9868 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9871 rm -f core conftest.err conftest.
$ac_objext \
9872 conftest
$ac_exeext conftest.
$ac_ext
9873 LIBS
=$ac_check_soname_save_LIBS
9875 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9877 $as_echo "not found" >&6; }
9880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9881 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9883 cat >>confdefs.h
<<_ACEOF
9884 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9887 SANEINCL
="$ac_sane_incl"
9893 CPPFLAGS
="$ac_save_CPPFLAGS"
9895 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9896 case "x$with_sane" in
9897 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9899 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9900 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9904 if test "x$with_v4l" != "xno"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9907 $as_echo_n "checking for -lv4l1... " >&6; }
9908 if ${ac_cv_lib_soname_v4l1+:} false
; then :
9909 $as_echo_n "(cached) " >&6
9911 ac_check_soname_save_LIBS
=$LIBS
9913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9914 /* end confdefs.h. */
9916 /* Override any GCC internal prototype to avoid an error.
9917 Use char because int might match the return type of a GCC
9918 builtin and then its argument prototype would still apply. */
9926 return v4l1_open ();
9931 if ac_fn_c_try_link
"$LINENO"; then :
9933 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9934 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'` ;;
9935 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9938 rm -f core conftest.err conftest.
$ac_objext \
9939 conftest
$ac_exeext conftest.
$ac_ext
9940 LIBS
=$ac_check_soname_save_LIBS
9942 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9944 $as_echo "not found" >&6; }
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9948 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9950 cat >>confdefs.h
<<_ACEOF
9951 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9957 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9958 case "x$with_v4l" in
9959 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9961 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
9962 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9966 if test "x$with_gphoto" != "xno"
9968 ac_save_CPPFLAGS
="$CPPFLAGS"
9969 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9970 set dummy gphoto2-config
; ac_word
=$2
9971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9972 $as_echo_n "checking for $ac_word... " >&6; }
9973 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
9974 $as_echo_n "(cached) " >&6
9976 if test -n "$gphoto2_devel"; then
9977 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9979 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9983 test -z "$as_dir" && as_dir
=.
9984 for ac_exec_ext
in '' $ac_executable_extensions; do
9985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9986 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9994 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
9997 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
9998 if test -n "$gphoto2_devel"; then
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10000 $as_echo "$gphoto2_devel" >&6; }
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10003 $as_echo "no" >&6; }
10007 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10008 set dummy gphoto2-port-config
; ac_word
=$2
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10010 $as_echo_n "checking for $ac_word... " >&6; }
10011 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10012 $as_echo_n "(cached) " >&6
10014 if test -n "$gphoto2port_devel"; then
10015 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10017 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10018 for as_dir
in $PATH
10021 test -z "$as_dir" && as_dir
=.
10022 for ac_exec_ext
in '' $ac_executable_extensions; do
10023 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10024 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10025 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10032 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10035 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10036 if test -n "$gphoto2port_devel"; then
10037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10038 $as_echo "$gphoto2port_devel" >&6; }
10040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10041 $as_echo "no" >&6; }
10045 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10047 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10049 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10052 -L/usr
/lib|
-L/usr
/lib64
) ;;
10053 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10056 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10058 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10059 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10060 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10062 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10063 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10064 $as_echo_n "(cached) " >&6
10066 ac_check_lib_save_LIBS
=$LIBS
10067 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10069 /* end confdefs.h. */
10071 /* Override any GCC internal prototype to avoid an error.
10072 Use char because int might match the return type of a GCC
10073 builtin and then its argument prototype would still apply. */
10077 char gp_camera_new ();
10081 return gp_camera_new ();
10086 if ac_fn_c_try_link
"$LINENO"; then :
10087 ac_cv_lib_gphoto2_gp_camera_new
=yes
10089 ac_cv_lib_gphoto2_gp_camera_new
=no
10091 rm -f core conftest.err conftest.
$ac_objext \
10092 conftest
$ac_exeext conftest.
$ac_ext
10093 LIBS
=$ac_check_lib_save_LIBS
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10096 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10097 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10099 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10101 GPHOTO2LIBS
="$ac_gphoto2_libs"
10103 GPHOTO2INCL
="$ac_gphoto2_incl"
10110 CPPFLAGS
="$ac_save_CPPFLAGS"
10112 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10113 case "x$with_gphoto" in
10114 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10116 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10117 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10122 if test "$ac_cv_header_resolv_h" = "yes"
10124 ac_save_LIBS
="$LIBS"
10125 for lib
in '' -lresolv
10127 LIBS
="$lib $ac_save_LIBS"
10128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10129 /* end confdefs.h. */
10130 #ifdef HAVE_NETINET_IN_H
10131 #include <netinet/in.h>
10133 #include <resolv.h>
10137 res_query("foo",ns_c_in,0,0,0);
10142 if ac_fn_c_try_link
"$LINENO"; then :
10144 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10149 rm -f core conftest.err conftest.
$ac_objext \
10150 conftest
$ac_exeext conftest.
$ac_ext
10151 if test "${RESOLVLIBS+set}" = set; then
10155 LIBS
="$ac_save_LIBS"
10160 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10163 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10164 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10165 $as_echo_n "(cached) " >&6
10167 ac_check_lib_save_LIBS
=$LIBS
10168 LIBS
="-llcms $LIBS"
10169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10170 /* end confdefs.h. */
10172 /* Override any GCC internal prototype to avoid an error.
10173 Use char because int might match the return type of a GCC
10174 builtin and then its argument prototype would still apply. */
10178 char cmsOpenProfileFromFile ();
10182 return cmsOpenProfileFromFile ();
10187 if ac_fn_c_try_link
"$LINENO"; then :
10188 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10190 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10192 rm -f core conftest.err conftest.
$ac_objext \
10193 conftest
$ac_exeext conftest.
$ac_ext
10194 LIBS
=$ac_check_lib_save_LIBS
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10197 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10198 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10200 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10206 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10207 case "x$with_cms" in
10208 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10210 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10211 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10215 if test "x$with_freetype" != "xno"
10217 for ac_prog
in freetype-config freetype2-config
10219 # Extract the first word of "$ac_prog", so it can be a program name with args.
10220 set dummy
$ac_prog; ac_word
=$2
10221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10222 $as_echo_n "checking for $ac_word... " >&6; }
10223 if ${ac_cv_prog_ft_devel+:} false
; then :
10224 $as_echo_n "(cached) " >&6
10226 if test -n "$ft_devel"; then
10227 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10229 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10230 for as_dir
in $PATH
10233 test -z "$as_dir" && as_dir
=.
10234 for ac_exec_ext
in '' $ac_executable_extensions; do
10235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10236 ac_cv_prog_ft_devel
="$ac_prog"
10237 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10246 ft_devel
=$ac_cv_prog_ft_devel
10247 if test -n "$ft_devel"; then
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10249 $as_echo "$ft_devel" >&6; }
10251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10252 $as_echo "no" >&6; }
10256 test -n "$ft_devel" && break
10258 test -n "$ft_devel" || ft_devel
="no"
10260 if test "$ft_devel" != "no"
10262 ac_freetype_incl
=`$ft_devel --cflags`
10263 ac_freetype_libs
=`$ft_devel --libs`
10265 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10267 $as_echo_n "checking for -lfreetype... " >&6; }
10268 if ${ac_cv_lib_soname_freetype+:} false
; then :
10269 $as_echo_n "(cached) " >&6
10271 ac_check_soname_save_LIBS
=$LIBS
10272 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10274 /* end confdefs.h. */
10276 /* Override any GCC internal prototype to avoid an error.
10277 Use char because int might match the return type of a GCC
10278 builtin and then its argument prototype would still apply. */
10282 char FT_Init_FreeType ();
10286 return FT_Init_FreeType ();
10291 if ac_fn_c_try_link
"$LINENO"; then :
10293 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10294 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'` ;;
10295 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10298 rm -f core conftest.err conftest.
$ac_objext \
10299 conftest
$ac_exeext conftest.
$ac_ext
10300 LIBS
=$ac_check_soname_save_LIBS
10302 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10304 $as_echo "not found" >&6; }
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10308 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10310 cat >>confdefs.h
<<_ACEOF
10311 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10316 if test "$ft_lib" = "yes"
10318 ac_save_CPPFLAGS
="$CPPFLAGS"
10319 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10320 for ac_header
in ft2build.h \
10321 freetype
/freetype.h \
10322 freetype
/ftglyph.h \
10323 freetype
/fttypes.h \
10324 freetype
/tttables.h \
10325 freetype
/ftsnames.h \
10326 freetype
/ttnameid.h \
10327 freetype
/ftoutln.h \
10328 freetype
/ftwinfnt.h \
10329 freetype
/ftmodapi.h \
10330 freetype
/ftlcdfil.h
10332 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10333 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10334 # include <ft2build.h>
10337 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10338 cat >>confdefs.h
<<_ACEOF
10339 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10348 #include <ft2build.h>
10349 #include <freetype/fttrigon.h>
10351 if ac_fn_c_try_cpp
"$LINENO"; then :
10353 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10355 wine_cv_fttrigon
=yes
10357 wine_cv_fttrigon
=no
10359 rm -f conftest.err conftest.i conftest.
$ac_ext
10360 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10362 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10364 cat >>confdefs.h
<<_ACEOF
10365 #define HAVE_FT_TRUETYPEENGINETYPE 1
10371 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10374 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10376 FREETYPELIBS
="$ac_freetype_libs"
10378 FREETYPEINCL
="$ac_freetype_incl"
10383 if test "x$FREETYPELIBS" = "x"; then :
10384 case "x$with_freetype" in
10386 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10387 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10390 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10393 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10394 if ${ac_cv_c_ppdev+:} false
; then :
10395 $as_echo_n "(cached) " >&6
10397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10398 /* end confdefs.h. */
10399 #ifdef HAVE_SYS_IOCTL_H
10400 # include <sys/ioctl.h>
10402 #include <linux/ppdev.h>
10406 ioctl (1,PPCLAIM,0)
10411 if ac_fn_c_try_compile
"$LINENO"; then :
10412 ac_cv_c_ppdev
="yes"
10416 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10419 $as_echo "$ac_cv_c_ppdev" >&6; }
10420 if test "$ac_cv_c_ppdev" = "yes"
10423 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10427 ac_wine_check_funcs_save_LIBS
="$LIBS"
10428 LIBS
="$LIBS $LIBPTHREAD"
10430 pthread_attr_get_np \
10431 pthread_getattr_np \
10432 pthread_get_stackaddr_np \
10433 pthread_get_stacksize_np
10435 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10436 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10437 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10438 cat >>confdefs.h
<<_ACEOF
10439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10445 LIBS
="$ac_wine_check_funcs_save_LIBS"
10447 if test "$ac_cv_header_zlib_h" = "yes"
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10450 $as_echo_n "checking for inflate in -lz... " >&6; }
10451 if ${ac_cv_lib_z_inflate+:} false
; then :
10452 $as_echo_n "(cached) " >&6
10454 ac_check_lib_save_LIBS
=$LIBS
10456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10457 /* end confdefs.h. */
10459 /* Override any GCC internal prototype to avoid an error.
10460 Use char because int might match the return type of a GCC
10461 builtin and then its argument prototype would still apply. */
10474 if ac_fn_c_try_link
"$LINENO"; then :
10475 ac_cv_lib_z_inflate
=yes
10477 ac_cv_lib_z_inflate
=no
10479 rm -f core conftest.err conftest.
$ac_objext \
10480 conftest
$ac_exeext conftest.
$ac_ext
10481 LIBS
=$ac_check_lib_save_LIBS
10483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10484 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10485 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10487 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10494 if test "x$ZLIB" = "x"; then :
10495 case "x$with_zlib" in
10496 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10498 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10499 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10503 if test "x$enable_tools" != xno
10505 if test "$ac_cv_header_gettext_po_h" = "yes"
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10508 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10509 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10510 $as_echo_n "(cached) " >&6
10512 ac_check_lib_save_LIBS
=$LIBS
10513 LIBS
="-lgettextpo $LIBS"
10514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10523 char po_message_msgctxt ();
10527 return po_message_msgctxt ();
10532 if ac_fn_c_try_link
"$LINENO"; then :
10533 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10535 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10537 rm -f core conftest.err conftest.
$ac_objext \
10538 conftest
$ac_exeext conftest.
$ac_ext
10539 LIBS
=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10542 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10543 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10545 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10547 LIBGETTEXTPO
="-lgettextpo"
10552 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10553 case "x$with_gettextpo" in
10554 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10556 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10557 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10562 if test "x$with_gstreamer" != "xno"
10564 ac_save_CPPFLAGS
="$CPPFLAGS"
10565 if test "$PKG_CONFIG" != "false"; then
10567 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10570 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10573 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10574 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10575 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10576 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10577 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10578 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10580 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10582 /* end confdefs.h. */
10583 #include <gst/app/gstappsink.h>
10587 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10592 if ac_fn_c_try_compile
"$LINENO"; then :
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10594 $as_echo "yes" >&6; }
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10596 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10597 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10598 $as_echo_n "(cached) " >&6
10600 ac_check_lib_save_LIBS
=$LIBS
10601 LIBS
="-lgstreamer-0.10 $LIBS"
10602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10605 /* Override any GCC internal prototype to avoid an error.
10606 Use char because int might match the return type of a GCC
10607 builtin and then its argument prototype would still apply. */
10611 char gst_pad_get_caps_reffed ();
10615 return gst_pad_get_caps_reffed ();
10620 if ac_fn_c_try_link
"$LINENO"; then :
10621 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10623 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10625 rm -f core conftest.err conftest.
$ac_objext \
10626 conftest
$ac_exeext conftest.
$ac_ext
10627 LIBS
=$ac_check_lib_save_LIBS
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10630 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10631 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10633 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10634 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10635 $as_echo_n "(cached) " >&6
10637 ac_check_lib_save_LIBS
=$LIBS
10638 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10640 /* end confdefs.h. */
10642 /* Override any GCC internal prototype to avoid an error.
10643 Use char because int might match the return type of a GCC
10644 builtin and then its argument prototype would still apply. */
10648 char gst_app_buffer_new ();
10652 return gst_app_buffer_new ();
10657 if ac_fn_c_try_link
"$LINENO"; then :
10658 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10660 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10662 rm -f core conftest.err conftest.
$ac_objext \
10663 conftest
$ac_exeext conftest.
$ac_ext
10664 LIBS
=$ac_check_lib_save_LIBS
10666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10667 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10668 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10669 GSTREAMER_LIBS
="$ac_gst_libs"
10671 GSTREAMER_INCL
="$ac_gst_incl"
10678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10679 $as_echo "no" >&6; }
10681 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10689 CPPFLAGS
="$ac_save_CPPFLAGS"
10691 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10692 case "x$with_gstreamer" in
10693 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10695 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10696 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10699 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10703 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10706 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10707 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10708 $as_echo_n "(cached) " >&6
10710 ac_check_lib_save_LIBS
=$LIBS
10711 LIBS
="-lasound $LIBS"
10712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10713 /* end confdefs.h. */
10715 /* Override any GCC internal prototype to avoid an error.
10716 Use char because int might match the return type of a GCC
10717 builtin and then its argument prototype would still apply. */
10721 char snd_pcm_hw_params_get_access_mask ();
10725 return snd_pcm_hw_params_get_access_mask ();
10730 if ac_fn_c_try_link
"$LINENO"; then :
10731 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10733 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10735 rm -f core conftest.err conftest.
$ac_objext \
10736 conftest
$ac_exeext conftest.
$ac_ext
10737 LIBS
=$ac_check_lib_save_LIBS
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10740 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10741 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10744 #ifdef HAVE_ALSA_ASOUNDLIB_H
10745 #include <alsa/asoundlib.h>
10746 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10747 #include <sys/asoundlib.h>
10752 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10757 if ac_fn_c_try_compile
"$LINENO"; then :
10758 ALSALIBS
="-lasound"
10760 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10765 if test "x$with_oss" != xno
10767 ac_save_CPPFLAGS
="$CPPFLAGS"
10768 if test -f /etc
/oss.conf
10772 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10773 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10774 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10775 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10776 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10778 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10780 cat >>confdefs.h
<<_ACEOF
10781 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10784 OSS4INCL
="$ac_oss_incl"
10791 CPPFLAGS
="$ac_save_CPPFLAGS"
10792 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10794 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10799 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10802 $as_echo_n "checking for -lcapi20... " >&6; }
10803 if ${ac_cv_lib_soname_capi20+:} false
; then :
10804 $as_echo_n "(cached) " >&6
10806 ac_check_soname_save_LIBS
=$LIBS
10807 LIBS
="-lcapi20 $LIBS"
10808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10811 /* Override any GCC internal prototype to avoid an error.
10812 Use char because int might match the return type of a GCC
10813 builtin and then its argument prototype would still apply. */
10817 char capi20_register ();
10821 return capi20_register ();
10826 if ac_fn_c_try_link
"$LINENO"; then :
10828 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10829 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'` ;;
10830 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10833 rm -f core conftest.err conftest.
$ac_objext \
10834 conftest
$ac_exeext conftest.
$ac_ext
10835 LIBS
=$ac_check_soname_save_LIBS
10837 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10839 $as_echo "not found" >&6; }
10842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10843 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10845 cat >>confdefs.h
<<_ACEOF
10846 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10852 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10853 case "x$with_capi" in
10854 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10856 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10857 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10863 if test "x$with_cups" != "xno"
10865 ac_save_CPPFLAGS
="$CPPFLAGS"
10866 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10867 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10868 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10869 for ac_header
in cups
/cups.h
10871 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10872 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
10873 cat >>confdefs.h
<<_ACEOF
10874 #define HAVE_CUPS_CUPS_H 1
10876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10877 $as_echo_n "checking for -lcups... " >&6; }
10878 if ${ac_cv_lib_soname_cups+:} false
; then :
10879 $as_echo_n "(cached) " >&6
10881 ac_check_soname_save_LIBS
=$LIBS
10882 LIBS
="-lcups $ac_cups_libs $LIBS"
10883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10884 /* end confdefs.h. */
10886 /* Override any GCC internal prototype to avoid an error.
10887 Use char because int might match the return type of a GCC
10888 builtin and then its argument prototype would still apply. */
10892 char cupsGetDefault ();
10896 return cupsGetDefault ();
10901 if ac_fn_c_try_link
"$LINENO"; then :
10903 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10904 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'` ;;
10905 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10908 rm -f core conftest.err conftest.
$ac_objext \
10909 conftest
$ac_exeext conftest.
$ac_ext
10910 LIBS
=$ac_check_soname_save_LIBS
10912 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10914 $as_echo "not found" >&6; }
10917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10918 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10920 cat >>confdefs.h
<<_ACEOF
10921 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10924 CUPSINCL
="$ac_cups_cflags"
10930 CPPFLAGS
="$ac_save_CPPFLAGS"
10932 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10933 case "x$with_cups" in
10934 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10936 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10937 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10941 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10944 $as_echo_n "checking for -lfontconfig... " >&6; }
10945 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
10946 $as_echo_n "(cached) " >&6
10948 ac_check_soname_save_LIBS
=$LIBS
10949 LIBS
="-lfontconfig $LIBS"
10950 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10951 /* end confdefs.h. */
10953 /* Override any GCC internal prototype to avoid an error.
10954 Use char because int might match the return type of a GCC
10955 builtin and then its argument prototype would still apply. */
10968 if ac_fn_c_try_link
"$LINENO"; then :
10970 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10971 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'` ;;
10972 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10975 rm -f core conftest.err conftest.
$ac_objext \
10976 conftest
$ac_exeext conftest.
$ac_ext
10977 LIBS
=$ac_check_soname_save_LIBS
10979 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10981 $as_echo "not found" >&6; }
10984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10985 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10987 cat >>confdefs.h
<<_ACEOF
10988 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10993 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10995 ac_save_CPPFLAGS
="$CPPFLAGS"
10996 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10997 $as_unset ac_cv_header_fontconfig_fontconfig_h
10998 for ac_header
in fontconfig
/fontconfig.h
11000 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11001 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11002 cat >>confdefs.h
<<_ACEOF
11003 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11010 CPPFLAGS
="$ac_save_CPPFLAGS"
11011 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11013 FONTCONFIGINCL
="$X_CFLAGS"
11015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11016 $as_echo_n "checking for -lfontconfig... " >&6; }
11017 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11018 $as_echo_n "(cached) " >&6
11020 ac_check_soname_save_LIBS
=$LIBS
11021 LIBS
="-lfontconfig $X_LIBS $LIBS"
11022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11023 /* end confdefs.h. */
11025 /* Override any GCC internal prototype to avoid an error.
11026 Use char because int might match the return type of a GCC
11027 builtin and then its argument prototype would still apply. */
11040 if ac_fn_c_try_link
"$LINENO"; then :
11042 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11043 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'` ;;
11044 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11047 rm -f core conftest.err conftest.
$ac_objext \
11048 conftest
$ac_exeext conftest.
$ac_ext
11049 LIBS
=$ac_check_soname_save_LIBS
11051 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11053 $as_echo "not found" >&6; }
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11057 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11059 cat >>confdefs.h
<<_ACEOF
11060 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11067 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11068 case "x$with_fontconfig" in
11069 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11071 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11072 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11076 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11079 $as_echo_n "checking for -lssl... " >&6; }
11080 if ${ac_cv_lib_soname_ssl+:} false
; then :
11081 $as_echo_n "(cached) " >&6
11083 ac_check_soname_save_LIBS
=$LIBS
11085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11086 /* end confdefs.h. */
11088 /* Override any GCC internal prototype to avoid an error.
11089 Use char because int might match the return type of a GCC
11090 builtin and then its argument prototype would still apply. */
11094 char SSL_library_init ();
11098 return SSL_library_init ();
11103 if ac_fn_c_try_link
"$LINENO"; then :
11105 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11106 dylib
) ac_cv_lib_soname_ssl
=`otool -L conftest$ac_exeext | grep "libssl\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libssl\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11107 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11110 rm -f core conftest.err conftest.
$ac_objext \
11111 conftest
$ac_exeext conftest.
$ac_ext
11112 LIBS
=$ac_check_soname_save_LIBS
11114 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11116 $as_echo "not found" >&6; }
11119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11120 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11122 cat >>confdefs.h
<<_ACEOF
11123 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11129 $as_echo_n "checking for -lcrypto... " >&6; }
11130 if ${ac_cv_lib_soname_crypto+:} false
; then :
11131 $as_echo_n "(cached) " >&6
11133 ac_check_soname_save_LIBS
=$LIBS
11134 LIBS
="-lcrypto $LIBS"
11135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11136 /* end confdefs.h. */
11138 /* Override any GCC internal prototype to avoid an error.
11139 Use char because int might match the return type of a GCC
11140 builtin and then its argument prototype would still apply. */
11144 char BIO_new_socket ();
11148 return BIO_new_socket ();
11153 if ac_fn_c_try_link
"$LINENO"; then :
11155 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11156 dylib
) ac_cv_lib_soname_crypto
=`otool -L conftest$ac_exeext | grep "libcrypto\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcrypto\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11157 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11160 rm -f core conftest.err conftest.
$ac_objext \
11161 conftest
$ac_exeext conftest.
$ac_ext
11162 LIBS
=$ac_check_soname_save_LIBS
11164 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11166 $as_echo "not found" >&6; }
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11170 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11172 cat >>confdefs.h
<<_ACEOF
11173 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11179 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11180 case "x$with_openssl" in
11181 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11183 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11184 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11188 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11191 $as_echo_n "checking for -lgsm... " >&6; }
11192 if ${ac_cv_lib_soname_gsm+:} false
; then :
11193 $as_echo_n "(cached) " >&6
11195 ac_check_soname_save_LIBS
=$LIBS
11197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11206 char gsm_create ();
11210 return gsm_create ();
11215 if ac_fn_c_try_link
"$LINENO"; then :
11217 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11218 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'` ;;
11219 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11222 rm -f core conftest.err conftest.
$ac_objext \
11223 conftest
$ac_exeext conftest.
$ac_ext
11224 LIBS
=$ac_check_soname_save_LIBS
11226 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11228 $as_echo "not found" >&6; }
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11232 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11234 cat >>confdefs.h
<<_ACEOF
11235 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11241 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11242 case "x$with_gsm" in
11243 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11245 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11246 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11250 if test "$ac_cv_header_jpeglib_h" = "yes"
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11253 $as_echo_n "checking for -ljpeg... " >&6; }
11254 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11255 $as_echo_n "(cached) " >&6
11257 ac_check_soname_save_LIBS
=$LIBS
11258 LIBS
="-ljpeg $LIBS"
11259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11260 /* end confdefs.h. */
11262 /* Override any GCC internal prototype to avoid an error.
11263 Use char because int might match the return type of a GCC
11264 builtin and then its argument prototype would still apply. */
11268 char jpeg_start_decompress ();
11272 return jpeg_start_decompress ();
11277 if ac_fn_c_try_link
"$LINENO"; then :
11279 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11280 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'` ;;
11281 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11284 rm -f core conftest.err conftest.
$ac_objext \
11285 conftest
$ac_exeext conftest.
$ac_ext
11286 LIBS
=$ac_check_soname_save_LIBS
11288 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11290 $as_echo "not found" >&6; }
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11294 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11296 cat >>confdefs.h
<<_ACEOF
11297 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11303 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11304 case "x$with_jpeg" in
11305 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11307 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11308 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11312 if test "$ac_cv_header_png_h" = "yes"
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11315 $as_echo_n "checking for -lpng... " >&6; }
11316 if ${ac_cv_lib_soname_png+:} false
; then :
11317 $as_echo_n "(cached) " >&6
11319 ac_check_soname_save_LIBS
=$LIBS
11320 LIBS
="-lpng -lm -lz $LIBS"
11321 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11322 /* end confdefs.h. */
11324 /* Override any GCC internal prototype to avoid an error.
11325 Use char because int might match the return type of a GCC
11326 builtin and then its argument prototype would still apply. */
11330 char png_create_read_struct ();
11334 return png_create_read_struct ();
11339 if ac_fn_c_try_link
"$LINENO"; then :
11341 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11342 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'` ;;
11343 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11346 rm -f core conftest.err conftest.
$ac_objext \
11347 conftest
$ac_exeext conftest.
$ac_ext
11348 LIBS
=$ac_check_soname_save_LIBS
11350 if test "x$ac_cv_lib_soname_png" = "x"; then :
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11352 $as_echo "not found" >&6; }
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11356 $as_echo "$ac_cv_lib_soname_png" >&6; }
11358 cat >>confdefs.h
<<_ACEOF
11359 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11365 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11366 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11367 $as_echo_n "(cached) " >&6
11369 ac_check_lib_save_LIBS
=$LIBS
11370 LIBS
="-lpng -lm -lz $LIBS"
11371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11372 /* end confdefs.h. */
11374 /* Override any GCC internal prototype to avoid an error.
11375 Use char because int might match the return type of a GCC
11376 builtin and then its argument prototype would still apply. */
11380 char png_set_expand_gray_1_2_4_to_8 ();
11384 return png_set_expand_gray_1_2_4_to_8 ();
11389 if ac_fn_c_try_link
"$LINENO"; then :
11390 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11392 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11394 rm -f core conftest.err conftest.
$ac_objext \
11395 conftest
$ac_exeext conftest.
$ac_ext
11396 LIBS
=$ac_check_lib_save_LIBS
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11399 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11400 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11402 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11407 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11409 ac_save_CPPFLAGS
="$CPPFLAGS"
11410 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11411 $as_unset ac_cv_header_png_h
11412 for ac_header
in png.h
11414 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11415 if test "x$ac_cv_header_png_h" = xyes
; then :
11416 cat >>confdefs.h
<<_ACEOF
11417 #define HAVE_PNG_H 1
11424 CPPFLAGS
="$ac_save_CPPFLAGS"
11425 if test "$ac_cv_header_png_h" = "yes"
11427 PNGINCL
="$X_CFLAGS"
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11430 $as_echo_n "checking for -lpng... " >&6; }
11431 if ${ac_cv_lib_soname_png+:} false
; then :
11432 $as_echo_n "(cached) " >&6
11434 ac_check_soname_save_LIBS
=$LIBS
11435 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11445 char png_create_read_struct ();
11449 return png_create_read_struct ();
11454 if ac_fn_c_try_link
"$LINENO"; then :
11456 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11457 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'` ;;
11458 *) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11461 rm -f core conftest.err conftest.
$ac_objext \
11462 conftest
$ac_exeext conftest.
$ac_ext
11463 LIBS
=$ac_check_soname_save_LIBS
11465 if test "x$ac_cv_lib_soname_png" = "x"; then :
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11467 $as_echo "not found" >&6; }
11470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11471 $as_echo "$ac_cv_lib_soname_png" >&6; }
11473 cat >>confdefs.h
<<_ACEOF
11474 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11480 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11481 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11482 $as_echo_n "(cached) " >&6
11484 ac_check_lib_save_LIBS
=$LIBS
11485 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11489 /* Override any GCC internal prototype to avoid an error.
11490 Use char because int might match the return type of a GCC
11491 builtin and then its argument prototype would still apply. */
11495 char png_set_expand_gray_1_2_4_to_8 ();
11499 return png_set_expand_gray_1_2_4_to_8 ();
11504 if ac_fn_c_try_link
"$LINENO"; then :
11505 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11507 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11509 rm -f core conftest.err conftest.
$ac_objext \
11510 conftest
$ac_exeext conftest.
$ac_ext
11511 LIBS
=$ac_check_lib_save_LIBS
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11514 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11515 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11516 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11522 if test "x$ac_cv_lib_soname_png" = "x"; then :
11523 case "x$with_png" in
11524 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11526 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11527 This is an error since --with-png was requested." "$LINENO" 5 ;;
11531 if test "$ac_cv_header_tiffio_h" = "yes"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11534 $as_echo_n "checking for -ltiff... " >&6; }
11535 if ${ac_cv_lib_soname_tiff+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_soname_save_LIBS
=$LIBS
11539 LIBS
="-ltiff $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11549 char TIFFClientOpen ();
11553 return TIFFClientOpen ();
11558 if ac_fn_c_try_link
"$LINENO"; then :
11560 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11561 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'` ;;
11562 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11565 rm -f core conftest.err conftest.
$ac_objext \
11566 conftest
$ac_exeext conftest.
$ac_ext
11567 LIBS
=$ac_check_soname_save_LIBS
11569 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11571 $as_echo "not found" >&6; }
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11575 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11577 cat >>confdefs.h
<<_ACEOF
11578 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11584 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11585 case "x$with_tiff" in
11586 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11588 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11589 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11593 if test "$ac_cv_header_mpg123_h" = "yes"
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11596 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11597 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11598 $as_echo_n "(cached) " >&6
11600 ac_check_lib_save_LIBS
=$LIBS
11601 LIBS
="-lmpg123 $LIBS"
11602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11603 /* end confdefs.h. */
11605 /* Override any GCC internal prototype to avoid an error.
11606 Use char because int might match the return type of a GCC
11607 builtin and then its argument prototype would still apply. */
11611 char mpg123_feed ();
11615 return mpg123_feed ();
11620 if ac_fn_c_try_link
"$LINENO"; then :
11621 ac_cv_lib_mpg123_mpg123_feed
=yes
11623 ac_cv_lib_mpg123_mpg123_feed
=no
11625 rm -f core conftest.err conftest.
$ac_objext \
11626 conftest
$ac_exeext conftest.
$ac_ext
11627 LIBS
=$ac_check_lib_save_LIBS
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11630 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11631 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11632 LIBMPG123
="-lmpg123"
11637 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11638 case "x$with_mpg123" in
11639 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11641 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11642 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11645 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}
11647 if test "$ac_cv_header_AL_al_h" = "yes"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11650 $as_echo_n "checking for -lopenal... " >&6; }
11651 if ${ac_cv_lib_soname_openal+:} false
; then :
11652 $as_echo_n "(cached) " >&6
11654 ac_check_soname_save_LIBS
=$LIBS
11655 LIBS
="-lopenal $LIBS"
11656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11665 char alGetSource3i ();
11669 return alGetSource3i ();
11674 if ac_fn_c_try_link
"$LINENO"; then :
11676 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11677 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'` ;;
11678 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11681 rm -f core conftest.err conftest.
$ac_objext \
11682 conftest
$ac_exeext conftest.
$ac_ext
11683 LIBS
=$ac_check_soname_save_LIBS
11685 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11687 $as_echo "not found" >&6; }
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11691 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11693 cat >>confdefs.h
<<_ACEOF
11694 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11697 LIBOPENAL
="-lopenal"
11699 ac_cv_lib_openal
=yes
11701 cat >>confdefs.h
<<_ACEOF
11702 #define HAVE_OPENAL 1
11707 if test "x$ac_cv_lib_openal" != xyes
; then :
11708 case "x$with_openal" in
11709 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11711 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11712 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11715 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11717 if test "$ac_cv_header_kstat_h" = "yes"
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11720 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11721 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11722 $as_echo_n "(cached) " >&6
11724 ac_check_lib_save_LIBS
=$LIBS
11725 LIBS
="-lkstat $LIBS"
11726 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11735 char kstat_open ();
11739 return kstat_open ();
11744 if ac_fn_c_try_link
"$LINENO"; then :
11745 ac_cv_lib_kstat_kstat_open
=yes
11747 ac_cv_lib_kstat_kstat_open
=no
11749 rm -f core conftest.err conftest.
$ac_objext \
11750 conftest
$ac_exeext conftest.
$ac_ext
11751 LIBS
=$ac_check_lib_save_LIBS
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11754 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11755 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11757 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11766 $as_echo_n "checking for -lodbc... " >&6; }
11767 if ${ac_cv_lib_soname_odbc+:} false
; then :
11768 $as_echo_n "(cached) " >&6
11770 ac_check_soname_save_LIBS
=$LIBS
11771 LIBS
="-lodbc $LIBS"
11772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11773 /* end confdefs.h. */
11775 /* Override any GCC internal prototype to avoid an error.
11776 Use char because int might match the return type of a GCC
11777 builtin and then its argument prototype would still apply. */
11781 char SQLConnect ();
11785 return SQLConnect ();
11790 if ac_fn_c_try_link
"$LINENO"; then :
11792 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11793 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'` ;;
11794 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11797 rm -f core conftest.err conftest.
$ac_objext \
11798 conftest
$ac_exeext conftest.
$ac_ext
11799 LIBS
=$ac_check_soname_save_LIBS
11801 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11803 $as_echo "not found" >&6; }
11804 cat >>confdefs.h
<<_ACEOF
11805 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11810 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11812 cat >>confdefs.h
<<_ACEOF
11813 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11819 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
11820 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
11821 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
11822 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
11824 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11825 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
11826 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11828 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11834 if test "x${GCC}" = "xyes"
11836 EXTRACFLAGS
="-Wall -pipe"
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11839 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11840 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
11841 $as_echo_n "(cached) " >&6
11843 if test "$cross_compiling" = yes; then :
11844 ac_cv_c_gcc_strength_bug
="yes"
11846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11847 /* end confdefs.h. */
11848 int L[4] = {0,1,2,3};
11852 static int Array[3];
11853 unsigned int B = 3;
11855 for(i=0; i<B; i++) Array[i] = i - 3;
11856 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11858 return (Array[1] != -2 || L[2] != 3)
11863 if ac_fn_c_try_run
"$LINENO"; then :
11864 ac_cv_c_gcc_strength_bug
="no"
11866 ac_cv_c_gcc_strength_bug
="yes"
11868 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11869 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11874 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11875 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11877 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11881 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11882 if ${ac_cv_cflags__fno_builtin+:} false
; then :
11883 $as_echo_n "(cached) " >&6
11885 ac_wine_try_cflags_saved
=$CFLAGS
11886 CFLAGS
="$CFLAGS -fno-builtin"
11887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11888 /* end confdefs.h. */
11889 int main(int argc, char **argv) { return 0; }
11891 if ac_fn_c_try_link
"$LINENO"; then :
11892 ac_cv_cflags__fno_builtin
=yes
11894 ac_cv_cflags__fno_builtin
=no
11896 rm -f core conftest.err conftest.
$ac_objext \
11897 conftest
$ac_exeext conftest.
$ac_ext
11898 CFLAGS
=$ac_wine_try_cflags_saved
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11901 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11902 if test $ac_cv_cflags__fno_builtin = yes; then :
11903 BUILTINFLAG
="-fno-builtin"
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11907 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11908 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
11909 $as_echo_n "(cached) " >&6
11911 ac_wine_try_cflags_saved
=$CFLAGS
11912 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11914 /* end confdefs.h. */
11915 int main(int argc, char **argv) { return 0; }
11917 if ac_fn_c_try_link
"$LINENO"; then :
11918 ac_cv_cflags__fno_strict_aliasing
=yes
11920 ac_cv_cflags__fno_strict_aliasing
=no
11922 rm -f core conftest.err conftest.
$ac_objext \
11923 conftest
$ac_exeext conftest.
$ac_ext
11924 CFLAGS
=$ac_wine_try_cflags_saved
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11927 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11928 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11929 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11932 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11933 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
11934 $as_echo_n "(cached) " >&6
11936 ac_wine_try_cflags_saved
=$CFLAGS
11937 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11939 /* end confdefs.h. */
11940 int main(int argc, char **argv) { return 0; }
11942 if ac_fn_c_try_link
"$LINENO"; then :
11943 ac_cv_cflags__Wdeclaration_after_statement
=yes
11945 ac_cv_cflags__Wdeclaration_after_statement
=no
11947 rm -f core conftest.err conftest.
$ac_objext \
11948 conftest
$ac_exeext conftest.
$ac_ext
11949 CFLAGS
=$ac_wine_try_cflags_saved
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11952 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11953 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11954 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
11957 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
11958 if ${ac_cv_cflags__Wempty_body+:} false
; then :
11959 $as_echo_n "(cached) " >&6
11961 ac_wine_try_cflags_saved
=$CFLAGS
11962 CFLAGS
="$CFLAGS -Wempty-body"
11963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11965 int main(int argc, char **argv) { return 0; }
11967 if ac_fn_c_try_link
"$LINENO"; then :
11968 ac_cv_cflags__Wempty_body
=yes
11970 ac_cv_cflags__Wempty_body
=no
11972 rm -f core conftest.err conftest.
$ac_objext \
11973 conftest
$ac_exeext conftest.
$ac_ext
11974 CFLAGS
=$ac_wine_try_cflags_saved
11976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
11977 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
11978 if test $ac_cv_cflags__Wempty_body = yes; then :
11979 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
11981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11982 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11983 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
11984 $as_echo_n "(cached) " >&6
11986 ac_wine_try_cflags_saved
=$CFLAGS
11987 CFLAGS
="$CFLAGS -Wstrict-prototypes"
11988 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11989 /* end confdefs.h. */
11990 int main(int argc, char **argv) { return 0; }
11992 if ac_fn_c_try_link
"$LINENO"; then :
11993 ac_cv_cflags__Wstrict_prototypes
=yes
11995 ac_cv_cflags__Wstrict_prototypes
=no
11997 rm -f core conftest.err conftest.
$ac_objext \
11998 conftest
$ac_exeext conftest.
$ac_ext
11999 CFLAGS
=$ac_wine_try_cflags_saved
12001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12002 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12003 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12004 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12007 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12008 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12009 $as_echo_n "(cached) " >&6
12011 ac_wine_try_cflags_saved
=$CFLAGS
12012 CFLAGS
="$CFLAGS -Wtype-limits"
12013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 int main(int argc, char **argv) { return 0; }
12017 if ac_fn_c_try_link
"$LINENO"; then :
12018 ac_cv_cflags__Wtype_limits
=yes
12020 ac_cv_cflags__Wtype_limits
=no
12022 rm -f core conftest.err conftest.
$ac_objext \
12023 conftest
$ac_exeext conftest.
$ac_ext
12024 CFLAGS
=$ac_wine_try_cflags_saved
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12027 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12028 if test $ac_cv_cflags__Wtype_limits = yes; then :
12029 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12032 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12033 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12034 $as_echo_n "(cached) " >&6
12036 ac_wine_try_cflags_saved
=$CFLAGS
12037 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12038 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12040 int main(int argc, char **argv) { return 0; }
12042 if ac_fn_c_try_link
"$LINENO"; then :
12043 ac_cv_cflags__Wunused_but_set_parameter
=yes
12045 ac_cv_cflags__Wunused_but_set_parameter
=no
12047 rm -f core conftest.err conftest.
$ac_objext \
12048 conftest
$ac_exeext conftest.
$ac_ext
12049 CFLAGS
=$ac_wine_try_cflags_saved
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12052 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12053 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12054 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12057 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12058 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12059 $as_echo_n "(cached) " >&6
12061 ac_wine_try_cflags_saved
=$CFLAGS
12062 CFLAGS
="$CFLAGS -Wwrite-strings"
12063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12064 /* end confdefs.h. */
12065 int main(int argc, char **argv) { return 0; }
12067 if ac_fn_c_try_link
"$LINENO"; then :
12068 ac_cv_cflags__Wwrite_strings
=yes
12070 ac_cv_cflags__Wwrite_strings
=no
12072 rm -f core conftest.err conftest.
$ac_objext \
12073 conftest
$ac_exeext conftest.
$ac_ext
12074 CFLAGS
=$ac_wine_try_cflags_saved
12076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12077 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12078 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12079 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12083 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12084 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12085 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12086 $as_echo_n "(cached) " >&6
12088 ac_wine_try_cflags_saved
=$CFLAGS
12089 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12090 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12091 /* end confdefs.h. */
12092 int main(int argc, char **argv) { return 0; }
12094 if ac_fn_c_try_link
"$LINENO"; then :
12095 ac_cv_cflags__fno_omit_frame_pointer
=yes
12097 ac_cv_cflags__fno_omit_frame_pointer
=no
12099 rm -f core conftest.err conftest.
$ac_objext \
12100 conftest
$ac_exeext conftest.
$ac_ext
12101 CFLAGS
=$ac_wine_try_cflags_saved
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12104 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12105 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12106 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12110 saved_CFLAGS
="$CFLAGS"
12111 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12113 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12114 if ${ac_cv_c_string_h_warnings+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12119 #include <string.h>
12128 if ac_fn_c_try_compile
"$LINENO"; then :
12129 ac_cv_c_string_h_warnings
=no
12131 ac_cv_c_string_h_warnings
=yes
12133 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12136 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12137 CFLAGS
="$saved_CFLAGS"
12138 if test "$ac_cv_c_string_h_warnings" = "no"
12140 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12143 saved_CFLAGS
="$CFLAGS"
12144 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12146 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12147 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12148 $as_echo_n "(cached) " >&6
12150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12151 /* end confdefs.h. */
12152 #include <string.h>
12156 char*f(const char *h,char n) {return strchr(h,n);}
12161 if ac_fn_c_try_compile
"$LINENO"; then :
12162 ac_cv_c_logicalop_noisy
=no
12164 ac_cv_c_logicalop_noisy
=yes
12166 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12169 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12170 CFLAGS
="$saved_CFLAGS"
12171 if test "$ac_cv_c_logicalop_noisy" = "no"
12173 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12176 if test "x$enable_maintainer_mode" = "xyes"
12178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12179 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12180 if ${ac_cv_cflags__Werror+:} false
; then :
12181 $as_echo_n "(cached) " >&6
12183 ac_wine_try_cflags_saved
=$CFLAGS
12184 CFLAGS
="$CFLAGS -Werror"
12185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12186 /* end confdefs.h. */
12187 int main(int argc, char **argv) { return 0; }
12189 if ac_fn_c_try_link
"$LINENO"; then :
12190 ac_cv_cflags__Werror
=yes
12192 ac_cv_cflags__Werror
=no
12194 rm -f core conftest.err conftest.
$ac_objext \
12195 conftest
$ac_exeext conftest.
$ac_ext
12196 CFLAGS
=$ac_wine_try_cflags_saved
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12199 $as_echo "$ac_cv_cflags__Werror" >&6; }
12200 if test $ac_cv_cflags__Werror = yes; then :
12201 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12205 saved_CFLAGS
="$CFLAGS"
12206 CFLAGS
="$CFLAGS -Werror"
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12208 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12209 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12210 $as_echo_n "(cached) " >&6
12212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12213 /* end confdefs.h. */
12214 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12223 if ac_fn_c_try_compile
"$LINENO"; then :
12224 ac_cv_have_ms_hook_prologue
="yes"
12226 ac_cv_have_ms_hook_prologue
="no"
12228 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12231 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12232 CFLAGS
="$saved_CFLAGS"
12233 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12236 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12239 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12246 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12247 if ${ac_cv_c_fortify_enabled+:} false
; then :
12248 $as_echo_n "(cached) " >&6
12250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12251 /* end confdefs.h. */
12252 #include <string.h>
12256 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12257 #error Fortify enabled
12263 if ac_fn_c_try_compile
"$LINENO"; then :
12264 ac_cv_c_fortify_enabled
=no
12266 ac_cv_c_fortify_enabled
=yes
12268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12271 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12272 if test "$ac_cv_c_fortify_enabled" = yes
12274 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12279 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12280 if ${ac_cv_c_extern_prefix+:} false
; then :
12281 $as_echo_n "(cached) " >&6
12283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12285 extern int ac_test;
12289 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12294 if ac_fn_c_try_link
"$LINENO"; then :
12295 ac_cv_c_extern_prefix
="yes"
12297 ac_cv_c_extern_prefix
="no"
12299 rm -f core conftest.err conftest.
$ac_objext \
12300 conftest
$ac_exeext conftest.
$ac_ext
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12303 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12308 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12309 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12310 $as_echo_n "(cached) " >&6
12312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12315 #define __stdcall __attribute__((__stdcall__))
12317 int __stdcall ac_test(int i) { return i; }
12321 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12326 if ac_fn_c_try_link
"$LINENO"; then :
12327 ac_cv_c_stdcall_suffix
="yes"
12329 ac_cv_c_stdcall_suffix
="no"
12331 rm -f core conftest.err conftest.
$ac_objext \
12332 conftest
$ac_exeext conftest.
$ac_ext
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12335 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12336 *) ac_cv_c_stdcall_suffix
="no" ;;
12340 if test "$ac_cv_c_extern_prefix" = "yes"
12342 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12344 asm_name_prefix
="_"
12346 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12352 if test "$ac_cv_c_stdcall_suffix" = "yes"
12354 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12357 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12363 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12364 if ${ac_cv_asm_func_def+:} false
; then :
12365 $as_echo_n "(cached) " >&6
12367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12368 /* end confdefs.h. */
12373 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12378 if ac_fn_c_try_link
"$LINENO"; then :
12379 ac_cv_asm_func_def
=".def"
12381 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12382 /* end confdefs.h. */
12387 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12392 if ac_fn_c_try_link
"$LINENO"; then :
12393 ac_cv_asm_func_def
=".type @function"
12395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12396 /* end confdefs.h. */
12401 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12406 if ac_fn_c_try_link
"$LINENO"; then :
12407 ac_cv_asm_func_def
=".type 2"
12409 ac_cv_asm_func_def
="unknown"
12411 rm -f core conftest.err conftest.
$ac_objext \
12412 conftest
$ac_exeext conftest.
$ac_ext
12414 rm -f core conftest.err conftest.
$ac_objext \
12415 conftest
$ac_exeext conftest.
$ac_ext
12417 rm -f core conftest.err conftest.
$ac_objext \
12418 conftest
$ac_exeext conftest.
$ac_ext
12420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12421 $as_echo "$ac_cv_asm_func_def" >&6; }
12424 case "$ac_cv_asm_func_def" in
12426 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12428 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12430 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12432 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12434 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12436 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12438 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12440 asm_func_header
="" ;;
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12444 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12445 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12446 $as_echo_n "(cached) " >&6
12448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12449 /* end confdefs.h. */
12450 asm(".text\n\t.long 0");
12459 if ac_fn_c_try_compile
"$LINENO"; then :
12460 ac_cv_c_asm_outside_funcs
="yes"
12462 ac_cv_c_asm_outside_funcs
="no"
12464 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12467 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12470 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12471 if ${ac_cv_c_dot_previous+:} false
; then :
12472 $as_echo_n "(cached) " >&6
12474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12480 asm(".text\nac_test:\t.long 0\n\t.previous");
12485 if ac_fn_c_try_link
"$LINENO"; then :
12486 ac_cv_c_dot_previous
="yes"
12488 ac_cv_c_dot_previous
="no"
12490 rm -f core conftest.err conftest.
$ac_objext \
12491 conftest
$ac_exeext conftest.
$ac_ext
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12494 $as_echo "$ac_cv_c_dot_previous" >&6; }
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12497 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12498 if ${ac_cv_c_cfi_support+:} false
; then :
12499 $as_echo_n "(cached) " >&6
12501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12512 if ac_fn_c_try_compile
"$LINENO"; then :
12513 ac_cv_c_cfi_support
="yes"
12515 ac_cv_c_cfi_support
="no"
12517 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12520 $as_echo "$ac_cv_c_cfi_support" >&6; }
12522 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12523 asm_func_trailer
=""
12524 if test "$ac_cv_c_dot_previous" = "yes"
12526 asm_func_trailer
="\\n\\t.previous"
12528 if test "$ac_cv_c_cfi_support" = "yes"
12530 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12531 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12533 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12535 UNWINDFLAGS
=-fasynchronous-unwind-tables
12538 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12542 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12545 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12547 cat >>confdefs.h
<<_ACEOF
12548 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12552 cat >>confdefs.h
<<_ACEOF
12553 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12558 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12561 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12571 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12576 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12584 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12591 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12596 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12598 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12605 ac_save_CFLAGS
="$CFLAGS"
12606 CFLAGS
="$CFLAGS $BUILTINFLAG"
12683 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12684 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12685 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12686 cat >>confdefs.h
<<_ACEOF
12687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12693 CFLAGS
="$ac_save_CFLAGS"
12695 if test "$ac_cv_func_dlopen" = no
12697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12698 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12699 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12700 $as_echo_n "(cached) " >&6
12702 ac_check_lib_save_LIBS
=$LIBS
12704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12705 /* end confdefs.h. */
12707 /* Override any GCC internal prototype to avoid an error.
12708 Use char because int might match the return type of a GCC
12709 builtin and then its argument prototype would still apply. */
12722 if ac_fn_c_try_link
"$LINENO"; then :
12723 ac_cv_lib_dl_dlopen
=yes
12725 ac_cv_lib_dl_dlopen
=no
12727 rm -f core conftest.err conftest.
$ac_objext \
12728 conftest
$ac_exeext conftest.
$ac_ext
12729 LIBS
=$ac_check_lib_save_LIBS
12731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12732 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12733 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12734 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12740 ac_wine_check_funcs_save_LIBS
="$LIBS"
12741 LIBS
="$LIBS $LIBDL"
12742 for ac_func
in dladdr
12744 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12745 if test "x$ac_cv_func_dladdr" = xyes
; then :
12746 cat >>confdefs.h
<<_ACEOF
12747 #define HAVE_DLADDR 1
12753 LIBS
="$ac_wine_check_funcs_save_LIBS"
12755 if test "$ac_cv_func_poll" = no
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12758 $as_echo_n "checking for poll in -lpoll... " >&6; }
12759 if ${ac_cv_lib_poll_poll+:} false
; then :
12760 $as_echo_n "(cached) " >&6
12762 ac_check_lib_save_LIBS
=$LIBS
12763 LIBS
="-lpoll $LIBS"
12764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12782 if ac_fn_c_try_link
"$LINENO"; then :
12783 ac_cv_lib_poll_poll
=yes
12785 ac_cv_lib_poll_poll
=no
12787 rm -f core conftest.err conftest.
$ac_objext \
12788 conftest
$ac_exeext conftest.
$ac_ext
12789 LIBS
=$ac_check_lib_save_LIBS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12792 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12793 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
12794 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12802 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12803 if ${ac_cv_search_gethostbyname+:} false
; then :
12804 $as_echo_n "(cached) " >&6
12806 ac_func_search_save_LIBS
=$LIBS
12807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12808 /* end confdefs.h. */
12810 /* Override any GCC internal prototype to avoid an error.
12811 Use char because int might match the return type of a GCC
12812 builtin and then its argument prototype would still apply. */
12816 char gethostbyname ();
12820 return gethostbyname ();
12825 for ac_lib
in '' nsl
; do
12826 if test -z "$ac_lib"; then
12827 ac_res
="none required"
12830 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12832 if ac_fn_c_try_link
"$LINENO"; then :
12833 ac_cv_search_gethostbyname
=$ac_res
12835 rm -f core conftest.err conftest.
$ac_objext \
12837 if ${ac_cv_search_gethostbyname+:} false
; then :
12841 if ${ac_cv_search_gethostbyname+:} false
; then :
12844 ac_cv_search_gethostbyname
=no
12846 rm conftest.
$ac_ext
12847 LIBS
=$ac_func_search_save_LIBS
12849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12850 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12851 ac_res
=$ac_cv_search_gethostbyname
12852 if test "$ac_res" != no
; then :
12853 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12859 $as_echo_n "checking for library containing connect... " >&6; }
12860 if ${ac_cv_search_connect+:} false
; then :
12861 $as_echo_n "(cached) " >&6
12863 ac_func_search_save_LIBS
=$LIBS
12864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12865 /* end confdefs.h. */
12867 /* Override any GCC internal prototype to avoid an error.
12868 Use char because int might match the return type of a GCC
12869 builtin and then its argument prototype would still apply. */
12882 for ac_lib
in '' socket
; do
12883 if test -z "$ac_lib"; then
12884 ac_res
="none required"
12887 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12889 if ac_fn_c_try_link
"$LINENO"; then :
12890 ac_cv_search_connect
=$ac_res
12892 rm -f core conftest.err conftest.
$ac_objext \
12894 if ${ac_cv_search_connect+:} false
; then :
12898 if ${ac_cv_search_connect+:} false
; then :
12901 ac_cv_search_connect
=no
12903 rm conftest.
$ac_ext
12904 LIBS
=$ac_func_search_save_LIBS
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12907 $as_echo "$ac_cv_search_connect" >&6; }
12908 ac_res
=$ac_cv_search_connect
12909 if test "$ac_res" != no
; then :
12910 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12916 $as_echo_n "checking for library containing inet_aton... " >&6; }
12917 if ${ac_cv_search_inet_aton+:} false
; then :
12918 $as_echo_n "(cached) " >&6
12920 ac_func_search_save_LIBS
=$LIBS
12921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12922 /* end confdefs.h. */
12924 /* Override any GCC internal prototype to avoid an error.
12925 Use char because int might match the return type of a GCC
12926 builtin and then its argument prototype would still apply. */
12934 return inet_aton ();
12939 for ac_lib
in '' resolv
; do
12940 if test -z "$ac_lib"; then
12941 ac_res
="none required"
12944 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12946 if ac_fn_c_try_link
"$LINENO"; then :
12947 ac_cv_search_inet_aton
=$ac_res
12949 rm -f core conftest.err conftest.
$ac_objext \
12951 if ${ac_cv_search_inet_aton+:} false
; then :
12955 if ${ac_cv_search_inet_aton+:} false
; then :
12958 ac_cv_search_inet_aton
=no
12960 rm conftest.
$ac_ext
12961 LIBS
=$ac_func_search_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12964 $as_echo "$ac_cv_search_inet_aton" >&6; }
12965 ac_res
=$ac_cv_search_inet_aton
12966 if test "$ac_res" != no
; then :
12967 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12986 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12987 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12988 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12989 cat >>confdefs.h
<<_ACEOF
12990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12999 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13001 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13003 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13005 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13006 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13007 $as_echo_n "(cached) " >&6
13009 ac_check_lib_save_LIBS
=$LIBS
13010 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13012 /* end confdefs.h. */
13014 /* Override any GCC internal prototype to avoid an error.
13015 Use char because int might match the return type of a GCC
13016 builtin and then its argument prototype would still apply. */
13020 char ldap_initialize ();
13024 return ldap_initialize ();
13029 if ac_fn_c_try_link
"$LINENO"; then :
13030 ac_cv_lib_ldap_r_ldap_initialize
=yes
13032 ac_cv_lib_ldap_r_ldap_initialize
=no
13034 rm -f core conftest.err conftest.
$ac_objext \
13035 conftest
$ac_exeext conftest.
$ac_ext
13036 LIBS
=$ac_check_lib_save_LIBS
13038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13039 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13040 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13042 $as_echo_n "checking for ber_init in -llber... " >&6; }
13043 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13044 $as_echo_n "(cached) " >&6
13046 ac_check_lib_save_LIBS
=$LIBS
13047 LIBS
="-llber $LIBPTHREAD $LIBS"
13048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13049 /* end confdefs.h. */
13051 /* Override any GCC internal prototype to avoid an error.
13052 Use char because int might match the return type of a GCC
13053 builtin and then its argument prototype would still apply. */
13061 return ber_init ();
13066 if ac_fn_c_try_link
"$LINENO"; then :
13067 ac_cv_lib_lber_ber_init
=yes
13069 ac_cv_lib_lber_ber_init
=no
13071 rm -f core conftest.err conftest.
$ac_objext \
13072 conftest
$ac_exeext conftest.
$ac_ext
13073 LIBS
=$ac_check_lib_save_LIBS
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13076 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13077 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13079 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13081 LDAPLIBS
="-lldap_r -llber"
13088 ac_wine_check_funcs_save_LIBS
="$LIBS"
13089 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13091 ldap_count_references \
13092 ldap_first_reference \
13093 ldap_next_reference \
13094 ldap_parse_reference \
13095 ldap_parse_sort_control \
13096 ldap_parse_sortresponse_control \
13097 ldap_parse_vlv_control \
13098 ldap_parse_vlvresponse_control
13100 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13101 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13102 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13103 cat >>confdefs.h
<<_ACEOF
13104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13110 LIBS
="$ac_wine_check_funcs_save_LIBS"
13112 if test "x$LDAPLIBS" = "x"; then :
13113 case "x$with_ldap" in
13114 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13116 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13117 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13122 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13123 if ${wine_cv_one_arg_mkdir+:} false
; then :
13124 $as_echo_n "(cached) " >&6
13126 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13127 /* end confdefs.h. */
13128 #include <sys/stat.h>
13137 if ac_fn_c_try_compile
"$LINENO"; then :
13138 wine_cv_one_arg_mkdir
=yes
13140 wine_cv_one_arg_mkdir
=no
13142 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13145 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13146 if test "$wine_cv_one_arg_mkdir" = "yes"
13149 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13154 $as_echo_n "checking for sched_setaffinity... " >&6; }
13155 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13156 $as_echo_n "(cached) " >&6
13158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13159 /* end confdefs.h. */
13160 #define _GNU_SOURCE
13165 sched_setaffinity(0, 0, 0);
13170 if ac_fn_c_try_link
"$LINENO"; then :
13171 wine_cv_have_sched_setaffinity
=yes
13173 wine_cv_have_sched_setaffinity
=no
13175 rm -f core conftest.err conftest.
$ac_objext \
13176 conftest
$ac_exeext conftest.
$ac_ext
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13179 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13180 if test "$wine_cv_have_sched_setaffinity" = "yes"
13183 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13189 $as_echo_n "checking for inline... " >&6; }
13190 if ${ac_cv_c_inline+:} false
; then :
13191 $as_echo_n "(cached) " >&6
13194 for ac_kw
in inline __inline__ __inline
; do
13195 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13196 /* end confdefs.h. */
13197 #ifndef __cplusplus
13199 static $ac_kw foo_t static_foo () {return 0; }
13200 $ac_kw foo_t foo () {return 0; }
13204 if ac_fn_c_try_compile
"$LINENO"; then :
13205 ac_cv_c_inline
=$ac_kw
13207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13208 test "$ac_cv_c_inline" != no
&& break
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13213 $as_echo "$ac_cv_c_inline" >&6; }
13215 case $ac_cv_c_inline in
13218 case $ac_cv_c_inline in
13220 *) ac_val
=$ac_cv_c_inline;;
13222 cat >>confdefs.h
<<_ACEOF
13223 #ifndef __cplusplus
13224 #define inline $ac_val
13230 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13231 if test "x$ac_cv_type_mode_t" = xyes
; then :
13233 cat >>confdefs.h
<<_ACEOF
13234 #define HAVE_MODE_T 1
13239 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13240 if test "x$ac_cv_type_off_t" = xyes
; then :
13242 cat >>confdefs.h
<<_ACEOF
13243 #define HAVE_OFF_T 1
13248 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13249 if test "x$ac_cv_type_pid_t" = xyes
; then :
13251 cat >>confdefs.h
<<_ACEOF
13252 #define HAVE_PID_T 1
13257 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13258 if test "x$ac_cv_type_size_t" = xyes
; then :
13260 cat >>confdefs.h
<<_ACEOF
13261 #define HAVE_SIZE_T 1
13266 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13267 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13269 cat >>confdefs.h
<<_ACEOF
13270 #define HAVE_SSIZE_T 1
13275 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13276 if test "x$ac_cv_type_long_long" = xyes
; then :
13278 cat >>confdefs.h
<<_ACEOF
13279 #define HAVE_LONG_LONG 1
13284 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13285 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13287 cat >>confdefs.h
<<_ACEOF
13288 #define HAVE_FSBLKCNT_T 1
13293 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13294 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13296 cat >>confdefs.h
<<_ACEOF
13297 #define HAVE_FSFILCNT_T 1
13303 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13304 #include <signal.h>
13306 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13308 cat >>confdefs.h
<<_ACEOF
13309 #define HAVE_SIGSET_T 1
13315 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13317 if test "x$ac_cv_type_request_sense" = xyes
; then :
13319 cat >>confdefs.h
<<_ACEOF
13320 #define HAVE_REQUEST_SENSE 1
13327 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13328 #ifdef HAVE_SYS_SOCKET_H
13329 #include <sys/socket.h>
13331 #ifdef HAVE_SYS_SOCKETVAR_H
13332 #include <sys/socketvar.h>
13334 #ifdef HAVE_NET_ROUTE_H
13335 #include <net/route.h>
13337 #ifdef HAVE_NETINET_IN_H
13338 #include <netinet/in.h>
13340 #ifdef HAVE_NETINET_IN_SYSTM_H
13341 #include <netinet/in_systm.h>
13343 #ifdef HAVE_NETINET_IP_H
13344 #include <netinet/ip.h>
13346 #ifdef HAVE_NETINET_IN_PCB_H
13347 #include <netinet/in_pcb.h>
13350 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13352 cat >>confdefs.h
<<_ACEOF
13353 #define HAVE_STRUCT_XINPGEN 1
13360 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13361 #include <linux/input.h>
13364 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13366 cat >>confdefs.h
<<_ACEOF
13367 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13375 $as_echo_n "checking for sigaddset... " >&6; }
13376 if ${wine_cv_have_sigaddset+:} false
; then :
13377 $as_echo_n "(cached) " >&6
13379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13380 /* end confdefs.h. */
13381 #include <signal.h>
13385 sigset_t set; sigaddset(&set,SIGTERM);
13390 if ac_fn_c_try_link
"$LINENO"; then :
13391 wine_cv_have_sigaddset
=yes
13393 wine_cv_have_sigaddset
=no
13395 rm -f core conftest.err conftest.
$ac_objext \
13396 conftest
$ac_exeext conftest.
$ac_ext
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13399 $as_echo "$wine_cv_have_sigaddset" >&6; }
13400 if test "$wine_cv_have_sigaddset" = "yes"
13403 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13409 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13410 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13411 $as_echo_n "(cached) " >&6
13413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13422 struct hostent *result;
13429 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13430 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13436 if ac_fn_c_try_link
"$LINENO"; then :
13437 wine_cv_linux_gethostbyname_r_6
=yes
13439 wine_cv_linux_gethostbyname_r_6
=no
13442 rm -f core conftest.err conftest.
$ac_objext \
13443 conftest
$ac_exeext conftest.
$ac_ext
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13447 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13448 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13451 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13455 if test "$ac_cv_header_linux_joystick_h" = "yes"
13457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13458 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13459 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13460 $as_echo_n "(cached) " >&6
13462 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 #include <sys/ioctl.h>
13466 #include <sys/types.h>
13467 #include <linux/joystick.h>
13469 struct js_event blub;
13470 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13471 #error "no 2.2 header"
13482 if ac_fn_c_try_compile
"$LINENO"; then :
13483 wine_cv_linux_joystick_22_api
=yes
13485 wine_cv_linux_joystick_22_api
=no
13487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13491 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13492 if test "$wine_cv_linux_joystick_22_api" = "yes"
13495 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13501 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13502 #ifdef HAVE_SYS_PARAM_H
13503 # include <sys/param.h>
13505 #ifdef HAVE_SYS_MOUNT_H
13506 # include <sys/mount.h>
13508 #ifdef HAVE_SYS_VFS_H
13509 # include <sys/vfs.h>
13511 #ifdef HAVE_SYS_STATFS_H
13512 # include <sys/statfs.h>
13515 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13517 cat >>confdefs.h
<<_ACEOF
13518 #define HAVE_STRUCT_STATFS_F_BFREE 1
13523 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13524 #ifdef HAVE_SYS_PARAM_H
13525 # include <sys/param.h>
13527 #ifdef HAVE_SYS_MOUNT_H
13528 # include <sys/mount.h>
13530 #ifdef HAVE_SYS_VFS_H
13531 # include <sys/vfs.h>
13533 #ifdef HAVE_SYS_STATFS_H
13534 # include <sys/statfs.h>
13537 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13539 cat >>confdefs.h
<<_ACEOF
13540 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13545 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13546 #ifdef HAVE_SYS_PARAM_H
13547 # include <sys/param.h>
13549 #ifdef HAVE_SYS_MOUNT_H
13550 # include <sys/mount.h>
13552 #ifdef HAVE_SYS_VFS_H
13553 # include <sys/vfs.h>
13555 #ifdef HAVE_SYS_STATFS_H
13556 # include <sys/statfs.h>
13559 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13561 cat >>confdefs.h
<<_ACEOF
13562 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13567 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13568 #ifdef HAVE_SYS_PARAM_H
13569 # include <sys/param.h>
13571 #ifdef HAVE_SYS_MOUNT_H
13572 # include <sys/mount.h>
13574 #ifdef HAVE_SYS_VFS_H
13575 # include <sys/vfs.h>
13577 #ifdef HAVE_SYS_STATFS_H
13578 # include <sys/statfs.h>
13581 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13583 cat >>confdefs.h
<<_ACEOF
13584 #define HAVE_STRUCT_STATFS_F_FFREE 1
13589 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13590 #ifdef HAVE_SYS_PARAM_H
13591 # include <sys/param.h>
13593 #ifdef HAVE_SYS_MOUNT_H
13594 # include <sys/mount.h>
13596 #ifdef HAVE_SYS_VFS_H
13597 # include <sys/vfs.h>
13599 #ifdef HAVE_SYS_STATFS_H
13600 # include <sys/statfs.h>
13603 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13605 cat >>confdefs.h
<<_ACEOF
13606 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13611 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13612 #ifdef HAVE_SYS_PARAM_H
13613 # include <sys/param.h>
13615 #ifdef HAVE_SYS_MOUNT_H
13616 # include <sys/mount.h>
13618 #ifdef HAVE_SYS_VFS_H
13619 # include <sys/vfs.h>
13621 #ifdef HAVE_SYS_STATFS_H
13622 # include <sys/statfs.h>
13625 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13627 cat >>confdefs.h
<<_ACEOF
13628 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13635 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13636 #include <sys/statvfs.h>
13639 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13641 cat >>confdefs.h
<<_ACEOF
13642 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13649 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13650 #ifdef HAVE_SYS_SOCKET_H
13651 # include <sys/socket.h>
13653 #ifdef HAVE_SYS_UN_H
13654 # include <sys/un.h>
13657 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13659 cat >>confdefs.h
<<_ACEOF
13660 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13665 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13666 #ifdef HAVE_SYS_SOCKET_H
13667 # include <sys/socket.h>
13669 #ifdef HAVE_SYS_UN_H
13670 # include <sys/un.h>
13673 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13675 cat >>confdefs.h
<<_ACEOF
13676 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13681 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13682 #ifdef HAVE_SYS_SOCKET_H
13683 # include <sys/socket.h>
13685 #ifdef HAVE_SYS_UN_H
13686 # include <sys/un.h>
13689 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13691 cat >>confdefs.h
<<_ACEOF
13692 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13699 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13700 #ifdef HAVE_SCSI_SG_H
13701 #include <scsi/sg.h>
13704 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
13706 cat >>confdefs.h
<<_ACEOF
13707 #define HAVE_SCSIREQ_T_CMD 1
13712 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>
13713 #ifdef HAVE_SCSI_SG_H
13714 #include <scsi/sg.h>
13717 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
13719 cat >>confdefs.h
<<_ACEOF
13720 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13727 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13729 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
13731 cat >>confdefs.h
<<_ACEOF
13732 #define HAVE_SIGINFO_T_SI_FD 1
13739 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13740 #ifdef HAVE_SYS_MTIO_H
13741 #include <sys/mtio.h>
13744 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
13746 cat >>confdefs.h
<<_ACEOF
13747 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13752 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13753 #ifdef HAVE_SYS_MTIO_H
13754 #include <sys/mtio.h>
13757 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
13759 cat >>confdefs.h
<<_ACEOF
13760 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13765 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13766 #ifdef HAVE_SYS_MTIO_H
13767 #include <sys/mtio.h>
13770 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
13772 cat >>confdefs.h
<<_ACEOF
13773 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13780 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13781 #include <getopt.h>
13784 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
13786 cat >>confdefs.h
<<_ACEOF
13787 #define HAVE_STRUCT_OPTION_NAME 1
13794 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13795 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
13797 cat >>confdefs.h
<<_ACEOF
13798 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13803 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13804 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
13806 cat >>confdefs.h
<<_ACEOF
13807 #define HAVE_STRUCT_STAT_ST_MTIM 1
13812 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13813 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
13815 cat >>confdefs.h
<<_ACEOF
13816 #define HAVE_STRUCT_STAT_ST_CTIM 1
13821 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13822 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
13824 cat >>confdefs.h
<<_ACEOF
13825 #define HAVE_STRUCT_STAT_ST_ATIM 1
13832 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
13833 #include <sys/types.h>
13835 #ifdef HAVE_NETINET_IN_H
13836 #include <netinet/in.h>
13839 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
13841 cat >>confdefs.h
<<_ACEOF
13842 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13849 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13850 #include <sys/types.h>
13852 #ifdef HAVE_NETINET_IN_H
13853 # include <netinet/in.h>
13855 #ifdef HAVE_ARPA_NAMESER_H
13856 # include <arpa/nameser.h>
13859 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
13861 cat >>confdefs.h
<<_ACEOF
13862 #define HAVE_NS_MSG__MSG_PTR 1
13869 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13870 #include <sys/types.h>
13872 #ifdef HAVE_ALIAS_H
13875 #ifdef HAVE_SYS_SOCKET_H
13876 #include <sys/socket.h>
13878 #ifdef HAVE_SYS_SOCKETVAR_H
13879 #include <sys/socketvar.h>
13881 #ifdef HAVE_SYS_TIMEOUT_H
13882 #include <sys/timeout.h>
13884 #ifdef HAVE_NETINET_IN_H
13885 #include <netinet/in.h>
13887 #ifdef HAVE_NETINET_IN_SYSTM_H
13888 #include <netinet/in_systm.h>
13890 #ifdef HAVE_NETINET_IP_H
13891 #include <netinet/ip.h>
13893 #ifdef HAVE_NETINET_IP_VAR_H
13894 #include <netinet/ip_var.h>
13896 #ifdef HAVE_NETINET_IP_ICMP_H
13897 #include <netinet/ip_icmp.h>
13899 #ifdef HAVE_NETINET_ICMP_VAR
13900 #include <netinet/icmp_var.h>
13903 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
13905 cat >>confdefs.h
<<_ACEOF
13906 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13913 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13914 #include <sys/types.h>
13916 #ifdef HAVE_NET_IF_H
13917 # include <net/if.h>
13920 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
13922 cat >>confdefs.h
<<_ACEOF
13923 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13931 $as_echo_n "checking for timezone variable... " >&6; }
13932 if ${ac_cv_have_timezone+:} false
; then :
13933 $as_echo_n "(cached) " >&6
13935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13936 /* end confdefs.h. */
13946 if ac_fn_c_try_link
"$LINENO"; then :
13947 ac_cv_have_timezone
="yes"
13949 ac_cv_have_timezone
="no"
13951 rm -f core conftest.err conftest.
$ac_objext \
13952 conftest
$ac_exeext conftest.
$ac_ext
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13955 $as_echo "$ac_cv_have_timezone" >&6; }
13956 if test "$ac_cv_have_timezone" = "yes"
13959 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13963 $as_echo_n "checking for daylight variable... " >&6; }
13964 if ${ac_cv_have_daylight+:} false
; then :
13965 $as_echo_n "(cached) " >&6
13967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13968 /* end confdefs.h. */
13978 if ac_fn_c_try_link
"$LINENO"; then :
13979 ac_cv_have_daylight
="yes"
13981 ac_cv_have_daylight
="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: $ac_cv_have_daylight" >&5
13987 $as_echo "$ac_cv_have_daylight" >&6; }
13988 if test "$ac_cv_have_daylight" = "yes"
13991 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13995 ac_save_LIBS
="$LIBS"
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13998 $as_echo_n "checking for isinf... " >&6; }
13999 if ${ac_cv_have_isinf+:} false
; then :
14000 $as_echo_n "(cached) " >&6
14002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14003 /* end confdefs.h. */
14008 float f = 0.0; return isinf(f)
14013 if ac_fn_c_try_link
"$LINENO"; then :
14014 ac_cv_have_isinf
="yes"
14016 ac_cv_have_isinf
="no"
14018 rm -f core conftest.err conftest.
$ac_objext \
14019 conftest
$ac_exeext conftest.
$ac_ext
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14022 $as_echo "$ac_cv_have_isinf" >&6; }
14023 if test "$ac_cv_have_isinf" = "yes"
14026 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14031 $as_echo_n "checking for isnan... " >&6; }
14032 if ${ac_cv_have_isnan+:} false
; then :
14033 $as_echo_n "(cached) " >&6
14035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14041 float f = 0.0; return isnan(f)
14046 if ac_fn_c_try_link
"$LINENO"; then :
14047 ac_cv_have_isnan
="yes"
14049 ac_cv_have_isnan
="no"
14051 rm -f core conftest.err conftest.
$ac_objext \
14052 conftest
$ac_exeext conftest.
$ac_ext
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14055 $as_echo "$ac_cv_have_isnan" >&6; }
14056 if test "$ac_cv_have_isnan" = "yes"
14059 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14062 LIBS
="$ac_save_LIBS"
14066 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14067 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14068 if ${ac_cv_cpp_def___i386__+:} false
; then :
14069 $as_echo_n "(cached) " >&6
14071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14072 /* end confdefs.h. */
14077 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14078 $EGREP "yes" >/dev
/null
2>&1; then :
14079 ac_cv_cpp_def___i386__
=yes
14081 ac_cv_cpp_def___i386__
=no
14086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14087 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14088 if test $ac_cv_cpp_def___i386__ = yes; then :
14089 CFLAGS
="$CFLAGS -D__i386__"
14090 LINTFLAGS
="$LINTFLAGS -D__i386__"
14092 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14093 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14094 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14095 $as_echo_n "(cached) " >&6
14097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14098 /* end confdefs.h. */
14103 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14104 $EGREP "yes" >/dev
/null
2>&1; then :
14105 ac_cv_cpp_def___x86_64__
=yes
14107 ac_cv_cpp_def___x86_64__
=no
14112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14113 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14114 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14115 CFLAGS
="$CFLAGS -D__x86_64__"
14116 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14118 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14119 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14120 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14121 $as_echo_n "(cached) " >&6
14123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14129 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14130 $EGREP "yes" >/dev
/null
2>&1; then :
14131 ac_cv_cpp_def___sparc__
=yes
14133 ac_cv_cpp_def___sparc__
=no
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14139 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14140 if test $ac_cv_cpp_def___sparc__ = yes; then :
14141 CFLAGS
="$CFLAGS -D__sparc__"
14142 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14144 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14145 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14146 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14151 #ifndef __powerpc__
14155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14156 $EGREP "yes" >/dev
/null
2>&1; then :
14157 ac_cv_cpp_def___powerpc__
=yes
14159 ac_cv_cpp_def___powerpc__
=no
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14165 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14166 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14167 CFLAGS
="$CFLAGS -D__powerpc__"
14168 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14170 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14171 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14172 if ${ac_cv_cpp_def___arm__+:} false
; then :
14173 $as_echo_n "(cached) " >&6
14175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14176 /* end confdefs.h. */
14181 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14182 $EGREP "yes" >/dev
/null
2>&1; then :
14183 ac_cv_cpp_def___arm__
=yes
14185 ac_cv_cpp_def___arm__
=no
14190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14191 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14192 if test $ac_cv_cpp_def___arm__ = yes; then :
14193 CFLAGS
="$CFLAGS -D__arm__"
14194 LINTFLAGS
="$LINTFLAGS -D__arm__"
14198 case $host_vendor in
14199 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14200 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14201 if ${ac_cv_cpp_def___sun__+:} false
; then :
14202 $as_echo_n "(cached) " >&6
14204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14211 $EGREP "yes" >/dev
/null
2>&1; then :
14212 ac_cv_cpp_def___sun__
=yes
14214 ac_cv_cpp_def___sun__
=no
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14220 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14221 if test $ac_cv_cpp_def___sun__ = yes; then :
14222 CFLAGS
="$CFLAGS -D__sun__"
14223 LINTFLAGS
="$LINTFLAGS -D__sun__"
14231 ac_config_commands
="$ac_config_commands include/stamp-h"
14234 ALL_MAKEFILE_DEPENDS
="
14235 # Rules automatically generated by configure
14240 Makefile: Makefile.in Make.vars.in Make.rules config.status
14241 @./config.status Make.tmp Makefile"
14244 ALL_TEST_RESOURCES
=""
14247 wine_fn_append_file
()
14249 as_fn_append
$1 " \\$as_nl $2"
14252 wine_fn_append_rule
()
14254 as_fn_append
$1 "$as_nl$2"
14257 wine_fn_has_flag
()
14259 expr ",$2," : ".*,$1,.*" >/dev
/null
14262 wine_fn_all_dir_rules
()
14266 ac_makedep
="\$(MAKEDEP)"
14267 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14268 if test $ac_dir != tools
14270 ac_alldeps
="$2 $ac_makedep"
14273 *.
in) ac_input
=$ac_input:$2 ;;
14274 *) ac_makedep
="$2 $ac_makedep" ;;
14277 wine_fn_append_file ALL_DIRS
$ac_dir
14278 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14279 "__clean__: $ac_dir/__clean__
14280 .PHONY: $ac_dir/__clean__
14281 $ac_dir/__clean__: $ac_dir/Makefile
14282 @cd $ac_dir && \$(MAKE) clean
14283 \$(RM) $ac_dir/Makefile
14284 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14285 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14286 depend: $ac_dir/__depend__
14287 .PHONY: $ac_dir/__depend__
14288 $ac_dir/__depend__: $ac_makedep dummy
14289 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14292 wine_fn_pot_rules
()
14297 test "x$with_gettextpo" = xyes ||
return
14299 if wine_fn_has_flag mc
$ac_flags
14301 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14302 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14303 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14304 @cd $ac_dir && \$(MAKE) msg.pot
14305 $ac_dir/msg.pot: tools/wmc include"
14307 if wine_fn_has_flag po
$ac_flags
14309 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14310 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14311 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14312 @cd $ac_dir && \$(MAKE) rsrc.pot
14313 $ac_dir/srsrc.pot: tools/wrc include"
14317 wine_fn_config_makefile
()
14323 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14327 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14328 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14331 $ac_dir: $ac_dir/Makefile dummy
14332 @cd $ac_dir && \$(MAKE)"
14334 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14336 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14337 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14338 $ac_dir/__install__:: $ac_dir
14339 @cd $ac_dir && \$(MAKE) install
14340 $ac_dir/__uninstall__:: $ac_dir/Makefile
14341 @cd $ac_dir && \$(MAKE) uninstall
14342 install:: $ac_dir/__install__
14343 __uninstall__: $ac_dir/__uninstall__"
14345 if wine_fn_has_flag install-lib
$ac_flags
14347 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14348 ".PHONY: $ac_dir/__install-lib__
14349 $ac_dir/__install-lib__:: $ac_dir
14350 @cd $ac_dir && \$(MAKE) install-lib
14351 install-lib:: $ac_dir/__install-lib__"
14354 if wine_fn_has_flag install-dev
$ac_flags
14356 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14357 ".PHONY: $ac_dir/__install-dev
14358 $ac_dir/__install-dev__:: $ac_dir
14359 @cd $ac_dir && \$(MAKE) install-dev
14360 install-dev:: $ac_dir/__install-dev__"
14364 wine_fn_config_lib
()
14368 ac_dir
=dlls
/$ac_name
14369 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14371 if wine_fn_has_flag install-dev
$ac_flags
14374 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14375 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14376 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14377 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14378 $ac_dir/__uninstall__::
14379 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14380 install install-dev:: $ac_dir/__install__
14381 __uninstall__: $ac_dir/__uninstall__"
14384 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14385 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14388 wine_fn_config_dll
()
14391 ac_dir
=dlls
/$ac_name
14394 ac_implib
=${4:-$ac_name}
14395 ac_file
=$ac_dir/lib
$ac_implib
14397 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14401 *16) ac_implibflags
=" -m16" ;;
14403 *) ac_dll
=$ac_dll.dll
;;
14406 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14408 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14409 test "$ac_enable" != enable_win16 ||
return 0
14410 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14412 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14413 "$ac_dir: __builddeps__
14414 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14415 @cd $ac_dir && \$(MAKE) \$@"
14417 if wine_fn_has_flag install-lib
$ac_flags
14420 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14421 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14422 install install-lib:: $ac_dir/__install-lib__
14423 __uninstall__: $ac_dir/__uninstall__"
14424 if test -n "$DLLEXT"
14426 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14427 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14428 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14429 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14430 $ac_dir/__uninstall__::
14431 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14433 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14434 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14435 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14436 $ac_dir/__uninstall__::
14437 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14441 wine_fn_pot_rules
$ac_dir $ac_flags
14444 if wine_fn_has_flag staticimplib
$ac_flags
14446 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14447 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14448 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14449 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14450 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14451 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14452 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14453 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14454 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14455 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14456 $ac_dir/__uninstall__::
14457 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14458 install install-dev:: $ac_dir/__install-dev__
14459 __uninstall__: $ac_dir/__uninstall__"
14461 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14463 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14464 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14465 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14466 $ac_dir/__uninstall__::
14467 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14470 if test "x$CROSSTEST_DISABLE" = x
14472 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14473 "__builddeps__: $ac_file.cross.a
14474 $ac_file.cross.a: $ac_dir/Makefile dummy
14475 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14478 elif wine_fn_has_flag implib
$ac_flags
14480 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14481 "__builddeps__: $ac_file.$IMPLIBEXT
14482 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14483 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14484 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14485 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14486 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14487 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14488 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14489 $ac_dir/__uninstall__::
14490 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14491 install install-dev:: $ac_dir/__install-dev__
14492 __uninstall__: $ac_dir/__uninstall__"
14493 if test "x$CROSSTEST_DISABLE" = x
14495 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14496 "__builddeps__: $ac_file.cross.a
14497 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14498 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14501 if test "$ac_name" != "$ac_implib"
14503 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14504 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14505 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14506 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14508 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14509 if test "x$CROSSTEST_DISABLE" = x
14511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14512 "__builddeps__: dlls/lib$ac_implib.cross.a
14513 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14514 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14520 wine_fn_config_program
()
14523 ac_dir
=programs
/$ac_name
14526 ac_program
=$ac_name
14530 *) ac_program
=$ac_program.exe
;;
14533 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14535 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14538 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14539 "$ac_dir: __builddeps__"
14541 wine_fn_pot_rules
$ac_dir $ac_flags
14543 wine_fn_has_flag
install $ac_flags ||
return
14544 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14545 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14546 install install-lib:: $ac_dir/__install__
14547 __uninstall__: $ac_dir/__uninstall__"
14549 if test -n "$DLLEXT"
14551 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14552 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14553 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14554 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14555 $ac_dir/__uninstall__::
14556 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14558 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14560 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14561 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14562 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14563 $ac_dir/__uninstall__::
14564 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14567 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14568 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14569 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14570 $ac_dir/__uninstall__::
14571 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14574 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
14576 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14577 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14578 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14579 $ac_dir/__uninstall__::
14580 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14585 wine_fn_config_test
()
14590 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
14591 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14593 if test "x$enable_tests" = xno
; then :
14596 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14599 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14600 @cd $ac_dir && \$(MAKE)
14601 programs/winetest: $ac_dir
14602 check test: $ac_dir/__test__
14603 .PHONY: $ac_dir/__test__
14604 $ac_dir/__test__: dummy
14605 @cd $ac_dir && \$(MAKE) test
14607 \$(RM) $ac_dir/*.ok"
14609 if test "x$CROSSTEST_DISABLE" = x
14611 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14612 "crosstest: $ac_dir/__crosstest__
14613 .PHONY: $ac_dir/__crosstest__
14614 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14615 @cd $ac_dir && \$(MAKE) crosstest"
14620 wine_fn_config_tool
()
14624 if test "x$enable_tools" = xno
; then :
14628 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
14630 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
14631 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
14633 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14637 wine_fn_config_makerules
()
14641 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14642 "$ac_rules: $ac_rules.in $ac_deps config.status
14643 @./config.status $ac_rules
14648 wine_fn_config_symlink
()
14651 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14653 @./config.status $ac_link
14658 if test "x$CROSSTEST_DISABLE" != x
14660 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14662 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14664 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14665 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14666 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14667 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14668 if test "x$enable_fonts" != xno
; then
14669 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14670 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14672 if test "x$enable_fonts" != xno
; then
14673 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14674 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14676 if test "x$enable_fonts" != xno
; then
14677 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14678 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14680 if test "x$enable_fonts" != xno
; then
14681 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14682 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14684 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
14685 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
14686 if test "x$enable_tools" != xno
; then
14687 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14688 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14690 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14691 wine_fn_config_symlink wine
14692 if test "x$enable_win64" != xno
; then
14693 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
14694 wine_fn_config_symlink wine64
14697 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
14699 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14701 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14703 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14705 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14707 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14709 ac_config_commands
="$ac_config_commands include/wine"
14712 wine_fn_config_makerules Make.rules
14713 MAKE_RULES
=Make.rules
14714 ac_config_files
="$ac_config_files Make.rules"
14716 wine_fn_config_makerules Maketest.rules Make.rules
14717 MAKE_TEST_RULES
=Maketest.rules
14718 ac_config_files
="$ac_config_files Maketest.rules"
14720 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14721 MAKE_DLL_RULES
=dlls
/Makedll.rules
14722 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14724 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14725 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14726 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14728 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14729 MAKE_PROG_RULES
=programs
/Makeprog.rules
14730 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14733 wine_fn_config_dll acledit enable_acledit
14734 wine_fn_config_dll aclui enable_aclui implib
14735 wine_fn_config_dll activeds enable_activeds implib
14736 wine_fn_config_dll actxprxy enable_actxprxy
14737 wine_fn_config_lib adsiid
14738 wine_fn_config_dll advapi32 enable_advapi32 implib
14739 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14740 wine_fn_config_dll advpack enable_advpack implib
14741 wine_fn_config_test dlls
/advpack
/tests advpack_test
14742 wine_fn_config_dll amstream enable_amstream
14743 wine_fn_config_test dlls
/amstream
/tests amstream_test
14744 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14745 wine_fn_config_dll atl enable_atl implib
14746 wine_fn_config_test dlls
/atl
/tests atl_test
14747 wine_fn_config_dll authz enable_authz
14748 wine_fn_config_dll avicap32 enable_avicap32 implib
14749 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
14750 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14751 wine_fn_config_dll avifile.dll16 enable_win16
14752 wine_fn_config_dll avrt enable_avrt implib
14753 wine_fn_config_dll bcrypt enable_bcrypt
14754 wine_fn_config_dll browseui enable_browseui po
14755 wine_fn_config_test dlls
/browseui
/tests browseui_test
14756 wine_fn_config_dll cabinet enable_cabinet implib
14757 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14758 wine_fn_config_dll capi2032 enable_capi2032 implib
14759 wine_fn_config_dll cards enable_cards implib
14760 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14761 wine_fn_config_dll clusapi enable_clusapi implib
14762 wine_fn_config_dll comcat enable_comcat
14763 wine_fn_config_test dlls
/comcat
/tests comcat_test
14764 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
14765 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14766 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
14767 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14768 wine_fn_config_dll
comm.drv16 enable_win16
14769 wine_fn_config_dll commdlg.dll16 enable_win16
14770 wine_fn_config_dll compobj.dll16 enable_win16
14771 wine_fn_config_dll compstui enable_compstui implib
14772 wine_fn_config_dll credui enable_credui implib
,po
14773 wine_fn_config_test dlls
/credui
/tests credui_test
14774 wine_fn_config_dll crtdll enable_crtdll implib
14775 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
14776 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14777 wine_fn_config_dll cryptdlg enable_cryptdlg po
14778 wine_fn_config_dll cryptdll enable_cryptdll implib
14779 wine_fn_config_dll cryptnet enable_cryptnet implib
14780 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14781 wine_fn_config_dll cryptui enable_cryptui implib
,po
14782 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14783 wine_fn_config_dll ctapi32 enable_ctapi32
14784 wine_fn_config_dll ctl3d.dll16 enable_win16
14785 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14786 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14787 wine_fn_config_dll d3d10 enable_d3d10 implib
14788 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14789 wine_fn_config_dll d3d10core enable_d3d10core implib
14790 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14791 wine_fn_config_dll d3d8 enable_d3d8 implib
14792 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14793 wine_fn_config_dll d3d9 enable_d3d9 implib
14794 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14795 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14796 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14797 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14798 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14799 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14800 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14801 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14802 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14803 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14804 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14805 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14806 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14807 wine_fn_config_dll d3dim enable_d3dim implib
14808 wine_fn_config_dll d3drm enable_d3drm implib
14809 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14810 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14811 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14812 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14813 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14814 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14815 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14816 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14817 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14818 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14819 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14820 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14821 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14822 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14823 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14824 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14825 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14826 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14827 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14828 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14829 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14830 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14831 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14832 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14833 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14834 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14835 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14836 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14837 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14838 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14839 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14840 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14841 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14842 wine_fn_config_dll d3dxof enable_d3dxof implib
14843 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14844 wine_fn_config_dll dbgeng enable_dbgeng implib
14845 wine_fn_config_dll dbghelp enable_dbghelp implib
14846 wine_fn_config_dll dciman32 enable_dciman32 implib
14847 wine_fn_config_dll ddeml.dll16 enable_win16
14848 wine_fn_config_dll ddraw enable_ddraw implib
14849 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14850 wine_fn_config_dll ddrawex enable_ddrawex
14851 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14852 wine_fn_config_dll devenum enable_devenum po
14853 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
14854 wine_fn_config_test dlls
/dinput
/tests dinput_test
14855 wine_fn_config_dll dinput8 enable_dinput8 implib
14856 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
14857 wine_fn_config_dll dispdib.dll16 enable_win16
14858 wine_fn_config_dll dispex enable_dispex
14859 wine_fn_config_test dlls
/dispex
/tests dispex_test
14860 wine_fn_config_dll display.drv16 enable_win16
14861 wine_fn_config_dll dmband enable_dmband
14862 wine_fn_config_dll dmcompos enable_dmcompos
14863 wine_fn_config_dll dmime enable_dmime
14864 wine_fn_config_test dlls
/dmime
/tests dmime_test
14865 wine_fn_config_dll dmloader enable_dmloader
14866 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14867 wine_fn_config_dll dmscript enable_dmscript
14868 wine_fn_config_dll dmstyle enable_dmstyle
14869 wine_fn_config_dll dmsynth enable_dmsynth
14870 wine_fn_config_dll dmusic enable_dmusic
14871 wine_fn_config_dll dmusic32 enable_dmusic32 implib
14872 wine_fn_config_dll dnsapi enable_dnsapi implib
14873 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14874 wine_fn_config_dll dplay enable_dplay implib
14875 wine_fn_config_dll dplayx enable_dplayx implib
14876 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14877 wine_fn_config_dll dpnaddr enable_dpnaddr
14878 wine_fn_config_dll dpnet enable_dpnet implib
14879 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
14880 wine_fn_config_dll dpnhpast enable_dpnhpast
14881 wine_fn_config_dll dpnlobby enable_dpnlobby
14882 wine_fn_config_dll dpwsockx enable_dpwsockx
14883 wine_fn_config_dll drmclien enable_drmclien
14884 wine_fn_config_dll dsound enable_dsound implib
14885 wine_fn_config_test dlls
/dsound
/tests dsound_test
14886 wine_fn_config_dll dssenh enable_dssenh
14887 wine_fn_config_dll dswave enable_dswave
14888 wine_fn_config_dll dwmapi enable_dwmapi implib
14889 wine_fn_config_dll dxdiagn enable_dxdiagn po
14890 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14891 wine_fn_config_lib dxerr8
14892 wine_fn_config_lib dxerr9
14893 wine_fn_config_dll dxgi enable_dxgi implib
14894 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14895 wine_fn_config_lib dxguid
14896 wine_fn_config_dll explorerframe enable_explorerframe
14897 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
14898 wine_fn_config_dll faultrep enable_faultrep implib
14899 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
14900 wine_fn_config_dll fltlib enable_fltlib
14901 wine_fn_config_dll fusion enable_fusion
14902 wine_fn_config_test dlls
/fusion
/tests fusion_test
14903 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14904 wine_fn_config_dll gameux enable_gameux
14905 wine_fn_config_test dlls
/gameux
/tests gameux_test
14906 wine_fn_config_dll gdi.exe16 enable_win16
14907 wine_fn_config_dll gdi32 enable_gdi32 implib
14908 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14909 wine_fn_config_dll gdiplus enable_gdiplus implib
14910 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14911 wine_fn_config_dll glu32 enable_glu32 implib
14912 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14913 wine_fn_config_dll gpkcsp enable_gpkcsp
14914 wine_fn_config_dll hal enable_hal
14915 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
14916 wine_fn_config_dll hid enable_hid implib
14917 wine_fn_config_dll hlink enable_hlink implib
14918 wine_fn_config_test dlls
/hlink
/tests hlink_test
14919 wine_fn_config_dll hnetcfg enable_hnetcfg
14920 wine_fn_config_dll httpapi enable_httpapi
14921 wine_fn_config_dll iccvid enable_iccvid po
14922 wine_fn_config_dll icmp enable_icmp
14923 wine_fn_config_dll ieframe enable_ieframe implib
,po
14924 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
14925 wine_fn_config_dll ifsmgr.vxd enable_win16
14926 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14927 wine_fn_config_dll imagehlp enable_imagehlp implib
14928 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14929 wine_fn_config_dll imm.dll16 enable_win16
14930 wine_fn_config_dll imm32 enable_imm32 implib
14931 wine_fn_config_test dlls
/imm32
/tests imm32_test
14932 wine_fn_config_dll inetcomm enable_inetcomm implib
14933 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14934 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
14935 wine_fn_config_dll inetmib1 enable_inetmib1
14936 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14937 wine_fn_config_dll infosoft enable_infosoft
14938 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14939 wine_fn_config_dll initpki enable_initpki
14940 wine_fn_config_dll inkobj enable_inkobj
14941 wine_fn_config_dll inseng enable_inseng
14942 wine_fn_config_dll iphlpapi enable_iphlpapi implib
14943 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14944 wine_fn_config_dll itircl enable_itircl
14945 wine_fn_config_dll itss enable_itss
14946 wine_fn_config_test dlls
/itss
/tests itss_test
14947 wine_fn_config_dll jscript enable_jscript po
14948 wine_fn_config_test dlls
/jscript
/tests jscript_test
14949 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
14950 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14951 wine_fn_config_dll keyboard.drv16 enable_win16
14952 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
14953 wine_fn_config_dll ktmw32 enable_ktmw32
14954 wine_fn_config_dll loadperf enable_loadperf implib
14955 wine_fn_config_dll localspl enable_localspl po
14956 wine_fn_config_test dlls
/localspl
/tests localspl_test
14957 wine_fn_config_dll localui enable_localui po
14958 wine_fn_config_test dlls
/localui
/tests localui_test
14959 wine_fn_config_dll lz32 enable_lz32 implib
14960 wine_fn_config_test dlls
/lz32
/tests lz32_test
14961 wine_fn_config_dll lzexpand.dll16 enable_win16
14962 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
14963 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14964 wine_fn_config_dll mapistub enable_mapistub
14965 wine_fn_config_dll mciavi32 enable_mciavi32
14966 wine_fn_config_dll mcicda enable_mcicda
14967 wine_fn_config_dll mciqtz32 enable_mciqtz32
14968 wine_fn_config_dll mciseq enable_mciseq
14969 wine_fn_config_dll mciwave enable_mciwave
14970 wine_fn_config_dll midimap enable_midimap
14971 wine_fn_config_dll mlang enable_mlang implib
14972 wine_fn_config_test dlls
/mlang
/tests mlang_test
14973 wine_fn_config_dll mmcndmgr enable_mmcndmgr
14974 wine_fn_config_dll mmdevapi enable_mmdevapi
14975 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14976 wine_fn_config_dll mmdevldr.vxd enable_win16
14977 wine_fn_config_dll mmsystem.dll16 enable_win16
14978 wine_fn_config_dll monodebg.vxd enable_win16
14979 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14980 wine_fn_config_dll mouse.drv16 enable_win16
14981 wine_fn_config_dll mpr enable_mpr implib
,po
14982 wine_fn_config_dll mprapi enable_mprapi implib
14983 wine_fn_config_dll msacm.dll16 enable_win16
14984 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14985 wine_fn_config_dll msacm32 enable_msacm32 implib
14986 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14987 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14988 wine_fn_config_dll mscat32 enable_mscat32
14989 wine_fn_config_dll mscms enable_mscms implib
14990 wine_fn_config_test dlls
/mscms
/tests mscms_test
14991 wine_fn_config_dll mscoree enable_mscoree
14992 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
14993 wine_fn_config_dll msctf enable_msctf
14994 wine_fn_config_test dlls
/msctf
/tests msctf_test
14995 wine_fn_config_dll msdaps enable_msdaps
14996 wine_fn_config_dll msdmo enable_msdmo implib
14997 wine_fn_config_dll msftedit enable_msftedit
14998 wine_fn_config_dll msg711.acm enable_msg711_acm
14999 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15000 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15001 wine_fn_config_dll mshtml enable_mshtml implib
,po
15002 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15003 wine_fn_config_dll msi enable_msi implib
,po
15004 wine_fn_config_test dlls
/msi
/tests msi_test
15005 wine_fn_config_dll msimg32 enable_msimg32 implib
15006 wine_fn_config_dll msimsg enable_msimsg
15007 wine_fn_config_dll msimtf enable_msimtf
15008 wine_fn_config_dll msisip enable_msisip
15009 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15010 wine_fn_config_dll msnet32 enable_msnet32
15011 wine_fn_config_dll mspatcha enable_mspatcha
15012 wine_fn_config_dll msrle32 enable_msrle32 po
15013 wine_fn_config_dll mssign32 enable_mssign32
15014 wine_fn_config_dll mssip32 enable_mssip32
15015 wine_fn_config_dll mstask enable_mstask
15016 wine_fn_config_test dlls
/mstask
/tests mstask_test
15017 wine_fn_config_dll msvcirt enable_msvcirt
15018 wine_fn_config_dll msvcp100 enable_msvcp100
15019 wine_fn_config_dll msvcp60 enable_msvcp60
15020 wine_fn_config_dll msvcp70 enable_msvcp70
15021 wine_fn_config_dll msvcp71 enable_msvcp71
15022 wine_fn_config_dll msvcp80 enable_msvcp80
15023 wine_fn_config_dll msvcp90 enable_msvcp90
15024 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15025 wine_fn_config_dll msvcr100 enable_msvcr100
15026 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15027 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15028 wine_fn_config_dll msvcr80 enable_msvcr80
15029 wine_fn_config_dll msvcr90 enable_msvcr90
15030 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15031 wine_fn_config_dll msvcrt enable_msvcrt implib
15032 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15033 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15034 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15035 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15036 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15037 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15038 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15039 wine_fn_config_dll msvidc32 enable_msvidc32 po
15040 wine_fn_config_dll msvideo.dll16 enable_win16
15041 wine_fn_config_dll mswsock enable_mswsock implib
15042 wine_fn_config_dll msxml enable_msxml
15043 wine_fn_config_dll msxml2 enable_msxml2
15044 wine_fn_config_dll msxml3 enable_msxml3
15045 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15046 wine_fn_config_dll msxml4 enable_msxml4
15047 wine_fn_config_dll msxml6 enable_msxml6
15048 wine_fn_config_dll nddeapi enable_nddeapi implib
15049 wine_fn_config_dll netapi32 enable_netapi32 implib
15050 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15051 wine_fn_config_dll newdev enable_newdev implib
15052 wine_fn_config_dll normaliz enable_normaliz implib
15053 wine_fn_config_dll npmshtml enable_npmshtml
15054 wine_fn_config_dll ntdll enable_ntdll implib
15055 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15056 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15057 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15058 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15059 wine_fn_config_dll ntprint enable_ntprint
15060 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15061 wine_fn_config_dll objsel enable_objsel
15062 wine_fn_config_dll odbc32 enable_odbc32 implib
15063 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15064 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15065 wine_fn_config_dll ole2.dll16 enable_win16
15066 wine_fn_config_dll ole2conv.dll16 enable_win16
15067 wine_fn_config_dll ole2disp.dll16 enable_win16
15068 wine_fn_config_dll ole2nls.dll16 enable_win16
15069 wine_fn_config_dll ole2prox.dll16 enable_win16
15070 wine_fn_config_dll ole2thk.dll16 enable_win16
15071 wine_fn_config_dll ole32 enable_ole32 implib
15072 wine_fn_config_test dlls
/ole32
/tests ole32_test
15073 wine_fn_config_dll oleacc enable_oleacc implib
,po
15074 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15075 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15076 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15077 wine_fn_config_dll olecli.dll16 enable_win16
15078 wine_fn_config_dll olecli32 enable_olecli32 implib
15079 wine_fn_config_dll oledb32 enable_oledb32
15080 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15081 wine_fn_config_dll oledlg enable_oledlg implib
,po
15082 wine_fn_config_dll olepro32 enable_olepro32 implib
15083 wine_fn_config_dll olesvr.dll16 enable_win16
15084 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15085 wine_fn_config_dll olethk32 enable_olethk32
15086 wine_fn_config_dll openal32 enable_openal32
15087 wine_fn_config_dll opencl enable_opencl
15088 wine_fn_config_dll opengl32 enable_opengl32 implib
15089 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15090 wine_fn_config_dll pdh enable_pdh implib
15091 wine_fn_config_test dlls
/pdh
/tests pdh_test
15092 wine_fn_config_dll pidgen enable_pidgen
15093 wine_fn_config_dll powrprof enable_powrprof implib
15094 wine_fn_config_dll printui enable_printui
15095 wine_fn_config_dll propsys enable_propsys implib
15096 wine_fn_config_test dlls
/propsys
/tests propsys_test
15097 wine_fn_config_dll psapi enable_psapi implib
15098 wine_fn_config_test dlls
/psapi
/tests psapi_test
15099 wine_fn_config_dll pstorec enable_pstorec
15100 wine_fn_config_dll qcap enable_qcap
15101 wine_fn_config_dll qedit enable_qedit
15102 wine_fn_config_test dlls
/qedit
/tests qedit_test
15103 wine_fn_config_dll qmgr enable_qmgr
15104 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15105 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15106 wine_fn_config_dll quartz enable_quartz implib
15107 wine_fn_config_test dlls
/quartz
/tests quartz_test
15108 wine_fn_config_dll query enable_query
15109 wine_fn_config_dll rasapi16.dll16 enable_win16
15110 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15111 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15112 wine_fn_config_dll rasdlg enable_rasdlg implib
15113 wine_fn_config_dll regapi enable_regapi
15114 wine_fn_config_dll resutils enable_resutils implib
15115 wine_fn_config_dll riched20 enable_riched20 implib
15116 wine_fn_config_test dlls
/riched20
/tests riched20_test
15117 wine_fn_config_dll riched32 enable_riched32
15118 wine_fn_config_test dlls
/riched32
/tests riched32_test
15119 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15120 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15121 wine_fn_config_dll rsabase enable_rsabase
15122 wine_fn_config_dll rsaenh enable_rsaenh implib
15123 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15124 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15125 wine_fn_config_dll rtutils enable_rtutils implib
15126 wine_fn_config_dll samlib enable_samlib
15127 wine_fn_config_dll sane.ds enable_sane_ds po
15128 wine_fn_config_dll scarddlg enable_scarddlg
15129 wine_fn_config_dll sccbase enable_sccbase
15130 wine_fn_config_dll schannel enable_schannel
15131 wine_fn_config_test dlls
/schannel
/tests schannel_test
15132 wine_fn_config_dll secur32 enable_secur32 implib
15133 wine_fn_config_test dlls
/secur32
/tests secur32_test
15134 wine_fn_config_dll security enable_security
15135 wine_fn_config_dll sensapi enable_sensapi implib
15136 wine_fn_config_dll serialui enable_serialui implib
15137 wine_fn_config_test dlls
/serialui
/tests serialui_test
15138 wine_fn_config_dll setupapi enable_setupapi implib
,po
15139 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15140 wine_fn_config_dll setupx.dll16 enable_win16
15141 wine_fn_config_dll sfc enable_sfc implib
15142 wine_fn_config_dll sfc_os enable_sfc_os implib
15143 wine_fn_config_dll shdoclc enable_shdoclc po
15144 wine_fn_config_dll shdocvw enable_shdocvw implib
15145 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15146 wine_fn_config_dll shell.dll16 enable_win16
15147 wine_fn_config_dll shell32 enable_shell32 implib
,po
15148 wine_fn_config_test dlls
/shell32
/tests shell32_test
15149 wine_fn_config_dll shfolder enable_shfolder implib
15150 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15151 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15152 wine_fn_config_dll slbcsp enable_slbcsp
15153 wine_fn_config_dll slc enable_slc implib
15154 wine_fn_config_dll snmpapi enable_snmpapi implib
15155 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15156 wine_fn_config_dll softpub enable_softpub
15157 wine_fn_config_dll sound.drv16 enable_win16
15158 wine_fn_config_dll spoolss enable_spoolss implib
15159 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15160 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15161 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15162 wine_fn_config_dll sti enable_sti implib
15163 wine_fn_config_test dlls
/sti
/tests sti_test
15164 wine_fn_config_dll storage.dll16 enable_win16
15165 wine_fn_config_dll stress.dll16 enable_win16
15166 wine_fn_config_lib strmbase
15167 wine_fn_config_lib strmiids
15168 wine_fn_config_dll svrapi enable_svrapi
15169 wine_fn_config_dll sxs enable_sxs
15170 wine_fn_config_dll system.drv16 enable_win16
15171 wine_fn_config_dll t2embed enable_t2embed
15172 wine_fn_config_dll tapi32 enable_tapi32 implib
15173 wine_fn_config_dll toolhelp.dll16 enable_win16
15174 wine_fn_config_dll traffic enable_traffic
15175 wine_fn_config_dll twain.dll16 enable_win16
15176 wine_fn_config_dll twain_32 enable_twain_32
15177 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15178 wine_fn_config_dll typelib.dll16 enable_win16
15179 wine_fn_config_dll unicows enable_unicows implib
15180 wine_fn_config_dll updspapi enable_updspapi
15181 wine_fn_config_dll url enable_url implib
15182 wine_fn_config_dll urlmon enable_urlmon implib
15183 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15184 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15185 wine_fn_config_dll user.exe16 enable_win16
15186 wine_fn_config_dll user32 enable_user32 implib
,po
15187 wine_fn_config_test dlls
/user32
/tests user32_test
15188 wine_fn_config_dll userenv enable_userenv implib
15189 wine_fn_config_test dlls
/userenv
/tests userenv_test
15190 wine_fn_config_dll usp10 enable_usp10 implib
15191 wine_fn_config_test dlls
/usp10
/tests usp10_test
15192 wine_fn_config_lib uuid
15193 wine_fn_config_dll uxtheme enable_uxtheme implib
15194 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15195 wine_fn_config_dll vbscript enable_vbscript
15196 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15197 wine_fn_config_dll vcomp enable_vcomp
15198 wine_fn_config_dll vdhcp.vxd enable_win16
15199 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15200 wine_fn_config_dll ver.dll16 enable_win16
15201 wine_fn_config_dll version enable_version implib
15202 wine_fn_config_test dlls
/version
/tests version_test
15203 wine_fn_config_dll vmm.vxd enable_win16
15204 wine_fn_config_dll vnbt.vxd enable_win16
15205 wine_fn_config_dll vnetbios.vxd enable_win16
15206 wine_fn_config_dll vtdapi.vxd enable_win16
15207 wine_fn_config_dll vwin32.vxd enable_win16
15208 wine_fn_config_dll w32skrnl enable_win16
15209 wine_fn_config_dll w32sys.dll16 enable_win16
15210 wine_fn_config_dll wbemprox enable_wbemprox
15211 wine_fn_config_dll wer enable_wer implib
15212 wine_fn_config_test dlls
/wer
/tests wer_test
15213 wine_fn_config_dll wiaservc enable_wiaservc
15214 wine_fn_config_dll win32s16.dll16 enable_win16
15215 wine_fn_config_dll win87em.dll16 enable_win16
15216 wine_fn_config_dll winaspi.dll16 enable_win16
15217 wine_fn_config_dll windebug.dll16 enable_win16
15218 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15219 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15220 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15221 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15222 wine_fn_config_lib winecrt0
15223 wine_fn_config_dll wined3d enable_wined3d implib
15224 wine_fn_config_dll winegstreamer enable_winegstreamer
15225 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15226 wine_fn_config_dll winemapi enable_winemapi
15227 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15228 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15229 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
15230 wine_fn_config_dll wineps16.drv16 enable_win16
15231 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15232 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15233 wine_fn_config_dll winex11.drv enable_winex11_drv
15234 wine_fn_config_dll wing.dll16 enable_win16
15235 wine_fn_config_dll wing32 enable_wing32
15236 wine_fn_config_dll winhttp enable_winhttp implib
15237 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15238 wine_fn_config_dll wininet enable_wininet implib
,po
15239 wine_fn_config_test dlls
/wininet
/tests wininet_test
15240 wine_fn_config_dll winmm enable_winmm implib
,po
15241 wine_fn_config_test dlls
/winmm
/tests winmm_test
15242 wine_fn_config_dll winnls.dll16 enable_win16
15243 wine_fn_config_dll winnls32 enable_winnls32 implib
15244 wine_fn_config_dll winscard enable_winscard implib
15245 wine_fn_config_dll winsock.dll16 enable_win16
15246 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15247 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15248 wine_fn_config_dll winsta enable_winsta
15249 wine_fn_config_dll wintab.dll16 enable_win16
15250 wine_fn_config_dll wintab32 enable_wintab32 implib
15251 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15252 wine_fn_config_dll wintrust enable_wintrust implib
15253 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15254 wine_fn_config_dll wlanapi enable_wlanapi
15255 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15256 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15257 wine_fn_config_dll wmi enable_wmi
15258 wine_fn_config_dll wmiutils enable_wmiutils
15259 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15260 wine_fn_config_dll wow32 enable_win16 implib
15261 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15262 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15263 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15264 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15265 wine_fn_config_dll wsock32 enable_wsock32 implib
15266 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15267 wine_fn_config_dll wuapi enable_wuapi
15268 wine_fn_config_dll wuaueng enable_wuaueng
15269 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15270 wine_fn_config_dll xinput1_1 enable_xinput1_1
15271 wine_fn_config_dll xinput1_2 enable_xinput1_2
15272 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15273 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15274 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15275 wine_fn_config_dll xmllite enable_xmllite
15276 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15277 wine_fn_config_dll xolehlp enable_xolehlp
15278 wine_fn_config_makefile documentation enable_documentation
15279 wine_fn_config_makefile fonts enable_fonts install-lib
15280 wine_fn_config_makefile include enable_include install-dev
15281 wine_fn_config_makefile libs
/port enable_libs_port
15282 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15283 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15284 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15285 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15286 wine_fn_config_program attrib enable_attrib
install,po
15287 wine_fn_config_program cabarc enable_cabarc
install
15288 wine_fn_config_program cacls enable_cacls
install
15289 wine_fn_config_program
clock enable_clock
install,po
15290 wine_fn_config_program cmd enable_cmd
install,po
15291 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15292 wine_fn_config_program cmdlgtst enable_cmdlgtst
15293 wine_fn_config_program control enable_control
install
15294 wine_fn_config_program dxdiag enable_dxdiag
install,po
15295 wine_fn_config_program eject enable_eject
install
15296 wine_fn_config_program
expand enable_expand
install
15297 wine_fn_config_program explorer enable_explorer
install,po
15298 wine_fn_config_program extrac32 enable_extrac32
install
15299 wine_fn_config_program hh enable_hh
install
15300 wine_fn_config_program hostname enable_hostname
install,po
15301 wine_fn_config_program icinfo enable_icinfo
install
15302 wine_fn_config_program iexplore enable_iexplore
install
15303 wine_fn_config_program ipconfig enable_ipconfig
install,po
15304 wine_fn_config_program lodctr enable_lodctr
install
15305 wine_fn_config_program mofcomp enable_mofcomp
install
15306 wine_fn_config_program mshta enable_mshta
install
15307 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15308 wine_fn_config_program net enable_net
install,po
15309 wine_fn_config_program netsh enable_netsh
install
15310 wine_fn_config_program ngen enable_ngen
install
15311 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15312 wine_fn_config_program oleview enable_oleview
install,po
15313 wine_fn_config_program
ping enable_ping
install
15314 wine_fn_config_program plugplay enable_plugplay
install
15315 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15316 wine_fn_config_program progman enable_progman
install,po
15317 wine_fn_config_program reg enable_reg
install,po
15318 wine_fn_config_program regasm enable_regasm
install
15319 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15320 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15321 wine_fn_config_program regsvcs enable_regsvcs
install
15322 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15323 wine_fn_config_program rpcss enable_rpcss
install
15324 wine_fn_config_program rundll.exe16 enable_win16
install
15325 wine_fn_config_program rundll32 enable_rundll32
install
15326 wine_fn_config_program sc enable_sc
install
15327 wine_fn_config_program secedit enable_secedit
install
15328 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15329 wine_fn_config_program services enable_services
install
15330 wine_fn_config_program spoolsv enable_spoolsv
install
15331 wine_fn_config_program start enable_start
install,po
15332 wine_fn_config_program svchost enable_svchost
install
15333 wine_fn_config_program taskkill enable_taskkill
install,po
15334 wine_fn_config_program taskmgr enable_taskmgr
install,po
15335 wine_fn_config_program termsv enable_termsv
install
15336 wine_fn_config_program uninstaller enable_uninstaller
install,po
15337 wine_fn_config_program unlodctr enable_unlodctr
install
15338 wine_fn_config_program view enable_view
install,po
15339 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
15340 wine_fn_config_program winebrowser enable_winebrowser
install
15341 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15342 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15343 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15344 wine_fn_config_program winedevice enable_winedevice
install
15345 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15346 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15347 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15348 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15349 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15350 wine_fn_config_program winetest enable_winetest
15351 wine_fn_config_program winevdm enable_win16
install
15352 wine_fn_config_program winhelp.exe16 enable_win16
install
15353 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15354 wine_fn_config_program winoldap.mod16 enable_win16
install
15355 wine_fn_config_program winver enable_winver
install
15356 wine_fn_config_program wmic enable_wmic
install
15357 wine_fn_config_program wordpad enable_wordpad
install,po
15358 wine_fn_config_program
write enable_write
install,po
15359 wine_fn_config_program wscript enable_wscript
install
15360 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15361 wine_fn_config_program xcopy enable_xcopy
install,po
15362 wine_fn_config_makefile server enable_server install-lib
,manpage
15363 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15364 wine_fn_config_tool tools
/widl install-dev
,manpage
15365 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15366 wine_fn_config_tool tools
/winedump install-dev
,manpage
15367 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15368 wine_fn_config_tool tools
/wmc install-dev
,manpage
15369 wine_fn_config_tool tools
/wrc install-dev
,manpage
15419 ac_config_commands
="$ac_config_commands Makefile"
15422 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15426 if test "x$enable_maintainer_mode" = xyes
15428 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15429 cd \$(srcdir) && autoconf --warnings=all
15430 \$(srcdir)/include/config.h.in: include/stamp-h.in
15431 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15432 cd \$(srcdir) && autoheader --warnings=all
15433 @echo timestamp > \$@"
15436 if test "x$with_gettextpo" = xyes
15438 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15439 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15440 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15441 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15442 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15443 msgcat -o \$@ \$(ALL_POT_FILES)"
15446 if test "$MSGFMT" != false
15448 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15450 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15455 if test "x$enable_tools" != xno
15457 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15459 \$(RM) tools/makedep\$(EXEEXT)"
15462 if test -n "$with_wine64"
15464 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15465 fonts server tools:
15466 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15467 $with_wine64/loader/wine:
15468 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15469 $with_wine64/loader/wine-preloader:
15470 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15472 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15475 cat >confcache
<<\_ACEOF
15476 # This file is a shell script that caches the results of configure
15477 # tests run on this system so they can be shared between configure
15478 # scripts and configure runs, see configure's option --config-cache.
15479 # It is not useful on other systems. If it contains results you don't
15480 # want to keep, you may remove or edit it.
15482 # config.status only pays attention to the cache file if you give it
15483 # the --recheck option to rerun configure.
15485 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15486 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15487 # following values.
15491 # The following way of writing the cache mishandles newlines in values,
15492 # but we know of no workaround that is simple, portable, and efficient.
15493 # So, we kill variables containing newlines.
15494 # Ultrix sh set writes to stderr and can't be redirected directly,
15495 # and sets the high bit in the cache file unless we assign to the vars.
15497 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15498 eval ac_val
=\$
$ac_var
15502 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15503 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15506 _ | IFS | as_nl
) ;; #(
15507 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15508 *) { eval $ac_var=; unset $ac_var;} ;;
15514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15515 *${as_nl}ac_space
=\
*)
15516 # `set' does not quote correctly, so add quotes: double-quote
15517 # substitution turns \\\\ into \\, and sed turns \\ into \.
15520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15523 # `set' quotes correctly as required by POSIX, so do not add quotes.
15524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15537 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15538 if test -w "$cache_file"; then
15539 if test "x$cache_file" != "x/dev/null"; then
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15541 $as_echo "$as_me: updating cache $cache_file" >&6;}
15542 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15543 cat confcache
>"$cache_file"
15545 case $cache_file in #(
15547 mv -f confcache
"$cache_file"$$
&&
15548 mv -f "$cache_file"$$
"$cache_file" ;; #(
15550 mv -f confcache
"$cache_file" ;;
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15556 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15561 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15562 # Let make expand exec_prefix.
15563 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15565 DEFS
=-DHAVE_CONFIG_H
15570 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15571 # 1. Remove the extension, and $U if already installed.
15572 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15573 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15574 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15575 # will be set to the directory where LIBOBJS objects are built.
15576 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15577 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15579 LIBOBJS
=$ac_libobjs
15581 LTLIBOBJS
=$ac_ltlibobjs
15585 : "${CONFIG_STATUS=./config.status}"
15587 ac_clean_files_save
=$ac_clean_files
15588 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15590 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15592 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15594 # Generated by $as_me.
15595 # Run this file to recreate the current configuration.
15596 # Compiler output produced by configure, useful for debugging
15597 # configure, is in config.log if it exists.
15600 ac_cs_recheck=false
15603 SHELL=\${CONFIG_SHELL-$SHELL}
15606 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15607 ## -------------------- ##
15608 ## M4sh Initialization. ##
15609 ## -------------------- ##
15611 # Be more Bourne compatible
15612 DUALCASE
=1; export DUALCASE
# for MKS sh
15613 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15616 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15617 # is contrary to our usage. Disable this feature.
15618 alias -g '${1+"$@"}'='"$@"'
15619 setopt NO_GLOB_SUBST
15621 case `(set -o) 2>/dev/null` in #(
15633 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15634 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15635 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15636 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15637 # Prefer a ksh shell builtin over an external printf program on Solaris,
15638 # but without wasting forks for bash or zsh.
15639 if test -z "$BASH_VERSION$ZSH_VERSION" \
15640 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15641 as_echo='print
-r --'
15642 as_echo_n='print
-rn --'
15643 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15644 as_echo='printf %s
\n'
15645 as_echo_n='printf %s
'
15647 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15648 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15649 as_echo_n='/usr
/ucb
/echo -n'
15651 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15652 as_echo_n_body='eval
15656 expr "X$arg" : "X\\(.*\\)$as_nl";
15657 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15659 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15661 export as_echo_n_body
15662 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15664 export as_echo_body
15665 as_echo='sh
-c $as_echo_body as_echo
'
15668 # The user is always right.
15669 if test "${PATH_SEPARATOR+set}" != set; then
15671 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15672 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15679 # We need space, tab and new line, in precisely that order. Quoting is
15680 # there to prevent editors from complaining about space-tab.
15681 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15682 # splitting by setting IFS to empty value.)
15685 # Find who we are. Look in the path if we contain no directory separator.
15688 *[\\/]* ) as_myself=$0 ;;
15689 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15690 for as_dir in $PATH
15693 test -z "$as_dir" && as_dir=.
15694 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15700 # We did not find ourselves, most probably we were run as `sh COMMAND'
15701 # in which case we are not to be found in the path.
15702 if test "x$as_myself" = x
; then
15705 if test ! -f "$as_myself"; then
15706 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15710 # Unset variables that we do not need and which cause bugs (e.g. in
15711 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15712 # suppresses any "Segmentation fault" message there. '((' could
15713 # trigger a bug in pdksh 5.2.14.
15714 for as_var
in BASH_ENV ENV MAIL MAILPATH
15715 do eval test x\
${$as_var+set} = xset \
15716 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15729 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15732 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15733 # ----------------------------------------
15734 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15735 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15736 # script with STATUS, using 1 if that was 0.
15739 as_status
=$1; test $as_status -eq 0 && as_status
=1
15741 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15742 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15744 $as_echo "$as_me: error: $2" >&2
15745 as_fn_exit
$as_status
15749 # as_fn_set_status STATUS
15750 # -----------------------
15751 # Set $? to STATUS, without forking.
15752 as_fn_set_status
()
15755 } # as_fn_set_status
15757 # as_fn_exit STATUS
15758 # -----------------
15759 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15763 as_fn_set_status
$1
15769 # Portably unset VAR.
15772 { eval $1=; unset $1;}
15774 as_unset
=as_fn_unset
15775 # as_fn_append VAR VALUE
15776 # ----------------------
15777 # Append the text in VALUE to the end of the definition contained in VAR. Take
15778 # advantage of any shell optimizations that allow amortized linear growth over
15779 # repeated appends, instead of the typical quadratic growth present in naive
15781 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15782 eval 'as_fn_append ()
15793 # as_fn_arith ARG...
15794 # ------------------
15795 # Perform arithmetic evaluation on the ARGs, and store the result in the
15796 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15797 # must be portable across $(()) and expr.
15798 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15799 eval 'as_fn_arith ()
15806 as_val
=`expr "$@" || test $? -eq 1`
15811 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15812 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15818 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15819 as_basename
=basename
15824 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15830 as_me
=`$as_basename -- "$0" ||
15831 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15832 X"$0" : 'X\(//\)$' \| \
15833 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15835 sed '/^.*\/\([^/][^/]*\)\/*$/{
15849 # Avoid depending upon Character Ranges.
15850 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15851 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15852 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15853 as_cr_digits
='0123456789'
15854 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15856 ECHO_C
= ECHO_N
= ECHO_T
=
15857 case `echo -n x` in #(((((
15859 case `echo 'xy\c'` in
15860 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15862 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15869 rm -f conf$$ conf$$.exe conf$$.
file
15870 if test -d conf$$.dir
; then
15871 rm -f conf$$.dir
/conf$$.
file
15874 mkdir conf$$.dir
2>/dev
/null
15876 if (echo >conf$$.
file) 2>/dev
/null
; then
15877 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15879 # ... but there are two gotchas:
15880 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15881 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15882 # In both cases, we have to default to `cp -p'.
15883 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15885 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15893 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15894 rmdir conf$$.dir
2>/dev
/null
15899 # Create "$as_dir" as a directory, including parents if necessary.
15904 -*) as_dir
=.
/$as_dir;;
15906 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15910 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15911 *) as_qdir
=$as_dir;;
15913 as_dirs
="'$as_qdir' $as_dirs"
15914 as_dir
=`$as_dirname -- "$as_dir" ||
15915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15916 X"$as_dir" : 'X\(//\)[^/]' \| \
15917 X"$as_dir" : 'X\(//\)$' \| \
15918 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15919 $as_echo X"$as_dir" |
15920 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15924 /^X\(\/\/\)[^/].*/{
15937 test -d "$as_dir" && break
15939 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15940 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15944 if mkdir
-p .
2>/dev
/null
; then
15945 as_mkdir_p
='mkdir -p "$as_dir"'
15947 test -d .
/-p && rmdir .
/-p
15951 if test -x / >/dev
/null
2>&1; then
15952 as_test_x
='test -x'
15954 if ls -dL / >/dev
/null
2>&1; then
15961 if test -d "$1"; then
15967 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15968 ???[sx]*):;;*)false;;esac;fi
15972 as_executable_p
=$as_test_x
15974 # Sed expression to map a string onto a valid CPP name.
15975 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15977 # Sed expression to map a string onto a valid variable name.
15978 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15982 ## ----------------------------------- ##
15983 ## Main body of $CONFIG_STATUS script. ##
15984 ## ----------------------------------- ##
15986 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15988 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15989 # Save the log message, to keep $0 and so on meaningful, and to
15990 # report actual input values of CONFIG_FILES etc. instead of their
15991 # values after options handling.
15993 This file was extended by Wine $as_me 1.3.31, which was
15994 generated by GNU Autoconf 2.68. Invocation command line was
15996 CONFIG_FILES = $CONFIG_FILES
15997 CONFIG_HEADERS = $CONFIG_HEADERS
15998 CONFIG_LINKS = $CONFIG_LINKS
15999 CONFIG_COMMANDS = $CONFIG_COMMANDS
16002 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16007 case $ac_config_files in *"
16008 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16011 case $ac_config_headers in *"
16012 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16017 # Files that config.status was made for.
16018 config_files="$ac_config_files"
16019 config_headers="$ac_config_headers"
16020 config_links="$ac_config_links"
16021 config_commands="$ac_config_commands"
16025 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16027 \`$as_me' instantiates files and other configuration actions
16028 from templates according to the current configuration. Unless the files
16029 and actions are specified as TAGs, all are instantiated by default.
16031 Usage: $0 [OPTION]... [TAG]...
16033 -h, --help print this help, then exit
16034 -V, --version print version number and configuration settings, then exit
16035 --config print configuration, then exit
16036 -q, --quiet, --silent
16037 do not print progress messages
16038 -d, --debug don't remove temporary files
16039 --recheck update $as_me by reconfiguring in the same conditions
16040 --file=FILE[:TEMPLATE]
16041 instantiate the configuration file FILE
16042 --header=FILE[:TEMPLATE]
16043 instantiate the configuration header FILE
16045 Configuration files:
16048 Configuration headers:
16051 Configuration links:
16054 Configuration commands:
16057 Report bugs to <wine-devel@winehq.org>.
16058 Wine home page: <http://www.winehq.org>."
16061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16062 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16064 Wine config.status 1.3.31
16065 configured by $0, generated by GNU Autoconf 2.68,
16066 with options \\"\$ac_cs_config\\"
16068 Copyright (C) 2010 Free Software Foundation, Inc.
16069 This config.status script is free software; the Free Software Foundation
16070 gives unlimited permission to copy, distribute and modify it."
16075 test -n "\$AWK" || AWK=awk
16078 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16079 # The default lists apply if the user does not specify any file.
16085 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16086 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16090 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16102 # Handling of the options.
16103 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16105 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16106 $as_echo "$ac_cs_version"; exit ;;
16107 --config |
--confi |
--conf |
--con |
--co |
--c )
16108 $as_echo "$ac_cs_config"; exit ;;
16109 --debug |
--debu |
--deb |
--de |
--d |
-d )
16111 --file |
--fil |
--fi |
--f )
16114 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16115 '') as_fn_error $?
"missing file argument" ;;
16117 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16118 ac_need_defaults
=false
;;
16119 --header |
--heade |
--head |
--hea )
16122 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16124 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16125 ac_need_defaults
=false
;;
16127 # Conflict between --help and --header
16128 as_fn_error $?
"ambiguous option: \`$1'
16129 Try \`$0 --help' for more information.";;
16130 --help |
--hel |
-h )
16131 $as_echo "$ac_cs_usage"; exit ;;
16132 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16133 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16136 # This is an error.
16137 -*) as_fn_error $?
"unrecognized option: \`$1'
16138 Try \`$0 --help' for more information." ;;
16140 *) as_fn_append ac_config_targets
" $1"
16141 ac_need_defaults
=false
;;
16147 ac_configure_extra_args
=
16149 if $ac_cs_silent; then
16151 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16155 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16156 if \$ac_cs_recheck; then
16157 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16159 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16160 CONFIG_SHELL='$SHELL'
16161 export CONFIG_SHELL
16166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16170 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16171 ## Running $as_me. ##
16177 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16181 wine_fn_output_makefile ()
16183 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16184 $ALL_MAKEFILE_DEPENDS
16186 as_fn_error $? "could not create Makefile" "$LINENO" 5
16191 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16193 # Handling of arguments.
16194 for ac_config_target
in $ac_config_targets
16196 case $ac_config_target in
16197 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16198 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16199 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16200 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16201 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16202 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16203 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16204 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16205 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16206 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16207 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16208 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16209 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16210 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16211 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16212 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16213 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16214 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16215 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16216 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16217 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16218 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16219 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16220 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16221 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16222 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16224 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16229 # If the user did not use the arguments to specify the items to instantiate,
16230 # then the envvar interface is used. Set only those that are not.
16231 # We use the long form for the default assignment because of an extremely
16232 # bizarre bug on SunOS 4.1.3.
16233 if $ac_need_defaults; then
16234 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16235 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16236 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16237 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16240 # Have a temporary directory for convenience. Make it in the build tree
16241 # simply because there is no reason against having it here, and in addition,
16242 # creating and moving files from /tmp can sometimes cause problems.
16243 # Hook for its removal unless debugging.
16244 # Note that there is a small window in which the directory will not be cleaned:
16245 # after its creation but before its name has been assigned to `$tmp'.
16249 trap 'exit_status=$?
16250 : "${ac_tmp:=$tmp}"
16251 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16253 trap 'as_fn_exit 1' 1 2 13 15
16255 # Create a (secure) tmp directory for tmp files.
16258 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16262 tmp
=.
/conf$$
-$RANDOM
16263 (umask 077 && mkdir
"$tmp")
16264 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16267 # Set up the scripts for CONFIG_FILES section.
16268 # No need to generate them if there are no CONFIG_FILES.
16269 # This happens for instance with `./config.status config.h'.
16270 if test -n "$CONFIG_FILES"; then
16272 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16273 ac_cs_awk_getline
=:
16274 ac_cs_awk_pipe_init
=
16275 ac_cs_awk_read_file
='
16276 while ((getline aline < (F[key])) > 0)
16279 ac_cs_awk_pipe_fini
=
16281 ac_cs_awk_getline
=false
16282 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16283 ac_cs_awk_read_file
='
16285 print "cat " F[key] " &&"
16286 '$ac_cs_awk_pipe_init
16287 # The final `:' finishes the AND list.
16288 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16290 ac_cr
=`echo X | tr X '\015'`
16291 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16292 # But we know of no other shell where ac_cr would be empty at this
16293 # point, so we can use a bashism as a fallback.
16294 if test "x$ac_cr" = x
; then
16295 eval ac_cr
=\$
\'\\r
\'
16297 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16298 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16301 ac_cs_awk_cr
=$ac_cr
16304 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16307 # Create commands to substitute file output variables.
16309 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16310 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16311 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16314 } >conf$
$files.sh
&&
16315 . .
/conf$
$files.sh ||
16316 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16317 rm -f conf$
$files.sh
16320 echo "cat >conf$$subs.awk <<_ACEOF" &&
16321 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16323 } >conf$$subs.sh ||
16324 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16325 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16327 for ac_last_try in false false false false false :; do
16328 . ./conf$$subs.sh ||
16329 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16331 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16332 if test $ac_delim_n = $ac_delim_num; then
16334 elif $ac_last_try; then
16335 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16337 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16340 rm -f conf$$subs.sh
16342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16343 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16347 s/^/S["/; s
/!.
*/"]=/
16357 s/\(.\{148\}\)..*/\1/
16359 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16364 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16371 s/\(.\{148\}\)..*/\1/
16373 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16377 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16382 ' <conf$$subs.awk | sed '
16387 ' >>$CONFIG_STATUS || ac_write_fail=1
16388 rm -f conf$$subs.awk
16389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16391 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16392 for (key in S) S_is_set[key] = 1
16394 \$ac_cs_awk_pipe_init
16398 nfields = split(line, field, "@
")
16400 len = length(field[1])
16401 for (i = 2; i < nfields; i++) {
16403 keylen = length(key)
16404 if (S_is_set[key]) {
16406 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16407 len += length(value) + length(field[++i])
16412 if (nfields == 3 && !substed) {
16414 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16415 \$ac_cs_awk_read_file
16421 \$ac_cs_awk_pipe_fini
16424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16425 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16426 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16429 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16430 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16433 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16434 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16435 # trailing colons and then remove the whole line if VPATH becomes empty
16436 # (actually we leave an empty line to preserve line numbers).
16437 if test "x
$srcdir" = x.; then
16438 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16457 fi # test -n "$CONFIG_FILES"
16459 # Set up the scripts for CONFIG_HEADERS section.
16460 # No need to generate them if there are no CONFIG_HEADERS.
16461 # This happens for instance with `./config.status Makefile'.
16462 if test -n "$CONFIG_HEADERS"; then
16463 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16467 # Transform confdefs.h into an awk script `defines.awk', embedded as
16468 # here-document in config.status, that substitutes the proper values into
16469 # config.h.in to produce config.h.
16471 # Create a delimiter string that does not exist in confdefs.h, to ease
16472 # handling of long lines.
16474 for ac_last_try in false false :; do
16475 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16476 if test -z "$ac_tt"; then
16478 elif $ac_last_try; then
16479 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16481 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16485 # For the awk script, D is an array of macro values keyed by name,
16486 # likewise P contains macro parameters if any. Preserve backslash
16487 # newline sequences.
16489 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16491 s/.\{148\}/&'"$ac_delim"'/g
16494 s/^[ ]*#[ ]*define[ ][ ]*/ /
16501 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16503 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16507 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16508 D["\
1"]=" \
3\\\\\\n
"\\/p
16510 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16515 s/.\{148\}/&'"$ac_delim"'/g
16520 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16523 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16525 ' <confdefs.h | sed '
16526 s/'"$ac_delim"'/"\\\
16527 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16529 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16530 for (key in D) D_is_set[key] = 1
16533 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16535 split(line, arg, " ")
16536 if (arg[1] == "#") {
16540 defundef
= substr
(arg
[1], 2)
16543 split(mac1
, mac2
, "(") #)
16545 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16546 if (D_is_set
[macro
]) {
16547 # Preserve the white space surrounding the "#".
16548 print prefix
"define", macro P
[macro
] D
[macro
]
16551 # Replace #undef with comments. This is necessary, for example,
16552 # in the case of _POSIX_SOURCE, which is predefined and required
16553 # on some systems where configure will not decide to define it.
16554 if (defundef
== "undef") {
16555 print
"/*", prefix defundef
, macro
, "*/"
16563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16564 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16565 fi # test -n "$CONFIG_HEADERS"
16568 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16573 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16575 case $ac_mode$ac_tag in
16577 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16578 :[FH
]-) ac_tag
=-:-;;
16579 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16596 -) ac_f
="$ac_tmp/stdin";;
16597 *) # Look for the file first in the build tree, then in the source tree
16598 # (if the path is not absolute). The absolute path cannot be DOS-style,
16599 # because $ac_f cannot contain `:'.
16603 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16605 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16607 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16608 as_fn_append ac_file_inputs
" '$ac_f'"
16611 # Let's still pretend it is `configure' which instantiates (i.e., don't
16612 # use $as_me), people would be surprised to read:
16613 # /* config.h. Generated by config.status. */
16614 configure_input
='Generated from '`
16615 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16617 if test x
"$ac_file" != x-
; then
16618 configure_input
="$ac_file. $configure_input"
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16620 $as_echo "$as_me: creating $ac_file" >&6;}
16622 # Neutralize special characters interpreted by sed in replacement strings.
16623 case $configure_input in #(
16624 *\
&* |
*\|
* |
*\\* )
16625 ac_sed_conf_input
=`$as_echo "$configure_input" |
16626 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16627 *) ac_sed_conf_input
=$configure_input;;
16631 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16632 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16637 ac_dir
=`$as_dirname -- "$ac_file" ||
16638 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16639 X"$ac_file" : 'X\(//\)[^/]' \| \
16640 X"$ac_file" : 'X\(//\)$' \| \
16641 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16642 $as_echo X"$ac_file" |
16643 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16647 /^X\(\/\/\)[^/].*/{
16660 as_dir
="$ac_dir"; as_fn_mkdir_p
16664 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16666 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16667 # A ".." for each directory in $ac_dir_suffix.
16668 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16669 case $ac_top_builddir_sub in
16670 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16671 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16674 ac_abs_top_builddir
=$ac_pwd
16675 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16676 # for backward compatibility:
16677 ac_top_builddir
=$ac_top_build_prefix
16680 .
) # We are building in place.
16682 ac_top_srcdir
=$ac_top_builddir_sub
16683 ac_abs_top_srcdir
=$ac_pwd ;;
16684 [\\/]* | ?
:[\\/]* ) # Absolute name.
16685 ac_srcdir
=$srcdir$ac_dir_suffix;
16686 ac_top_srcdir
=$srcdir
16687 ac_abs_top_srcdir
=$srcdir ;;
16688 *) # Relative name.
16689 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16690 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16691 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16693 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16703 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16704 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16709 # If the template does not know about datarootdir, expand it.
16710 # FIXME: This hack should be removed a few years after 2.60.
16711 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16722 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16723 *datarootdir
*) ac_datarootdir_seen
=yes;;
16724 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16726 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16728 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16729 ac_datarootdir_hack='
16730 s&@datadir@&$datadir&g
16731 s&@docdir@&$docdir&g
16732 s&@infodir@&$infodir&g
16733 s&@localedir@&$localedir&g
16734 s&@mandir@&$mandir&g
16735 s&\\\${datarootdir}&$datarootdir&g' ;;
16739 # Neutralize VPATH when `$srcdir' = `.'.
16740 # Shell code in configure.ac might set extrasub.
16741 # FIXME: do we really want to maintain this feature?
16742 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16743 ac_sed_extra="$ac_vpsub
16746 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16748 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16749 s|@configure_input@|
$ac_sed_conf_input|
;t t
16750 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16751 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16752 s
&@srcdir@
&$ac_srcdir&;t t
16753 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16754 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16755 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16756 s
&@builddir@
&$ac_builddir&;t t
16757 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16758 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16759 s
&@INSTALL@
&$ac_INSTALL&;t t
16760 $ac_datarootdir_hack
16762 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16763 if $ac_cs_awk_getline; then
16764 $AWK -f "$ac_tmp/subs.
awk"
16766 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16768 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16770 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16771 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16772 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16773 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16775 which seems to be undefined. Please make sure it is defined" >&5
16776 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16777 which seems to be undefined. Please make sure it is defined" >&2;}
16779 rm -f "$ac_tmp/stdin"
16781 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16782 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16784 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16790 if test x"$ac_file" != x-; then
16792 $as_echo "/* $configure_input */" \
16793 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16794 } >"$ac_tmp/config.h" \
16795 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16796 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16797 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16798 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16801 mv "$ac_tmp/config.h" "$ac_file" \
16802 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16805 $as_echo "/* $configure_input */" \
16806 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16807 || as_fn_error $? "could not create -" "$LINENO" 5
16815 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16818 # Prefer the file from the source tree if names are identical.
16819 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16820 ac_source=$srcdir/$ac_source
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16824 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16826 if test ! -r "$ac_source"; then
16827 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16831 # Try a relative symlink, then a hard link, then a copy.
16833 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16834 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16836 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16837 ln "$ac_source" "$ac_file" 2>/dev/null ||
16838 cp -p "$ac_source" "$ac_file" ||
16839 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16842 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16843 $as_echo "$as_me: executing $ac_file commands" >&6;}
16848 case $ac_file$ac_mode in
16849 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16850 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
16851 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
16852 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16853 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16854 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16855 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16856 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16857 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16858 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16859 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16860 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16861 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16862 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16863 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16864 "Makefile":C) wine_fn_output_makefile Makefile ;;
16872 ac_clean_files=$ac_clean_files_save
16874 test $ac_write_fail = 0 ||
16875 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16878 # configure is writing to config.log, and then calls config.status.
16879 # config.status does its own redirection, appending to config.log.
16880 # Unfortunately, on DOS this fails, as config.log is still kept open
16881 # by configure, so config.status won't be able to
write to it
; its
16882 # output is simply discarded. So we exec the FD to /dev/null,
16883 # effectively closing config.log, so it can be properly (re)opened and
16884 # appended to by config.status. When coming back to configure, we
16885 # need to make the FD available again.
16886 if test "$no_create" != yes; then
16888 ac_config_status_args
=
16889 test "$silent" = yes &&
16890 ac_config_status_args
="$ac_config_status_args --quiet"
16892 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16894 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16895 # would make configure fail if this is the last instruction.
16896 $ac_cs_success || as_fn_exit
1
16898 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16900 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16904 if test "$no_create" = "yes"
16910 if test "x$wine_notices != "x
; then
16913 for msg
in $wine_notices; do
16915 if test -n "$msg"; then
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16917 $as_echo "$as_me: $msg" >&6;}
16922 for msg
in $wine_warnings; do
16924 if test -n "$msg"; then
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16927 $as_echo "$as_me: WARNING: $msg" >&2;}
16933 $as_me: Finished. Do '${ac_make}' to compile Wine.