2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.33.
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.33'
564 PACKAGE_STRING
='Wine 1.3.33'
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.33 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.33:";;
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.33
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.33, 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"
4047 notice_platform
="64-bit "
4054 notice_platform
="32-bit "
4057 enable_win16
=${enable_win16:-yes}
4061 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4066 $as_echo_n "checking whether $CC works... " >&6; }
4068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4069 /* end confdefs.h. */
4079 if ac_fn_c_try_link
"$LINENO"; then :
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4081 $as_echo "yes" >&6; }
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4084 $as_echo "no" >&6; }
4085 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4087 rm -f core conftest.err conftest.
$ac_objext \
4088 conftest
$ac_exeext conftest.
$ac_ext
4090 notice_platform
="32-bit "
4093 enable_win16
=${enable_win16:-yes}
4095 if test "x${GCC}" = "xyes"
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4098 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4105 void func(__builtin_ms_va_list *args);
4110 if ac_fn_c_try_compile
"$LINENO"; then :
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4112 $as_echo "yes" >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4115 $as_echo "no" >&6; }
4116 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4118 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4124 *-mingw32*|
*-cygwin*)
4125 enable_win16
=${enable_win16:-no}
4126 CFLAGS
="$CFLAGS -D_WIN32"
4129 enable_win16
=${enable_win16:-yes}
4133 enable_win16
=${enable_win16:-no}
4134 enable_win64
=${enable_win64:-no}
4136 enable_winetest
=${enable_winetest:-$enable_tests}
4138 if test -n "$with_wine64"
4140 if test "x$enable_win64" = "xyes"
4142 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4143 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4147 enable_fonts
=${enable_fonts:-no}
4148 enable_server
=${enable_server:-no}
4149 enable_tools
=${enable_tools:-no}
4150 elif test "x$enable_win64" = "xyes"
4152 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4156 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4157 if ${wine_cv_toolsdir+:} false
; then :
4158 $as_echo_n "(cached) " >&6
4160 wine_cv_toolsdir
="$with_wine_tools"
4161 if test -z "$with_wine_tools"; then
4162 if test "$cross_compiling" = "yes"; then
4163 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4164 elif test -n "$with_wine64"; then
4165 wine_cv_toolsdir
="$with_wine64"
4168 if test -z "$wine_cv_toolsdir"; then
4169 wine_cv_toolsdir
="\$(top_builddir)"
4170 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4171 case "$wine_cv_toolsdir" in
4173 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4176 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4180 $as_echo "$wine_cv_toolsdir" >&6; }
4181 TOOLSDIR
=$wine_cv_toolsdir
4183 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4185 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4191 # Extract the first word of "$ac_prog", so it can be a program name with args.
4192 set dummy
$ac_prog; ac_word
=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if ${ac_cv_prog_FLEX+:} false
; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$FLEX"; then
4199 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir
=.
4206 for ac_exec_ext
in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_prog_FLEX
="$ac_prog"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 FLEX
=$ac_cv_prog_FLEX
4219 if test -n "$FLEX"; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4221 $as_echo "$FLEX" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4228 test -n "$FLEX" && break
4230 test -n "$FLEX" || FLEX
="none"
4232 if test "$FLEX" = "none"
4234 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4237 $as_echo_n "checking whether flex is recent enough... " >&6; }
4238 cat >conftest.l
<<EOF
4240 #include "prediluvian.h"
4244 if $FLEX -t conftest.l
>/dev
/null
2>&5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4247 $as_echo "yes" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4251 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4254 for ac_prog
in bison
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy
$ac_prog; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if ${ac_cv_prog_BISON+:} false
; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$BISON"; then
4264 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_prog_BISON
="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 BISON
=$ac_cv_prog_BISON
4284 if test -n "$BISON"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4286 $as_echo "$BISON" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$BISON" && break
4295 test -n "$BISON" || BISON
="none"
4297 if test "$BISON" = "none"
4299 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog
in ar gar
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if ${ac_cv_prog_AR+:} false
; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$AR"; then
4313 ac_cv_prog_AR
="$AR" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test -n "$AR"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4335 $as_echo "$AR" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$AR" && break
4345 if test -z "$AR"; then
4347 for ac_prog
in ar gar
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy
$ac_prog; ac_word
=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_AR"; then
4357 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_ac_ct_AR
="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4377 if test -n "$ac_ct_AR"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4379 $as_echo "$ac_ct_AR" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_AR" && break
4389 if test "x$ac_ct_AR" = x
; then
4392 case $cross_compiling:$ac_tool_warned in
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned
=yes ;;
4404 if test -n "$ac_tool_prefix"; then
4405 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4406 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if ${ac_cv_prog_RANLIB+:} false
; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$RANLIB"; then
4413 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 RANLIB
=$ac_cv_prog_RANLIB
4433 if test -n "$RANLIB"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4435 $as_echo "$RANLIB" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4443 if test -z "$ac_cv_prog_RANLIB"; then
4444 ac_ct_RANLIB
=$RANLIB
4445 # Extract the first word of "ranlib", so it can be a program name with args.
4446 set dummy ranlib
; ac_word
=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$ac_ct_RANLIB"; then
4453 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir
=.
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4473 if test -n "$ac_ct_RANLIB"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4475 $as_echo "$ac_ct_RANLIB" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4481 if test "x$ac_ct_RANLIB" = x
; then
4484 case $cross_compiling:$ac_tool_warned in
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4488 ac_tool_warned
=yes ;;
4490 RANLIB
=$ac_ct_RANLIB
4493 RANLIB
="$ac_cv_prog_RANLIB"
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4497 $as_echo_n "checking whether ln -s works... " >&6; }
4499 if test "$LN_S" = "ln -s"; then
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4501 $as_echo "yes" >&6; }
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4504 $as_echo "no, using $LN_S" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4508 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4509 if ${ac_cv_path_GREP+:} false
; then :
4510 $as_echo_n "(cached) " >&6
4512 if test -z "$GREP"; then
4513 ac_path_GREP_found
=false
4514 # Loop through the user's path and test for each of PROGNAME-LIST
4515 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4516 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4519 test -z "$as_dir" && as_dir
=.
4520 for ac_prog
in grep ggrep
; do
4521 for ac_exec_ext
in '' $ac_executable_extensions; do
4522 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4523 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4524 # Check for GNU ac_path_GREP and select it if it is found.
4525 # Check for GNU $ac_path_GREP
4526 case `"$ac_path_GREP" --version 2>&1` in
4528 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4531 $as_echo_n 0123456789 >"conftest.in"
4534 cat "conftest.in" "conftest.in" >"conftest.tmp"
4535 mv "conftest.tmp" "conftest.in"
4536 cp "conftest.in" "conftest.nl"
4537 $as_echo 'GREP' >> "conftest.nl"
4538 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4539 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4540 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4541 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4542 # Best one so far, save it but keep looking for a better one
4543 ac_cv_path_GREP
="$ac_path_GREP"
4544 ac_path_GREP_max
=$ac_count
4546 # 10*(2^10) chars as input seems more than enough
4547 test $ac_count -gt 10 && break
4549 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4552 $ac_path_GREP_found && break 3
4557 if test -z "$ac_cv_path_GREP"; then
4558 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4561 ac_cv_path_GREP
=$GREP
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4566 $as_echo "$ac_cv_path_GREP" >&6; }
4567 GREP
="$ac_cv_path_GREP"
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4571 $as_echo_n "checking for egrep... " >&6; }
4572 if ${ac_cv_path_EGREP+:} false
; then :
4573 $as_echo_n "(cached) " >&6
4575 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4576 then ac_cv_path_EGREP
="$GREP -E"
4578 if test -z "$EGREP"; then
4579 ac_path_EGREP_found
=false
4580 # Loop through the user's path and test for each of PROGNAME-LIST
4581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4582 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4585 test -z "$as_dir" && as_dir
=.
4586 for ac_prog
in egrep; do
4587 for ac_exec_ext
in '' $ac_executable_extensions; do
4588 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4589 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4590 # Check for GNU ac_path_EGREP and select it if it is found.
4591 # Check for GNU $ac_path_EGREP
4592 case `"$ac_path_EGREP" --version 2>&1` in
4594 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4597 $as_echo_n 0123456789 >"conftest.in"
4600 cat "conftest.in" "conftest.in" >"conftest.tmp"
4601 mv "conftest.tmp" "conftest.in"
4602 cp "conftest.in" "conftest.nl"
4603 $as_echo 'EGREP' >> "conftest.nl"
4604 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4605 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4606 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4607 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4608 # Best one so far, save it but keep looking for a better one
4609 ac_cv_path_EGREP
="$ac_path_EGREP"
4610 ac_path_EGREP_max
=$ac_count
4612 # 10*(2^10) chars as input seems more than enough
4613 test $ac_count -gt 10 && break
4615 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4618 $ac_path_EGREP_found && break 3
4623 if test -z "$ac_cv_path_EGREP"; then
4624 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4627 ac_cv_path_EGREP
=$EGREP
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4633 $as_echo "$ac_cv_path_EGREP" >&6; }
4634 EGREP
="$ac_cv_path_EGREP"
4637 # Extract the first word of "ldconfig", so it can be a program name with args.
4638 set dummy ldconfig
; ac_word
=$2
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4640 $as_echo_n "checking for $ac_word... " >&6; }
4641 if ${ac_cv_path_LDCONFIG+:} false
; then :
4642 $as_echo_n "(cached) " >&6
4646 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4649 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4650 for as_dir
in /sbin
/usr
/sbin
$PATH
4653 test -z "$as_dir" && as_dir
=.
4654 for ac_exec_ext
in '' $ac_executable_extensions; do
4655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4656 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4664 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4668 LDCONFIG
=$ac_cv_path_LDCONFIG
4669 if test -n "$LDCONFIG"; then
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4671 $as_echo "$LDCONFIG" >&6; }
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4674 $as_echo "no" >&6; }
4678 # Find a good install program. We prefer a C program (faster),
4679 # so one script is as good as another. But avoid the broken or
4680 # incompatible versions:
4681 # SysV /etc/install, /usr/sbin/install
4682 # SunOS /usr/etc/install
4683 # IRIX /sbin/install
4685 # AmigaOS /C/install, which installs bootblocks on floppy discs
4686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4689 # OS/2's system install, which has a completely different semantic
4690 # ./install, which can be erroneously created by make from ./install.sh.
4691 # Reject install programs that cannot install multiple files.
4692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4693 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4694 if test -z "$INSTALL"; then
4695 if ${ac_cv_path_install+:} false
; then :
4696 $as_echo_n "(cached) " >&6
4698 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4702 test -z "$as_dir" && as_dir
=.
4703 # Account for people who put trailing slashes in PATH elements.
4704 case $as_dir/ in #((
4705 .
/ | .
// |
/[cC
]/* | \
4706 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4707 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4710 # OSF1 and SCO ODT 3.0 have their own names for install.
4711 # Don't use installbsd from OSF since it installs stuff as root
4713 for ac_prog
in ginstall scoinst
install; do
4714 for ac_exec_ext
in '' $ac_executable_extensions; do
4715 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4716 if test $ac_prog = install &&
4717 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4718 # AIX install. It has an incompatible calling convention.
4720 elif test $ac_prog = install &&
4721 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4722 # program-specific install script used by HP pwplus--don't use.
4725 rm -rf conftest.one conftest.two conftest.dir
4726 echo one
> conftest.one
4727 echo two
> conftest.two
4729 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4730 test -s conftest.one
&& test -s conftest.two
&&
4731 test -s conftest.dir
/conftest.one
&&
4732 test -s conftest.dir
/conftest.two
4734 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4747 rm -rf conftest.one conftest.two conftest.dir
4750 if test "${ac_cv_path_install+set}" = set; then
4751 INSTALL
=$ac_cv_path_install
4753 # As a last resort, use the slow shell script. Don't cache a
4754 # value for INSTALL within a source directory, because that will
4755 # break other packages using the cache if that directory is
4756 # removed, or if the value is a relative name.
4757 INSTALL
=$ac_install_sh
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4761 $as_echo "$INSTALL" >&6; }
4763 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4764 # It thinks the first close brace ends the variable substitution.
4765 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4767 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4769 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4772 [\\/$
]* | ?
:[\\/]* ) ;;
4773 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4776 for ac_prog
in lclint lint
4778 # Extract the first word of "$ac_prog", so it can be a program name with args.
4779 set dummy
$ac_prog; ac_word
=$2
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4781 $as_echo_n "checking for $ac_word... " >&6; }
4782 if ${ac_cv_prog_LINT+:} false
; then :
4783 $as_echo_n "(cached) " >&6
4785 if test -n "$LINT"; then
4786 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4788 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4792 test -z "$as_dir" && as_dir
=.
4793 for ac_exec_ext
in '' $ac_executable_extensions; do
4794 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4795 ac_cv_prog_LINT
="$ac_prog"
4796 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4805 LINT
=$ac_cv_prog_LINT
4806 if test -n "$LINT"; then
4807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4808 $as_echo "$LINT" >&6; }
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4811 $as_echo "no" >&6; }
4815 test -n "$LINT" && break
4818 if test "$LINT" = "lint"
4820 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4824 for ac_prog
in fontforge
4826 # Extract the first word of "$ac_prog", so it can be a program name with args.
4827 set dummy
$ac_prog; ac_word
=$2
4828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4829 $as_echo_n "checking for $ac_word... " >&6; }
4830 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4831 $as_echo_n "(cached) " >&6
4833 if test -n "$FONTFORGE"; then
4834 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4836 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4840 test -z "$as_dir" && as_dir
=.
4841 for ac_exec_ext
in '' $ac_executable_extensions; do
4842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4843 ac_cv_prog_FONTFORGE
="$ac_prog"
4844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4853 FONTFORGE
=$ac_cv_prog_FONTFORGE
4854 if test -n "$FONTFORGE"; then
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4856 $as_echo "$FONTFORGE" >&6; }
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4859 $as_echo "no" >&6; }
4863 test -n "$FONTFORGE" && break
4865 test -n "$FONTFORGE" || FONTFORGE
="false"
4867 for ac_prog
in pkg-config
4869 # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy
$ac_prog; ac_word
=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4874 $as_echo_n "(cached) " >&6
4876 if test -n "$PKG_CONFIG"; then
4877 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4879 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4883 test -z "$as_dir" && as_dir
=.
4884 for ac_exec_ext
in '' $ac_executable_extensions; do
4885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4886 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4897 if test -n "$PKG_CONFIG"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4899 $as_echo "$PKG_CONFIG" >&6; }
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4906 test -n "$PKG_CONFIG" && break
4908 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4912 # Extract the first word of "$ac_prog", so it can be a program name with args.
4913 set dummy
$ac_prog; ac_word
=$2
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4915 $as_echo_n "checking for $ac_word... " >&6; }
4916 if ${ac_cv_prog_RSVG+:} false
; then :
4917 $as_echo_n "(cached) " >&6
4919 if test -n "$RSVG"; then
4920 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4922 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4926 test -z "$as_dir" && as_dir
=.
4927 for ac_exec_ext
in '' $ac_executable_extensions; do
4928 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4929 ac_cv_prog_RSVG
="$ac_prog"
4930 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 RSVG
=$ac_cv_prog_RSVG
4940 if test -n "$RSVG"; then
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4942 $as_echo "$RSVG" >&6; }
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4945 $as_echo "no" >&6; }
4949 test -n "$RSVG" && break
4951 test -n "$RSVG" || RSVG
="false"
4953 for ac_prog
in convert
4955 # Extract the first word of "$ac_prog", so it can be a program name with args.
4956 set dummy
$ac_prog; ac_word
=$2
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4958 $as_echo_n "checking for $ac_word... " >&6; }
4959 if ${ac_cv_prog_CONVERT+:} false
; then :
4960 $as_echo_n "(cached) " >&6
4962 if test -n "$CONVERT"; then
4963 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
4965 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4969 test -z "$as_dir" && as_dir
=.
4970 for ac_exec_ext
in '' $ac_executable_extensions; do
4971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4972 ac_cv_prog_CONVERT
="$ac_prog"
4973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4982 CONVERT
=$ac_cv_prog_CONVERT
4983 if test -n "$CONVERT"; then
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4985 $as_echo "$CONVERT" >&6; }
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4988 $as_echo "no" >&6; }
4992 test -n "$CONVERT" && break
4994 test -n "$CONVERT" || CONVERT
="false"
4996 for ac_prog
in icotool
4998 # Extract the first word of "$ac_prog", so it can be a program name with args.
4999 set dummy
$ac_prog; ac_word
=$2
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5001 $as_echo_n "checking for $ac_word... " >&6; }
5002 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5003 $as_echo_n "(cached) " >&6
5005 if test -n "$ICOTOOL"; then
5006 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5008 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5012 test -z "$as_dir" && as_dir
=.
5013 for ac_exec_ext
in '' $ac_executable_extensions; do
5014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5015 ac_cv_prog_ICOTOOL
="$ac_prog"
5016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5025 ICOTOOL
=$ac_cv_prog_ICOTOOL
5026 if test -n "$ICOTOOL"; then
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5028 $as_echo "$ICOTOOL" >&6; }
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5031 $as_echo "no" >&6; }
5035 test -n "$ICOTOOL" && break
5037 test -n "$ICOTOOL" || ICOTOOL
="false"
5039 for ac_prog
in msgfmt
5041 # Extract the first word of "$ac_prog", so it can be a program name with args.
5042 set dummy
$ac_prog; ac_word
=$2
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5044 $as_echo_n "checking for $ac_word... " >&6; }
5045 if ${ac_cv_prog_MSGFMT+:} false
; then :
5046 $as_echo_n "(cached) " >&6
5048 if test -n "$MSGFMT"; then
5049 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5055 test -z "$as_dir" && as_dir
=.
5056 for ac_exec_ext
in '' $ac_executable_extensions; do
5057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5058 ac_cv_prog_MSGFMT
="$ac_prog"
5059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5068 MSGFMT
=$ac_cv_prog_MSGFMT
5069 if test -n "$MSGFMT"; then
5070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5071 $as_echo "$MSGFMT" >&6; }
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5074 $as_echo "no" >&6; }
5078 test -n "$MSGFMT" && break
5080 test -n "$MSGFMT" || MSGFMT
="false"
5083 if test "x$enable_maintainer_mode" != "xyes"
5088 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5089 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5091 if test "$CONVERT" = false
5093 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5096 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5097 convert_version
=`convert --version | head -n1`
5098 if test "x$convert_version" != "x"
5100 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5101 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5102 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5107 if test "$CONVERT" = false
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5110 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5111 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5114 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5118 if test "$ICOTOOL" = false
5120 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5123 $as_echo_n "checking for recent enough icotool... " >&6; }
5124 icotool_version
=`icotool --version | head -n1`
5125 if test "x$icotool_version" != "x"
5127 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5128 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5129 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5132 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5135 if test "$ICOTOOL" = false
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5138 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5139 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5142 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5148 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5151 test "x$with_gettext" != xno || MSGFMT
=false
5152 if test "$MSGFMT" = false
; then :
5153 case "x$with_gettext" in
5154 x
) as_fn_append wine_warnings
"|gettext tools not found, translations won't be built." ;;
5156 *) as_fn_error $?
"gettext tools not found, translations won't be built.
5157 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5163 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5164 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5165 $as_echo_n "(cached) " >&6
5167 ac_check_lib_save_LIBS
=$LIBS
5169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5170 /* end confdefs.h. */
5172 /* Override any GCC internal prototype to avoid an error.
5173 Use char because int might match the return type of a GCC
5174 builtin and then its argument prototype would still apply. */
5178 char i386_set_ldt ();
5182 return i386_set_ldt ();
5187 if ac_fn_c_try_link
"$LINENO"; then :
5188 ac_cv_lib_i386_i386_set_ldt
=yes
5190 ac_cv_lib_i386_i386_set_ldt
=no
5192 rm -f core conftest.err conftest.
$ac_objext \
5193 conftest
$ac_exeext conftest.
$ac_ext
5194 LIBS
=$ac_check_lib_save_LIBS
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5197 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5198 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5199 cat >>confdefs.h
<<_ACEOF
5200 #define HAVE_LIBI386 1
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5208 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5209 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5210 $as_echo_n "(cached) " >&6
5212 ac_check_lib_save_LIBS
=$LIBS
5213 LIBS
="-lossaudio $LIBS"
5214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5215 /* end confdefs.h. */
5217 /* Override any GCC internal prototype to avoid an error.
5218 Use char because int might match the return type of a GCC
5219 builtin and then its argument prototype would still apply. */
5227 return _oss_ioctl ();
5232 if ac_fn_c_try_link
"$LINENO"; then :
5233 ac_cv_lib_ossaudio__oss_ioctl
=yes
5235 ac_cv_lib_ossaudio__oss_ioctl
=no
5237 rm -f core conftest.err conftest.
$ac_objext \
5238 conftest
$ac_exeext conftest.
$ac_ext
5239 LIBS
=$ac_check_lib_save_LIBS
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5242 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5243 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5244 cat >>confdefs.h
<<_ACEOF
5245 #define HAVE_LIBOSSAUDIO 1
5248 LIBS
="-lossaudio $LIBS"
5259 # Check whether --enable-largefile was given.
5260 if test "${enable_largefile+set}" = set; then :
5261 enableval
=$enable_largefile;
5264 if test "$enable_largefile" != no
; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5267 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5268 if ${ac_cv_sys_largefile_CC+:} false
; then :
5269 $as_echo_n "(cached) " >&6
5271 ac_cv_sys_largefile_CC
=no
5272 if test "$GCC" != yes; then
5275 # IRIX 6.2 and later do not support large files by default,
5276 # so use the C compiler's -n32 option if that helps.
5277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5278 /* end confdefs.h. */
5279 #include <sys/types.h>
5280 /* Check that off_t can represent 2**63 - 1 correctly.
5281 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5282 since some C++ compilers masquerading as C compilers
5283 incorrectly reject 9223372036854775807. */
5284 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5285 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5286 && LARGE_OFF_T % 2147483647 == 1)
5296 if ac_fn_c_try_compile
"$LINENO"; then :
5299 rm -f core conftest.err conftest.
$ac_objext
5301 if ac_fn_c_try_compile
"$LINENO"; then :
5302 ac_cv_sys_largefile_CC
=' -n32'; break
5304 rm -f core conftest.err conftest.
$ac_objext
5308 rm -f conftest.
$ac_ext
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5312 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5313 if test "$ac_cv_sys_largefile_CC" != no
; then
5314 CC
=$CC$ac_cv_sys_largefile_CC
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5318 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5319 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5320 $as_echo_n "(cached) " >&6
5323 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5324 /* end confdefs.h. */
5325 #include <sys/types.h>
5326 /* Check that off_t can represent 2**63 - 1 correctly.
5327 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5328 since some C++ compilers masquerading as C compilers
5329 incorrectly reject 9223372036854775807. */
5330 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5331 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5332 && LARGE_OFF_T % 2147483647 == 1)
5342 if ac_fn_c_try_compile
"$LINENO"; then :
5343 ac_cv_sys_file_offset_bits
=no
; break
5345 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5348 #define _FILE_OFFSET_BITS 64
5349 #include <sys/types.h>
5350 /* Check that off_t can represent 2**63 - 1 correctly.
5351 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5352 since some C++ compilers masquerading as C compilers
5353 incorrectly reject 9223372036854775807. */
5354 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5355 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5356 && LARGE_OFF_T % 2147483647 == 1)
5366 if ac_fn_c_try_compile
"$LINENO"; then :
5367 ac_cv_sys_file_offset_bits
=64; break
5369 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5370 ac_cv_sys_file_offset_bits
=unknown
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5375 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5376 case $ac_cv_sys_file_offset_bits in #(
5379 cat >>confdefs.h
<<_ACEOF
5380 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5385 if test $ac_cv_sys_file_offset_bits = unknown
; then
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5387 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5388 if ${ac_cv_sys_large_files+:} false
; then :
5389 $as_echo_n "(cached) " >&6
5392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5393 /* end confdefs.h. */
5394 #include <sys/types.h>
5395 /* Check that off_t can represent 2**63 - 1 correctly.
5396 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5397 since some C++ compilers masquerading as C compilers
5398 incorrectly reject 9223372036854775807. */
5399 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5400 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5401 && LARGE_OFF_T % 2147483647 == 1)
5411 if ac_fn_c_try_compile
"$LINENO"; then :
5412 ac_cv_sys_large_files
=no
; break
5414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5416 /* end confdefs.h. */
5417 #define _LARGE_FILES 1
5418 #include <sys/types.h>
5419 /* Check that off_t can represent 2**63 - 1 correctly.
5420 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5421 since some C++ compilers masquerading as C compilers
5422 incorrectly reject 9223372036854775807. */
5423 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5424 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5425 && LARGE_OFF_T % 2147483647 == 1)
5435 if ac_fn_c_try_compile
"$LINENO"; then :
5436 ac_cv_sys_large_files
=1; break
5438 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5439 ac_cv_sys_large_files
=unknown
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5444 $as_echo "$ac_cv_sys_large_files" >&6; }
5445 case $ac_cv_sys_large_files in #(
5448 cat >>confdefs.h
<<_ACEOF
5449 #define _LARGE_FILES $ac_cv_sys_large_files
5459 ac_cpp
='$CPP $CPPFLAGS'
5460 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5461 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5462 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5464 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5465 # On Suns, sometimes $CPP names a directory.
5466 if test -n "$CPP" && test -d "$CPP"; then
5469 if test -z "$CPP"; then
5470 if ${ac_cv_prog_CPP+:} false
; then :
5471 $as_echo_n "(cached) " >&6
5473 # Double quotes because CPP needs to be expanded
5474 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5477 for ac_c_preproc_warn_flag
in '' yes
5479 # Use a header file that comes with gcc, so configuring glibc
5480 # with a fresh cross-compiler works.
5481 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5482 # <limits.h> exists even on freestanding compilers.
5483 # On the NeXT, cc -E runs the code through the compiler's parser,
5484 # not just through cpp. "Syntax error" is here to catch this case.
5485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5488 # include <limits.h>
5490 # include <assert.h>
5494 if ac_fn_c_try_cpp
"$LINENO"; then :
5497 # Broken: fails on valid input.
5500 rm -f conftest.err conftest.i conftest.
$ac_ext
5502 # OK, works on sane cases. Now check whether nonexistent headers
5503 # can be detected and how.
5504 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5505 /* end confdefs.h. */
5506 #include <ac_nonexistent.h>
5508 if ac_fn_c_try_cpp
"$LINENO"; then :
5509 # Broken: success on invalid input.
5512 # Passes both tests.
5516 rm -f conftest.err conftest.i conftest.
$ac_ext
5519 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5520 rm -f conftest.i conftest.err conftest.
$ac_ext
5521 if $ac_preproc_ok; then :
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5534 $as_echo "$CPP" >&6; }
5536 for ac_c_preproc_warn_flag
in '' yes
5538 # Use a header file that comes with gcc, so configuring glibc
5539 # with a fresh cross-compiler works.
5540 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5541 # <limits.h> exists even on freestanding compilers.
5542 # On the NeXT, cc -E runs the code through the compiler's parser,
5543 # not just through cpp. "Syntax error" is here to catch this case.
5544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5545 /* end confdefs.h. */
5547 # include <limits.h>
5549 # include <assert.h>
5553 if ac_fn_c_try_cpp
"$LINENO"; then :
5556 # Broken: fails on valid input.
5559 rm -f conftest.err conftest.i conftest.
$ac_ext
5561 # OK, works on sane cases. Now check whether nonexistent headers
5562 # can be detected and how.
5563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5564 /* end confdefs.h. */
5565 #include <ac_nonexistent.h>
5567 if ac_fn_c_try_cpp
"$LINENO"; then :
5568 # Broken: success on invalid input.
5571 # Passes both tests.
5575 rm -f conftest.err conftest.i conftest.
$ac_ext
5578 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5579 rm -f conftest.i conftest.err conftest.
$ac_ext
5580 if $ac_preproc_ok; then :
5583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5585 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5586 See \`config.log' for more details" "$LINENO" 5; }
5590 ac_cpp
='$CPP $CPPFLAGS'
5591 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5592 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5593 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5597 $as_echo_n "checking for ANSI C header files... " >&6; }
5598 if ${ac_cv_header_stdc+:} false
; then :
5599 $as_echo_n "(cached) " >&6
5601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5602 /* end confdefs.h. */
5616 if ac_fn_c_try_compile
"$LINENO"; then :
5617 ac_cv_header_stdc
=yes
5619 ac_cv_header_stdc
=no
5621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5623 if test $ac_cv_header_stdc = yes; then
5624 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5625 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5626 /* end confdefs.h. */
5630 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5631 $EGREP "memchr" >/dev
/null
2>&1; then :
5634 ac_cv_header_stdc
=no
5640 if test $ac_cv_header_stdc = yes; then
5641 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5647 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5648 $EGREP "free" >/dev
/null
2>&1; then :
5651 ac_cv_header_stdc
=no
5657 if test $ac_cv_header_stdc = yes; then
5658 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5659 if test "$cross_compiling" = yes; then :
5662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5666 #if ((' ' & 0x0FF) == 0x020)
5667 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5668 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5670 # define ISLOWER(c) \
5671 (('a' <= (c) && (c) <= 'i') \
5672 || ('j' <= (c) && (c) <= 'r') \
5673 || ('s' <= (c) && (c) <= 'z'))
5674 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5677 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5682 for (i = 0; i < 256; i++)
5683 if (XOR (islower (i), ISLOWER (i))
5684 || toupper (i) != TOUPPER (i))
5689 if ac_fn_c_try_run
"$LINENO"; then :
5692 ac_cv_header_stdc
=no
5694 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5695 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5701 $as_echo "$ac_cv_header_stdc" >&6; }
5702 if test $ac_cv_header_stdc = yes; then
5704 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5708 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5709 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5710 inttypes.h stdint.h unistd.h
5712 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5713 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5715 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5716 cat >>confdefs.h
<<_ACEOF
5717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5727 ApplicationServices
/ApplicationServices.h \
5728 AudioToolbox
/AudioConverter.h \
5729 AudioUnit
/AudioUnit.h \
5730 AudioUnit
/AudioComponent.h \
5733 CoreAudio
/CoreAudio.h \
5734 DiskArbitration
/DiskArbitration.h \
5736 IOKit
/hid
/IOHIDLib.h \
5739 QuickTime
/ImageCompression.h \
5740 Security
/Security.h \
5754 fontconfig
/fontconfig.h \
5793 netinet
/in_systm.h \
5860 valgrind
/memcheck.h \
5861 valgrind
/valgrind.h \
5865 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5866 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5867 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5868 cat >>confdefs.h
<<_ACEOF
5869 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5877 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5878 if ${ac_cv_header_stat_broken+:} false
; then :
5879 $as_echo_n "(cached) " >&6
5881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5882 /* end confdefs.h. */
5883 #include <sys/types.h>
5884 #include <sys/stat.h>
5886 #if defined S_ISBLK && defined S_IFDIR
5887 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5890 #if defined S_ISBLK && defined S_IFCHR
5891 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5894 #if defined S_ISLNK && defined S_IFREG
5895 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5898 #if defined S_ISSOCK && defined S_IFREG
5899 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5903 if ac_fn_c_try_compile
"$LINENO"; then :
5904 ac_cv_header_stat_broken
=no
5906 ac_cv_header_stat_broken
=yes
5908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5911 $as_echo "$ac_cv_header_stat_broken" >&6; }
5912 if test $ac_cv_header_stat_broken = yes; then
5914 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5920 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5922 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5923 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5924 #ifdef HAVE_SYS_PARAM_H
5925 # include <sys/param.h>
5928 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5929 cat >>confdefs.h
<<_ACEOF
5930 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5945 netinet
/if_ether.h \
5946 netinet
/if_inarp.h \
5954 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5955 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5956 #ifdef HAVE_SYS_SOCKET_H
5957 # include <sys/socket.h>
5959 #ifdef HAVE_SYS_SOCKETVAR_H
5960 # include <sys/socketvar.h>
5962 #ifdef HAVE_NET_ROUTE_H
5963 # include <net/route.h>
5965 #ifdef HAVE_NETINET_IN_H
5966 # include <netinet/in.h>
5968 #ifdef HAVE_NETINET_IN_SYSTM_H
5969 # include <netinet/in_systm.h>
5971 #ifdef HAVE_NET_IF_H
5972 # include <net/if.h>
5974 #ifdef HAVE_NETINET_IP_H
5975 # include <netinet/ip.h>
5978 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5979 cat >>confdefs.h
<<_ACEOF
5980 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5988 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
5990 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5991 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5995 #ifdef HAVE_SYS_SOCKET_H
5996 # include <sys/socket.h>
5998 #ifdef HAVE_SYS_SOCKETVAR_H
5999 # include <sys/socketvar.h>
6001 #ifdef HAVE_SYS_TIMEOUT_H
6002 # include <sys/timeout.h>
6004 #ifdef HAVE_NETINET_IN_H
6005 # include <netinet/in.h>
6007 #ifdef HAVE_NETINET_IN_SYSTM_H
6008 # include <netinet/in_systm.h>
6010 #ifdef HAVE_NETINET_IP_H
6011 # include <netinet/ip.h>
6013 #ifdef HAVE_NETINET_IP_VAR_H
6014 # include <netinet/ip_var.h>
6016 #ifdef HAVE_NETINET_IP_ICMP_H
6017 # include <netinet/ip_icmp.h>
6019 #ifdef HAVE_NETINET_UDP_H
6020 # include <netinet/udp.h>
6022 #ifdef HAVE_NETINET_TCP_H
6023 # include <netinet/tcp.h>
6025 #ifdef HAVE_NETINET_TCP_TIMER_H
6026 #include <netinet/tcp_timer.h>
6029 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6030 cat >>confdefs.h
<<_ACEOF
6031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6039 for ac_header
in linux
/ipx.h linux
/irda.h
6041 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6042 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6043 #ifdef HAVE_ASM_TYPES_H
6044 # include <asm/types.h>
6046 #ifdef HAVE_SYS_SOCKET_H
6047 # include <sys/socket.h>
6049 #ifdef HAVE_LINUX_TYPES_H
6050 # include <linux/types.h>
6053 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6054 cat >>confdefs.h
<<_ACEOF
6055 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6063 for ac_header
in mach-o
/dyld_images.h
6065 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6066 # include <stdbool.h>
6068 #ifdef HAVE_STDINT_H
6069 # include <stdint.h>
6072 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6073 cat >>confdefs.h
<<_ACEOF
6074 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6082 for ac_header
in resolv.h
6084 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6085 #ifdef HAVE_SYS_SOCKET_H
6086 # include <sys/socket.h>
6088 #ifdef HAVE_NETINET_IN_H
6089 # include <netinet/in.h>
6091 #ifdef HAVE_ARPA_NAMESER_H
6092 # include <arpa/nameser.h>
6095 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6096 cat >>confdefs.h
<<_ACEOF
6097 #define HAVE_RESOLV_H 1
6105 for ac_header
in ifaddrs.h
6107 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6109 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6110 cat >>confdefs.h
<<_ACEOF
6111 #define HAVE_IFADDRS_H 1
6119 for ac_header
in ucontext.h
6121 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6123 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6124 cat >>confdefs.h
<<_ACEOF
6125 #define HAVE_UCONTEXT_H 1
6133 for ac_header
in sys
/thr.h
6135 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6136 #ifdef HAVE_UCONTEXT_H
6137 #include <ucontext.h>
6140 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6141 cat >>confdefs.h
<<_ACEOF
6142 #define HAVE_SYS_THR_H 1
6150 for ac_header
in pthread_np.h
6152 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6153 #include <pthread.h>
6156 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6157 cat >>confdefs.h
<<_ACEOF
6158 #define HAVE_PTHREAD_NP_H 1
6166 for ac_header
in linux
/videodev.h linux
/videodev2.h
6168 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6169 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6170 #include <sys/time.h>
6172 #include <sys/types.h>
6173 #ifdef HAVE_ASM_TYPES_H
6174 #include <asm/types.h>
6177 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6178 cat >>confdefs.h
<<_ACEOF
6179 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6187 for ac_header
in linux
/capi.h
6189 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6191 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6192 cat >>confdefs.h
<<_ACEOF
6193 #define HAVE_LINUX_CAPI_H 1
6204 DLLFLAGS
="-D_REENTRANT"
6218 STATIC_IMPLIBEXT
="def.a"
6219 # Extract the first word of "ldd", so it can be a program name with args.
6220 set dummy ldd
; ac_word
=$2
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6222 $as_echo_n "checking for $ac_word... " >&6; }
6223 if ${ac_cv_path_LDD+:} false
; then :
6224 $as_echo_n "(cached) " >&6
6228 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6232 as_dummy
="/sbin:/usr/sbin:$PATH"
6233 for as_dir
in $as_dummy
6236 test -z "$as_dir" && as_dir
=.
6237 for ac_exec_ext
in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6247 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6252 if test -n "$LDD"; then
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6254 $as_echo "$LDD" >&6; }
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6257 $as_echo "no" >&6; }
6264 if test -n "$ac_tool_prefix"; then
6265 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6266 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6268 $as_echo_n "checking for $ac_word... " >&6; }
6269 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6270 $as_echo_n "(cached) " >&6
6272 if test -n "$DLLTOOL"; then
6273 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6275 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6279 test -z "$as_dir" && as_dir
=.
6280 for ac_exec_ext
in '' $ac_executable_extensions; do
6281 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6282 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 DLLTOOL
=$ac_cv_prog_DLLTOOL
6293 if test -n "$DLLTOOL"; then
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6295 $as_echo "$DLLTOOL" >&6; }
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6298 $as_echo "no" >&6; }
6303 if test -z "$ac_cv_prog_DLLTOOL"; then
6304 ac_ct_DLLTOOL
=$DLLTOOL
6305 # Extract the first word of "dlltool", so it can be a program name with args.
6306 set dummy dlltool
; ac_word
=$2
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6308 $as_echo_n "checking for $ac_word... " >&6; }
6309 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6310 $as_echo_n "(cached) " >&6
6312 if test -n "$ac_ct_DLLTOOL"; then
6313 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6319 test -z "$as_dir" && as_dir
=.
6320 for ac_exec_ext
in '' $ac_executable_extensions; do
6321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6322 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6332 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6333 if test -n "$ac_ct_DLLTOOL"; then
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6335 $as_echo "$ac_ct_DLLTOOL" >&6; }
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6338 $as_echo "no" >&6; }
6341 if test "x$ac_ct_DLLTOOL" = x
; then
6344 case $cross_compiling:$ac_tool_warned in
6346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6347 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6348 ac_tool_warned
=yes ;;
6350 DLLTOOL
=$ac_ct_DLLTOOL
6353 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6356 if test -n "$ac_tool_prefix"; then
6357 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6358 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6360 $as_echo_n "checking for $ac_word... " >&6; }
6361 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6362 $as_echo_n "(cached) " >&6
6364 if test -n "$DLLWRAP"; then
6365 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6367 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6371 test -z "$as_dir" && as_dir
=.
6372 for ac_exec_ext
in '' $ac_executable_extensions; do
6373 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6374 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6375 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6384 DLLWRAP
=$ac_cv_prog_DLLWRAP
6385 if test -n "$DLLWRAP"; then
6386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6387 $as_echo "$DLLWRAP" >&6; }
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6390 $as_echo "no" >&6; }
6395 if test -z "$ac_cv_prog_DLLWRAP"; then
6396 ac_ct_DLLWRAP
=$DLLWRAP
6397 # Extract the first word of "dllwrap", so it can be a program name with args.
6398 set dummy dllwrap
; ac_word
=$2
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6400 $as_echo_n "checking for $ac_word... " >&6; }
6401 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6402 $as_echo_n "(cached) " >&6
6404 if test -n "$ac_ct_DLLWRAP"; then
6405 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6407 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6411 test -z "$as_dir" && as_dir
=.
6412 for ac_exec_ext
in '' $ac_executable_extensions; do
6413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6414 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6424 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6425 if test -n "$ac_ct_DLLWRAP"; then
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6427 $as_echo "$ac_ct_DLLWRAP" >&6; }
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6430 $as_echo "no" >&6; }
6433 if test "x$ac_ct_DLLWRAP" = x
; then
6436 case $cross_compiling:$ac_tool_warned in
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6439 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6440 ac_tool_warned
=yes ;;
6442 DLLWRAP
=$ac_ct_DLLWRAP
6445 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6448 if test "$DLLWRAP" = "false"; then
6454 STATIC_IMPLIBEXT
="a"
6455 enable_iphlpapi
=${enable_iphlpapi:-no}
6456 enable_kernel32
=${enable_kernel32:-no}
6457 enable_msvcrt
=${enable_msvcrt:-no}
6458 enable_ntdll
=${enable_ntdll:-no}
6459 enable_ws2_32
=${enable_ws2_32:-no}
6460 enable_loader
=${enable_loader:-no}
6461 enable_server
=${enable_server:-no}
6462 with_x
=${with_x:-no}
6463 with_pthread
=${with_pthread:-no}
6468 DLLFLAGS
="$DLLFLAGS -fPIC"
6469 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6470 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6471 LDSHARED
="\$(CC) -dynamiclib"
6472 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6473 COREFOUNDATIONLIB
="-framework CoreFoundation"
6475 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6477 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6481 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6484 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6487 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6489 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6492 if test "$ac_cv_header_Security_Security_h" = "yes"
6494 SECURITYLIB
="-framework Security -framework CoreFoundation"
6496 ac_save_LIBS
="$LIBS"
6497 LIBS
="$LIBS $SECURITYLIB"
6498 for ac_func
in SSLCopyPeerCertificates
6500 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6501 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6502 cat >>confdefs.h
<<_ACEOF
6503 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6509 LIBS
="$ac_save_LIBS"
6510 with_gnutls
=${with_gnutls:-no}
6512 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6514 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6516 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6519 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6522 ac_save_LIBS
="$LIBS"
6523 LIBS
="$LIBS $COREAUDIO"
6524 for ac_func
in AUGraphAddNode
6526 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6527 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6528 cat >>confdefs.h
<<_ACEOF
6529 #define HAVE_AUGRAPHADDNODE 1
6535 LIBS
="$ac_save_LIBS"
6537 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6539 FRAMEWORK_OPENAL
="-framework OpenAL"
6542 cat >>confdefs.h
<<_ACEOF
6543 #define HAVE_OPENAL 1
6546 ac_cv_lib_openal
=yes
6548 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6550 LIBOPENCL
="-framework OpenCL"
6552 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6554 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6556 ac_save_LIBS
="$LIBS"
6557 LIBS
="$LIBS $IOKITLIB"
6558 for ac_func
in IOHIDManagerCreate
6560 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6561 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6562 cat >>confdefs.h
<<_ACEOF
6563 #define HAVE_IOHIDMANAGERCREATE 1
6569 LIBS
="$ac_save_LIBS"
6573 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6575 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6577 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6579 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6581 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6583 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6585 CARBONLIB
="-framework Carbon"
6587 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6589 if test "x$enable_win16" = "xyes"
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6592 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6593 if test "$cross_compiling" = yes; then :
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6595 $as_echo "cross-compiling, assuming yes" >&6; }
6597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6598 /* end confdefs.h. */
6601 "good:\tnop;nop\n\t"
6602 ".globl _testfunc\n"
6603 "_testfunc:\tcallw good");
6604 extern void testfunc();
6608 unsigned short *p = (unsigned short *)testfunc;
6609 return p[0] != 0xe866 || p[1] != 0xfffa
6614 if ac_fn_c_try_run
"$LINENO"; then :
6615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6616 $as_echo "yes" >&6; }
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6619 $as_echo "no" >&6; }
6620 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
6622 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6623 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6629 DLLFLAGS
="$DLLFLAGS -fPIC"
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6632 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6633 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6634 $as_echo_n "(cached) " >&6
6636 ac_wine_try_cflags_saved
=$CFLAGS
6637 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6639 /* end confdefs.h. */
6642 if ac_fn_c_try_link
"$LINENO"; then :
6643 ac_cv_c_dll_gnuelf
="yes"
6645 ac_cv_c_dll_gnuelf
="no"
6647 rm -f core conftest.err conftest.
$ac_objext \
6648 conftest
$ac_exeext conftest.
$ac_ext
6649 CFLAGS
=$ac_wine_try_cflags_saved
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6652 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6653 if test "$ac_cv_c_dll_gnuelf" = "yes"
6655 LDSHARED
="\$(CC) -shared"
6656 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6658 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6659 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6660 $as_echo_n "(cached) " >&6
6662 ac_wine_try_cflags_saved
=$CFLAGS
6663 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6666 int main(int argc, char **argv) { return 0; }
6668 if ac_fn_c_try_link
"$LINENO"; then :
6669 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6671 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6673 rm -f core conftest.err conftest.
$ac_objext \
6674 conftest
$ac_exeext conftest.
$ac_ext
6675 CFLAGS
=$ac_wine_try_cflags_saved
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6678 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6679 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6680 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6683 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6684 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6685 $as_echo_n "(cached) " >&6
6687 ac_wine_try_cflags_saved
=$CFLAGS
6688 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6690 /* end confdefs.h. */
6691 int main(int argc, char **argv) { return 0; }
6693 if ac_fn_c_try_link
"$LINENO"; then :
6694 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6696 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6698 rm -f core conftest.err conftest.
$ac_objext \
6699 conftest
$ac_exeext conftest.
$ac_ext
6700 CFLAGS
=$ac_wine_try_cflags_saved
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6703 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6704 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6705 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6710 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6711 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6712 $as_echo_n "(cached) " >&6
6714 ac_wine_try_cflags_saved
=$CFLAGS
6715 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6718 int main(int argc, char **argv) { return 0; }
6720 if ac_fn_c_try_link
"$LINENO"; then :
6721 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6723 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6725 rm -f core conftest.err conftest.
$ac_objext \
6726 conftest
$ac_exeext conftest.
$ac_ext
6727 CFLAGS
=$ac_wine_try_cflags_saved
6729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6730 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6731 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6732 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6735 { $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
6736 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6737 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6738 $as_echo_n "(cached) " >&6
6740 ac_wine_try_cflags_saved
=$CFLAGS
6741 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 int main(int argc, char **argv) { return 0; }
6746 if ac_fn_c_try_link
"$LINENO"; then :
6747 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6749 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6751 rm -f core conftest.err conftest.
$ac_objext \
6752 conftest
$ac_exeext conftest.
$ac_ext
6753 CFLAGS
=$ac_wine_try_cflags_saved
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6756 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6757 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6758 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6761 echo '{ global: *; };' >conftest.map
6762 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6764 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6765 if eval \
${$as_ac_var+:} false
; then :
6766 $as_echo_n "(cached) " >&6
6768 ac_wine_try_cflags_saved
=$CFLAGS
6769 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6770 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6771 /* end confdefs.h. */
6772 int main(int argc, char **argv) { return 0; }
6774 if ac_fn_c_try_link
"$LINENO"; then :
6775 eval "$as_ac_var=yes"
6777 eval "$as_ac_var=no"
6779 rm -f core conftest.err conftest.
$ac_objext \
6780 conftest
$ac_exeext conftest.
$ac_ext
6781 CFLAGS
=$ac_wine_try_cflags_saved
6783 eval ac_res
=\$
$as_ac_var
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6785 $as_echo "$ac_res" >&6; }
6786 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6787 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6792 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6793 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6794 $as_echo_n "(cached) " >&6
6796 ac_wine_try_cflags_saved
=$CFLAGS
6797 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6799 /* end confdefs.h. */
6800 int main(int argc, char **argv) { return 0; }
6802 if ac_fn_c_try_link
"$LINENO"; then :
6803 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6805 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6807 rm -f core conftest.err conftest.
$ac_objext \
6808 conftest
$ac_exeext conftest.
$ac_ext
6809 CFLAGS
=$ac_wine_try_cflags_saved
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6812 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6813 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6814 LDEXECFLAGS
="-Wl,--export-dynamic"
6818 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6820 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6821 if eval \
${$as_ac_var+:} false
; then :
6822 $as_echo_n "(cached) " >&6
6824 ac_wine_try_cflags_saved
=$CFLAGS
6825 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6827 /* end confdefs.h. */
6828 int main(int argc, char **argv) { return 0; }
6830 if ac_fn_c_try_link
"$LINENO"; then :
6831 eval "$as_ac_var=yes"
6833 eval "$as_ac_var=no"
6835 rm -f core conftest.err conftest.
$ac_objext \
6836 conftest
$ac_exeext conftest.
$ac_ext
6837 CFLAGS
=$ac_wine_try_cflags_saved
6839 eval ac_res
=\$
$as_ac_var
6840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6841 $as_echo "$ac_res" >&6; }
6842 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6843 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6844 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6846 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6848 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6849 if eval \
${$as_ac_var+:} false
; then :
6850 $as_echo_n "(cached) " >&6
6852 ac_wine_try_cflags_saved
=$CFLAGS
6853 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6855 /* end confdefs.h. */
6856 int main(int argc, char **argv) { return 0; }
6858 if ac_fn_c_try_link
"$LINENO"; then :
6859 eval "$as_ac_var=yes"
6861 eval "$as_ac_var=no"
6863 rm -f core conftest.err conftest.
$ac_objext \
6864 conftest
$ac_exeext conftest.
$ac_ext
6865 CFLAGS
=$ac_wine_try_cflags_saved
6867 eval ac_res
=\$
$as_ac_var
6868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6869 $as_echo "$ac_res" >&6; }
6870 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6871 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6872 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6877 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6878 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6879 $as_echo_n "(cached) " >&6
6881 ac_wine_try_cflags_saved
=$CFLAGS
6882 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6885 int main(int argc, char **argv) { return 0; }
6887 if ac_fn_c_try_link
"$LINENO"; then :
6888 ac_cv_cflags__Wl___enable_new_dtags
=yes
6890 ac_cv_cflags__Wl___enable_new_dtags
=no
6892 rm -f core conftest.err conftest.
$ac_objext \
6893 conftest
$ac_exeext conftest.
$ac_ext
6894 CFLAGS
=$ac_wine_try_cflags_saved
6896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6897 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6898 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6899 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6903 *i
[3456789]86* | x86_64
)
6904 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6906 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6907 if eval \
${$as_ac_var+:} false
; then :
6908 $as_echo_n "(cached) " >&6
6910 ac_wine_try_cflags_saved
=$CFLAGS
6911 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6913 /* end confdefs.h. */
6914 int main(int argc, char **argv) { return 0; }
6916 if ac_fn_c_try_link
"$LINENO"; then :
6917 eval "$as_ac_var=yes"
6919 eval "$as_ac_var=no"
6921 rm -f core conftest.err conftest.
$ac_objext \
6922 conftest
$ac_exeext conftest.
$ac_ext
6923 CFLAGS
=$ac_wine_try_cflags_saved
6925 eval ac_res
=\$
$as_ac_var
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6927 $as_echo "$ac_res" >&6; }
6928 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6930 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6931 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6935 # Extract the first word of "prelink", so it can be a program name with args.
6936 set dummy prelink
; ac_word
=$2
6937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6938 $as_echo_n "checking for $ac_word... " >&6; }
6939 if ${ac_cv_path_PRELINK+:} false
; then :
6940 $as_echo_n "(cached) " >&6
6944 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6947 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6948 for as_dir
in /sbin
/usr
/sbin
$PATH
6951 test -z "$as_dir" && as_dir
=.
6952 for ac_exec_ext
in '' $ac_executable_extensions; do
6953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6954 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6962 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6966 PRELINK
=$ac_cv_path_PRELINK
6967 if test -n "$PRELINK"; then
6968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6969 $as_echo "$PRELINK" >&6; }
6971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6972 $as_echo "no" >&6; }
6976 if test "x$PRELINK" = xfalse
6978 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6985 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6986 if ${ac_cv_c_dll_unixware+:} false
; then :
6987 $as_echo_n "(cached) " >&6
6989 ac_wine_try_cflags_saved
=$CFLAGS
6990 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6992 /* end confdefs.h. */
6995 if ac_fn_c_try_link
"$LINENO"; then :
6996 ac_cv_c_dll_unixware
="yes"
6998 ac_cv_c_dll_unixware
="no"
7000 rm -f core conftest.err conftest.
$ac_objext \
7001 conftest
$ac_exeext conftest.
$ac_ext
7002 CFLAGS
=$ac_wine_try_cflags_saved
7004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7005 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7006 if test "$ac_cv_c_dll_unixware" = "yes"
7008 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7009 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7013 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7014 if ${ac_cv_c_dll_hpux+:} false
; then :
7015 $as_echo_n "(cached) " >&6
7017 ac_wine_try_cflags_saved
=$CFLAGS
7018 CFLAGS
="$CFLAGS -shared"
7019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7020 /* end confdefs.h. */
7023 if ac_fn_c_try_link
"$LINENO"; then :
7024 ac_cv_c_dll_hpux
="yes"
7026 ac_cv_c_dll_hpux
="no"
7028 rm -f core conftest.err conftest.
$ac_objext \
7029 conftest
$ac_exeext conftest.
$ac_ext
7030 CFLAGS
=$ac_wine_try_cflags_saved
7032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7033 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7034 if test "$ac_cv_c_dll_hpux" = "yes"
7038 LDDLLFLAGS
="-shared -fPIC"
7039 LDSHARED
="\$(CC) -shared"
7046 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7047 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7049 if test "$LIBEXT" = "a"; then
7050 as_fn_error $?
"could not find a way to build shared libraries.
7051 It is currently not possible to build Wine without shared library
7052 (.so) support to allow transparent switch between .so and .dll files.
7053 If you are using Linux, you will need a newer binutils.
7057 CROSSTEST_DISABLE
=\
#
7059 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7063 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 " ;;
7065 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 " ;;
7067 ac_prefix_list
="" ;;
7069 for ac_prog
in $ac_prefix_list
7071 # Extract the first word of "$ac_prog", so it can be a program name with args.
7072 set dummy
$ac_prog; ac_word
=$2
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7074 $as_echo_n "checking for $ac_word... " >&6; }
7075 if ${ac_cv_prog_CROSSCC+:} false
; then :
7076 $as_echo_n "(cached) " >&6
7078 if test -n "$CROSSCC"; then
7079 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7085 test -z "$as_dir" && as_dir
=.
7086 for ac_exec_ext
in '' $ac_executable_extensions; do
7087 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7088 ac_cv_prog_CROSSCC
="$ac_prog"
7089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7098 CROSSCC
=$ac_cv_prog_CROSSCC
7099 if test -n "$CROSSCC"; then
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7101 $as_echo "$CROSSCC" >&6; }
7103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7104 $as_echo "no" >&6; }
7108 test -n "$CROSSCC" && break
7110 test -n "$CROSSCC" || CROSSCC
="false"
7112 if test "$CROSSCC" != "false"
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7117 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7119 /* end confdefs.h. */
7129 if ac_fn_c_try_compile
"$LINENO"; then :
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7131 $as_echo "yes" >&6; }
7138 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7142 if test -n "$target"
7144 CROSSTEST_DISABLE
=""
7145 CROSSTARGET
="$target"
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7150 $as_echo "no" >&6; }
7152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7158 if test "$ac_cv_header_pthread_h" = "yes"
7160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7161 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7162 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7163 $as_echo_n "(cached) " >&6
7165 ac_check_lib_save_LIBS
=$LIBS
7166 LIBS
="-lpthread $LIBS"
7167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7168 /* end confdefs.h. */
7170 /* Override any GCC internal prototype to avoid an error.
7171 Use char because int might match the return type of a GCC
7172 builtin and then its argument prototype would still apply. */
7176 char pthread_create ();
7180 return pthread_create ();
7185 if ac_fn_c_try_link
"$LINENO"; then :
7186 ac_cv_lib_pthread_pthread_create
=yes
7188 ac_cv_lib_pthread_pthread_create
=no
7190 rm -f core conftest.err conftest.
$ac_objext \
7191 conftest
$ac_exeext conftest.
$ac_ext
7192 LIBS
=$ac_check_lib_save_LIBS
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7195 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7196 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7197 LIBPTHREAD
="-lpthread"
7202 if test "x$LIBPTHREAD" = "x"; then :
7203 case "x$with_pthread" in
7205 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7206 Wine cannot support threads without libpthread.
7207 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7213 $as_echo_n "checking for X... " >&6; }
7216 # Check whether --with-x was given.
7217 if test "${with_x+set}" = set; then :
7221 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7222 if test "x$with_x" = xno
; then
7223 # The user explicitly disabled X.
7226 case $x_includes,$x_libraries in #(
7227 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7228 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7229 $as_echo_n "(cached) " >&6
7231 # One or both of the vars are not set, and there is no cached value.
7232 ac_x_includes
=no ac_x_libraries
=no
7233 rm -f -r conftest.dir
7234 if mkdir conftest.dir
; then
7236 cat >Imakefile
<<'_ACEOF'
7238 @echo incroot='${INCROOT}'
7240 @echo usrlibdir='${USRLIBDIR}'
7242 @echo libdir='${LIBDIR}'
7244 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7245 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7246 for ac_var
in incroot usrlibdir libdir
; do
7247 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7249 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7250 for ac_extension
in a so sl dylib la dll
; do
7251 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7252 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7253 ac_im_usrlibdir
=$ac_im_libdir; break
7256 # Screen out bogus values from the imake configuration. They are
7257 # bogus both because they are the default anyway, and because
7258 # using them would break gcc on systems where it needs fixed includes.
7259 case $ac_im_incroot in
7260 /usr
/include
) ac_x_includes
= ;;
7261 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7263 case $ac_im_usrlibdir in
7264 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7265 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7269 rm -f -r conftest.dir
7272 # Standard set of common directories for X headers.
7273 # Check X11 before X11Rn because it is often a symlink to the current release.
7287 /usr/local/X11/include
7288 /usr/local/X11R7/include
7289 /usr/local/X11R6/include
7290 /usr/local/X11R5/include
7291 /usr/local/X11R4/include
7293 /usr/local/include/X11
7294 /usr/local/include/X11R7
7295 /usr/local/include/X11R6
7296 /usr/local/include/X11R5
7297 /usr/local/include/X11R4
7301 /usr/XFree86/include/X11
7305 /usr/unsupported/include
7307 /usr/local/x11r5/include
7308 /usr/lpp/Xamples/include
7310 /usr/openwin/include
7311 /usr/openwin/share/include'
7313 if test "$ac_x_includes" = no
; then
7314 # Guess where to find include files, by looking for Xlib.h.
7315 # First, try using that file with no special directory specified.
7316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7317 /* end confdefs.h. */
7318 #include <X11/Xlib.h>
7320 if ac_fn_c_try_cpp
"$LINENO"; then :
7321 # We can compile using X headers with no special include directory.
7324 for ac_dir
in $ac_x_header_dirs; do
7325 if test -r "$ac_dir/X11/Xlib.h"; then
7326 ac_x_includes
=$ac_dir
7331 rm -f conftest.err conftest.i conftest.
$ac_ext
7332 fi # $ac_x_includes = no
7334 if test "$ac_x_libraries" = no
; then
7335 # Check for the libraries.
7336 # See if we find them without any special options.
7337 # Don't add to $LIBS permanently.
7340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7342 #include <X11/Xlib.h>
7351 if ac_fn_c_try_link
"$LINENO"; then :
7353 # We can link X programs with no special library path.
7357 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7359 # Don't even attempt the hair of trying to link an X program!
7360 for ac_extension
in a so sl dylib la dll
; do
7361 if test -r "$ac_dir/libX11.$ac_extension"; then
7362 ac_x_libraries
=$ac_dir
7368 rm -f core conftest.err conftest.
$ac_objext \
7369 conftest
$ac_exeext conftest.
$ac_ext
7370 fi # $ac_x_libraries = no
7372 case $ac_x_includes,$ac_x_libraries in #(
7374 # Didn't find X, or a directory has "'" in its name.
7375 ac_cv_have_x
="have_x=no";; #(
7377 # Record where we found X for the cache.
7378 ac_cv_have_x
="have_x=yes\
7379 ac_x_includes='$ac_x_includes'\
7380 ac_x_libraries='$ac_x_libraries'"
7386 eval "$ac_cv_have_x"
7389 if test "$have_x" != yes; then
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7391 $as_echo "$have_x" >&6; }
7394 # If each of the values was on the command line, it overrides each guess.
7395 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7396 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7397 # Update the cache value to reflect the command line values.
7398 ac_cv_have_x
="have_x=yes\
7399 ac_x_includes='$x_includes'\
7400 ac_x_libraries='$x_libraries'"
7401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7402 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7405 if test "$no_x" = yes; then
7406 # Not all programs may use this symbol, but it does not hurt to define it.
7408 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7410 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7412 if test -n "$x_includes"; then
7413 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7416 # It would also be nice to do this for all -L options, not just this one.
7417 if test -n "$x_libraries"; then
7418 X_LIBS
="$X_LIBS -L$x_libraries"
7419 # For Solaris; some versions of Sun CC require a space after -R and
7420 # others require no space. Words are not sufficient . . . .
7421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7422 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7423 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7424 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7425 ac_c_werror_flag
=yes
7426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7427 /* end confdefs.h. */
7437 if ac_fn_c_try_link
"$LINENO"; then :
7438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7439 $as_echo "no" >&6; }
7440 X_LIBS
="$X_LIBS -R$x_libraries"
7442 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7444 /* end confdefs.h. */
7454 if ac_fn_c_try_link
"$LINENO"; then :
7455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7456 $as_echo "yes" >&6; }
7457 X_LIBS
="$X_LIBS -R $x_libraries"
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7460 $as_echo "neither works" >&6; }
7462 rm -f core conftest.err conftest.
$ac_objext \
7463 conftest
$ac_exeext conftest.
$ac_ext
7465 rm -f core conftest.err conftest.
$ac_objext \
7466 conftest
$ac_exeext conftest.
$ac_ext
7467 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7471 # Check for system-dependent libraries X programs must link with.
7472 # Do this before checking for the system-independent R6 libraries
7473 # (-lICE), since we may need -lsocket or whatever for X linking.
7475 if test "$ISC" = yes; then
7476 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7478 # Martyn Johnson says this is needed for Ultrix, if the X
7479 # libraries were built with DECnet support. And Karl Berry says
7480 # the Alpha needs dnet_stub (dnet does not exist).
7481 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7483 /* end confdefs.h. */
7485 /* Override any GCC internal prototype to avoid an error.
7486 Use char because int might match the return type of a GCC
7487 builtin and then its argument prototype would still apply. */
7491 char XOpenDisplay ();
7495 return XOpenDisplay ();
7500 if ac_fn_c_try_link
"$LINENO"; then :
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7504 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7505 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7506 $as_echo_n "(cached) " >&6
7508 ac_check_lib_save_LIBS
=$LIBS
7510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7511 /* end confdefs.h. */
7513 /* Override any GCC internal prototype to avoid an error.
7514 Use char because int might match the return type of a GCC
7515 builtin and then its argument prototype would still apply. */
7523 return dnet_ntoa ();
7528 if ac_fn_c_try_link
"$LINENO"; then :
7529 ac_cv_lib_dnet_dnet_ntoa
=yes
7531 ac_cv_lib_dnet_dnet_ntoa
=no
7533 rm -f core conftest.err conftest.
$ac_objext \
7534 conftest
$ac_exeext conftest.
$ac_ext
7535 LIBS
=$ac_check_lib_save_LIBS
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7538 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7539 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7540 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7543 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7545 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7546 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7547 $as_echo_n "(cached) " >&6
7549 ac_check_lib_save_LIBS
=$LIBS
7550 LIBS
="-ldnet_stub $LIBS"
7551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7552 /* end confdefs.h. */
7554 /* Override any GCC internal prototype to avoid an error.
7555 Use char because int might match the return type of a GCC
7556 builtin and then its argument prototype would still apply. */
7564 return dnet_ntoa ();
7569 if ac_fn_c_try_link
"$LINENO"; then :
7570 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7572 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7574 rm -f core conftest.err conftest.
$ac_objext \
7575 conftest
$ac_exeext conftest.
$ac_ext
7576 LIBS
=$ac_check_lib_save_LIBS
7578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7579 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7580 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7581 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7586 rm -f core conftest.err conftest.
$ac_objext \
7587 conftest
$ac_exeext conftest.
$ac_ext
7588 LIBS
="$ac_xsave_LIBS"
7590 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7591 # to get the SysV transport functions.
7592 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7594 # The nsl library prevents programs from opening the X display
7595 # on Irix 5.2, according to T.E. Dickey.
7596 # The functions gethostbyname, getservbyname, and inet_addr are
7597 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7598 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7599 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7603 if test $ac_cv_func_gethostbyname = no
; then
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7605 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7606 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7607 $as_echo_n "(cached) " >&6
7609 ac_check_lib_save_LIBS
=$LIBS
7611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7612 /* end confdefs.h. */
7614 /* Override any GCC internal prototype to avoid an error.
7615 Use char because int might match the return type of a GCC
7616 builtin and then its argument prototype would still apply. */
7620 char gethostbyname ();
7624 return gethostbyname ();
7629 if ac_fn_c_try_link
"$LINENO"; then :
7630 ac_cv_lib_nsl_gethostbyname
=yes
7632 ac_cv_lib_nsl_gethostbyname
=no
7634 rm -f core conftest.err conftest.
$ac_objext \
7635 conftest
$ac_exeext conftest.
$ac_ext
7636 LIBS
=$ac_check_lib_save_LIBS
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7639 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7640 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7641 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7644 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7646 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7647 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7648 $as_echo_n "(cached) " >&6
7650 ac_check_lib_save_LIBS
=$LIBS
7652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7653 /* end confdefs.h. */
7655 /* Override any GCC internal prototype to avoid an error.
7656 Use char because int might match the return type of a GCC
7657 builtin and then its argument prototype would still apply. */
7661 char gethostbyname ();
7665 return gethostbyname ();
7670 if ac_fn_c_try_link
"$LINENO"; then :
7671 ac_cv_lib_bsd_gethostbyname
=yes
7673 ac_cv_lib_bsd_gethostbyname
=no
7675 rm -f core conftest.err conftest.
$ac_objext \
7676 conftest
$ac_exeext conftest.
$ac_ext
7677 LIBS
=$ac_check_lib_save_LIBS
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7680 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7681 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7682 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7688 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7689 # socket/setsockopt and other routines are undefined under SCO ODT
7690 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7691 # on later versions), says Simon Leinen: it contains gethostby*
7692 # variants that don't use the name server (or something). -lsocket
7693 # must be given before -lnsl if both are needed. We assume that
7694 # if connect needs -lnsl, so does gethostbyname.
7695 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7696 if test "x$ac_cv_func_connect" = xyes
; then :
7700 if test $ac_cv_func_connect = no
; then
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7702 $as_echo_n "checking for connect in -lsocket... " >&6; }
7703 if ${ac_cv_lib_socket_connect+:} false
; then :
7704 $as_echo_n "(cached) " >&6
7706 ac_check_lib_save_LIBS
=$LIBS
7707 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7708 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7709 /* end confdefs.h. */
7711 /* Override any GCC internal prototype to avoid an error.
7712 Use char because int might match the return type of a GCC
7713 builtin and then its argument prototype would still apply. */
7726 if ac_fn_c_try_link
"$LINENO"; then :
7727 ac_cv_lib_socket_connect
=yes
7729 ac_cv_lib_socket_connect
=no
7731 rm -f core conftest.err conftest.
$ac_objext \
7732 conftest
$ac_exeext conftest.
$ac_ext
7733 LIBS
=$ac_check_lib_save_LIBS
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7736 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7737 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7738 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7743 # Guillermo Gomez says -lposix is necessary on A/UX.
7744 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7745 if test "x$ac_cv_func_remove" = xyes
; then :
7749 if test $ac_cv_func_remove = no
; then
7750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7751 $as_echo_n "checking for remove in -lposix... " >&6; }
7752 if ${ac_cv_lib_posix_remove+:} false
; then :
7753 $as_echo_n "(cached) " >&6
7755 ac_check_lib_save_LIBS
=$LIBS
7756 LIBS
="-lposix $LIBS"
7757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7760 /* Override any GCC internal prototype to avoid an error.
7761 Use char because int might match the return type of a GCC
7762 builtin and then its argument prototype would still apply. */
7775 if ac_fn_c_try_link
"$LINENO"; then :
7776 ac_cv_lib_posix_remove
=yes
7778 ac_cv_lib_posix_remove
=no
7780 rm -f core conftest.err conftest.
$ac_objext \
7781 conftest
$ac_exeext conftest.
$ac_ext
7782 LIBS
=$ac_check_lib_save_LIBS
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7785 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7786 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7787 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7792 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7793 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7794 if test "x$ac_cv_func_shmat" = xyes
; then :
7798 if test $ac_cv_func_shmat = no
; then
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7800 $as_echo_n "checking for shmat in -lipc... " >&6; }
7801 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7802 $as_echo_n "(cached) " >&6
7804 ac_check_lib_save_LIBS
=$LIBS
7806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7809 /* Override any GCC internal prototype to avoid an error.
7810 Use char because int might match the return type of a GCC
7811 builtin and then its argument prototype would still apply. */
7824 if ac_fn_c_try_link
"$LINENO"; then :
7825 ac_cv_lib_ipc_shmat
=yes
7827 ac_cv_lib_ipc_shmat
=no
7829 rm -f core conftest.err conftest.
$ac_objext \
7830 conftest
$ac_exeext conftest.
$ac_ext
7831 LIBS
=$ac_check_lib_save_LIBS
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7834 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7835 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7836 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7842 # Check for libraries that X11R6 Xt/Xaw programs need.
7843 ac_save_LDFLAGS
=$LDFLAGS
7844 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7845 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7846 # check for ICE first), but we must link in the order -lSM -lICE or
7847 # we get undefined symbols. So assume we have SM if we have ICE.
7848 # These have to be linked with before -lX11, unlike the other
7849 # libraries we check for below, so use a different variable.
7850 # John Interrante, Karl Berry
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7852 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7853 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7854 $as_echo_n "(cached) " >&6
7856 ac_check_lib_save_LIBS
=$LIBS
7857 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7859 /* end confdefs.h. */
7861 /* Override any GCC internal prototype to avoid an error.
7862 Use char because int might match the return type of a GCC
7863 builtin and then its argument prototype would still apply. */
7867 char IceConnectionNumber ();
7871 return IceConnectionNumber ();
7876 if ac_fn_c_try_link
"$LINENO"; then :
7877 ac_cv_lib_ICE_IceConnectionNumber
=yes
7879 ac_cv_lib_ICE_IceConnectionNumber
=no
7881 rm -f core conftest.err conftest.
$ac_objext \
7882 conftest
$ac_exeext conftest.
$ac_ext
7883 LIBS
=$ac_check_lib_save_LIBS
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7886 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7887 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7888 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7891 LDFLAGS
=$ac_save_LDFLAGS
7896 if test "$have_x" = "yes"
7899 ac_save_CPPFLAGS
="$CPPFLAGS"
7900 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7903 $as_echo_n "checking for -lX11... " >&6; }
7904 if ${ac_cv_lib_soname_X11+:} false
; then :
7905 $as_echo_n "(cached) " >&6
7907 ac_check_soname_save_LIBS
=$LIBS
7908 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7912 /* Override any GCC internal prototype to avoid an error.
7913 Use char because int might match the return type of a GCC
7914 builtin and then its argument prototype would still apply. */
7918 char XCreateWindow ();
7922 return XCreateWindow ();
7927 if ac_fn_c_try_link
"$LINENO"; then :
7929 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7930 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'` ;;
7931 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7934 rm -f core conftest.err conftest.
$ac_objext \
7935 conftest
$ac_exeext conftest.
$ac_ext
7936 LIBS
=$ac_check_soname_save_LIBS
7938 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7940 $as_echo "not found" >&6; }
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7944 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7946 cat >>confdefs.h
<<_ACEOF
7947 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7953 $as_echo_n "checking for -lXext... " >&6; }
7954 if ${ac_cv_lib_soname_Xext+:} false
; then :
7955 $as_echo_n "(cached) " >&6
7957 ac_check_soname_save_LIBS
=$LIBS
7958 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7962 /* Override any GCC internal prototype to avoid an error.
7963 Use char because int might match the return type of a GCC
7964 builtin and then its argument prototype would still apply. */
7968 char XextCreateExtension ();
7972 return XextCreateExtension ();
7977 if ac_fn_c_try_link
"$LINENO"; then :
7979 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7980 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'` ;;
7981 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7984 rm -f core conftest.err conftest.
$ac_objext \
7985 conftest
$ac_exeext conftest.
$ac_ext
7986 LIBS
=$ac_check_soname_save_LIBS
7988 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7990 $as_echo "not found" >&6; }
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7994 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7996 cat >>confdefs.h
<<_ACEOF
7997 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8003 for ac_header
in X11
/Xlib.h \
8006 X11
/Xcursor
/Xcursor.h \
8007 X11
/extensions
/shape.h \
8008 X11
/extensions
/XInput.h \
8009 X11
/extensions
/XInput2.h \
8010 X11
/extensions
/XShm.h \
8011 X11
/extensions
/Xcomposite.h \
8012 X11
/extensions
/Xinerama.h \
8013 X11
/extensions
/Xrandr.h \
8014 X11
/extensions
/Xrender.h \
8015 X11
/extensions
/xf86vmode.h \
8016 X11
/extensions
/xf86vmproto.h
8018 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8019 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8020 # include <X11/Xlib.h>
8022 #ifdef HAVE_X11_XUTIL_H
8023 # include <X11/Xutil.h>
8026 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8027 cat >>confdefs.h
<<_ACEOF
8028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8036 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8039 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8040 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8041 $as_echo_n "(cached) " >&6
8043 ac_check_lib_save_LIBS
=$LIBS
8044 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8046 /* end confdefs.h. */
8048 /* Override any GCC internal prototype to avoid an error.
8049 Use char because int might match the return type of a GCC
8050 builtin and then its argument prototype would still apply. */
8054 char XkbQueryExtension ();
8058 return XkbQueryExtension ();
8063 if ac_fn_c_try_link
"$LINENO"; then :
8064 ac_cv_lib_X11_XkbQueryExtension
=yes
8066 ac_cv_lib_X11_XkbQueryExtension
=no
8068 rm -f core conftest.err conftest.
$ac_objext \
8069 conftest
$ac_exeext conftest.
$ac_ext
8070 LIBS
=$ac_check_lib_save_LIBS
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8073 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8074 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8076 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8082 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8085 $as_echo_n "checking for -lXcursor... " >&6; }
8086 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8087 $as_echo_n "(cached) " >&6
8089 ac_check_soname_save_LIBS
=$LIBS
8090 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8091 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8092 /* end confdefs.h. */
8094 /* Override any GCC internal prototype to avoid an error.
8095 Use char because int might match the return type of a GCC
8096 builtin and then its argument prototype would still apply. */
8100 char XcursorImageLoadCursor ();
8104 return XcursorImageLoadCursor ();
8109 if ac_fn_c_try_link
"$LINENO"; then :
8111 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8112 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'` ;;
8113 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8116 rm -f core conftest.err conftest.
$ac_objext \
8117 conftest
$ac_exeext conftest.
$ac_ext
8118 LIBS
=$ac_check_soname_save_LIBS
8120 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8122 $as_echo "not found" >&6; }
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8126 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8128 cat >>confdefs.h
<<_ACEOF
8129 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8135 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8136 case "x$with_xcursor" in
8137 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8139 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8140 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8144 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8147 $as_echo_n "checking for -lXi... " >&6; }
8148 if ${ac_cv_lib_soname_Xi+:} false
; then :
8149 $as_echo_n "(cached) " >&6
8151 ac_check_soname_save_LIBS
=$LIBS
8152 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8153 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8154 /* end confdefs.h. */
8156 /* Override any GCC internal prototype to avoid an error.
8157 Use char because int might match the return type of a GCC
8158 builtin and then its argument prototype would still apply. */
8162 char XOpenDevice ();
8166 return XOpenDevice ();
8171 if ac_fn_c_try_link
"$LINENO"; then :
8173 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8174 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'` ;;
8175 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8178 rm -f core conftest.err conftest.
$ac_objext \
8179 conftest
$ac_exeext conftest.
$ac_ext
8180 LIBS
=$ac_check_soname_save_LIBS
8182 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8184 $as_echo "not found" >&6; }
8187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8188 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8190 cat >>confdefs.h
<<_ACEOF
8191 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8197 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8198 case "x$with_xinput" in
8199 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8201 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8202 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8206 if test "x$ac_cv_lib_soname_Xi" != x
8208 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8209 case "x$with_xinput2" in
8210 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8212 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8213 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8218 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8221 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8222 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8223 $as_echo_n "(cached) " >&6
8225 ac_check_lib_save_LIBS
=$LIBS
8226 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8228 /* end confdefs.h. */
8230 /* Override any GCC internal prototype to avoid an error.
8231 Use char because int might match the return type of a GCC
8232 builtin and then its argument prototype would still apply. */
8236 char XShmQueryExtension ();
8240 return XShmQueryExtension ();
8245 if ac_fn_c_try_link
"$LINENO"; then :
8246 ac_cv_lib_Xext_XShmQueryExtension
=yes
8248 ac_cv_lib_Xext_XShmQueryExtension
=no
8250 rm -f core conftest.err conftest.
$ac_objext \
8251 conftest
$ac_exeext conftest.
$ac_ext
8252 LIBS
=$ac_check_lib_save_LIBS
8254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8255 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8256 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8258 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8263 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8264 case "x$with_xshm" in
8265 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8267 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8268 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8272 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8275 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8276 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8277 $as_echo_n "(cached) " >&6
8279 ac_check_lib_save_LIBS
=$LIBS
8280 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8282 /* end confdefs.h. */
8284 /* Override any GCC internal prototype to avoid an error.
8285 Use char because int might match the return type of a GCC
8286 builtin and then its argument prototype would still apply. */
8290 char XShapeQueryExtension ();
8294 return XShapeQueryExtension ();
8299 if ac_fn_c_try_link
"$LINENO"; then :
8300 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8302 ac_cv_lib_Xext_XShapeQueryExtension
=no
8304 rm -f core conftest.err conftest.
$ac_objext \
8305 conftest
$ac_exeext conftest.
$ac_ext
8306 LIBS
=$ac_check_lib_save_LIBS
8308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8309 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8310 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8312 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8317 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8318 case "x$with_xshape" in
8319 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8321 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8322 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8326 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8329 $as_echo_n "checking for -lXxf86vm... " >&6; }
8330 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8331 $as_echo_n "(cached) " >&6
8333 ac_check_soname_save_LIBS
=$LIBS
8334 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8336 /* end confdefs.h. */
8338 /* Override any GCC internal prototype to avoid an error.
8339 Use char because int might match the return type of a GCC
8340 builtin and then its argument prototype would still apply. */
8344 char XF86VidModeQueryExtension ();
8348 return XF86VidModeQueryExtension ();
8353 if ac_fn_c_try_link
"$LINENO"; then :
8355 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8356 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'` ;;
8357 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8360 rm -f core conftest.err conftest.
$ac_objext \
8361 conftest
$ac_exeext conftest.
$ac_ext
8362 LIBS
=$ac_check_soname_save_LIBS
8364 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8366 $as_echo "not found" >&6; }
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8370 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8372 cat >>confdefs.h
<<_ACEOF
8373 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8379 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8380 case "x$with_xxf86vm" in
8381 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8383 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8384 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8388 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"
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8391 $as_echo_n "checking for -lXrender... " >&6; }
8392 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8393 $as_echo_n "(cached) " >&6
8395 ac_check_soname_save_LIBS
=$LIBS
8396 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8400 /* Override any GCC internal prototype to avoid an error.
8401 Use char because int might match the return type of a GCC
8402 builtin and then its argument prototype would still apply. */
8406 char XRenderQueryExtension ();
8410 return XRenderQueryExtension ();
8415 if ac_fn_c_try_link
"$LINENO"; then :
8417 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8418 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'` ;;
8419 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8422 rm -f core conftest.err conftest.
$ac_objext \
8423 conftest
$ac_exeext conftest.
$ac_ext
8424 LIBS
=$ac_check_soname_save_LIBS
8426 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8428 $as_echo "not found" >&6; }
8431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8432 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8434 cat >>confdefs.h
<<_ACEOF
8435 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8439 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8440 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8441 $as_echo_n "(cached) " >&6
8443 ac_check_lib_save_LIBS
=$LIBS
8444 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8446 /* end confdefs.h. */
8448 /* Override any GCC internal prototype to avoid an error.
8449 Use char because int might match the return type of a GCC
8450 builtin and then its argument prototype would still apply. */
8454 char XRenderSetPictureTransform ();
8458 return XRenderSetPictureTransform ();
8463 if ac_fn_c_try_link
"$LINENO"; then :
8464 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8466 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8468 rm -f core conftest.err conftest.
$ac_objext \
8469 conftest
$ac_exeext conftest.
$ac_ext
8470 LIBS
=$ac_check_lib_save_LIBS
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8473 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8474 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8476 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8483 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8484 case "x$with_xrender" in
8485 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8487 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8488 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8492 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8495 /* end confdefs.h. */
8496 #include <X11/Xlib.h>
8497 #include <X11/extensions/Xrandr.h>
8501 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8506 if ac_fn_c_try_compile
"$LINENO"; then :
8507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8508 $as_echo_n "checking for -lXrandr... " >&6; }
8509 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8510 $as_echo_n "(cached) " >&6
8512 ac_check_soname_save_LIBS
=$LIBS
8513 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8517 /* Override any GCC internal prototype to avoid an error.
8518 Use char because int might match the return type of a GCC
8519 builtin and then its argument prototype would still apply. */
8523 char XRRQueryExtension ();
8527 return XRRQueryExtension ();
8532 if ac_fn_c_try_link
"$LINENO"; then :
8534 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8535 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'` ;;
8536 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8539 rm -f core conftest.err conftest.
$ac_objext \
8540 conftest
$ac_exeext conftest.
$ac_ext
8541 LIBS
=$ac_check_soname_save_LIBS
8543 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8545 $as_echo "not found" >&6; }
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8549 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8551 cat >>confdefs.h
<<_ACEOF
8552 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8558 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8560 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8561 case "x$with_xrandr" in
8562 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8564 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8565 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8569 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 #include <X11/Xlib.h>
8574 #include <X11/extensions/Xinerama.h>
8578 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8583 if ac_fn_c_try_compile
"$LINENO"; then :
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8585 $as_echo_n "checking for -lXinerama... " >&6; }
8586 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8587 $as_echo_n "(cached) " >&6
8589 ac_check_soname_save_LIBS
=$LIBS
8590 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8592 /* end confdefs.h. */
8594 /* Override any GCC internal prototype to avoid an error.
8595 Use char because int might match the return type of a GCC
8596 builtin and then its argument prototype would still apply. */
8600 char XineramaQueryScreens ();
8604 return XineramaQueryScreens ();
8609 if ac_fn_c_try_link
"$LINENO"; then :
8611 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8612 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'` ;;
8613 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8616 rm -f core conftest.err conftest.
$ac_objext \
8617 conftest
$ac_exeext conftest.
$ac_ext
8618 LIBS
=$ac_check_soname_save_LIBS
8620 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8622 $as_echo "not found" >&6; }
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8626 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8628 cat >>confdefs.h
<<_ACEOF
8629 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8635 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8637 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8638 case "x$with_xinerama" in
8639 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8641 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8642 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8646 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8649 $as_echo_n "checking for -lXcomposite... " >&6; }
8650 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8651 $as_echo_n "(cached) " >&6
8653 ac_check_soname_save_LIBS
=$LIBS
8654 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8658 /* Override any GCC internal prototype to avoid an error.
8659 Use char because int might match the return type of a GCC
8660 builtin and then its argument prototype would still apply. */
8664 char XCompositeRedirectWindow ();
8668 return XCompositeRedirectWindow ();
8673 if ac_fn_c_try_link
"$LINENO"; then :
8675 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8676 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'` ;;
8677 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8680 rm -f core conftest.err conftest.
$ac_objext \
8681 conftest
$ac_exeext conftest.
$ac_ext
8682 LIBS
=$ac_check_soname_save_LIBS
8684 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8686 $as_echo "not found" >&6; }
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8690 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8692 cat >>confdefs.h
<<_ACEOF
8693 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8699 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8700 case "x$with_xcomposite" in
8701 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8703 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8704 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8708 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8709 #include <X11/Xlib.h>
8712 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8714 cat >>confdefs.h
<<_ACEOF
8715 #define HAVE_XICCALLBACK_CALLBACK 1
8720 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8721 #include <X11/Xlib.h>
8724 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8726 cat >>confdefs.h
<<_ACEOF
8727 #define HAVE_XEVENT_XCOOKIE 1
8736 if test "x$with_opengl" != "xno"
8738 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8740 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8741 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8742 # include <GL/glx.h>
8745 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8746 cat >>confdefs.h
<<_ACEOF
8747 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8754 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8757 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8758 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8759 $as_echo_n "(cached) " >&6
8761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8767 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8772 if ac_fn_c_try_compile
"$LINENO"; then :
8773 wine_cv_opengl_header_version_OK
="yes"
8775 wine_cv_opengl_header_version_OK
="no"
8777 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8780 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8782 if test "$wine_cv_opengl_header_version_OK" = "yes"
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8785 $as_echo_n "checking for -lGL... " >&6; }
8786 if ${ac_cv_lib_soname_GL+:} false
; then :
8787 $as_echo_n "(cached) " >&6
8789 ac_check_soname_save_LIBS
=$LIBS
8790 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8792 /* end confdefs.h. */
8794 /* Override any GCC internal prototype to avoid an error.
8795 Use char because int might match the return type of a GCC
8796 builtin and then its argument prototype would still apply. */
8800 char glXCreateContext ();
8804 return glXCreateContext ();
8809 if ac_fn_c_try_link
"$LINENO"; then :
8811 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8812 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'` ;;
8813 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8816 rm -f core conftest.err conftest.
$ac_objext \
8817 conftest
$ac_exeext conftest.
$ac_ext
8818 LIBS
=$ac_check_soname_save_LIBS
8820 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8822 $as_echo "not found" >&6; }
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8824 $as_echo_n "checking for -lGL... " >&6; }
8825 if ${ac_cv_lib_soname_GL+:} false
; then :
8826 $as_echo_n "(cached) " >&6
8828 ac_check_soname_save_LIBS
=$LIBS
8829 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"
8830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8831 /* end confdefs.h. */
8833 /* Override any GCC internal prototype to avoid an error.
8834 Use char because int might match the return type of a GCC
8835 builtin and then its argument prototype would still apply. */
8839 char glXCreateContext ();
8843 return glXCreateContext ();
8848 if ac_fn_c_try_link
"$LINENO"; then :
8850 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8851 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'` ;;
8852 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8855 rm -f core conftest.err conftest.
$ac_objext \
8856 conftest
$ac_exeext conftest.
$ac_ext
8857 LIBS
=$ac_check_soname_save_LIBS
8859 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8861 $as_echo "not found" >&6; }
8862 if test -f /usr
/X11R
6/lib
/libGL.a
8864 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8865 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8867 opengl_msg
="No OpenGL library found on this system."
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8871 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8873 cat >>confdefs.h
<<_ACEOF
8874 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8877 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"
8879 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8884 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8886 cat >>confdefs.h
<<_ACEOF
8887 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8892 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8895 if test "$ac_cv_header_GL_glu_h" = "yes"
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8898 $as_echo_n "checking for -lGLU... " >&6; }
8899 if ${ac_cv_lib_soname_GLU+:} false
; then :
8900 $as_echo_n "(cached) " >&6
8902 ac_check_soname_save_LIBS
=$LIBS
8903 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8905 /* end confdefs.h. */
8907 /* Override any GCC internal prototype to avoid an error.
8908 Use char because int might match the return type of a GCC
8909 builtin and then its argument prototype would still apply. */
8917 return gluLookAt ();
8922 if ac_fn_c_try_link
"$LINENO"; then :
8924 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8925 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'` ;;
8926 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8929 rm -f core conftest.err conftest.
$ac_objext \
8930 conftest
$ac_exeext conftest.
$ac_ext
8931 LIBS
=$ac_check_soname_save_LIBS
8933 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8935 $as_echo "not found" >&6; }
8938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8939 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8941 cat >>confdefs.h
<<_ACEOF
8942 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8948 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8949 case "x$with_glu" in
8950 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8952 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8953 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8957 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8960 opengl_msg
="OpenGL development headers not found."
8962 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8963 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8965 enable_opengl32
=${enable_opengl32:-no}
8966 enable_glu32
=${enable_glu32:-no}
8968 if test -n "$opengl_msg"; then :
8969 case "x$with_opengl" in
8970 x
) as_fn_append wine_warnings
"|$opengl_msg
8971 OpenGL and Direct3D won't be supported." ;;
8973 *) as_fn_error $?
"$opengl_msg
8974 OpenGL and Direct3D won't be supported.
8975 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8979 CPPFLAGS
="$ac_save_CPPFLAGS"
8984 enable_winex11_drv
=${enable_winex11_drv:-no}
8985 enable_opengl32
=${enable_opengl32:-no}
8986 enable_glu32
=${enable_glu32:-no}
8988 if test "x$XLIB" = "x"; then :
8991 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
8992 without X support, which probably isn't what you want. You will need
8993 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8994 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8998 if test "$ac_cv_header_CL_cl_h" = "yes"
9000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9001 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9002 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9003 $as_echo_n "(cached) " >&6
9005 ac_check_lib_save_LIBS
=$LIBS
9006 LIBS
="-lOpenCL $LIBS"
9007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9008 /* end confdefs.h. */
9010 /* Override any GCC internal prototype to avoid an error.
9011 Use char because int might match the return type of a GCC
9012 builtin and then its argument prototype would still apply. */
9016 char clGetPlatformInfo ();
9020 return clGetPlatformInfo ();
9025 if ac_fn_c_try_link
"$LINENO"; then :
9026 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9028 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9030 rm -f core conftest.err conftest.
$ac_objext \
9031 conftest
$ac_exeext conftest.
$ac_ext
9032 LIBS
=$ac_check_lib_save_LIBS
9034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9035 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9036 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9037 LIBOPENCL
="-lOpenCL"
9042 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9043 case "x$with_opencl" in
9044 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9046 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9047 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9050 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9059 if test "x$with_xml" != "xno"
9061 ac_save_CPPFLAGS
="$CPPFLAGS"
9062 if test "$PKG_CONFIG" != "false"
9064 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9065 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9067 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9068 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9070 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9071 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9073 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9074 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9075 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9076 cat >>confdefs.h
<<_ACEOF
9077 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9084 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"
9086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9087 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9088 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9089 $as_echo_n "(cached) " >&6
9091 ac_check_lib_save_LIBS
=$LIBS
9092 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9096 /* Override any GCC internal prototype to avoid an error.
9097 Use char because int might match the return type of a GCC
9098 builtin and then its argument prototype would still apply. */
9102 char xmlParseMemory ();
9106 return xmlParseMemory ();
9111 if ac_fn_c_try_link
"$LINENO"; then :
9112 ac_cv_lib_xml2_xmlParseMemory
=yes
9114 ac_cv_lib_xml2_xmlParseMemory
=no
9116 rm -f core conftest.err conftest.
$ac_objext \
9117 conftest
$ac_exeext conftest.
$ac_ext
9118 LIBS
=$ac_check_lib_save_LIBS
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9121 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9122 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9124 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9126 XML2LIBS
="$ac_xml_libs"
9127 XML2INCL
="$ac_xml_cflags"
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9131 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9132 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9133 $as_echo_n "(cached) " >&6
9135 ac_check_lib_save_LIBS
=$LIBS
9136 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9140 /* Override any GCC internal prototype to avoid an error.
9141 Use char because int might match the return type of a GCC
9142 builtin and then its argument prototype would still apply. */
9146 char xmlReadMemory ();
9150 return xmlReadMemory ();
9155 if ac_fn_c_try_link
"$LINENO"; then :
9156 ac_cv_lib_xml2_xmlReadMemory
=yes
9158 ac_cv_lib_xml2_xmlReadMemory
=no
9160 rm -f core conftest.err conftest.
$ac_objext \
9161 conftest
$ac_exeext conftest.
$ac_ext
9162 LIBS
=$ac_check_lib_save_LIBS
9164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9165 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9166 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9168 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9173 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9174 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9175 $as_echo_n "(cached) " >&6
9177 ac_check_lib_save_LIBS
=$LIBS
9178 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9179 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9182 /* Override any GCC internal prototype to avoid an error.
9183 Use char because int might match the return type of a GCC
9184 builtin and then its argument prototype would still apply. */
9188 char xmlNewDocPI ();
9192 return xmlNewDocPI ();
9197 if ac_fn_c_try_link
"$LINENO"; then :
9198 ac_cv_lib_xml2_xmlNewDocPI
=yes
9200 ac_cv_lib_xml2_xmlNewDocPI
=no
9202 rm -f core conftest.err conftest.
$ac_objext \
9203 conftest
$ac_exeext conftest.
$ac_ext
9204 LIBS
=$ac_check_lib_save_LIBS
9206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9207 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9208 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9210 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9215 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9216 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9217 $as_echo_n "(cached) " >&6
9219 ac_check_lib_save_LIBS
=$LIBS
9220 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9222 /* end confdefs.h. */
9224 /* Override any GCC internal prototype to avoid an error.
9225 Use char because int might match the return type of a GCC
9226 builtin and then its argument prototype would still apply. */
9230 char xmlSchemaSetParserStructuredErrors ();
9234 return xmlSchemaSetParserStructuredErrors ();
9239 if ac_fn_c_try_link
"$LINENO"; then :
9240 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9242 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9244 rm -f core conftest.err conftest.
$ac_objext \
9245 conftest
$ac_exeext conftest.
$ac_ext
9246 LIBS
=$ac_check_lib_save_LIBS
9248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9249 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9250 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9252 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9257 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9258 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9259 $as_echo_n "(cached) " >&6
9261 ac_check_lib_save_LIBS
=$LIBS
9262 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9272 char xmlSchemaSetValidStructuredErrors ();
9276 return xmlSchemaSetValidStructuredErrors ();
9281 if ac_fn_c_try_link
"$LINENO"; then :
9282 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9284 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9286 rm -f core conftest.err conftest.
$ac_objext \
9287 conftest
$ac_exeext conftest.
$ac_ext
9288 LIBS
=$ac_check_lib_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9291 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9292 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9294 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9299 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9300 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9301 $as_echo_n "(cached) " >&6
9303 ac_check_lib_save_LIBS
=$LIBS
9304 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9306 /* end confdefs.h. */
9308 /* Override any GCC internal prototype to avoid an error.
9309 Use char because int might match the return type of a GCC
9310 builtin and then its argument prototype would still apply. */
9314 char xmlFirstElementChild ();
9318 return xmlFirstElementChild ();
9323 if ac_fn_c_try_link
"$LINENO"; then :
9324 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9326 ac_cv_lib_xml2_xmlFirstElementChild
=no
9328 rm -f core conftest.err conftest.
$ac_objext \
9329 conftest
$ac_exeext conftest.
$ac_ext
9330 LIBS
=$ac_check_lib_save_LIBS
9332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9333 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9334 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9336 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9340 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9342 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9344 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9349 CPPFLAGS
="$ac_save_CPPFLAGS"
9351 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9352 case "x$with_xml" in
9353 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9355 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9356 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9360 if test "x$with_xslt" != "xno"
9362 if test "$PKG_CONFIG" != "false"
9364 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9365 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9367 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9368 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9370 ac_save_CPPFLAGS
="$CPPFLAGS"
9371 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9372 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9374 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9375 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9376 # include <libxslt/pattern.h>
9379 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9380 cat >>confdefs.h
<<_ACEOF
9381 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9388 CPPFLAGS
="$ac_save_CPPFLAGS"
9389 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9392 $as_echo_n "checking for -lxslt... " >&6; }
9393 if ${ac_cv_lib_soname_xslt+:} false
; then :
9394 $as_echo_n "(cached) " >&6
9396 ac_check_soname_save_LIBS
=$LIBS
9397 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9401 /* Override any GCC internal prototype to avoid an error.
9402 Use char because int might match the return type of a GCC
9403 builtin and then its argument prototype would still apply. */
9407 char xsltCompilePattern ();
9411 return xsltCompilePattern ();
9416 if ac_fn_c_try_link
"$LINENO"; then :
9418 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9419 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'` ;;
9420 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9423 rm -f core conftest.err conftest.
$ac_objext \
9424 conftest
$ac_exeext conftest.
$ac_ext
9425 LIBS
=$ac_check_soname_save_LIBS
9427 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9429 $as_echo "not found" >&6; }
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9433 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9435 cat >>confdefs.h
<<_ACEOF
9436 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9439 XSLTINCL
="$ac_xslt_cflags"
9443 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9444 case "x$with_xslt" in
9445 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9447 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9448 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9454 if test "x$with_hal" != "xno"
9456 ac_save_CPPFLAGS
="$CPPFLAGS"
9457 if test "$PKG_CONFIG" != "false"
9459 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9460 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9461 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9463 for ac_header
in dbus
/dbus.h hal
/libhal.h
9465 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9466 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9467 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9468 cat >>confdefs.h
<<_ACEOF
9469 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9476 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9479 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9480 if ${ac_cv_lib_dbus_1_dbus_connection_close+:} false
; then :
9481 $as_echo_n "(cached) " >&6
9483 ac_check_lib_save_LIBS
=$LIBS
9484 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9486 /* end confdefs.h. */
9488 /* Override any GCC internal prototype to avoid an error.
9489 Use char because int might match the return type of a GCC
9490 builtin and then its argument prototype would still apply. */
9494 char dbus_connection_close ();
9498 return dbus_connection_close ();
9503 if ac_fn_c_try_link
"$LINENO"; then :
9504 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9506 ac_cv_lib_dbus_1_dbus_connection_close
=no
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_lib_save_LIBS
9512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9513 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9514 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = xyes
; then :
9515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9516 $as_echo_n "checking for -lhal... " >&6; }
9517 if ${ac_cv_lib_soname_hal+:} false
; then :
9518 $as_echo_n "(cached) " >&6
9520 ac_check_soname_save_LIBS
=$LIBS
9521 LIBS
="-lhal $ac_hal_libs $LIBS"
9522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9523 /* end confdefs.h. */
9525 /* Override any GCC internal prototype to avoid an error.
9526 Use char because int might match the return type of a GCC
9527 builtin and then its argument prototype would still apply. */
9531 char libhal_ctx_new ();
9535 return libhal_ctx_new ();
9540 if ac_fn_c_try_link
"$LINENO"; then :
9542 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9543 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'` ;;
9544 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9547 rm -f core conftest.err conftest.
$ac_objext \
9548 conftest
$ac_exeext conftest.
$ac_ext
9549 LIBS
=$ac_check_soname_save_LIBS
9551 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9553 $as_echo "not found" >&6; }
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9557 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9559 cat >>confdefs.h
<<_ACEOF
9560 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9563 HALINCL
="$ac_hal_cflags"
9568 CPPFLAGS
="$ac_save_CPPFLAGS"
9570 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9571 case "x$with_hal" in
9572 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9574 *) as_fn_error $?
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9575 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9579 if test "x$with_gnutls" != "xno"
9581 ac_save_CPPFLAGS
="$CPPFLAGS"
9582 if test "$PKG_CONFIG" != "false"
9584 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9585 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9586 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9588 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9589 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9591 /* end confdefs.h. */
9592 #include <gnutls/gnutls.h>
9596 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9601 if ac_fn_c_try_compile
"$LINENO"; then :
9602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9603 $as_echo_n "checking for -lgnutls... " >&6; }
9604 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9605 $as_echo_n "(cached) " >&6
9607 ac_check_soname_save_LIBS
=$LIBS
9608 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9610 /* end confdefs.h. */
9612 /* Override any GCC internal prototype to avoid an error.
9613 Use char because int might match the return type of a GCC
9614 builtin and then its argument prototype would still apply. */
9618 char gnutls_global_init ();
9622 return gnutls_global_init ();
9627 if ac_fn_c_try_link
"$LINENO"; then :
9629 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9630 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'` ;;
9631 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9634 rm -f core conftest.err conftest.
$ac_objext \
9635 conftest
$ac_exeext conftest.
$ac_ext
9636 LIBS
=$ac_check_soname_save_LIBS
9638 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9640 $as_echo "not found" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9644 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9646 cat >>confdefs.h
<<_ACEOF
9647 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9650 GNUTLSINCL
="$ac_gnutls_cflags"
9654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9658 CPPFLAGS
="$ac_save_CPPFLAGS"
9660 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9661 case "x$with_gnutls" in
9662 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9664 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9665 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9670 if test "$ac_cv_header_ncurses_h" = "yes"
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9673 $as_echo_n "checking for -lncurses... " >&6; }
9674 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9675 $as_echo_n "(cached) " >&6
9677 ac_check_soname_save_LIBS
=$LIBS
9678 LIBS
="-lncurses $LIBS"
9679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9682 /* Override any GCC internal prototype to avoid an error.
9683 Use char because int might match the return type of a GCC
9684 builtin and then its argument prototype would still apply. */
9697 if ac_fn_c_try_link
"$LINENO"; then :
9699 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9700 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'` ;;
9701 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9704 rm -f core conftest.err conftest.
$ac_objext \
9705 conftest
$ac_exeext conftest.
$ac_ext
9706 LIBS
=$ac_check_soname_save_LIBS
9708 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9710 $as_echo "not found" >&6; }
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9714 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9716 cat >>confdefs.h
<<_ACEOF
9717 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9720 CURSESLIBS
="-lncurses"
9722 elif test "$ac_cv_header_curses_h" = "yes"
9724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9725 $as_echo_n "checking for -lcurses... " >&6; }
9726 if ${ac_cv_lib_soname_curses+:} false
; then :
9727 $as_echo_n "(cached) " >&6
9729 ac_check_soname_save_LIBS
=$LIBS
9730 LIBS
="-lcurses $LIBS"
9731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9732 /* end confdefs.h. */
9734 /* Override any GCC internal prototype to avoid an error.
9735 Use char because int might match the return type of a GCC
9736 builtin and then its argument prototype would still apply. */
9749 if ac_fn_c_try_link
"$LINENO"; then :
9751 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9752 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'` ;;
9753 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9756 rm -f core conftest.err conftest.
$ac_objext \
9757 conftest
$ac_exeext conftest.
$ac_ext
9758 LIBS
=$ac_check_soname_save_LIBS
9760 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9762 $as_echo "not found" >&6; }
9765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9766 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9768 cat >>confdefs.h
<<_ACEOF
9769 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9772 CURSESLIBS
="-lcurses"
9775 ac_save_LIBS
="$LIBS"
9776 LIBS
="$LIBS $CURSESLIBS"
9777 for ac_func
in mousemask
9779 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9780 if test "x$ac_cv_func_mousemask" = xyes
; then :
9781 cat >>confdefs.h
<<_ACEOF
9782 #define HAVE_MOUSEMASK 1
9788 LIBS
="$ac_save_LIBS"
9789 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9790 case "x$with_curses" in
9791 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9793 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9794 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9798 if test "x$with_sane" != "xno"
9800 ac_save_CPPFLAGS
="$CPPFLAGS"
9801 # Extract the first word of "sane-config", so it can be a program name with args.
9802 set dummy sane-config
; ac_word
=$2
9803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9804 $as_echo_n "checking for $ac_word... " >&6; }
9805 if ${ac_cv_prog_sane_devel+:} false
; then :
9806 $as_echo_n "(cached) " >&6
9808 if test -n "$sane_devel"; then
9809 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9811 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9815 test -z "$as_dir" && as_dir
=.
9816 for ac_exec_ext
in '' $ac_executable_extensions; do
9817 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9818 ac_cv_prog_sane_devel
="sane-config"
9819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9826 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9829 sane_devel
=$ac_cv_prog_sane_devel
9830 if test -n "$sane_devel"; then
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9832 $as_echo "$sane_devel" >&6; }
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9835 $as_echo "no" >&6; }
9839 if test "$sane_devel" != "no"
9841 ac_sane_incl
="`$sane_devel --cflags`"
9842 ac_sane_libs
="`$sane_devel --ldflags`"
9843 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9845 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9846 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9848 $as_echo_n "checking for -lsane... " >&6; }
9849 if ${ac_cv_lib_soname_sane+:} false
; then :
9850 $as_echo_n "(cached) " >&6
9852 ac_check_soname_save_LIBS
=$LIBS
9853 LIBS
="-lsane $ac_sane_libs $LIBS"
9854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9857 /* Override any GCC internal prototype to avoid an error.
9858 Use char because int might match the return type of a GCC
9859 builtin and then its argument prototype would still apply. */
9867 return sane_init ();
9872 if ac_fn_c_try_link
"$LINENO"; then :
9874 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9875 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'` ;;
9876 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9879 rm -f core conftest.err conftest.
$ac_objext \
9880 conftest
$ac_exeext conftest.
$ac_ext
9881 LIBS
=$ac_check_soname_save_LIBS
9883 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9885 $as_echo "not found" >&6; }
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9889 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9891 cat >>confdefs.h
<<_ACEOF
9892 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9895 SANEINCL
="$ac_sane_incl"
9901 CPPFLAGS
="$ac_save_CPPFLAGS"
9903 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9904 case "x$with_sane" in
9905 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9907 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9908 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9912 if test "x$with_v4l" != "xno"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9915 $as_echo_n "checking for -lv4l1... " >&6; }
9916 if ${ac_cv_lib_soname_v4l1+:} false
; then :
9917 $as_echo_n "(cached) " >&6
9919 ac_check_soname_save_LIBS
=$LIBS
9921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9922 /* end confdefs.h. */
9924 /* Override any GCC internal prototype to avoid an error.
9925 Use char because int might match the return type of a GCC
9926 builtin and then its argument prototype would still apply. */
9934 return v4l1_open ();
9939 if ac_fn_c_try_link
"$LINENO"; then :
9941 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9942 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'` ;;
9943 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9946 rm -f core conftest.err conftest.
$ac_objext \
9947 conftest
$ac_exeext conftest.
$ac_ext
9948 LIBS
=$ac_check_soname_save_LIBS
9950 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9952 $as_echo "not found" >&6; }
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9956 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9958 cat >>confdefs.h
<<_ACEOF
9959 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9965 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9966 case "x$with_v4l" in
9967 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9969 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
9970 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9974 if test "x$with_gphoto" != "xno"
9976 ac_save_CPPFLAGS
="$CPPFLAGS"
9977 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9978 set dummy gphoto2-config
; ac_word
=$2
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9980 $as_echo_n "checking for $ac_word... " >&6; }
9981 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
9982 $as_echo_n "(cached) " >&6
9984 if test -n "$gphoto2_devel"; then
9985 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9987 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9991 test -z "$as_dir" && as_dir
=.
9992 for ac_exec_ext
in '' $ac_executable_extensions; do
9993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9994 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10005 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10006 if test -n "$gphoto2_devel"; then
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10008 $as_echo "$gphoto2_devel" >&6; }
10010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10011 $as_echo "no" >&6; }
10015 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10016 set dummy gphoto2-port-config
; ac_word
=$2
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10018 $as_echo_n "checking for $ac_word... " >&6; }
10019 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10020 $as_echo_n "(cached) " >&6
10022 if test -n "$gphoto2port_devel"; then
10023 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10026 for as_dir
in $PATH
10029 test -z "$as_dir" && as_dir
=.
10030 for ac_exec_ext
in '' $ac_executable_extensions; do
10031 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10032 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10040 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10043 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10044 if test -n "$gphoto2port_devel"; then
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10046 $as_echo "$gphoto2port_devel" >&6; }
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10049 $as_echo "no" >&6; }
10053 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10055 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10057 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10060 -L/usr
/lib|
-L/usr
/lib64
) ;;
10061 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10064 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10066 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10067 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10068 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10070 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10071 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10072 $as_echo_n "(cached) " >&6
10074 ac_check_lib_save_LIBS
=$LIBS
10075 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10077 /* end confdefs.h. */
10079 /* Override any GCC internal prototype to avoid an error.
10080 Use char because int might match the return type of a GCC
10081 builtin and then its argument prototype would still apply. */
10085 char gp_camera_new ();
10089 return gp_camera_new ();
10094 if ac_fn_c_try_link
"$LINENO"; then :
10095 ac_cv_lib_gphoto2_gp_camera_new
=yes
10097 ac_cv_lib_gphoto2_gp_camera_new
=no
10099 rm -f core conftest.err conftest.
$ac_objext \
10100 conftest
$ac_exeext conftest.
$ac_ext
10101 LIBS
=$ac_check_lib_save_LIBS
10103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10104 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10105 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10107 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10109 GPHOTO2LIBS
="$ac_gphoto2_libs"
10111 GPHOTO2INCL
="$ac_gphoto2_incl"
10118 CPPFLAGS
="$ac_save_CPPFLAGS"
10120 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10121 case "x$with_gphoto" in
10122 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10124 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10125 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10130 if test "$ac_cv_header_resolv_h" = "yes"
10132 ac_save_LIBS
="$LIBS"
10133 for lib
in '' -lresolv
10135 LIBS
="$lib $ac_save_LIBS"
10136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10137 /* end confdefs.h. */
10138 #ifdef HAVE_NETINET_IN_H
10139 #include <netinet/in.h>
10141 #include <resolv.h>
10145 res_query("foo",ns_c_in,0,0,0);
10150 if ac_fn_c_try_link
"$LINENO"; then :
10152 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10157 rm -f core conftest.err conftest.
$ac_objext \
10158 conftest
$ac_exeext conftest.
$ac_ext
10159 if test "${RESOLVLIBS+set}" = set; then
10163 LIBS
="$ac_save_LIBS"
10168 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10171 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10172 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10173 $as_echo_n "(cached) " >&6
10175 ac_check_lib_save_LIBS
=$LIBS
10176 LIBS
="-llcms $LIBS"
10177 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10178 /* end confdefs.h. */
10180 /* Override any GCC internal prototype to avoid an error.
10181 Use char because int might match the return type of a GCC
10182 builtin and then its argument prototype would still apply. */
10186 char cmsOpenProfileFromFile ();
10190 return cmsOpenProfileFromFile ();
10195 if ac_fn_c_try_link
"$LINENO"; then :
10196 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10198 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10200 rm -f core conftest.err conftest.
$ac_objext \
10201 conftest
$ac_exeext conftest.
$ac_ext
10202 LIBS
=$ac_check_lib_save_LIBS
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10205 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10206 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10208 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10214 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10215 case "x$with_cms" in
10216 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10218 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10219 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10223 if test "x$with_freetype" != "xno"
10225 for ac_prog
in freetype-config freetype2-config
10227 # Extract the first word of "$ac_prog", so it can be a program name with args.
10228 set dummy
$ac_prog; ac_word
=$2
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10230 $as_echo_n "checking for $ac_word... " >&6; }
10231 if ${ac_cv_prog_ft_devel+:} false
; then :
10232 $as_echo_n "(cached) " >&6
10234 if test -n "$ft_devel"; then
10235 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10237 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10238 for as_dir
in $PATH
10241 test -z "$as_dir" && as_dir
=.
10242 for ac_exec_ext
in '' $ac_executable_extensions; do
10243 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10244 ac_cv_prog_ft_devel
="$ac_prog"
10245 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10254 ft_devel
=$ac_cv_prog_ft_devel
10255 if test -n "$ft_devel"; then
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10257 $as_echo "$ft_devel" >&6; }
10259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10260 $as_echo "no" >&6; }
10264 test -n "$ft_devel" && break
10266 test -n "$ft_devel" || ft_devel
="no"
10268 if test "$ft_devel" != "no"
10270 ac_freetype_incl
=`$ft_devel --cflags`
10271 ac_freetype_libs
=`$ft_devel --libs`
10273 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10275 $as_echo_n "checking for -lfreetype... " >&6; }
10276 if ${ac_cv_lib_soname_freetype+:} false
; then :
10277 $as_echo_n "(cached) " >&6
10279 ac_check_soname_save_LIBS
=$LIBS
10280 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10281 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10284 /* Override any GCC internal prototype to avoid an error.
10285 Use char because int might match the return type of a GCC
10286 builtin and then its argument prototype would still apply. */
10290 char FT_Init_FreeType ();
10294 return FT_Init_FreeType ();
10299 if ac_fn_c_try_link
"$LINENO"; then :
10301 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10302 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'` ;;
10303 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10306 rm -f core conftest.err conftest.
$ac_objext \
10307 conftest
$ac_exeext conftest.
$ac_ext
10308 LIBS
=$ac_check_soname_save_LIBS
10310 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10312 $as_echo "not found" >&6; }
10315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10316 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10318 cat >>confdefs.h
<<_ACEOF
10319 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10324 if test "$ft_lib" = "yes"
10326 ac_save_CPPFLAGS
="$CPPFLAGS"
10327 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10328 for ac_header
in ft2build.h \
10329 freetype
/freetype.h \
10330 freetype
/ftglyph.h \
10331 freetype
/fttypes.h \
10332 freetype
/tttables.h \
10333 freetype
/ftsnames.h \
10334 freetype
/ttnameid.h \
10335 freetype
/ftoutln.h \
10336 freetype
/ftwinfnt.h \
10337 freetype
/ftmodapi.h \
10338 freetype
/ftlcdfil.h
10340 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10341 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10342 # include <ft2build.h>
10345 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10346 cat >>confdefs.h
<<_ACEOF
10347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <ft2build.h>
10357 #include <freetype/fttrigon.h>
10359 if ac_fn_c_try_cpp
"$LINENO"; then :
10361 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10363 wine_cv_fttrigon
=yes
10365 wine_cv_fttrigon
=no
10367 rm -f conftest.err conftest.i conftest.
$ac_ext
10368 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10370 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10372 cat >>confdefs.h
<<_ACEOF
10373 #define HAVE_FT_TRUETYPEENGINETYPE 1
10379 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10382 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10384 FREETYPELIBS
="$ac_freetype_libs"
10386 FREETYPEINCL
="$ac_freetype_incl"
10391 if test "x$FREETYPELIBS" = "x"; then :
10392 case "x$with_freetype" in
10394 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10395 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10398 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10401 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10402 if ${ac_cv_c_ppdev+:} false
; then :
10403 $as_echo_n "(cached) " >&6
10405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10406 /* end confdefs.h. */
10407 #ifdef HAVE_SYS_IOCTL_H
10408 # include <sys/ioctl.h>
10410 #include <linux/ppdev.h>
10414 ioctl (1,PPCLAIM,0)
10419 if ac_fn_c_try_compile
"$LINENO"; then :
10420 ac_cv_c_ppdev
="yes"
10424 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10427 $as_echo "$ac_cv_c_ppdev" >&6; }
10428 if test "$ac_cv_c_ppdev" = "yes"
10431 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10435 ac_wine_check_funcs_save_LIBS
="$LIBS"
10436 LIBS
="$LIBS $LIBPTHREAD"
10438 pthread_attr_get_np \
10439 pthread_getattr_np \
10440 pthread_get_stackaddr_np \
10441 pthread_get_stacksize_np
10443 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10444 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10445 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10446 cat >>confdefs.h
<<_ACEOF
10447 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10453 LIBS
="$ac_wine_check_funcs_save_LIBS"
10455 if test "$ac_cv_header_zlib_h" = "yes"
10457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10458 $as_echo_n "checking for inflate in -lz... " >&6; }
10459 if ${ac_cv_lib_z_inflate+:} false
; then :
10460 $as_echo_n "(cached) " >&6
10462 ac_check_lib_save_LIBS
=$LIBS
10464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10467 /* Override any GCC internal prototype to avoid an error.
10468 Use char because int might match the return type of a GCC
10469 builtin and then its argument prototype would still apply. */
10482 if ac_fn_c_try_link
"$LINENO"; then :
10483 ac_cv_lib_z_inflate
=yes
10485 ac_cv_lib_z_inflate
=no
10487 rm -f core conftest.err conftest.
$ac_objext \
10488 conftest
$ac_exeext conftest.
$ac_ext
10489 LIBS
=$ac_check_lib_save_LIBS
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10492 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10493 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10495 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10502 if test "x$ZLIB" = "x"; then :
10503 case "x$with_zlib" in
10504 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10506 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10507 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10511 if test "x$enable_tools" != xno
10513 if test "$ac_cv_header_gettext_po_h" = "yes"
10515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10516 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10517 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10518 $as_echo_n "(cached) " >&6
10520 ac_check_lib_save_LIBS
=$LIBS
10521 LIBS
="-lgettextpo $LIBS"
10522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10523 /* end confdefs.h. */
10525 /* Override any GCC internal prototype to avoid an error.
10526 Use char because int might match the return type of a GCC
10527 builtin and then its argument prototype would still apply. */
10531 char po_message_msgctxt ();
10535 return po_message_msgctxt ();
10540 if ac_fn_c_try_link
"$LINENO"; then :
10541 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10543 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10545 rm -f core conftest.err conftest.
$ac_objext \
10546 conftest
$ac_exeext conftest.
$ac_ext
10547 LIBS
=$ac_check_lib_save_LIBS
10549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10550 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10551 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10553 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10555 LIBGETTEXTPO
="-lgettextpo"
10560 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10561 case "x$with_gettextpo" in
10562 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10564 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10565 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10570 if test "x$with_gstreamer" != "xno"
10572 ac_save_CPPFLAGS
="$CPPFLAGS"
10573 if test "$PKG_CONFIG" != "false"; then
10575 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10578 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10581 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10582 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10583 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10584 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10585 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10586 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10588 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10591 #include <gst/app/gstappsink.h>
10595 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10600 if ac_fn_c_try_compile
"$LINENO"; then :
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10602 $as_echo "yes" >&6; }
10603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10604 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10605 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10606 $as_echo_n "(cached) " >&6
10608 ac_check_lib_save_LIBS
=$LIBS
10609 LIBS
="-lgstreamer-0.10 $LIBS"
10610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10611 /* end confdefs.h. */
10613 /* Override any GCC internal prototype to avoid an error.
10614 Use char because int might match the return type of a GCC
10615 builtin and then its argument prototype would still apply. */
10619 char gst_pad_get_caps_reffed ();
10623 return gst_pad_get_caps_reffed ();
10628 if ac_fn_c_try_link
"$LINENO"; then :
10629 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10631 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10633 rm -f core conftest.err conftest.
$ac_objext \
10634 conftest
$ac_exeext conftest.
$ac_ext
10635 LIBS
=$ac_check_lib_save_LIBS
10637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10638 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10639 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10641 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10642 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10643 $as_echo_n "(cached) " >&6
10645 ac_check_lib_save_LIBS
=$LIBS
10646 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10648 /* end confdefs.h. */
10650 /* Override any GCC internal prototype to avoid an error.
10651 Use char because int might match the return type of a GCC
10652 builtin and then its argument prototype would still apply. */
10656 char gst_app_buffer_new ();
10660 return gst_app_buffer_new ();
10665 if ac_fn_c_try_link
"$LINENO"; then :
10666 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10668 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10670 rm -f core conftest.err conftest.
$ac_objext \
10671 conftest
$ac_exeext conftest.
$ac_ext
10672 LIBS
=$ac_check_lib_save_LIBS
10674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10675 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10676 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10677 GSTREAMER_LIBS
="$ac_gst_libs"
10679 GSTREAMER_INCL
="$ac_gst_incl"
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10687 $as_echo "no" >&6; }
10689 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10697 CPPFLAGS
="$ac_save_CPPFLAGS"
10699 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10700 case "x$with_gstreamer" in
10701 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10703 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10704 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10707 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10711 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10714 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10715 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10716 $as_echo_n "(cached) " >&6
10718 ac_check_lib_save_LIBS
=$LIBS
10719 LIBS
="-lasound $LIBS"
10720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10723 /* Override any GCC internal prototype to avoid an error.
10724 Use char because int might match the return type of a GCC
10725 builtin and then its argument prototype would still apply. */
10729 char snd_pcm_hw_params_get_access_mask ();
10733 return snd_pcm_hw_params_get_access_mask ();
10738 if ac_fn_c_try_link
"$LINENO"; then :
10739 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10741 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10743 rm -f core conftest.err conftest.
$ac_objext \
10744 conftest
$ac_exeext conftest.
$ac_ext
10745 LIBS
=$ac_check_lib_save_LIBS
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10748 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10749 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10751 /* end confdefs.h. */
10752 #ifdef HAVE_ALSA_ASOUNDLIB_H
10753 #include <alsa/asoundlib.h>
10754 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10755 #include <sys/asoundlib.h>
10760 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10765 if ac_fn_c_try_compile
"$LINENO"; then :
10766 ALSALIBS
="-lasound"
10768 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10773 if test "x$with_oss" != xno
10775 ac_save_CPPFLAGS
="$CPPFLAGS"
10776 if test -f /etc
/oss.conf
10780 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10781 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10782 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10783 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10784 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10786 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10788 cat >>confdefs.h
<<_ACEOF
10789 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10792 OSS4INCL
="$ac_oss_incl"
10799 CPPFLAGS
="$ac_save_CPPFLAGS"
10800 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10802 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10807 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10810 $as_echo_n "checking for -lcapi20... " >&6; }
10811 if ${ac_cv_lib_soname_capi20+:} false
; then :
10812 $as_echo_n "(cached) " >&6
10814 ac_check_soname_save_LIBS
=$LIBS
10815 LIBS
="-lcapi20 $LIBS"
10816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10817 /* end confdefs.h. */
10819 /* Override any GCC internal prototype to avoid an error.
10820 Use char because int might match the return type of a GCC
10821 builtin and then its argument prototype would still apply. */
10825 char capi20_register ();
10829 return capi20_register ();
10834 if ac_fn_c_try_link
"$LINENO"; then :
10836 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10837 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'` ;;
10838 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10841 rm -f core conftest.err conftest.
$ac_objext \
10842 conftest
$ac_exeext conftest.
$ac_ext
10843 LIBS
=$ac_check_soname_save_LIBS
10845 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10847 $as_echo "not found" >&6; }
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10851 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10853 cat >>confdefs.h
<<_ACEOF
10854 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10860 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10861 case "x$with_capi" in
10862 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10864 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10865 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10871 if test "x$with_cups" != "xno"
10873 ac_save_CPPFLAGS
="$CPPFLAGS"
10874 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10875 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10876 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10877 for ac_header
in cups
/cups.h
10879 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10880 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
10881 cat >>confdefs.h
<<_ACEOF
10882 #define HAVE_CUPS_CUPS_H 1
10884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10885 $as_echo_n "checking for -lcups... " >&6; }
10886 if ${ac_cv_lib_soname_cups+:} false
; then :
10887 $as_echo_n "(cached) " >&6
10889 ac_check_soname_save_LIBS
=$LIBS
10890 LIBS
="-lcups $ac_cups_libs $LIBS"
10891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10892 /* end confdefs.h. */
10894 /* Override any GCC internal prototype to avoid an error.
10895 Use char because int might match the return type of a GCC
10896 builtin and then its argument prototype would still apply. */
10900 char cupsGetDefault ();
10904 return cupsGetDefault ();
10909 if ac_fn_c_try_link
"$LINENO"; then :
10911 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10912 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'` ;;
10913 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10916 rm -f core conftest.err conftest.
$ac_objext \
10917 conftest
$ac_exeext conftest.
$ac_ext
10918 LIBS
=$ac_check_soname_save_LIBS
10920 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10922 $as_echo "not found" >&6; }
10925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10926 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10928 cat >>confdefs.h
<<_ACEOF
10929 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10932 CUPSINCL
="$ac_cups_cflags"
10938 CPPFLAGS
="$ac_save_CPPFLAGS"
10940 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10941 case "x$with_cups" in
10942 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10944 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10945 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10949 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10952 $as_echo_n "checking for -lfontconfig... " >&6; }
10953 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
10954 $as_echo_n "(cached) " >&6
10956 ac_check_soname_save_LIBS
=$LIBS
10957 LIBS
="-lfontconfig $LIBS"
10958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10959 /* end confdefs.h. */
10961 /* Override any GCC internal prototype to avoid an error.
10962 Use char because int might match the return type of a GCC
10963 builtin and then its argument prototype would still apply. */
10976 if ac_fn_c_try_link
"$LINENO"; then :
10978 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10979 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'` ;;
10980 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10983 rm -f core conftest.err conftest.
$ac_objext \
10984 conftest
$ac_exeext conftest.
$ac_ext
10985 LIBS
=$ac_check_soname_save_LIBS
10987 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10989 $as_echo "not found" >&6; }
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10993 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10995 cat >>confdefs.h
<<_ACEOF
10996 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11001 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11003 ac_save_CPPFLAGS
="$CPPFLAGS"
11004 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11005 $as_unset ac_cv_header_fontconfig_fontconfig_h
11006 for ac_header
in fontconfig
/fontconfig.h
11008 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11009 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11010 cat >>confdefs.h
<<_ACEOF
11011 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11018 CPPFLAGS
="$ac_save_CPPFLAGS"
11019 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11021 FONTCONFIGINCL
="$X_CFLAGS"
11023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11024 $as_echo_n "checking for -lfontconfig... " >&6; }
11025 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11026 $as_echo_n "(cached) " >&6
11028 ac_check_soname_save_LIBS
=$LIBS
11029 LIBS
="-lfontconfig $X_LIBS $LIBS"
11030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11031 /* end confdefs.h. */
11033 /* Override any GCC internal prototype to avoid an error.
11034 Use char because int might match the return type of a GCC
11035 builtin and then its argument prototype would still apply. */
11048 if ac_fn_c_try_link
"$LINENO"; then :
11050 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11051 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'` ;;
11052 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11055 rm -f core conftest.err conftest.
$ac_objext \
11056 conftest
$ac_exeext conftest.
$ac_ext
11057 LIBS
=$ac_check_soname_save_LIBS
11059 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11061 $as_echo "not found" >&6; }
11064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11065 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11067 cat >>confdefs.h
<<_ACEOF
11068 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11075 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11076 case "x$with_fontconfig" in
11077 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11079 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11080 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11084 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11087 $as_echo_n "checking for -lssl... " >&6; }
11088 if ${ac_cv_lib_soname_ssl+:} false
; then :
11089 $as_echo_n "(cached) " >&6
11091 ac_check_soname_save_LIBS
=$LIBS
11093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11094 /* end confdefs.h. */
11096 /* Override any GCC internal prototype to avoid an error.
11097 Use char because int might match the return type of a GCC
11098 builtin and then its argument prototype would still apply. */
11102 char SSL_library_init ();
11106 return SSL_library_init ();
11111 if ac_fn_c_try_link
"$LINENO"; then :
11113 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11114 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'` ;;
11115 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11118 rm -f core conftest.err conftest.
$ac_objext \
11119 conftest
$ac_exeext conftest.
$ac_ext
11120 LIBS
=$ac_check_soname_save_LIBS
11122 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11124 $as_echo "not found" >&6; }
11127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11128 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11130 cat >>confdefs.h
<<_ACEOF
11131 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11137 $as_echo_n "checking for -lcrypto... " >&6; }
11138 if ${ac_cv_lib_soname_crypto+:} false
; then :
11139 $as_echo_n "(cached) " >&6
11141 ac_check_soname_save_LIBS
=$LIBS
11142 LIBS
="-lcrypto $LIBS"
11143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11144 /* end confdefs.h. */
11146 /* Override any GCC internal prototype to avoid an error.
11147 Use char because int might match the return type of a GCC
11148 builtin and then its argument prototype would still apply. */
11152 char BIO_new_socket ();
11156 return BIO_new_socket ();
11161 if ac_fn_c_try_link
"$LINENO"; then :
11163 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11164 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'` ;;
11165 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11168 rm -f core conftest.err conftest.
$ac_objext \
11169 conftest
$ac_exeext conftest.
$ac_ext
11170 LIBS
=$ac_check_soname_save_LIBS
11172 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11174 $as_echo "not found" >&6; }
11177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11178 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11180 cat >>confdefs.h
<<_ACEOF
11181 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11187 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11188 case "x$with_openssl" in
11189 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11191 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11192 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11196 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11199 $as_echo_n "checking for -lgsm... " >&6; }
11200 if ${ac_cv_lib_soname_gsm+:} false
; then :
11201 $as_echo_n "(cached) " >&6
11203 ac_check_soname_save_LIBS
=$LIBS
11205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11206 /* end confdefs.h. */
11208 /* Override any GCC internal prototype to avoid an error.
11209 Use char because int might match the return type of a GCC
11210 builtin and then its argument prototype would still apply. */
11214 char gsm_create ();
11218 return gsm_create ();
11223 if ac_fn_c_try_link
"$LINENO"; then :
11225 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11226 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'` ;;
11227 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11230 rm -f core conftest.err conftest.
$ac_objext \
11231 conftest
$ac_exeext conftest.
$ac_ext
11232 LIBS
=$ac_check_soname_save_LIBS
11234 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11236 $as_echo "not found" >&6; }
11239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11240 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11242 cat >>confdefs.h
<<_ACEOF
11243 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11249 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11250 case "x$with_gsm" in
11251 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11253 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11254 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11258 if test "$ac_cv_header_jpeglib_h" = "yes"
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11261 $as_echo_n "checking for -ljpeg... " >&6; }
11262 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11263 $as_echo_n "(cached) " >&6
11265 ac_check_soname_save_LIBS
=$LIBS
11266 LIBS
="-ljpeg $LIBS"
11267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11268 /* end confdefs.h. */
11270 /* Override any GCC internal prototype to avoid an error.
11271 Use char because int might match the return type of a GCC
11272 builtin and then its argument prototype would still apply. */
11276 char jpeg_start_decompress ();
11280 return jpeg_start_decompress ();
11285 if ac_fn_c_try_link
"$LINENO"; then :
11287 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11288 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'` ;;
11289 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11292 rm -f core conftest.err conftest.
$ac_objext \
11293 conftest
$ac_exeext conftest.
$ac_ext
11294 LIBS
=$ac_check_soname_save_LIBS
11296 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11298 $as_echo "not found" >&6; }
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11302 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11304 cat >>confdefs.h
<<_ACEOF
11305 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11311 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11312 case "x$with_jpeg" in
11313 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11315 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11316 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11320 if test "$ac_cv_header_png_h" = "yes"
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11323 $as_echo_n "checking for -lpng... " >&6; }
11324 if ${ac_cv_lib_soname_png+:} false
; then :
11325 $as_echo_n "(cached) " >&6
11327 ac_check_soname_save_LIBS
=$LIBS
11328 LIBS
="-lpng -lm -lz $LIBS"
11329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11332 /* Override any GCC internal prototype to avoid an error.
11333 Use char because int might match the return type of a GCC
11334 builtin and then its argument prototype would still apply. */
11338 char png_create_read_struct ();
11342 return png_create_read_struct ();
11347 if ac_fn_c_try_link
"$LINENO"; then :
11349 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11350 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'` ;;
11351 *) 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'` ;;
11354 rm -f core conftest.err conftest.
$ac_objext \
11355 conftest
$ac_exeext conftest.
$ac_ext
11356 LIBS
=$ac_check_soname_save_LIBS
11358 if test "x$ac_cv_lib_soname_png" = "x"; then :
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11360 $as_echo "not found" >&6; }
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11364 $as_echo "$ac_cv_lib_soname_png" >&6; }
11366 cat >>confdefs.h
<<_ACEOF
11367 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11373 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11374 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11375 $as_echo_n "(cached) " >&6
11377 ac_check_lib_save_LIBS
=$LIBS
11378 LIBS
="-lpng -lm -lz $LIBS"
11379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11380 /* end confdefs.h. */
11382 /* Override any GCC internal prototype to avoid an error.
11383 Use char because int might match the return type of a GCC
11384 builtin and then its argument prototype would still apply. */
11388 char png_set_expand_gray_1_2_4_to_8 ();
11392 return png_set_expand_gray_1_2_4_to_8 ();
11397 if ac_fn_c_try_link
"$LINENO"; then :
11398 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11400 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11402 rm -f core conftest.err conftest.
$ac_objext \
11403 conftest
$ac_exeext conftest.
$ac_ext
11404 LIBS
=$ac_check_lib_save_LIBS
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11407 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11408 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11410 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11415 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11417 ac_save_CPPFLAGS
="$CPPFLAGS"
11418 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11419 $as_unset ac_cv_header_png_h
11420 for ac_header
in png.h
11422 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11423 if test "x$ac_cv_header_png_h" = xyes
; then :
11424 cat >>confdefs.h
<<_ACEOF
11425 #define HAVE_PNG_H 1
11432 CPPFLAGS
="$ac_save_CPPFLAGS"
11433 if test "$ac_cv_header_png_h" = "yes"
11435 PNGINCL
="$X_CFLAGS"
11437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11438 $as_echo_n "checking for -lpng... " >&6; }
11439 if ${ac_cv_lib_soname_png+:} false
; then :
11440 $as_echo_n "(cached) " >&6
11442 ac_check_soname_save_LIBS
=$LIBS
11443 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11445 /* end confdefs.h. */
11447 /* Override any GCC internal prototype to avoid an error.
11448 Use char because int might match the return type of a GCC
11449 builtin and then its argument prototype would still apply. */
11453 char png_create_read_struct ();
11457 return png_create_read_struct ();
11462 if ac_fn_c_try_link
"$LINENO"; then :
11464 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11465 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'` ;;
11466 *) 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'` ;;
11469 rm -f core conftest.err conftest.
$ac_objext \
11470 conftest
$ac_exeext conftest.
$ac_ext
11471 LIBS
=$ac_check_soname_save_LIBS
11473 if test "x$ac_cv_lib_soname_png" = "x"; then :
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11475 $as_echo "not found" >&6; }
11478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11479 $as_echo "$ac_cv_lib_soname_png" >&6; }
11481 cat >>confdefs.h
<<_ACEOF
11482 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11488 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11489 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11490 $as_echo_n "(cached) " >&6
11492 ac_check_lib_save_LIBS
=$LIBS
11493 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11495 /* end confdefs.h. */
11497 /* Override any GCC internal prototype to avoid an error.
11498 Use char because int might match the return type of a GCC
11499 builtin and then its argument prototype would still apply. */
11503 char png_set_expand_gray_1_2_4_to_8 ();
11507 return png_set_expand_gray_1_2_4_to_8 ();
11512 if ac_fn_c_try_link
"$LINENO"; then :
11513 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11515 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11517 rm -f core conftest.err conftest.
$ac_objext \
11518 conftest
$ac_exeext conftest.
$ac_ext
11519 LIBS
=$ac_check_lib_save_LIBS
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11522 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11523 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11524 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11530 if test "x$ac_cv_lib_soname_png" = "x"; then :
11531 case "x$with_png" in
11532 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11534 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11535 This is an error since --with-png was requested." "$LINENO" 5 ;;
11539 if test "$ac_cv_header_tiffio_h" = "yes"
11541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11542 $as_echo_n "checking for -ltiff... " >&6; }
11543 if ${ac_cv_lib_soname_tiff+:} false
; then :
11544 $as_echo_n "(cached) " >&6
11546 ac_check_soname_save_LIBS
=$LIBS
11547 LIBS
="-ltiff $LIBS"
11548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11549 /* end confdefs.h. */
11551 /* Override any GCC internal prototype to avoid an error.
11552 Use char because int might match the return type of a GCC
11553 builtin and then its argument prototype would still apply. */
11557 char TIFFClientOpen ();
11561 return TIFFClientOpen ();
11566 if ac_fn_c_try_link
"$LINENO"; then :
11568 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11569 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'` ;;
11570 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11573 rm -f core conftest.err conftest.
$ac_objext \
11574 conftest
$ac_exeext conftest.
$ac_ext
11575 LIBS
=$ac_check_soname_save_LIBS
11577 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11579 $as_echo "not found" >&6; }
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11583 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11585 cat >>confdefs.h
<<_ACEOF
11586 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11592 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11593 case "x$with_tiff" in
11594 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11596 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11597 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11601 if test "$ac_cv_header_mpg123_h" = "yes"
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11604 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11605 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11606 $as_echo_n "(cached) " >&6
11608 ac_check_lib_save_LIBS
=$LIBS
11609 LIBS
="-lmpg123 $LIBS"
11610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11611 /* end confdefs.h. */
11613 /* Override any GCC internal prototype to avoid an error.
11614 Use char because int might match the return type of a GCC
11615 builtin and then its argument prototype would still apply. */
11619 char mpg123_feed ();
11623 return mpg123_feed ();
11628 if ac_fn_c_try_link
"$LINENO"; then :
11629 ac_cv_lib_mpg123_mpg123_feed
=yes
11631 ac_cv_lib_mpg123_mpg123_feed
=no
11633 rm -f core conftest.err conftest.
$ac_objext \
11634 conftest
$ac_exeext conftest.
$ac_ext
11635 LIBS
=$ac_check_lib_save_LIBS
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11638 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11639 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11640 LIBMPG123
="-lmpg123"
11645 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11646 case "x$with_mpg123" in
11647 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11649 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11650 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11653 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}
11655 if test "$ac_cv_header_AL_al_h" = "yes"
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11658 $as_echo_n "checking for -lopenal... " >&6; }
11659 if ${ac_cv_lib_soname_openal+:} false
; then :
11660 $as_echo_n "(cached) " >&6
11662 ac_check_soname_save_LIBS
=$LIBS
11663 LIBS
="-lopenal $LIBS"
11664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11667 /* Override any GCC internal prototype to avoid an error.
11668 Use char because int might match the return type of a GCC
11669 builtin and then its argument prototype would still apply. */
11673 char alGetSource3i ();
11677 return alGetSource3i ();
11682 if ac_fn_c_try_link
"$LINENO"; then :
11684 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11685 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'` ;;
11686 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11689 rm -f core conftest.err conftest.
$ac_objext \
11690 conftest
$ac_exeext conftest.
$ac_ext
11691 LIBS
=$ac_check_soname_save_LIBS
11693 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11695 $as_echo "not found" >&6; }
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11699 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11701 cat >>confdefs.h
<<_ACEOF
11702 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11705 LIBOPENAL
="-lopenal"
11707 ac_cv_lib_openal
=yes
11709 cat >>confdefs.h
<<_ACEOF
11710 #define HAVE_OPENAL 1
11715 if test "x$ac_cv_lib_openal" != xyes
; then :
11716 case "x$with_openal" in
11717 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11719 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11720 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11723 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11725 if test "$ac_cv_header_kstat_h" = "yes"
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11728 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11729 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11730 $as_echo_n "(cached) " >&6
11732 ac_check_lib_save_LIBS
=$LIBS
11733 LIBS
="-lkstat $LIBS"
11734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11735 /* end confdefs.h. */
11737 /* Override any GCC internal prototype to avoid an error.
11738 Use char because int might match the return type of a GCC
11739 builtin and then its argument prototype would still apply. */
11743 char kstat_open ();
11747 return kstat_open ();
11752 if ac_fn_c_try_link
"$LINENO"; then :
11753 ac_cv_lib_kstat_kstat_open
=yes
11755 ac_cv_lib_kstat_kstat_open
=no
11757 rm -f core conftest.err conftest.
$ac_objext \
11758 conftest
$ac_exeext conftest.
$ac_ext
11759 LIBS
=$ac_check_lib_save_LIBS
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11762 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11763 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11765 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11774 $as_echo_n "checking for -lodbc... " >&6; }
11775 if ${ac_cv_lib_soname_odbc+:} false
; then :
11776 $as_echo_n "(cached) " >&6
11778 ac_check_soname_save_LIBS
=$LIBS
11779 LIBS
="-lodbc $LIBS"
11780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11781 /* end confdefs.h. */
11783 /* Override any GCC internal prototype to avoid an error.
11784 Use char because int might match the return type of a GCC
11785 builtin and then its argument prototype would still apply. */
11789 char SQLConnect ();
11793 return SQLConnect ();
11798 if ac_fn_c_try_link
"$LINENO"; then :
11800 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11801 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'` ;;
11802 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11805 rm -f core conftest.err conftest.
$ac_objext \
11806 conftest
$ac_exeext conftest.
$ac_ext
11807 LIBS
=$ac_check_soname_save_LIBS
11809 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11811 $as_echo "not found" >&6; }
11812 cat >>confdefs.h
<<_ACEOF
11813 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11818 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11820 cat >>confdefs.h
<<_ACEOF
11821 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11827 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
11828 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
11829 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
11830 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
11832 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11833 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
11834 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11836 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11842 if test "x${GCC}" = "xyes"
11844 EXTRACFLAGS
="-Wall -pipe"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11847 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11848 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
11849 $as_echo_n "(cached) " >&6
11851 if test "$cross_compiling" = yes; then :
11852 ac_cv_c_gcc_strength_bug
="yes"
11854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11855 /* end confdefs.h. */
11856 int L[4] = {0,1,2,3};
11860 static int Array[3];
11861 unsigned int B = 3;
11863 for(i=0; i<B; i++) Array[i] = i - 3;
11864 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11866 return (Array[1] != -2 || L[2] != 3)
11871 if ac_fn_c_try_run
"$LINENO"; then :
11872 ac_cv_c_gcc_strength_bug
="no"
11874 ac_cv_c_gcc_strength_bug
="yes"
11876 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11877 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11882 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11883 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11885 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11889 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11890 if ${ac_cv_cflags__fno_builtin+:} false
; then :
11891 $as_echo_n "(cached) " >&6
11893 ac_wine_try_cflags_saved
=$CFLAGS
11894 CFLAGS
="$CFLAGS -fno-builtin"
11895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11896 /* end confdefs.h. */
11897 int main(int argc, char **argv) { return 0; }
11899 if ac_fn_c_try_link
"$LINENO"; then :
11900 ac_cv_cflags__fno_builtin
=yes
11902 ac_cv_cflags__fno_builtin
=no
11904 rm -f core conftest.err conftest.
$ac_objext \
11905 conftest
$ac_exeext conftest.
$ac_ext
11906 CFLAGS
=$ac_wine_try_cflags_saved
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11909 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11910 if test $ac_cv_cflags__fno_builtin = yes; then :
11911 BUILTINFLAG
="-fno-builtin"
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11915 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11916 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
11917 $as_echo_n "(cached) " >&6
11919 ac_wine_try_cflags_saved
=$CFLAGS
11920 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11922 /* end confdefs.h. */
11923 int main(int argc, char **argv) { return 0; }
11925 if ac_fn_c_try_link
"$LINENO"; then :
11926 ac_cv_cflags__fno_strict_aliasing
=yes
11928 ac_cv_cflags__fno_strict_aliasing
=no
11930 rm -f core conftest.err conftest.
$ac_objext \
11931 conftest
$ac_exeext conftest.
$ac_ext
11932 CFLAGS
=$ac_wine_try_cflags_saved
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11935 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11936 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11937 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11940 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11941 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
11942 $as_echo_n "(cached) " >&6
11944 ac_wine_try_cflags_saved
=$CFLAGS
11945 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11946 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 int main(int argc, char **argv) { return 0; }
11950 if ac_fn_c_try_link
"$LINENO"; then :
11951 ac_cv_cflags__Wdeclaration_after_statement
=yes
11953 ac_cv_cflags__Wdeclaration_after_statement
=no
11955 rm -f core conftest.err conftest.
$ac_objext \
11956 conftest
$ac_exeext conftest.
$ac_ext
11957 CFLAGS
=$ac_wine_try_cflags_saved
11959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11960 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11961 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11962 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
11965 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
11966 if ${ac_cv_cflags__Wempty_body+:} false
; then :
11967 $as_echo_n "(cached) " >&6
11969 ac_wine_try_cflags_saved
=$CFLAGS
11970 CFLAGS
="$CFLAGS -Wempty-body"
11971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11973 int main(int argc, char **argv) { return 0; }
11975 if ac_fn_c_try_link
"$LINENO"; then :
11976 ac_cv_cflags__Wempty_body
=yes
11978 ac_cv_cflags__Wempty_body
=no
11980 rm -f core conftest.err conftest.
$ac_objext \
11981 conftest
$ac_exeext conftest.
$ac_ext
11982 CFLAGS
=$ac_wine_try_cflags_saved
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
11985 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
11986 if test $ac_cv_cflags__Wempty_body = yes; then :
11987 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
11989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11990 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11991 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
11992 $as_echo_n "(cached) " >&6
11994 ac_wine_try_cflags_saved
=$CFLAGS
11995 CFLAGS
="$CFLAGS -Wstrict-prototypes"
11996 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11997 /* end confdefs.h. */
11998 int main(int argc, char **argv) { return 0; }
12000 if ac_fn_c_try_link
"$LINENO"; then :
12001 ac_cv_cflags__Wstrict_prototypes
=yes
12003 ac_cv_cflags__Wstrict_prototypes
=no
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 CFLAGS
=$ac_wine_try_cflags_saved
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12010 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12011 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12012 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12015 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12016 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12017 $as_echo_n "(cached) " >&6
12019 ac_wine_try_cflags_saved
=$CFLAGS
12020 CFLAGS
="$CFLAGS -Wtype-limits"
12021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12022 /* end confdefs.h. */
12023 int main(int argc, char **argv) { return 0; }
12025 if ac_fn_c_try_link
"$LINENO"; then :
12026 ac_cv_cflags__Wtype_limits
=yes
12028 ac_cv_cflags__Wtype_limits
=no
12030 rm -f core conftest.err conftest.
$ac_objext \
12031 conftest
$ac_exeext conftest.
$ac_ext
12032 CFLAGS
=$ac_wine_try_cflags_saved
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12035 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12036 if test $ac_cv_cflags__Wtype_limits = yes; then :
12037 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12040 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12041 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12042 $as_echo_n "(cached) " >&6
12044 ac_wine_try_cflags_saved
=$CFLAGS
12045 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12046 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12048 int main(int argc, char **argv) { return 0; }
12050 if ac_fn_c_try_link
"$LINENO"; then :
12051 ac_cv_cflags__Wunused_but_set_parameter
=yes
12053 ac_cv_cflags__Wunused_but_set_parameter
=no
12055 rm -f core conftest.err conftest.
$ac_objext \
12056 conftest
$ac_exeext conftest.
$ac_ext
12057 CFLAGS
=$ac_wine_try_cflags_saved
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12060 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12061 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12062 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12065 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12066 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12067 $as_echo_n "(cached) " >&6
12069 ac_wine_try_cflags_saved
=$CFLAGS
12070 CFLAGS
="$CFLAGS -Wwrite-strings"
12071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12073 int main(int argc, char **argv) { return 0; }
12075 if ac_fn_c_try_link
"$LINENO"; then :
12076 ac_cv_cflags__Wwrite_strings
=yes
12078 ac_cv_cflags__Wwrite_strings
=no
12080 rm -f core conftest.err conftest.
$ac_objext \
12081 conftest
$ac_exeext conftest.
$ac_ext
12082 CFLAGS
=$ac_wine_try_cflags_saved
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12085 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12086 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12087 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12091 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12092 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12093 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12094 $as_echo_n "(cached) " >&6
12096 ac_wine_try_cflags_saved
=$CFLAGS
12097 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12099 /* end confdefs.h. */
12100 int main(int argc, char **argv) { return 0; }
12102 if ac_fn_c_try_link
"$LINENO"; then :
12103 ac_cv_cflags__fno_omit_frame_pointer
=yes
12105 ac_cv_cflags__fno_omit_frame_pointer
=no
12107 rm -f core conftest.err conftest.
$ac_objext \
12108 conftest
$ac_exeext conftest.
$ac_ext
12109 CFLAGS
=$ac_wine_try_cflags_saved
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12112 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12113 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12114 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12118 saved_CFLAGS
="$CFLAGS"
12119 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12121 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12122 if ${ac_cv_c_string_h_warnings+:} false
; then :
12123 $as_echo_n "(cached) " >&6
12125 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12127 #include <string.h>
12136 if ac_fn_c_try_compile
"$LINENO"; then :
12137 ac_cv_c_string_h_warnings
=no
12139 ac_cv_c_string_h_warnings
=yes
12141 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12144 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12145 CFLAGS
="$saved_CFLAGS"
12146 if test "$ac_cv_c_string_h_warnings" = "no"
12148 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12151 saved_CFLAGS
="$CFLAGS"
12152 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12154 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12155 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12156 $as_echo_n "(cached) " >&6
12158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12159 /* end confdefs.h. */
12160 #include <string.h>
12164 char*f(const char *h,char n) {return strchr(h,n);}
12169 if ac_fn_c_try_compile
"$LINENO"; then :
12170 ac_cv_c_logicalop_noisy
=no
12172 ac_cv_c_logicalop_noisy
=yes
12174 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12177 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12178 CFLAGS
="$saved_CFLAGS"
12179 if test "$ac_cv_c_logicalop_noisy" = "no"
12181 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12184 if test "x$enable_maintainer_mode" = "xyes"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12187 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12188 if ${ac_cv_cflags__Werror+:} false
; then :
12189 $as_echo_n "(cached) " >&6
12191 ac_wine_try_cflags_saved
=$CFLAGS
12192 CFLAGS
="$CFLAGS -Werror"
12193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12195 int main(int argc, char **argv) { return 0; }
12197 if ac_fn_c_try_link
"$LINENO"; then :
12198 ac_cv_cflags__Werror
=yes
12200 ac_cv_cflags__Werror
=no
12202 rm -f core conftest.err conftest.
$ac_objext \
12203 conftest
$ac_exeext conftest.
$ac_ext
12204 CFLAGS
=$ac_wine_try_cflags_saved
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12207 $as_echo "$ac_cv_cflags__Werror" >&6; }
12208 if test $ac_cv_cflags__Werror = yes; then :
12209 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12213 saved_CFLAGS
="$CFLAGS"
12214 CFLAGS
="$CFLAGS -Werror"
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12216 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12217 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12218 $as_echo_n "(cached) " >&6
12220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12231 if ac_fn_c_try_compile
"$LINENO"; then :
12232 ac_cv_have_ms_hook_prologue
="yes"
12234 ac_cv_have_ms_hook_prologue
="no"
12236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12239 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12240 CFLAGS
="$saved_CFLAGS"
12241 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12244 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12247 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12254 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12255 if ${ac_cv_c_fortify_enabled+:} false
; then :
12256 $as_echo_n "(cached) " >&6
12258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12260 #include <string.h>
12264 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12265 #error Fortify enabled
12271 if ac_fn_c_try_compile
"$LINENO"; then :
12272 ac_cv_c_fortify_enabled
=no
12274 ac_cv_c_fortify_enabled
=yes
12276 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12279 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12280 if test "$ac_cv_c_fortify_enabled" = yes
12282 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12287 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12288 if ${ac_cv_c_extern_prefix+:} false
; then :
12289 $as_echo_n "(cached) " >&6
12291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12292 /* end confdefs.h. */
12293 extern int ac_test;
12297 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12302 if ac_fn_c_try_link
"$LINENO"; then :
12303 ac_cv_c_extern_prefix
="yes"
12305 ac_cv_c_extern_prefix
="no"
12307 rm -f core conftest.err conftest.
$ac_objext \
12308 conftest
$ac_exeext conftest.
$ac_ext
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12311 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12316 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12317 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12318 $as_echo_n "(cached) " >&6
12320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 #define __stdcall __attribute__((__stdcall__))
12325 int __stdcall ac_test(int i) { return i; }
12329 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12334 if ac_fn_c_try_link
"$LINENO"; then :
12335 ac_cv_c_stdcall_suffix
="yes"
12337 ac_cv_c_stdcall_suffix
="no"
12339 rm -f core conftest.err conftest.
$ac_objext \
12340 conftest
$ac_exeext conftest.
$ac_ext
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12343 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12344 *) ac_cv_c_stdcall_suffix
="no" ;;
12348 if test "$ac_cv_c_extern_prefix" = "yes"
12350 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12352 asm_name_prefix
="_"
12354 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12360 if test "$ac_cv_c_stdcall_suffix" = "yes"
12362 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12365 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12371 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12372 if ${ac_cv_asm_func_def+:} false
; then :
12373 $as_echo_n "(cached) " >&6
12375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12376 /* end confdefs.h. */
12381 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12386 if ac_fn_c_try_link
"$LINENO"; then :
12387 ac_cv_asm_func_def
=".def"
12389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12390 /* end confdefs.h. */
12395 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12400 if ac_fn_c_try_link
"$LINENO"; then :
12401 ac_cv_asm_func_def
=".type @function"
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12409 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12414 if ac_fn_c_try_link
"$LINENO"; then :
12415 ac_cv_asm_func_def
=".type 2"
12417 ac_cv_asm_func_def
="unknown"
12419 rm -f core conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12422 rm -f core conftest.err conftest.
$ac_objext \
12423 conftest
$ac_exeext conftest.
$ac_ext
12425 rm -f core conftest.err conftest.
$ac_objext \
12426 conftest
$ac_exeext conftest.
$ac_ext
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12429 $as_echo "$ac_cv_asm_func_def" >&6; }
12432 case "$ac_cv_asm_func_def" in
12434 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12436 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12438 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12440 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12442 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12444 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12446 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12448 asm_func_header
="" ;;
12451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12452 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12453 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12454 $as_echo_n "(cached) " >&6
12456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12457 /* end confdefs.h. */
12458 asm(".text\n\t.long 0");
12467 if ac_fn_c_try_compile
"$LINENO"; then :
12468 ac_cv_c_asm_outside_funcs
="yes"
12470 ac_cv_c_asm_outside_funcs
="no"
12472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12475 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12478 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12479 if ${ac_cv_c_dot_previous+:} false
; then :
12480 $as_echo_n "(cached) " >&6
12482 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12488 asm(".text\nac_test:\t.long 0\n\t.previous");
12493 if ac_fn_c_try_link
"$LINENO"; then :
12494 ac_cv_c_dot_previous
="yes"
12496 ac_cv_c_dot_previous
="no"
12498 rm -f core conftest.err conftest.
$ac_objext \
12499 conftest
$ac_exeext conftest.
$ac_ext
12501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12502 $as_echo "$ac_cv_c_dot_previous" >&6; }
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12505 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12506 if ${ac_cv_c_cfi_support+:} false
; then :
12507 $as_echo_n "(cached) " >&6
12509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12510 /* end confdefs.h. */
12511 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12520 if ac_fn_c_try_compile
"$LINENO"; then :
12521 ac_cv_c_cfi_support
="yes"
12523 ac_cv_c_cfi_support
="no"
12525 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12528 $as_echo "$ac_cv_c_cfi_support" >&6; }
12530 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12531 asm_func_trailer
=""
12532 if test "$ac_cv_c_dot_previous" = "yes"
12534 asm_func_trailer
="\\n\\t.previous"
12536 if test "$ac_cv_c_cfi_support" = "yes"
12538 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12539 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12541 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12543 UNWINDFLAGS
=-fasynchronous-unwind-tables
12546 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12550 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12553 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12555 cat >>confdefs.h
<<_ACEOF
12556 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12560 cat >>confdefs.h
<<_ACEOF
12561 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12566 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12569 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12579 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12584 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12592 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12599 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12604 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12606 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12613 ac_save_CFLAGS
="$CFLAGS"
12614 CFLAGS
="$CFLAGS $BUILTINFLAG"
12691 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12692 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12693 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12694 cat >>confdefs.h
<<_ACEOF
12695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12701 CFLAGS
="$ac_save_CFLAGS"
12703 if test "$ac_cv_func_dlopen" = no
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12706 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12707 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12708 $as_echo_n "(cached) " >&6
12710 ac_check_lib_save_LIBS
=$LIBS
12712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12713 /* end confdefs.h. */
12715 /* Override any GCC internal prototype to avoid an error.
12716 Use char because int might match the return type of a GCC
12717 builtin and then its argument prototype would still apply. */
12730 if ac_fn_c_try_link
"$LINENO"; then :
12731 ac_cv_lib_dl_dlopen
=yes
12733 ac_cv_lib_dl_dlopen
=no
12735 rm -f core conftest.err conftest.
$ac_objext \
12736 conftest
$ac_exeext conftest.
$ac_ext
12737 LIBS
=$ac_check_lib_save_LIBS
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12740 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12741 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12742 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12748 ac_wine_check_funcs_save_LIBS
="$LIBS"
12749 LIBS
="$LIBS $LIBDL"
12750 for ac_func
in dladdr
12752 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12753 if test "x$ac_cv_func_dladdr" = xyes
; then :
12754 cat >>confdefs.h
<<_ACEOF
12755 #define HAVE_DLADDR 1
12761 LIBS
="$ac_wine_check_funcs_save_LIBS"
12763 if test "$ac_cv_func_poll" = no
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12766 $as_echo_n "checking for poll in -lpoll... " >&6; }
12767 if ${ac_cv_lib_poll_poll+:} false
; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_lib_save_LIBS
=$LIBS
12771 LIBS
="-lpoll $LIBS"
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12790 if ac_fn_c_try_link
"$LINENO"; then :
12791 ac_cv_lib_poll_poll
=yes
12793 ac_cv_lib_poll_poll
=no
12795 rm -f core conftest.err conftest.
$ac_objext \
12796 conftest
$ac_exeext conftest.
$ac_ext
12797 LIBS
=$ac_check_lib_save_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12800 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12801 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
12802 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12810 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12811 if ${ac_cv_search_gethostbyname+:} false
; then :
12812 $as_echo_n "(cached) " >&6
12814 ac_func_search_save_LIBS
=$LIBS
12815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12816 /* end confdefs.h. */
12818 /* Override any GCC internal prototype to avoid an error.
12819 Use char because int might match the return type of a GCC
12820 builtin and then its argument prototype would still apply. */
12824 char gethostbyname ();
12828 return gethostbyname ();
12833 for ac_lib
in '' nsl
; do
12834 if test -z "$ac_lib"; then
12835 ac_res
="none required"
12838 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12840 if ac_fn_c_try_link
"$LINENO"; then :
12841 ac_cv_search_gethostbyname
=$ac_res
12843 rm -f core conftest.err conftest.
$ac_objext \
12845 if ${ac_cv_search_gethostbyname+:} false
; then :
12849 if ${ac_cv_search_gethostbyname+:} false
; then :
12852 ac_cv_search_gethostbyname
=no
12854 rm conftest.
$ac_ext
12855 LIBS
=$ac_func_search_save_LIBS
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12858 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12859 ac_res
=$ac_cv_search_gethostbyname
12860 if test "$ac_res" != no
; then :
12861 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12867 $as_echo_n "checking for library containing connect... " >&6; }
12868 if ${ac_cv_search_connect+:} false
; then :
12869 $as_echo_n "(cached) " >&6
12871 ac_func_search_save_LIBS
=$LIBS
12872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12873 /* end confdefs.h. */
12875 /* Override any GCC internal prototype to avoid an error.
12876 Use char because int might match the return type of a GCC
12877 builtin and then its argument prototype would still apply. */
12890 for ac_lib
in '' socket
; do
12891 if test -z "$ac_lib"; then
12892 ac_res
="none required"
12895 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12897 if ac_fn_c_try_link
"$LINENO"; then :
12898 ac_cv_search_connect
=$ac_res
12900 rm -f core conftest.err conftest.
$ac_objext \
12902 if ${ac_cv_search_connect+:} false
; then :
12906 if ${ac_cv_search_connect+:} false
; then :
12909 ac_cv_search_connect
=no
12911 rm conftest.
$ac_ext
12912 LIBS
=$ac_func_search_save_LIBS
12914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12915 $as_echo "$ac_cv_search_connect" >&6; }
12916 ac_res
=$ac_cv_search_connect
12917 if test "$ac_res" != no
; then :
12918 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12924 $as_echo_n "checking for library containing inet_aton... " >&6; }
12925 if ${ac_cv_search_inet_aton+:} false
; then :
12926 $as_echo_n "(cached) " >&6
12928 ac_func_search_save_LIBS
=$LIBS
12929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12930 /* end confdefs.h. */
12932 /* Override any GCC internal prototype to avoid an error.
12933 Use char because int might match the return type of a GCC
12934 builtin and then its argument prototype would still apply. */
12942 return inet_aton ();
12947 for ac_lib
in '' resolv
; do
12948 if test -z "$ac_lib"; then
12949 ac_res
="none required"
12952 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12954 if ac_fn_c_try_link
"$LINENO"; then :
12955 ac_cv_search_inet_aton
=$ac_res
12957 rm -f core conftest.err conftest.
$ac_objext \
12959 if ${ac_cv_search_inet_aton+:} false
; then :
12963 if ${ac_cv_search_inet_aton+:} false
; then :
12966 ac_cv_search_inet_aton
=no
12968 rm conftest.
$ac_ext
12969 LIBS
=$ac_func_search_save_LIBS
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12972 $as_echo "$ac_cv_search_inet_aton" >&6; }
12973 ac_res
=$ac_cv_search_inet_aton
12974 if test "$ac_res" != no
; then :
12975 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12994 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12995 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12996 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12997 cat >>confdefs.h
<<_ACEOF
12998 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13007 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13009 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13011 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13013 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13014 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13015 $as_echo_n "(cached) " >&6
13017 ac_check_lib_save_LIBS
=$LIBS
13018 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13020 /* end confdefs.h. */
13022 /* Override any GCC internal prototype to avoid an error.
13023 Use char because int might match the return type of a GCC
13024 builtin and then its argument prototype would still apply. */
13028 char ldap_initialize ();
13032 return ldap_initialize ();
13037 if ac_fn_c_try_link
"$LINENO"; then :
13038 ac_cv_lib_ldap_r_ldap_initialize
=yes
13040 ac_cv_lib_ldap_r_ldap_initialize
=no
13042 rm -f core conftest.err conftest.
$ac_objext \
13043 conftest
$ac_exeext conftest.
$ac_ext
13044 LIBS
=$ac_check_lib_save_LIBS
13046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13047 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13048 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13050 $as_echo_n "checking for ber_init in -llber... " >&6; }
13051 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13052 $as_echo_n "(cached) " >&6
13054 ac_check_lib_save_LIBS
=$LIBS
13055 LIBS
="-llber $LIBPTHREAD $LIBS"
13056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13069 return ber_init ();
13074 if ac_fn_c_try_link
"$LINENO"; then :
13075 ac_cv_lib_lber_ber_init
=yes
13077 ac_cv_lib_lber_ber_init
=no
13079 rm -f core conftest.err conftest.
$ac_objext \
13080 conftest
$ac_exeext conftest.
$ac_ext
13081 LIBS
=$ac_check_lib_save_LIBS
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13084 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13085 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13087 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13089 LDAPLIBS
="-lldap_r -llber"
13096 ac_wine_check_funcs_save_LIBS
="$LIBS"
13097 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13099 ldap_count_references \
13100 ldap_first_reference \
13101 ldap_next_reference \
13102 ldap_parse_reference \
13103 ldap_parse_sort_control \
13104 ldap_parse_sortresponse_control \
13105 ldap_parse_vlv_control \
13106 ldap_parse_vlvresponse_control
13108 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13109 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13110 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13111 cat >>confdefs.h
<<_ACEOF
13112 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13118 LIBS
="$ac_wine_check_funcs_save_LIBS"
13120 if test "x$LDAPLIBS" = "x"; then :
13121 case "x$with_ldap" in
13122 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13124 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13125 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13130 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13131 if ${wine_cv_one_arg_mkdir+:} false
; then :
13132 $as_echo_n "(cached) " >&6
13134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13135 /* end confdefs.h. */
13136 #include <sys/stat.h>
13145 if ac_fn_c_try_compile
"$LINENO"; then :
13146 wine_cv_one_arg_mkdir
=yes
13148 wine_cv_one_arg_mkdir
=no
13150 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13153 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13154 if test "$wine_cv_one_arg_mkdir" = "yes"
13157 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13162 $as_echo_n "checking for sched_setaffinity... " >&6; }
13163 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13164 $as_echo_n "(cached) " >&6
13166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13167 /* end confdefs.h. */
13168 #define _GNU_SOURCE
13173 sched_setaffinity(0, 0, 0);
13178 if ac_fn_c_try_link
"$LINENO"; then :
13179 wine_cv_have_sched_setaffinity
=yes
13181 wine_cv_have_sched_setaffinity
=no
13183 rm -f core conftest.err conftest.
$ac_objext \
13184 conftest
$ac_exeext conftest.
$ac_ext
13186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13187 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13188 if test "$wine_cv_have_sched_setaffinity" = "yes"
13191 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13197 $as_echo_n "checking for inline... " >&6; }
13198 if ${ac_cv_c_inline+:} false
; then :
13199 $as_echo_n "(cached) " >&6
13202 for ac_kw
in inline __inline__ __inline
; do
13203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13204 /* end confdefs.h. */
13205 #ifndef __cplusplus
13207 static $ac_kw foo_t static_foo () {return 0; }
13208 $ac_kw foo_t foo () {return 0; }
13212 if ac_fn_c_try_compile
"$LINENO"; then :
13213 ac_cv_c_inline
=$ac_kw
13215 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13216 test "$ac_cv_c_inline" != no
&& break
13220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13221 $as_echo "$ac_cv_c_inline" >&6; }
13223 case $ac_cv_c_inline in
13226 case $ac_cv_c_inline in
13228 *) ac_val
=$ac_cv_c_inline;;
13230 cat >>confdefs.h
<<_ACEOF
13231 #ifndef __cplusplus
13232 #define inline $ac_val
13238 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13239 if test "x$ac_cv_type_mode_t" = xyes
; then :
13241 cat >>confdefs.h
<<_ACEOF
13242 #define HAVE_MODE_T 1
13247 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13248 if test "x$ac_cv_type_off_t" = xyes
; then :
13250 cat >>confdefs.h
<<_ACEOF
13251 #define HAVE_OFF_T 1
13256 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13257 if test "x$ac_cv_type_pid_t" = xyes
; then :
13259 cat >>confdefs.h
<<_ACEOF
13260 #define HAVE_PID_T 1
13265 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13266 if test "x$ac_cv_type_size_t" = xyes
; then :
13268 cat >>confdefs.h
<<_ACEOF
13269 #define HAVE_SIZE_T 1
13274 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13275 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13277 cat >>confdefs.h
<<_ACEOF
13278 #define HAVE_SSIZE_T 1
13283 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13284 if test "x$ac_cv_type_long_long" = xyes
; then :
13286 cat >>confdefs.h
<<_ACEOF
13287 #define HAVE_LONG_LONG 1
13292 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13293 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13295 cat >>confdefs.h
<<_ACEOF
13296 #define HAVE_FSBLKCNT_T 1
13301 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13302 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13304 cat >>confdefs.h
<<_ACEOF
13305 #define HAVE_FSFILCNT_T 1
13311 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13312 #include <signal.h>
13314 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13316 cat >>confdefs.h
<<_ACEOF
13317 #define HAVE_SIGSET_T 1
13323 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13325 if test "x$ac_cv_type_request_sense" = xyes
; then :
13327 cat >>confdefs.h
<<_ACEOF
13328 #define HAVE_REQUEST_SENSE 1
13335 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13336 #ifdef HAVE_SYS_SOCKET_H
13337 #include <sys/socket.h>
13339 #ifdef HAVE_SYS_SOCKETVAR_H
13340 #include <sys/socketvar.h>
13342 #ifdef HAVE_NET_ROUTE_H
13343 #include <net/route.h>
13345 #ifdef HAVE_NETINET_IN_H
13346 #include <netinet/in.h>
13348 #ifdef HAVE_NETINET_IN_SYSTM_H
13349 #include <netinet/in_systm.h>
13351 #ifdef HAVE_NETINET_IP_H
13352 #include <netinet/ip.h>
13354 #ifdef HAVE_NETINET_IN_PCB_H
13355 #include <netinet/in_pcb.h>
13358 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13360 cat >>confdefs.h
<<_ACEOF
13361 #define HAVE_STRUCT_XINPGEN 1
13368 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13369 #include <linux/input.h>
13372 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13374 cat >>confdefs.h
<<_ACEOF
13375 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13383 $as_echo_n "checking for sigaddset... " >&6; }
13384 if ${wine_cv_have_sigaddset+:} false
; then :
13385 $as_echo_n "(cached) " >&6
13387 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13388 /* end confdefs.h. */
13389 #include <signal.h>
13393 sigset_t set; sigaddset(&set,SIGTERM);
13398 if ac_fn_c_try_link
"$LINENO"; then :
13399 wine_cv_have_sigaddset
=yes
13401 wine_cv_have_sigaddset
=no
13403 rm -f core conftest.err conftest.
$ac_objext \
13404 conftest
$ac_exeext conftest.
$ac_ext
13406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13407 $as_echo "$wine_cv_have_sigaddset" >&6; }
13408 if test "$wine_cv_have_sigaddset" = "yes"
13411 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13417 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13418 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13419 $as_echo_n "(cached) " >&6
13421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13422 /* end confdefs.h. */
13430 struct hostent *result;
13437 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13438 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13444 if ac_fn_c_try_link
"$LINENO"; then :
13445 wine_cv_linux_gethostbyname_r_6
=yes
13447 wine_cv_linux_gethostbyname_r_6
=no
13450 rm -f core conftest.err conftest.
$ac_objext \
13451 conftest
$ac_exeext conftest.
$ac_ext
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13455 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13456 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13459 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13463 if test "$ac_cv_header_linux_joystick_h" = "yes"
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13466 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13467 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13468 $as_echo_n "(cached) " >&6
13470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13473 #include <sys/ioctl.h>
13474 #include <sys/types.h>
13475 #include <linux/joystick.h>
13477 struct js_event blub;
13478 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13479 #error "no 2.2 header"
13490 if ac_fn_c_try_compile
"$LINENO"; then :
13491 wine_cv_linux_joystick_22_api
=yes
13493 wine_cv_linux_joystick_22_api
=no
13495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13499 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13500 if test "$wine_cv_linux_joystick_22_api" = "yes"
13503 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13509 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13510 #ifdef HAVE_SYS_PARAM_H
13511 # include <sys/param.h>
13513 #ifdef HAVE_SYS_MOUNT_H
13514 # include <sys/mount.h>
13516 #ifdef HAVE_SYS_VFS_H
13517 # include <sys/vfs.h>
13519 #ifdef HAVE_SYS_STATFS_H
13520 # include <sys/statfs.h>
13523 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13525 cat >>confdefs.h
<<_ACEOF
13526 #define HAVE_STRUCT_STATFS_F_BFREE 1
13531 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13532 #ifdef HAVE_SYS_PARAM_H
13533 # include <sys/param.h>
13535 #ifdef HAVE_SYS_MOUNT_H
13536 # include <sys/mount.h>
13538 #ifdef HAVE_SYS_VFS_H
13539 # include <sys/vfs.h>
13541 #ifdef HAVE_SYS_STATFS_H
13542 # include <sys/statfs.h>
13545 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13547 cat >>confdefs.h
<<_ACEOF
13548 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13553 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13554 #ifdef HAVE_SYS_PARAM_H
13555 # include <sys/param.h>
13557 #ifdef HAVE_SYS_MOUNT_H
13558 # include <sys/mount.h>
13560 #ifdef HAVE_SYS_VFS_H
13561 # include <sys/vfs.h>
13563 #ifdef HAVE_SYS_STATFS_H
13564 # include <sys/statfs.h>
13567 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13569 cat >>confdefs.h
<<_ACEOF
13570 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13575 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13576 #ifdef HAVE_SYS_PARAM_H
13577 # include <sys/param.h>
13579 #ifdef HAVE_SYS_MOUNT_H
13580 # include <sys/mount.h>
13582 #ifdef HAVE_SYS_VFS_H
13583 # include <sys/vfs.h>
13585 #ifdef HAVE_SYS_STATFS_H
13586 # include <sys/statfs.h>
13589 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13591 cat >>confdefs.h
<<_ACEOF
13592 #define HAVE_STRUCT_STATFS_F_FFREE 1
13597 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13598 #ifdef HAVE_SYS_PARAM_H
13599 # include <sys/param.h>
13601 #ifdef HAVE_SYS_MOUNT_H
13602 # include <sys/mount.h>
13604 #ifdef HAVE_SYS_VFS_H
13605 # include <sys/vfs.h>
13607 #ifdef HAVE_SYS_STATFS_H
13608 # include <sys/statfs.h>
13611 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13613 cat >>confdefs.h
<<_ACEOF
13614 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13619 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13620 #ifdef HAVE_SYS_PARAM_H
13621 # include <sys/param.h>
13623 #ifdef HAVE_SYS_MOUNT_H
13624 # include <sys/mount.h>
13626 #ifdef HAVE_SYS_VFS_H
13627 # include <sys/vfs.h>
13629 #ifdef HAVE_SYS_STATFS_H
13630 # include <sys/statfs.h>
13633 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13635 cat >>confdefs.h
<<_ACEOF
13636 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13643 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13644 #include <sys/statvfs.h>
13647 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13649 cat >>confdefs.h
<<_ACEOF
13650 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13657 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13658 #ifdef HAVE_SYS_SOCKET_H
13659 # include <sys/socket.h>
13661 #ifdef HAVE_SYS_UN_H
13662 # include <sys/un.h>
13665 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13667 cat >>confdefs.h
<<_ACEOF
13668 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13673 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13674 #ifdef HAVE_SYS_SOCKET_H
13675 # include <sys/socket.h>
13677 #ifdef HAVE_SYS_UN_H
13678 # include <sys/un.h>
13681 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13683 cat >>confdefs.h
<<_ACEOF
13684 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13689 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13690 #ifdef HAVE_SYS_SOCKET_H
13691 # include <sys/socket.h>
13693 #ifdef HAVE_SYS_UN_H
13694 # include <sys/un.h>
13697 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13699 cat >>confdefs.h
<<_ACEOF
13700 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13707 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13708 #ifdef HAVE_SCSI_SG_H
13709 #include <scsi/sg.h>
13712 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
13714 cat >>confdefs.h
<<_ACEOF
13715 #define HAVE_SCSIREQ_T_CMD 1
13720 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>
13721 #ifdef HAVE_SCSI_SG_H
13722 #include <scsi/sg.h>
13725 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
13727 cat >>confdefs.h
<<_ACEOF
13728 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13735 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13737 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
13739 cat >>confdefs.h
<<_ACEOF
13740 #define HAVE_SIGINFO_T_SI_FD 1
13747 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13748 #ifdef HAVE_SYS_MTIO_H
13749 #include <sys/mtio.h>
13752 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
13754 cat >>confdefs.h
<<_ACEOF
13755 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13760 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13761 #ifdef HAVE_SYS_MTIO_H
13762 #include <sys/mtio.h>
13765 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
13767 cat >>confdefs.h
<<_ACEOF
13768 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13773 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13774 #ifdef HAVE_SYS_MTIO_H
13775 #include <sys/mtio.h>
13778 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
13780 cat >>confdefs.h
<<_ACEOF
13781 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13788 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13789 #include <getopt.h>
13792 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
13794 cat >>confdefs.h
<<_ACEOF
13795 #define HAVE_STRUCT_OPTION_NAME 1
13802 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13803 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
13805 cat >>confdefs.h
<<_ACEOF
13806 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13811 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13812 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
13814 cat >>confdefs.h
<<_ACEOF
13815 #define HAVE_STRUCT_STAT_ST_MTIM 1
13820 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13821 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
13823 cat >>confdefs.h
<<_ACEOF
13824 #define HAVE_STRUCT_STAT_ST_CTIM 1
13829 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13830 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
13832 cat >>confdefs.h
<<_ACEOF
13833 #define HAVE_STRUCT_STAT_ST_ATIM 1
13840 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
13841 #include <sys/types.h>
13843 #ifdef HAVE_NETINET_IN_H
13844 #include <netinet/in.h>
13847 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
13849 cat >>confdefs.h
<<_ACEOF
13850 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13857 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13858 #include <sys/types.h>
13860 #ifdef HAVE_NETINET_IN_H
13861 # include <netinet/in.h>
13863 #ifdef HAVE_ARPA_NAMESER_H
13864 # include <arpa/nameser.h>
13867 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
13869 cat >>confdefs.h
<<_ACEOF
13870 #define HAVE_NS_MSG__MSG_PTR 1
13877 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13878 #include <sys/types.h>
13880 #ifdef HAVE_ALIAS_H
13883 #ifdef HAVE_SYS_SOCKET_H
13884 #include <sys/socket.h>
13886 #ifdef HAVE_SYS_SOCKETVAR_H
13887 #include <sys/socketvar.h>
13889 #ifdef HAVE_SYS_TIMEOUT_H
13890 #include <sys/timeout.h>
13892 #ifdef HAVE_NETINET_IN_H
13893 #include <netinet/in.h>
13895 #ifdef HAVE_NETINET_IN_SYSTM_H
13896 #include <netinet/in_systm.h>
13898 #ifdef HAVE_NETINET_IP_H
13899 #include <netinet/ip.h>
13901 #ifdef HAVE_NETINET_IP_VAR_H
13902 #include <netinet/ip_var.h>
13904 #ifdef HAVE_NETINET_IP_ICMP_H
13905 #include <netinet/ip_icmp.h>
13907 #ifdef HAVE_NETINET_ICMP_VAR
13908 #include <netinet/icmp_var.h>
13911 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
13913 cat >>confdefs.h
<<_ACEOF
13914 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13921 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13922 #include <sys/types.h>
13924 #ifdef HAVE_NET_IF_H
13925 # include <net/if.h>
13928 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
13930 cat >>confdefs.h
<<_ACEOF
13931 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13939 $as_echo_n "checking for timezone variable... " >&6; }
13940 if ${ac_cv_have_timezone+:} false
; then :
13941 $as_echo_n "(cached) " >&6
13943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13954 if ac_fn_c_try_link
"$LINENO"; then :
13955 ac_cv_have_timezone
="yes"
13957 ac_cv_have_timezone
="no"
13959 rm -f core conftest.err conftest.
$ac_objext \
13960 conftest
$ac_exeext conftest.
$ac_ext
13962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13963 $as_echo "$ac_cv_have_timezone" >&6; }
13964 if test "$ac_cv_have_timezone" = "yes"
13967 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13971 $as_echo_n "checking for daylight variable... " >&6; }
13972 if ${ac_cv_have_daylight+:} false
; then :
13973 $as_echo_n "(cached) " >&6
13975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13986 if ac_fn_c_try_link
"$LINENO"; then :
13987 ac_cv_have_daylight
="yes"
13989 ac_cv_have_daylight
="no"
13991 rm -f core conftest.err conftest.
$ac_objext \
13992 conftest
$ac_exeext conftest.
$ac_ext
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13995 $as_echo "$ac_cv_have_daylight" >&6; }
13996 if test "$ac_cv_have_daylight" = "yes"
13999 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14003 ac_save_LIBS
="$LIBS"
14005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14006 $as_echo_n "checking for isinf... " >&6; }
14007 if ${ac_cv_have_isinf+:} false
; then :
14008 $as_echo_n "(cached) " >&6
14010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14011 /* end confdefs.h. */
14016 float f = 0.0; return isinf(f)
14021 if ac_fn_c_try_link
"$LINENO"; then :
14022 ac_cv_have_isinf
="yes"
14024 ac_cv_have_isinf
="no"
14026 rm -f core conftest.err conftest.
$ac_objext \
14027 conftest
$ac_exeext conftest.
$ac_ext
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14030 $as_echo "$ac_cv_have_isinf" >&6; }
14031 if test "$ac_cv_have_isinf" = "yes"
14034 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14039 $as_echo_n "checking for isnan... " >&6; }
14040 if ${ac_cv_have_isnan+:} false
; then :
14041 $as_echo_n "(cached) " >&6
14043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14044 /* end confdefs.h. */
14049 float f = 0.0; return isnan(f)
14054 if ac_fn_c_try_link
"$LINENO"; then :
14055 ac_cv_have_isnan
="yes"
14057 ac_cv_have_isnan
="no"
14059 rm -f core conftest.err conftest.
$ac_objext \
14060 conftest
$ac_exeext conftest.
$ac_ext
14062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14063 $as_echo "$ac_cv_have_isnan" >&6; }
14064 if test "$ac_cv_have_isnan" = "yes"
14067 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14070 LIBS
="$ac_save_LIBS"
14074 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14075 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14076 if ${ac_cv_cpp_def___i386__+:} false
; then :
14077 $as_echo_n "(cached) " >&6
14079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14080 /* end confdefs.h. */
14085 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14086 $EGREP "yes" >/dev
/null
2>&1; then :
14087 ac_cv_cpp_def___i386__
=yes
14089 ac_cv_cpp_def___i386__
=no
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14095 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14096 if test $ac_cv_cpp_def___i386__ = yes; then :
14097 CFLAGS
="$CFLAGS -D__i386__"
14098 LINTFLAGS
="$LINTFLAGS -D__i386__"
14100 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14101 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14102 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14103 $as_echo_n "(cached) " >&6
14105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14106 /* end confdefs.h. */
14111 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14112 $EGREP "yes" >/dev
/null
2>&1; then :
14113 ac_cv_cpp_def___x86_64__
=yes
14115 ac_cv_cpp_def___x86_64__
=no
14120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14121 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14122 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14123 CFLAGS
="$CFLAGS -D__x86_64__"
14124 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14126 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14127 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14128 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14129 $as_echo_n "(cached) " >&6
14131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14132 /* end confdefs.h. */
14137 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14138 $EGREP "yes" >/dev
/null
2>&1; then :
14139 ac_cv_cpp_def___sparc__
=yes
14141 ac_cv_cpp_def___sparc__
=no
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14147 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14148 if test $ac_cv_cpp_def___sparc__ = yes; then :
14149 CFLAGS
="$CFLAGS -D__sparc__"
14150 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14152 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14153 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14154 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14155 $as_echo_n "(cached) " >&6
14157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14158 /* end confdefs.h. */
14159 #ifndef __powerpc__
14163 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14164 $EGREP "yes" >/dev
/null
2>&1; then :
14165 ac_cv_cpp_def___powerpc__
=yes
14167 ac_cv_cpp_def___powerpc__
=no
14172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14173 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14174 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14175 CFLAGS
="$CFLAGS -D__powerpc__"
14176 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14178 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14179 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14180 if ${ac_cv_cpp_def___arm__+:} false
; then :
14181 $as_echo_n "(cached) " >&6
14183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14184 /* end confdefs.h. */
14189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14190 $EGREP "yes" >/dev
/null
2>&1; then :
14191 ac_cv_cpp_def___arm__
=yes
14193 ac_cv_cpp_def___arm__
=no
14198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14199 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14200 if test $ac_cv_cpp_def___arm__ = yes; then :
14201 CFLAGS
="$CFLAGS -D__arm__"
14202 LINTFLAGS
="$LINTFLAGS -D__arm__"
14206 case $host_vendor in
14207 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14208 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14209 if ${ac_cv_cpp_def___sun__+:} false
; then :
14210 $as_echo_n "(cached) " >&6
14212 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14213 /* end confdefs.h. */
14218 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14219 $EGREP "yes" >/dev
/null
2>&1; then :
14220 ac_cv_cpp_def___sun__
=yes
14222 ac_cv_cpp_def___sun__
=no
14227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14228 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14229 if test $ac_cv_cpp_def___sun__ = yes; then :
14230 CFLAGS
="$CFLAGS -D__sun__"
14231 LINTFLAGS
="$LINTFLAGS -D__sun__"
14239 ac_config_commands
="$ac_config_commands include/stamp-h"
14242 ALL_MAKEFILE_DEPENDS
="
14243 # Rules automatically generated by configure
14248 Makefile: Makefile.in Make.vars.in Make.rules config.status
14249 @./config.status Make.tmp Makefile"
14252 ALL_TEST_RESOURCES
=""
14255 wine_fn_append_file
()
14257 as_fn_append
$1 " \\$as_nl $2"
14260 wine_fn_append_rule
()
14262 as_fn_append
$1 "$as_nl$2"
14265 wine_fn_has_flag
()
14267 expr ",$2," : ".*,$1,.*" >/dev
/null
14270 wine_fn_all_dir_rules
()
14274 ac_makedep
="\$(MAKEDEP)"
14275 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14276 if test $ac_dir != tools
14278 ac_alldeps
="$2 $ac_makedep"
14281 *.
in) ac_input
=$ac_input:$2 ;;
14282 *) ac_makedep
="$2 $ac_makedep" ;;
14285 wine_fn_append_file ALL_DIRS
$ac_dir
14286 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14287 "__clean__: $ac_dir/__clean__
14288 .PHONY: $ac_dir/__clean__
14289 $ac_dir/__clean__: $ac_dir/Makefile
14290 @cd $ac_dir && \$(MAKE) clean
14291 \$(RM) $ac_dir/Makefile
14292 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14293 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14294 depend: $ac_dir/__depend__
14295 .PHONY: $ac_dir/__depend__
14296 $ac_dir/__depend__: $ac_makedep dummy
14297 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14300 wine_fn_pot_rules
()
14305 test "x$with_gettextpo" = xyes ||
return
14307 if wine_fn_has_flag mc
$ac_flags
14309 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14310 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14311 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14312 @cd $ac_dir && \$(MAKE) msg.pot
14313 $ac_dir/msg.pot: tools/wmc include"
14315 if wine_fn_has_flag po
$ac_flags
14317 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14318 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14319 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14320 @cd $ac_dir && \$(MAKE) rsrc.pot
14321 $ac_dir/rsrc.pot: tools/wrc include"
14325 wine_fn_config_makefile
()
14331 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14335 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14336 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14339 $ac_dir: $ac_dir/Makefile dummy
14340 @cd $ac_dir && \$(MAKE)"
14342 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14344 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14345 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14346 $ac_dir/__install__:: $ac_dir
14347 @cd $ac_dir && \$(MAKE) install
14348 $ac_dir/__uninstall__:: $ac_dir/Makefile
14349 @cd $ac_dir && \$(MAKE) uninstall
14350 install:: $ac_dir/__install__
14351 __uninstall__: $ac_dir/__uninstall__"
14353 if wine_fn_has_flag install-lib
$ac_flags
14355 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14356 ".PHONY: $ac_dir/__install-lib__
14357 $ac_dir/__install-lib__:: $ac_dir
14358 @cd $ac_dir && \$(MAKE) install-lib
14359 install-lib:: $ac_dir/__install-lib__"
14362 if wine_fn_has_flag install-dev
$ac_flags
14364 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14365 ".PHONY: $ac_dir/__install-dev
14366 $ac_dir/__install-dev__:: $ac_dir
14367 @cd $ac_dir && \$(MAKE) install-dev
14368 install-dev:: $ac_dir/__install-dev__"
14372 wine_fn_config_lib
()
14376 ac_dir
=dlls
/$ac_name
14377 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14379 if wine_fn_has_flag install-dev
$ac_flags
14382 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14383 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14384 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14385 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14386 $ac_dir/__uninstall__::
14387 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14388 install install-dev:: $ac_dir/__install__
14389 __uninstall__: $ac_dir/__uninstall__"
14392 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14393 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14396 wine_fn_config_dll
()
14399 ac_dir
=dlls
/$ac_name
14402 ac_implib
=${4:-$ac_name}
14403 ac_file
=$ac_dir/lib
$ac_implib
14405 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14409 *16) ac_implibflags
=" -m16" ;;
14411 *) ac_dll
=$ac_dll.dll
;;
14414 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14416 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14417 test "$ac_enable" != enable_win16 ||
return 0
14418 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14420 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14421 "$ac_dir: __builddeps__
14422 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14423 @cd $ac_dir && \$(MAKE) \$@"
14425 if wine_fn_has_flag install-lib
$ac_flags
14428 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14429 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14430 install install-lib:: $ac_dir/__install-lib__
14431 __uninstall__: $ac_dir/__uninstall__"
14432 if test -n "$DLLEXT"
14434 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14435 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14436 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14437 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14438 $ac_dir/__uninstall__::
14439 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14441 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14442 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14443 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14444 $ac_dir/__uninstall__::
14445 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14449 wine_fn_pot_rules
$ac_dir $ac_flags
14452 if wine_fn_has_flag staticimplib
$ac_flags
14454 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14455 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14456 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14457 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14458 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14459 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14460 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14461 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14462 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14463 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14464 $ac_dir/__uninstall__::
14465 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14466 install install-dev:: $ac_dir/__install-dev__
14467 __uninstall__: $ac_dir/__uninstall__"
14469 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14471 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14472 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14473 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14474 $ac_dir/__uninstall__::
14475 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14478 if test "x$CROSSTEST_DISABLE" = x
14480 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14481 "__builddeps__: $ac_file.cross.a
14482 $ac_file.cross.a: $ac_dir/Makefile dummy
14483 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14486 elif wine_fn_has_flag implib
$ac_flags
14488 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14489 "__builddeps__: $ac_file.$IMPLIBEXT
14490 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14491 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14492 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14493 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14494 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14495 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14496 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14497 $ac_dir/__uninstall__::
14498 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14499 install install-dev:: $ac_dir/__install-dev__
14500 __uninstall__: $ac_dir/__uninstall__"
14501 if test "x$CROSSTEST_DISABLE" = x
14503 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14504 "__builddeps__: $ac_file.cross.a
14505 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14506 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14509 if test "$ac_name" != "$ac_implib"
14511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14512 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14513 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14514 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14516 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14517 if test "x$CROSSTEST_DISABLE" = x
14519 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14520 "__builddeps__: dlls/lib$ac_implib.cross.a
14521 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14522 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14528 wine_fn_config_program
()
14531 ac_dir
=programs
/$ac_name
14534 ac_program
=$ac_name
14538 *) ac_program
=$ac_program.exe
;;
14541 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14543 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14546 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14547 "$ac_dir: __builddeps__"
14549 wine_fn_pot_rules
$ac_dir $ac_flags
14551 wine_fn_has_flag
install $ac_flags ||
return
14552 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14553 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14554 install install-lib:: $ac_dir/__install__
14555 __uninstall__: $ac_dir/__uninstall__"
14557 if test -n "$DLLEXT"
14559 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14560 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14561 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14562 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14563 $ac_dir/__uninstall__::
14564 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14566 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14568 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14569 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14570 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14571 $ac_dir/__uninstall__::
14572 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14575 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14576 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14577 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14578 $ac_dir/__uninstall__::
14579 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14582 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
14584 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14585 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14586 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14587 $ac_dir/__uninstall__::
14588 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14593 wine_fn_config_test
()
14598 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
14599 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14601 if test "x$enable_tests" = xno
; then :
14604 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14607 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14608 @cd $ac_dir && \$(MAKE)
14609 programs/winetest: $ac_dir
14610 check test: $ac_dir/__test__
14611 .PHONY: $ac_dir/__test__
14612 $ac_dir/__test__: dummy
14613 @cd $ac_dir && \$(MAKE) test
14615 \$(RM) $ac_dir/*.ok"
14617 if test "x$CROSSTEST_DISABLE" = x
14619 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14620 "crosstest: $ac_dir/__crosstest__
14621 .PHONY: $ac_dir/__crosstest__
14622 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14623 @cd $ac_dir && \$(MAKE) crosstest"
14628 wine_fn_config_tool
()
14632 if test "x$enable_tools" = xno
; then :
14636 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
14638 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
14639 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
14641 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14645 wine_fn_config_makerules
()
14649 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14650 "$ac_rules: $ac_rules.in $ac_deps config.status
14651 @./config.status $ac_rules
14656 wine_fn_config_symlink
()
14659 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14661 @./config.status $ac_link
14666 if test "x$CROSSTEST_DISABLE" != x
14668 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14670 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14672 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14673 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14674 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14675 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14676 if test "x$enable_fonts" != xno
; then
14677 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14678 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14680 if test "x$enable_fonts" != xno
; then
14681 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14682 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14684 if test "x$enable_fonts" != xno
; then
14685 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14686 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14688 if test "x$enable_fonts" != xno
; then
14689 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14690 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14692 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
14693 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
14694 if test "x$enable_tools" != xno
; then
14695 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14696 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14698 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14699 wine_fn_config_symlink wine
14700 if test "x$enable_win64" != xno
; then
14701 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
14702 wine_fn_config_symlink wine64
14705 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
14707 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14709 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14711 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14713 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14715 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14717 ac_config_commands
="$ac_config_commands include/wine"
14720 wine_fn_config_makerules Make.rules
14721 MAKE_RULES
=Make.rules
14722 ac_config_files
="$ac_config_files Make.rules"
14724 wine_fn_config_makerules Maketest.rules Make.rules
14725 MAKE_TEST_RULES
=Maketest.rules
14726 ac_config_files
="$ac_config_files Maketest.rules"
14728 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14729 MAKE_DLL_RULES
=dlls
/Makedll.rules
14730 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14732 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14733 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14734 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14736 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14737 MAKE_PROG_RULES
=programs
/Makeprog.rules
14738 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14741 wine_fn_config_dll acledit enable_acledit
14742 wine_fn_config_dll aclui enable_aclui implib
14743 wine_fn_config_dll activeds enable_activeds implib
14744 wine_fn_config_dll actxprxy enable_actxprxy
14745 wine_fn_config_lib adsiid
14746 wine_fn_config_dll advapi32 enable_advapi32 implib
14747 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14748 wine_fn_config_dll advpack enable_advpack implib
14749 wine_fn_config_test dlls
/advpack
/tests advpack_test
14750 wine_fn_config_dll amstream enable_amstream
14751 wine_fn_config_test dlls
/amstream
/tests amstream_test
14752 wine_fn_config_dll apphelp enable_apphelp
14753 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14754 wine_fn_config_dll atl enable_atl implib
14755 wine_fn_config_test dlls
/atl
/tests atl_test
14756 wine_fn_config_dll authz enable_authz
14757 wine_fn_config_dll avicap32 enable_avicap32 implib
14758 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
14759 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14760 wine_fn_config_dll avifile.dll16 enable_win16
14761 wine_fn_config_dll avrt enable_avrt implib
14762 wine_fn_config_dll bcrypt enable_bcrypt
14763 wine_fn_config_dll browseui enable_browseui po
14764 wine_fn_config_test dlls
/browseui
/tests browseui_test
14765 wine_fn_config_dll cabinet enable_cabinet implib
14766 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14767 wine_fn_config_dll capi2032 enable_capi2032 implib
14768 wine_fn_config_dll cards enable_cards implib
14769 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14770 wine_fn_config_dll clusapi enable_clusapi implib
14771 wine_fn_config_dll comcat enable_comcat
14772 wine_fn_config_test dlls
/comcat
/tests comcat_test
14773 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
14774 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14775 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
14776 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14777 wine_fn_config_dll
comm.drv16 enable_win16
14778 wine_fn_config_dll commdlg.dll16 enable_win16
14779 wine_fn_config_dll compobj.dll16 enable_win16
14780 wine_fn_config_dll compstui enable_compstui implib
14781 wine_fn_config_dll credui enable_credui implib
,po
14782 wine_fn_config_test dlls
/credui
/tests credui_test
14783 wine_fn_config_dll crtdll enable_crtdll implib
14784 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
14785 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14786 wine_fn_config_dll cryptdlg enable_cryptdlg po
14787 wine_fn_config_dll cryptdll enable_cryptdll implib
14788 wine_fn_config_dll cryptnet enable_cryptnet implib
14789 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14790 wine_fn_config_dll cryptui enable_cryptui implib
,po
14791 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14792 wine_fn_config_dll ctapi32 enable_ctapi32
14793 wine_fn_config_dll ctl3d.dll16 enable_win16
14794 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14795 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14796 wine_fn_config_dll d3d10 enable_d3d10 implib
14797 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14798 wine_fn_config_dll d3d10core enable_d3d10core implib
14799 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14800 wine_fn_config_dll d3d8 enable_d3d8 implib
14801 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14802 wine_fn_config_dll d3d9 enable_d3d9 implib
14803 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14804 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14805 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14806 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14807 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14808 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14809 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14810 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14811 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14812 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14813 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14814 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14815 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14816 wine_fn_config_dll d3dim enable_d3dim implib
14817 wine_fn_config_dll d3drm enable_d3drm implib
14818 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14819 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14820 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14821 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14822 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14823 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14824 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14825 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14826 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14827 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14828 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14829 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14830 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14831 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14832 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14833 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14834 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14835 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14836 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14837 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14838 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14839 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14840 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14841 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14842 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14843 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14844 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14845 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14846 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14847 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14848 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14849 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14850 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14851 wine_fn_config_dll d3dxof enable_d3dxof implib
14852 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14853 wine_fn_config_dll dbgeng enable_dbgeng implib
14854 wine_fn_config_dll dbghelp enable_dbghelp implib
14855 wine_fn_config_dll dciman32 enable_dciman32 implib
14856 wine_fn_config_dll ddeml.dll16 enable_win16
14857 wine_fn_config_dll ddraw enable_ddraw implib
14858 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14859 wine_fn_config_dll ddrawex enable_ddrawex
14860 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14861 wine_fn_config_dll devenum enable_devenum po
14862 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
14863 wine_fn_config_test dlls
/dinput
/tests dinput_test
14864 wine_fn_config_dll dinput8 enable_dinput8 implib
14865 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
14866 wine_fn_config_dll dispdib.dll16 enable_win16
14867 wine_fn_config_dll dispex enable_dispex
14868 wine_fn_config_test dlls
/dispex
/tests dispex_test
14869 wine_fn_config_dll display.drv16 enable_win16
14870 wine_fn_config_dll dmband enable_dmband
14871 wine_fn_config_dll dmcompos enable_dmcompos
14872 wine_fn_config_dll dmime enable_dmime
14873 wine_fn_config_test dlls
/dmime
/tests dmime_test
14874 wine_fn_config_dll dmloader enable_dmloader
14875 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14876 wine_fn_config_dll dmscript enable_dmscript
14877 wine_fn_config_dll dmstyle enable_dmstyle
14878 wine_fn_config_dll dmsynth enable_dmsynth
14879 wine_fn_config_dll dmusic enable_dmusic
14880 wine_fn_config_dll dmusic32 enable_dmusic32 implib
14881 wine_fn_config_dll dnsapi enable_dnsapi implib
14882 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14883 wine_fn_config_dll dplay enable_dplay implib
14884 wine_fn_config_dll dplayx enable_dplayx implib
14885 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14886 wine_fn_config_dll dpnaddr enable_dpnaddr
14887 wine_fn_config_dll dpnet enable_dpnet implib
14888 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
14889 wine_fn_config_dll dpnhpast enable_dpnhpast
14890 wine_fn_config_dll dpnlobby enable_dpnlobby
14891 wine_fn_config_dll dpwsockx enable_dpwsockx
14892 wine_fn_config_dll drmclien enable_drmclien
14893 wine_fn_config_dll dsound enable_dsound implib
14894 wine_fn_config_test dlls
/dsound
/tests dsound_test
14895 wine_fn_config_dll dssenh enable_dssenh
14896 wine_fn_config_dll dswave enable_dswave
14897 wine_fn_config_dll dwmapi enable_dwmapi implib
14898 wine_fn_config_dll dxdiagn enable_dxdiagn po
14899 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14900 wine_fn_config_lib dxerr8
14901 wine_fn_config_lib dxerr9
14902 wine_fn_config_dll dxgi enable_dxgi implib
14903 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14904 wine_fn_config_lib dxguid
14905 wine_fn_config_dll explorerframe enable_explorerframe
14906 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
14907 wine_fn_config_dll faultrep enable_faultrep implib
14908 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
14909 wine_fn_config_dll fltlib enable_fltlib
14910 wine_fn_config_dll fusion enable_fusion
14911 wine_fn_config_test dlls
/fusion
/tests fusion_test
14912 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14913 wine_fn_config_dll gameux enable_gameux
14914 wine_fn_config_test dlls
/gameux
/tests gameux_test
14915 wine_fn_config_dll gdi.exe16 enable_win16
14916 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
14917 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14918 wine_fn_config_dll gdiplus enable_gdiplus implib
14919 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14920 wine_fn_config_dll glu32 enable_glu32 implib
14921 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14922 wine_fn_config_dll gpkcsp enable_gpkcsp
14923 wine_fn_config_dll hal enable_hal
14924 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
14925 wine_fn_config_dll hid enable_hid implib
14926 wine_fn_config_dll hlink enable_hlink implib
14927 wine_fn_config_test dlls
/hlink
/tests hlink_test
14928 wine_fn_config_dll hnetcfg enable_hnetcfg
14929 wine_fn_config_dll httpapi enable_httpapi
14930 wine_fn_config_dll iccvid enable_iccvid po
14931 wine_fn_config_dll icmp enable_icmp
14932 wine_fn_config_dll ieframe enable_ieframe implib
,po
14933 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
14934 wine_fn_config_dll ifsmgr.vxd enable_win16
14935 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14936 wine_fn_config_dll imagehlp enable_imagehlp implib
14937 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14938 wine_fn_config_dll imm.dll16 enable_win16
14939 wine_fn_config_dll imm32 enable_imm32 implib
14940 wine_fn_config_test dlls
/imm32
/tests imm32_test
14941 wine_fn_config_dll inetcomm enable_inetcomm implib
14942 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14943 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
14944 wine_fn_config_dll inetmib1 enable_inetmib1
14945 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14946 wine_fn_config_dll infosoft enable_infosoft
14947 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14948 wine_fn_config_dll initpki enable_initpki
14949 wine_fn_config_dll inkobj enable_inkobj
14950 wine_fn_config_dll inseng enable_inseng
14951 wine_fn_config_dll iphlpapi enable_iphlpapi implib
14952 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14953 wine_fn_config_dll itircl enable_itircl
14954 wine_fn_config_dll itss enable_itss
14955 wine_fn_config_test dlls
/itss
/tests itss_test
14956 wine_fn_config_dll jscript enable_jscript po
14957 wine_fn_config_test dlls
/jscript
/tests jscript_test
14958 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
14959 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14960 wine_fn_config_dll keyboard.drv16 enable_win16
14961 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
14962 wine_fn_config_dll ktmw32 enable_ktmw32
14963 wine_fn_config_dll loadperf enable_loadperf implib
14964 wine_fn_config_dll localspl enable_localspl po
14965 wine_fn_config_test dlls
/localspl
/tests localspl_test
14966 wine_fn_config_dll localui enable_localui po
14967 wine_fn_config_test dlls
/localui
/tests localui_test
14968 wine_fn_config_dll lz32 enable_lz32 implib
14969 wine_fn_config_test dlls
/lz32
/tests lz32_test
14970 wine_fn_config_dll lzexpand.dll16 enable_win16
14971 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
14972 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14973 wine_fn_config_dll mapistub enable_mapistub
14974 wine_fn_config_dll mciavi32 enable_mciavi32
14975 wine_fn_config_dll mcicda enable_mcicda
14976 wine_fn_config_dll mciqtz32 enable_mciqtz32
14977 wine_fn_config_dll mciseq enable_mciseq
14978 wine_fn_config_dll mciwave enable_mciwave
14979 wine_fn_config_dll midimap enable_midimap
14980 wine_fn_config_dll mlang enable_mlang implib
14981 wine_fn_config_test dlls
/mlang
/tests mlang_test
14982 wine_fn_config_dll mmcndmgr enable_mmcndmgr
14983 wine_fn_config_dll mmdevapi enable_mmdevapi
14984 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14985 wine_fn_config_dll mmdevldr.vxd enable_win16
14986 wine_fn_config_dll mmsystem.dll16 enable_win16
14987 wine_fn_config_dll monodebg.vxd enable_win16
14988 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14989 wine_fn_config_dll mouse.drv16 enable_win16
14990 wine_fn_config_dll mpr enable_mpr implib
,po
14991 wine_fn_config_dll mprapi enable_mprapi implib
14992 wine_fn_config_dll msacm.dll16 enable_win16
14993 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14994 wine_fn_config_dll msacm32 enable_msacm32 implib
14995 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14996 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14997 wine_fn_config_dll mscat32 enable_mscat32
14998 wine_fn_config_dll mscms enable_mscms implib
14999 wine_fn_config_test dlls
/mscms
/tests mscms_test
15000 wine_fn_config_dll mscoree enable_mscoree
15001 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15002 wine_fn_config_dll msctf enable_msctf
15003 wine_fn_config_test dlls
/msctf
/tests msctf_test
15004 wine_fn_config_dll msdaps enable_msdaps
15005 wine_fn_config_dll msdmo enable_msdmo implib
15006 wine_fn_config_dll msftedit enable_msftedit
15007 wine_fn_config_dll msg711.acm enable_msg711_acm
15008 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15009 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15010 wine_fn_config_dll mshtml enable_mshtml implib
,po
15011 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15012 wine_fn_config_dll msi enable_msi implib
,po
15013 wine_fn_config_test dlls
/msi
/tests msi_test
15014 wine_fn_config_dll msimg32 enable_msimg32 implib
15015 wine_fn_config_dll msimsg enable_msimsg
15016 wine_fn_config_dll msimtf enable_msimtf
15017 wine_fn_config_dll msisip enable_msisip
15018 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15019 wine_fn_config_dll msnet32 enable_msnet32
15020 wine_fn_config_dll mspatcha enable_mspatcha
15021 wine_fn_config_dll msrle32 enable_msrle32 po
15022 wine_fn_config_dll mssign32 enable_mssign32
15023 wine_fn_config_dll mssip32 enable_mssip32
15024 wine_fn_config_dll mstask enable_mstask
15025 wine_fn_config_test dlls
/mstask
/tests mstask_test
15026 wine_fn_config_dll msvcirt enable_msvcirt
15027 wine_fn_config_dll msvcp100 enable_msvcp100
15028 wine_fn_config_dll msvcp60 enable_msvcp60
15029 wine_fn_config_dll msvcp70 enable_msvcp70
15030 wine_fn_config_dll msvcp71 enable_msvcp71
15031 wine_fn_config_dll msvcp80 enable_msvcp80
15032 wine_fn_config_dll msvcp90 enable_msvcp90
15033 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15034 wine_fn_config_dll msvcr100 enable_msvcr100
15035 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15036 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15037 wine_fn_config_dll msvcr80 enable_msvcr80
15038 wine_fn_config_dll msvcr90 enable_msvcr90
15039 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15040 wine_fn_config_dll msvcrt enable_msvcrt implib
15041 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15042 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15043 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15044 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15045 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15046 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15047 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15048 wine_fn_config_dll msvidc32 enable_msvidc32 po
15049 wine_fn_config_dll msvideo.dll16 enable_win16
15050 wine_fn_config_dll mswsock enable_mswsock implib
15051 wine_fn_config_dll msxml enable_msxml
15052 wine_fn_config_dll msxml2 enable_msxml2
15053 wine_fn_config_dll msxml3 enable_msxml3
15054 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15055 wine_fn_config_dll msxml4 enable_msxml4
15056 wine_fn_config_dll msxml6 enable_msxml6
15057 wine_fn_config_dll nddeapi enable_nddeapi implib
15058 wine_fn_config_dll netapi32 enable_netapi32 implib
15059 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15060 wine_fn_config_dll newdev enable_newdev implib
15061 wine_fn_config_dll normaliz enable_normaliz implib
15062 wine_fn_config_dll npmshtml enable_npmshtml
15063 wine_fn_config_dll ntdll enable_ntdll implib
15064 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15065 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15066 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15067 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15068 wine_fn_config_dll ntprint enable_ntprint
15069 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15070 wine_fn_config_dll objsel enable_objsel
15071 wine_fn_config_dll odbc32 enable_odbc32 implib
15072 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15073 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15074 wine_fn_config_dll ole2.dll16 enable_win16
15075 wine_fn_config_dll ole2conv.dll16 enable_win16
15076 wine_fn_config_dll ole2disp.dll16 enable_win16
15077 wine_fn_config_dll ole2nls.dll16 enable_win16
15078 wine_fn_config_dll ole2prox.dll16 enable_win16
15079 wine_fn_config_dll ole2thk.dll16 enable_win16
15080 wine_fn_config_dll ole32 enable_ole32 implib
15081 wine_fn_config_test dlls
/ole32
/tests ole32_test
15082 wine_fn_config_dll oleacc enable_oleacc implib
,po
15083 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15084 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15085 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15086 wine_fn_config_dll olecli.dll16 enable_win16
15087 wine_fn_config_dll olecli32 enable_olecli32 implib
15088 wine_fn_config_dll oledb32 enable_oledb32
15089 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15090 wine_fn_config_dll oledlg enable_oledlg implib
,po
15091 wine_fn_config_dll olepro32 enable_olepro32 implib
15092 wine_fn_config_dll olesvr.dll16 enable_win16
15093 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15094 wine_fn_config_dll olethk32 enable_olethk32
15095 wine_fn_config_dll openal32 enable_openal32
15096 wine_fn_config_dll opencl enable_opencl
15097 wine_fn_config_dll opengl32 enable_opengl32 implib
15098 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15099 wine_fn_config_dll pdh enable_pdh implib
15100 wine_fn_config_test dlls
/pdh
/tests pdh_test
15101 wine_fn_config_dll pidgen enable_pidgen
15102 wine_fn_config_dll powrprof enable_powrprof implib
15103 wine_fn_config_dll printui enable_printui
15104 wine_fn_config_dll propsys enable_propsys implib
15105 wine_fn_config_test dlls
/propsys
/tests propsys_test
15106 wine_fn_config_dll psapi enable_psapi implib
15107 wine_fn_config_test dlls
/psapi
/tests psapi_test
15108 wine_fn_config_dll pstorec enable_pstorec
15109 wine_fn_config_dll qcap enable_qcap
15110 wine_fn_config_dll qedit enable_qedit
15111 wine_fn_config_test dlls
/qedit
/tests qedit_test
15112 wine_fn_config_dll qmgr enable_qmgr
15113 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15114 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15115 wine_fn_config_dll quartz enable_quartz implib
15116 wine_fn_config_test dlls
/quartz
/tests quartz_test
15117 wine_fn_config_dll query enable_query
15118 wine_fn_config_dll rasapi16.dll16 enable_win16
15119 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15120 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15121 wine_fn_config_dll rasdlg enable_rasdlg implib
15122 wine_fn_config_dll regapi enable_regapi
15123 wine_fn_config_dll resutils enable_resutils implib
15124 wine_fn_config_dll riched20 enable_riched20 implib
15125 wine_fn_config_test dlls
/riched20
/tests riched20_test
15126 wine_fn_config_dll riched32 enable_riched32
15127 wine_fn_config_test dlls
/riched32
/tests riched32_test
15128 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15129 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15130 wine_fn_config_dll rsabase enable_rsabase
15131 wine_fn_config_dll rsaenh enable_rsaenh implib
15132 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15133 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15134 wine_fn_config_dll rtutils enable_rtutils implib
15135 wine_fn_config_dll samlib enable_samlib
15136 wine_fn_config_dll sane.ds enable_sane_ds po
15137 wine_fn_config_dll scarddlg enable_scarddlg
15138 wine_fn_config_dll sccbase enable_sccbase
15139 wine_fn_config_dll schannel enable_schannel
15140 wine_fn_config_test dlls
/schannel
/tests schannel_test
15141 wine_fn_config_dll scrrun enable_scrrun
15142 wine_fn_config_dll secur32 enable_secur32 implib
15143 wine_fn_config_test dlls
/secur32
/tests secur32_test
15144 wine_fn_config_dll security enable_security
15145 wine_fn_config_dll sensapi enable_sensapi implib
15146 wine_fn_config_dll serialui enable_serialui implib
15147 wine_fn_config_test dlls
/serialui
/tests serialui_test
15148 wine_fn_config_dll setupapi enable_setupapi implib
,po
15149 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15150 wine_fn_config_dll setupx.dll16 enable_win16
15151 wine_fn_config_dll sfc enable_sfc implib
15152 wine_fn_config_dll sfc_os enable_sfc_os implib
15153 wine_fn_config_dll shdoclc enable_shdoclc po
15154 wine_fn_config_dll shdocvw enable_shdocvw implib
15155 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15156 wine_fn_config_dll shell.dll16 enable_win16
15157 wine_fn_config_dll shell32 enable_shell32 implib
,po
15158 wine_fn_config_test dlls
/shell32
/tests shell32_test
15159 wine_fn_config_dll shfolder enable_shfolder implib
15160 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15161 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15162 wine_fn_config_dll slbcsp enable_slbcsp
15163 wine_fn_config_dll slc enable_slc implib
15164 wine_fn_config_dll snmpapi enable_snmpapi implib
15165 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15166 wine_fn_config_dll softpub enable_softpub
15167 wine_fn_config_dll sound.drv16 enable_win16
15168 wine_fn_config_dll spoolss enable_spoolss implib
15169 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15170 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15171 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15172 wine_fn_config_dll sti enable_sti implib
15173 wine_fn_config_test dlls
/sti
/tests sti_test
15174 wine_fn_config_dll storage.dll16 enable_win16
15175 wine_fn_config_dll stress.dll16 enable_win16
15176 wine_fn_config_lib strmbase
15177 wine_fn_config_lib strmiids
15178 wine_fn_config_dll svrapi enable_svrapi
15179 wine_fn_config_dll sxs enable_sxs
15180 wine_fn_config_dll system.drv16 enable_win16
15181 wine_fn_config_dll t2embed enable_t2embed
15182 wine_fn_config_dll tapi32 enable_tapi32 implib
15183 wine_fn_config_dll toolhelp.dll16 enable_win16
15184 wine_fn_config_dll traffic enable_traffic
15185 wine_fn_config_dll twain.dll16 enable_win16
15186 wine_fn_config_dll twain_32 enable_twain_32
15187 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15188 wine_fn_config_dll typelib.dll16 enable_win16
15189 wine_fn_config_dll unicows enable_unicows implib
15190 wine_fn_config_dll updspapi enable_updspapi
15191 wine_fn_config_dll url enable_url implib
15192 wine_fn_config_dll urlmon enable_urlmon implib
15193 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15194 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15195 wine_fn_config_dll user.exe16 enable_win16
15196 wine_fn_config_dll user32 enable_user32 implib
,po
15197 wine_fn_config_test dlls
/user32
/tests user32_test
15198 wine_fn_config_dll userenv enable_userenv implib
15199 wine_fn_config_test dlls
/userenv
/tests userenv_test
15200 wine_fn_config_dll usp10 enable_usp10 implib
15201 wine_fn_config_test dlls
/usp10
/tests usp10_test
15202 wine_fn_config_lib uuid
15203 wine_fn_config_dll uxtheme enable_uxtheme implib
15204 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15205 wine_fn_config_dll vbscript enable_vbscript
15206 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15207 wine_fn_config_dll vcomp enable_vcomp
15208 wine_fn_config_dll vdhcp.vxd enable_win16
15209 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15210 wine_fn_config_dll ver.dll16 enable_win16
15211 wine_fn_config_dll version enable_version implib
15212 wine_fn_config_test dlls
/version
/tests version_test
15213 wine_fn_config_dll vmm.vxd enable_win16
15214 wine_fn_config_dll vnbt.vxd enable_win16
15215 wine_fn_config_dll vnetbios.vxd enable_win16
15216 wine_fn_config_dll vtdapi.vxd enable_win16
15217 wine_fn_config_dll vwin32.vxd enable_win16
15218 wine_fn_config_dll w32skrnl enable_win16
15219 wine_fn_config_dll w32sys.dll16 enable_win16
15220 wine_fn_config_dll wbemprox enable_wbemprox
15221 wine_fn_config_dll wer enable_wer implib
15222 wine_fn_config_test dlls
/wer
/tests wer_test
15223 wine_fn_config_dll wiaservc enable_wiaservc
15224 wine_fn_config_dll win32s16.dll16 enable_win16
15225 wine_fn_config_dll win87em.dll16 enable_win16
15226 wine_fn_config_dll winaspi.dll16 enable_win16
15227 wine_fn_config_dll windebug.dll16 enable_win16
15228 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15229 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15230 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15231 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15232 wine_fn_config_lib winecrt0
15233 wine_fn_config_dll wined3d enable_wined3d implib
15234 wine_fn_config_dll winegstreamer enable_winegstreamer
15235 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15236 wine_fn_config_dll winemapi enable_winemapi
15237 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15238 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15239 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15240 wine_fn_config_dll wineps16.drv16 enable_win16
15241 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15242 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15243 wine_fn_config_dll winex11.drv enable_winex11_drv
15244 wine_fn_config_dll wing.dll16 enable_win16
15245 wine_fn_config_dll wing32 enable_wing32
15246 wine_fn_config_dll winhttp enable_winhttp implib
15247 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15248 wine_fn_config_dll wininet enable_wininet implib
,po
15249 wine_fn_config_test dlls
/wininet
/tests wininet_test
15250 wine_fn_config_dll winmm enable_winmm implib
,po
15251 wine_fn_config_test dlls
/winmm
/tests winmm_test
15252 wine_fn_config_dll winnls.dll16 enable_win16
15253 wine_fn_config_dll winnls32 enable_winnls32 implib
15254 wine_fn_config_dll winscard enable_winscard implib
15255 wine_fn_config_dll winsock.dll16 enable_win16
15256 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15257 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15258 wine_fn_config_dll winsta enable_winsta
15259 wine_fn_config_dll wintab.dll16 enable_win16
15260 wine_fn_config_dll wintab32 enable_wintab32 implib
15261 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15262 wine_fn_config_dll wintrust enable_wintrust implib
15263 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15264 wine_fn_config_dll wlanapi enable_wlanapi
15265 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15266 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15267 wine_fn_config_dll wmi enable_wmi
15268 wine_fn_config_dll wmiutils enable_wmiutils
15269 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15270 wine_fn_config_dll wow32 enable_win16 implib
15271 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15272 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15273 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15274 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15275 wine_fn_config_dll wsock32 enable_wsock32 implib
15276 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15277 wine_fn_config_dll wuapi enable_wuapi
15278 wine_fn_config_dll wuaueng enable_wuaueng
15279 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15280 wine_fn_config_dll xinput1_1 enable_xinput1_1
15281 wine_fn_config_dll xinput1_2 enable_xinput1_2
15282 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15283 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15284 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15285 wine_fn_config_dll xmllite enable_xmllite
15286 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15287 wine_fn_config_dll xolehlp enable_xolehlp
15288 wine_fn_config_makefile documentation enable_documentation
15289 wine_fn_config_makefile fonts enable_fonts install-lib
15290 wine_fn_config_makefile include enable_include install-dev
15291 wine_fn_config_makefile libs
/port enable_libs_port
15292 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15293 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15294 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15295 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15296 wine_fn_config_program attrib enable_attrib
install,po
15297 wine_fn_config_program cabarc enable_cabarc
install
15298 wine_fn_config_program cacls enable_cacls
install
15299 wine_fn_config_program
clock enable_clock
install,po
15300 wine_fn_config_program cmd enable_cmd
install,po
15301 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15302 wine_fn_config_program cmdlgtst enable_cmdlgtst
15303 wine_fn_config_program control enable_control
install
15304 wine_fn_config_program dxdiag enable_dxdiag
install,po
15305 wine_fn_config_program eject enable_eject
install
15306 wine_fn_config_program
expand enable_expand
install
15307 wine_fn_config_program explorer enable_explorer
install,po
15308 wine_fn_config_program extrac32 enable_extrac32
install
15309 wine_fn_config_program hh enable_hh
install
15310 wine_fn_config_program hostname enable_hostname
install,po
15311 wine_fn_config_program icinfo enable_icinfo
install
15312 wine_fn_config_program iexplore enable_iexplore
install
15313 wine_fn_config_program ipconfig enable_ipconfig
install,po
15314 wine_fn_config_program lodctr enable_lodctr
install
15315 wine_fn_config_program mofcomp enable_mofcomp
install
15316 wine_fn_config_program mshta enable_mshta
install
15317 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15318 wine_fn_config_program net enable_net
install,po
15319 wine_fn_config_program netsh enable_netsh
install
15320 wine_fn_config_program ngen enable_ngen
install
15321 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15322 wine_fn_config_program oleview enable_oleview
install,po
15323 wine_fn_config_program
ping enable_ping
install
15324 wine_fn_config_program plugplay enable_plugplay
install
15325 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15326 wine_fn_config_program progman enable_progman
install,po
15327 wine_fn_config_program reg enable_reg
install,po
15328 wine_fn_config_program regasm enable_regasm
install
15329 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15330 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15331 wine_fn_config_program regsvcs enable_regsvcs
install
15332 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15333 wine_fn_config_program rpcss enable_rpcss
install
15334 wine_fn_config_program rundll.exe16 enable_win16
install
15335 wine_fn_config_program rundll32 enable_rundll32
install
15336 wine_fn_config_program sc enable_sc
install
15337 wine_fn_config_program secedit enable_secedit
install
15338 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15339 wine_fn_config_program services enable_services
install
15340 wine_fn_config_program spoolsv enable_spoolsv
install
15341 wine_fn_config_program start enable_start
install,po
15342 wine_fn_config_program svchost enable_svchost
install
15343 wine_fn_config_program taskkill enable_taskkill
install,po
15344 wine_fn_config_program taskmgr enable_taskmgr
install,po
15345 wine_fn_config_program termsv enable_termsv
install
15346 wine_fn_config_program uninstaller enable_uninstaller
install,po
15347 wine_fn_config_program unlodctr enable_unlodctr
install
15348 wine_fn_config_program view enable_view
install,po
15349 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
15350 wine_fn_config_program winebrowser enable_winebrowser
install
15351 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15352 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15353 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15354 wine_fn_config_program winedevice enable_winedevice
install
15355 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15356 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15357 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15358 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15359 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15360 wine_fn_config_program winetest enable_winetest
15361 wine_fn_config_program winevdm enable_win16
install
15362 wine_fn_config_program winhelp.exe16 enable_win16
install
15363 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15364 wine_fn_config_program winoldap.mod16 enable_win16
install
15365 wine_fn_config_program winver enable_winver
install
15366 wine_fn_config_program wmic enable_wmic
install
15367 wine_fn_config_program wordpad enable_wordpad
install,po
15368 wine_fn_config_program
write enable_write
install,po
15369 wine_fn_config_program wscript enable_wscript
install
15370 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15371 wine_fn_config_program xcopy enable_xcopy
install,po
15372 wine_fn_config_makefile server enable_server install-lib
,manpage
15373 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15374 wine_fn_config_tool tools
/widl install-dev
,manpage
15375 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15376 wine_fn_config_tool tools
/winedump install-dev
,manpage
15377 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15378 wine_fn_config_tool tools
/wmc install-dev
,manpage
15379 wine_fn_config_tool tools
/wrc install-dev
,manpage
15429 ac_config_commands
="$ac_config_commands Makefile"
15432 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15436 if test "x$enable_maintainer_mode" = xyes
15438 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15439 cd \$(srcdir) && autoconf --warnings=all
15440 \$(srcdir)/include/config.h.in: include/stamp-h.in
15441 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15442 cd \$(srcdir) && autoheader --warnings=all
15443 @echo timestamp > \$@"
15446 if test "x$with_gettextpo" = xyes
15448 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15449 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15450 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15451 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15452 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15453 msgcat -o \$@ \$(ALL_POT_FILES)"
15456 if test "$MSGFMT" != false
15458 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15460 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15465 if test "x$enable_tools" != xno
15467 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15469 \$(RM) tools/makedep\$(EXEEXT)"
15472 if test -n "$with_wine64"
15474 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15475 fonts server tools:
15476 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15477 $with_wine64/loader/wine:
15478 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15479 $with_wine64/loader/wine-preloader:
15480 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15482 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15485 cat >confcache
<<\_ACEOF
15486 # This file is a shell script that caches the results of configure
15487 # tests run on this system so they can be shared between configure
15488 # scripts and configure runs, see configure's option --config-cache.
15489 # It is not useful on other systems. If it contains results you don't
15490 # want to keep, you may remove or edit it.
15492 # config.status only pays attention to the cache file if you give it
15493 # the --recheck option to rerun configure.
15495 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15496 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15497 # following values.
15501 # The following way of writing the cache mishandles newlines in values,
15502 # but we know of no workaround that is simple, portable, and efficient.
15503 # So, we kill variables containing newlines.
15504 # Ultrix sh set writes to stderr and can't be redirected directly,
15505 # and sets the high bit in the cache file unless we assign to the vars.
15507 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15508 eval ac_val
=\$
$ac_var
15512 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15513 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15516 _ | IFS | as_nl
) ;; #(
15517 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15518 *) { eval $ac_var=; unset $ac_var;} ;;
15524 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15525 *${as_nl}ac_space
=\
*)
15526 # `set' does not quote correctly, so add quotes: double-quote
15527 # substitution turns \\\\ into \\, and sed turns \\ into \.
15530 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15533 # `set' quotes correctly as required by POSIX, so do not add quotes.
15534 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15543 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15545 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15547 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15548 if test -w "$cache_file"; then
15549 if test "x$cache_file" != "x/dev/null"; then
15550 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15551 $as_echo "$as_me: updating cache $cache_file" >&6;}
15552 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15553 cat confcache
>"$cache_file"
15555 case $cache_file in #(
15557 mv -f confcache
"$cache_file"$$
&&
15558 mv -f "$cache_file"$$
"$cache_file" ;; #(
15560 mv -f confcache
"$cache_file" ;;
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15566 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15571 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15572 # Let make expand exec_prefix.
15573 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15575 DEFS
=-DHAVE_CONFIG_H
15580 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15581 # 1. Remove the extension, and $U if already installed.
15582 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15583 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15584 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15585 # will be set to the directory where LIBOBJS objects are built.
15586 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15587 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15589 LIBOBJS
=$ac_libobjs
15591 LTLIBOBJS
=$ac_ltlibobjs
15595 : "${CONFIG_STATUS=./config.status}"
15597 ac_clean_files_save
=$ac_clean_files
15598 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15600 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15602 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15604 # Generated by $as_me.
15605 # Run this file to recreate the current configuration.
15606 # Compiler output produced by configure, useful for debugging
15607 # configure, is in config.log if it exists.
15610 ac_cs_recheck=false
15613 SHELL=\${CONFIG_SHELL-$SHELL}
15616 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15617 ## -------------------- ##
15618 ## M4sh Initialization. ##
15619 ## -------------------- ##
15621 # Be more Bourne compatible
15622 DUALCASE
=1; export DUALCASE
# for MKS sh
15623 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15626 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15627 # is contrary to our usage. Disable this feature.
15628 alias -g '${1+"$@"}'='"$@"'
15629 setopt NO_GLOB_SUBST
15631 case `(set -o) 2>/dev/null` in #(
15643 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15644 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15645 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15646 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15647 # Prefer a ksh shell builtin over an external printf program on Solaris,
15648 # but without wasting forks for bash or zsh.
15649 if test -z "$BASH_VERSION$ZSH_VERSION" \
15650 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15651 as_echo='print
-r --'
15652 as_echo_n='print
-rn --'
15653 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15654 as_echo='printf %s
\n'
15655 as_echo_n='printf %s
'
15657 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15658 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15659 as_echo_n='/usr
/ucb
/echo -n'
15661 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15662 as_echo_n_body='eval
15666 expr "X$arg" : "X\\(.*\\)$as_nl";
15667 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15669 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15671 export as_echo_n_body
15672 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15674 export as_echo_body
15675 as_echo='sh
-c $as_echo_body as_echo
'
15678 # The user is always right.
15679 if test "${PATH_SEPARATOR+set}" != set; then
15681 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15682 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15689 # We need space, tab and new line, in precisely that order. Quoting is
15690 # there to prevent editors from complaining about space-tab.
15691 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15692 # splitting by setting IFS to empty value.)
15695 # Find who we are. Look in the path if we contain no directory separator.
15698 *[\\/]* ) as_myself=$0 ;;
15699 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15700 for as_dir in $PATH
15703 test -z "$as_dir" && as_dir=.
15704 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15710 # We did not find ourselves, most probably we were run as `sh COMMAND'
15711 # in which case we are not to be found in the path.
15712 if test "x$as_myself" = x
; then
15715 if test ! -f "$as_myself"; then
15716 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15720 # Unset variables that we do not need and which cause bugs (e.g. in
15721 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15722 # suppresses any "Segmentation fault" message there. '((' could
15723 # trigger a bug in pdksh 5.2.14.
15724 for as_var
in BASH_ENV ENV MAIL MAILPATH
15725 do eval test x\
${$as_var+set} = xset \
15726 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15739 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15742 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15743 # ----------------------------------------
15744 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15745 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15746 # script with STATUS, using 1 if that was 0.
15749 as_status
=$1; test $as_status -eq 0 && as_status
=1
15751 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15752 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15754 $as_echo "$as_me: error: $2" >&2
15755 as_fn_exit
$as_status
15759 # as_fn_set_status STATUS
15760 # -----------------------
15761 # Set $? to STATUS, without forking.
15762 as_fn_set_status
()
15765 } # as_fn_set_status
15767 # as_fn_exit STATUS
15768 # -----------------
15769 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15773 as_fn_set_status
$1
15779 # Portably unset VAR.
15782 { eval $1=; unset $1;}
15784 as_unset
=as_fn_unset
15785 # as_fn_append VAR VALUE
15786 # ----------------------
15787 # Append the text in VALUE to the end of the definition contained in VAR. Take
15788 # advantage of any shell optimizations that allow amortized linear growth over
15789 # repeated appends, instead of the typical quadratic growth present in naive
15791 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15792 eval 'as_fn_append ()
15803 # as_fn_arith ARG...
15804 # ------------------
15805 # Perform arithmetic evaluation on the ARGs, and store the result in the
15806 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15807 # must be portable across $(()) and expr.
15808 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15809 eval 'as_fn_arith ()
15816 as_val
=`expr "$@" || test $? -eq 1`
15821 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15822 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15828 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15829 as_basename
=basename
15834 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15840 as_me
=`$as_basename -- "$0" ||
15841 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15842 X"$0" : 'X\(//\)$' \| \
15843 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15845 sed '/^.*\/\([^/][^/]*\)\/*$/{
15859 # Avoid depending upon Character Ranges.
15860 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15861 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15862 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15863 as_cr_digits
='0123456789'
15864 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15866 ECHO_C
= ECHO_N
= ECHO_T
=
15867 case `echo -n x` in #(((((
15869 case `echo 'xy\c'` in
15870 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15872 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15879 rm -f conf$$ conf$$.exe conf$$.
file
15880 if test -d conf$$.dir
; then
15881 rm -f conf$$.dir
/conf$$.
file
15884 mkdir conf$$.dir
2>/dev
/null
15886 if (echo >conf$$.
file) 2>/dev
/null
; then
15887 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15889 # ... but there are two gotchas:
15890 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15891 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15892 # In both cases, we have to default to `cp -p'.
15893 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15895 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15903 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15904 rmdir conf$$.dir
2>/dev
/null
15909 # Create "$as_dir" as a directory, including parents if necessary.
15914 -*) as_dir
=.
/$as_dir;;
15916 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15920 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15921 *) as_qdir
=$as_dir;;
15923 as_dirs
="'$as_qdir' $as_dirs"
15924 as_dir
=`$as_dirname -- "$as_dir" ||
15925 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15926 X"$as_dir" : 'X\(//\)[^/]' \| \
15927 X"$as_dir" : 'X\(//\)$' \| \
15928 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15929 $as_echo X"$as_dir" |
15930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15934 /^X\(\/\/\)[^/].*/{
15947 test -d "$as_dir" && break
15949 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15950 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15954 if mkdir
-p .
2>/dev
/null
; then
15955 as_mkdir_p
='mkdir -p "$as_dir"'
15957 test -d .
/-p && rmdir .
/-p
15961 if test -x / >/dev
/null
2>&1; then
15962 as_test_x
='test -x'
15964 if ls -dL / >/dev
/null
2>&1; then
15971 if test -d "$1"; then
15977 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15978 ???[sx]*):;;*)false;;esac;fi
15982 as_executable_p
=$as_test_x
15984 # Sed expression to map a string onto a valid CPP name.
15985 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15987 # Sed expression to map a string onto a valid variable name.
15988 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15992 ## ----------------------------------- ##
15993 ## Main body of $CONFIG_STATUS script. ##
15994 ## ----------------------------------- ##
15996 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15998 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15999 # Save the log message, to keep $0 and so on meaningful, and to
16000 # report actual input values of CONFIG_FILES etc. instead of their
16001 # values after options handling.
16003 This file was extended by Wine $as_me 1.3.33, which was
16004 generated by GNU Autoconf 2.68. Invocation command line was
16006 CONFIG_FILES = $CONFIG_FILES
16007 CONFIG_HEADERS = $CONFIG_HEADERS
16008 CONFIG_LINKS = $CONFIG_LINKS
16009 CONFIG_COMMANDS = $CONFIG_COMMANDS
16012 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16017 case $ac_config_files in *"
16018 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16021 case $ac_config_headers in *"
16022 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16026 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16027 # Files that config.status was made for.
16028 config_files="$ac_config_files"
16029 config_headers="$ac_config_headers"
16030 config_links="$ac_config_links"
16031 config_commands="$ac_config_commands"
16035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16037 \`$as_me' instantiates files and other configuration actions
16038 from templates according to the current configuration. Unless the files
16039 and actions are specified as TAGs, all are instantiated by default.
16041 Usage: $0 [OPTION]... [TAG]...
16043 -h, --help print this help, then exit
16044 -V, --version print version number and configuration settings, then exit
16045 --config print configuration, then exit
16046 -q, --quiet, --silent
16047 do not print progress messages
16048 -d, --debug don't remove temporary files
16049 --recheck update $as_me by reconfiguring in the same conditions
16050 --file=FILE[:TEMPLATE]
16051 instantiate the configuration file FILE
16052 --header=FILE[:TEMPLATE]
16053 instantiate the configuration header FILE
16055 Configuration files:
16058 Configuration headers:
16061 Configuration links:
16064 Configuration commands:
16067 Report bugs to <wine-devel@winehq.org>.
16068 Wine home page: <http://www.winehq.org>."
16071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16072 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16074 Wine config.status 1.3.33
16075 configured by $0, generated by GNU Autoconf 2.68,
16076 with options \\"\$ac_cs_config\\"
16078 Copyright (C) 2010 Free Software Foundation, Inc.
16079 This config.status script is free software; the Free Software Foundation
16080 gives unlimited permission to copy, distribute and modify it."
16085 test -n "\$AWK" || AWK=awk
16088 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16089 # The default lists apply if the user does not specify any file.
16095 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16096 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16100 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16112 # Handling of the options.
16113 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16115 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16116 $as_echo "$ac_cs_version"; exit ;;
16117 --config |
--confi |
--conf |
--con |
--co |
--c )
16118 $as_echo "$ac_cs_config"; exit ;;
16119 --debug |
--debu |
--deb |
--de |
--d |
-d )
16121 --file |
--fil |
--fi |
--f )
16124 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16125 '') as_fn_error $?
"missing file argument" ;;
16127 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16128 ac_need_defaults
=false
;;
16129 --header |
--heade |
--head |
--hea )
16132 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16134 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16135 ac_need_defaults
=false
;;
16137 # Conflict between --help and --header
16138 as_fn_error $?
"ambiguous option: \`$1'
16139 Try \`$0 --help' for more information.";;
16140 --help |
--hel |
-h )
16141 $as_echo "$ac_cs_usage"; exit ;;
16142 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16143 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16146 # This is an error.
16147 -*) as_fn_error $?
"unrecognized option: \`$1'
16148 Try \`$0 --help' for more information." ;;
16150 *) as_fn_append ac_config_targets
" $1"
16151 ac_need_defaults
=false
;;
16157 ac_configure_extra_args
=
16159 if $ac_cs_silent; then
16161 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16165 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16166 if \$ac_cs_recheck; then
16167 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16169 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16170 CONFIG_SHELL='$SHELL'
16171 export CONFIG_SHELL
16176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16180 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16181 ## Running $as_me. ##
16187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16191 wine_fn_output_makefile ()
16193 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16194 $ALL_MAKEFILE_DEPENDS
16196 as_fn_error $? "could not create Makefile" "$LINENO" 5
16201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16203 # Handling of arguments.
16204 for ac_config_target
in $ac_config_targets
16206 case $ac_config_target in
16207 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16208 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16209 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16210 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16211 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16212 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16213 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16214 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16215 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16216 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16217 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16218 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16219 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16220 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16221 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16222 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16223 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16224 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16225 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16226 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16227 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16228 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16229 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16230 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16231 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16232 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16234 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16239 # If the user did not use the arguments to specify the items to instantiate,
16240 # then the envvar interface is used. Set only those that are not.
16241 # We use the long form for the default assignment because of an extremely
16242 # bizarre bug on SunOS 4.1.3.
16243 if $ac_need_defaults; then
16244 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16245 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16246 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16247 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16250 # Have a temporary directory for convenience. Make it in the build tree
16251 # simply because there is no reason against having it here, and in addition,
16252 # creating and moving files from /tmp can sometimes cause problems.
16253 # Hook for its removal unless debugging.
16254 # Note that there is a small window in which the directory will not be cleaned:
16255 # after its creation but before its name has been assigned to `$tmp'.
16259 trap 'exit_status=$?
16260 : "${ac_tmp:=$tmp}"
16261 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16263 trap 'as_fn_exit 1' 1 2 13 15
16265 # Create a (secure) tmp directory for tmp files.
16268 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16272 tmp
=.
/conf$$
-$RANDOM
16273 (umask 077 && mkdir
"$tmp")
16274 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16277 # Set up the scripts for CONFIG_FILES section.
16278 # No need to generate them if there are no CONFIG_FILES.
16279 # This happens for instance with `./config.status config.h'.
16280 if test -n "$CONFIG_FILES"; then
16282 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16283 ac_cs_awk_getline
=:
16284 ac_cs_awk_pipe_init
=
16285 ac_cs_awk_read_file
='
16286 while ((getline aline < (F[key])) > 0)
16289 ac_cs_awk_pipe_fini
=
16291 ac_cs_awk_getline
=false
16292 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16293 ac_cs_awk_read_file
='
16295 print "cat " F[key] " &&"
16296 '$ac_cs_awk_pipe_init
16297 # The final `:' finishes the AND list.
16298 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16300 ac_cr
=`echo X | tr X '\015'`
16301 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16302 # But we know of no other shell where ac_cr would be empty at this
16303 # point, so we can use a bashism as a fallback.
16304 if test "x$ac_cr" = x
; then
16305 eval ac_cr
=\$
\'\\r
\'
16307 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16308 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16311 ac_cs_awk_cr
=$ac_cr
16314 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16317 # Create commands to substitute file output variables.
16319 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16320 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16321 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16324 } >conf$
$files.sh
&&
16325 . .
/conf$
$files.sh ||
16326 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16327 rm -f conf$
$files.sh
16330 echo "cat >conf$$subs.awk <<_ACEOF" &&
16331 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16333 } >conf$$subs.sh ||
16334 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16335 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16337 for ac_last_try in false false false false false :; do
16338 . ./conf$$subs.sh ||
16339 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16341 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16342 if test $ac_delim_n = $ac_delim_num; then
16344 elif $ac_last_try; then
16345 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16347 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16350 rm -f conf$$subs.sh
16352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16353 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16357 s/^/S["/; s
/!.
*/"]=/
16367 s/\(.\{148\}\)..*/\1/
16369 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16374 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16381 s/\(.\{148\}\)..*/\1/
16383 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16387 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16392 ' <conf$$subs.awk | sed '
16397 ' >>$CONFIG_STATUS || ac_write_fail=1
16398 rm -f conf$$subs.awk
16399 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16401 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16402 for (key in S) S_is_set[key] = 1
16404 \$ac_cs_awk_pipe_init
16408 nfields = split(line, field, "@
")
16410 len = length(field[1])
16411 for (i = 2; i < nfields; i++) {
16413 keylen = length(key)
16414 if (S_is_set[key]) {
16416 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16417 len += length(value) + length(field[++i])
16422 if (nfields == 3 && !substed) {
16424 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16425 \$ac_cs_awk_read_file
16431 \$ac_cs_awk_pipe_fini
16434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16435 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16436 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16439 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16440 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16443 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16444 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16445 # trailing colons and then remove the whole line if VPATH becomes empty
16446 # (actually we leave an empty line to preserve line numbers).
16447 if test "x
$srcdir" = x.; then
16448 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16467 fi # test -n "$CONFIG_FILES"
16469 # Set up the scripts for CONFIG_HEADERS section.
16470 # No need to generate them if there are no CONFIG_HEADERS.
16471 # This happens for instance with `./config.status Makefile'.
16472 if test -n "$CONFIG_HEADERS"; then
16473 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16477 # Transform confdefs.h into an awk script `defines.awk', embedded as
16478 # here-document in config.status, that substitutes the proper values into
16479 # config.h.in to produce config.h.
16481 # Create a delimiter string that does not exist in confdefs.h, to ease
16482 # handling of long lines.
16484 for ac_last_try in false false :; do
16485 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16486 if test -z "$ac_tt"; then
16488 elif $ac_last_try; then
16489 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16491 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16495 # For the awk script, D is an array of macro values keyed by name,
16496 # likewise P contains macro parameters if any. Preserve backslash
16497 # newline sequences.
16499 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16501 s/.\{148\}/&'"$ac_delim"'/g
16504 s/^[ ]*#[ ]*define[ ][ ]*/ /
16511 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16513 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16517 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16518 D["\
1"]=" \
3\\\\\\n
"\\/p
16520 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16525 s/.\{148\}/&'"$ac_delim"'/g
16530 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16533 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16535 ' <confdefs.h | sed '
16536 s/'"$ac_delim"'/"\\\
16537 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16539 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16540 for (key in D) D_is_set[key] = 1
16543 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16545 split(line, arg, " ")
16546 if (arg[1] == "#") {
16550 defundef
= substr
(arg
[1], 2)
16553 split(mac1
, mac2
, "(") #)
16555 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16556 if (D_is_set
[macro
]) {
16557 # Preserve the white space surrounding the "#".
16558 print prefix
"define", macro P
[macro
] D
[macro
]
16561 # Replace #undef with comments. This is necessary, for example,
16562 # in the case of _POSIX_SOURCE, which is predefined and required
16563 # on some systems where configure will not decide to define it.
16564 if (defundef
== "undef") {
16565 print
"/*", prefix defundef
, macro
, "*/"
16573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16574 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16575 fi # test -n "$CONFIG_HEADERS"
16578 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16583 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16585 case $ac_mode$ac_tag in
16587 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16588 :[FH
]-) ac_tag
=-:-;;
16589 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16606 -) ac_f
="$ac_tmp/stdin";;
16607 *) # Look for the file first in the build tree, then in the source tree
16608 # (if the path is not absolute). The absolute path cannot be DOS-style,
16609 # because $ac_f cannot contain `:'.
16613 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16615 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16617 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16618 as_fn_append ac_file_inputs
" '$ac_f'"
16621 # Let's still pretend it is `configure' which instantiates (i.e., don't
16622 # use $as_me), people would be surprised to read:
16623 # /* config.h. Generated by config.status. */
16624 configure_input
='Generated from '`
16625 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16627 if test x
"$ac_file" != x-
; then
16628 configure_input
="$ac_file. $configure_input"
16629 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16630 $as_echo "$as_me: creating $ac_file" >&6;}
16632 # Neutralize special characters interpreted by sed in replacement strings.
16633 case $configure_input in #(
16634 *\
&* |
*\|
* |
*\\* )
16635 ac_sed_conf_input
=`$as_echo "$configure_input" |
16636 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16637 *) ac_sed_conf_input
=$configure_input;;
16641 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16642 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16647 ac_dir
=`$as_dirname -- "$ac_file" ||
16648 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16649 X"$ac_file" : 'X\(//\)[^/]' \| \
16650 X"$ac_file" : 'X\(//\)$' \| \
16651 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16652 $as_echo X"$ac_file" |
16653 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16657 /^X\(\/\/\)[^/].*/{
16670 as_dir
="$ac_dir"; as_fn_mkdir_p
16674 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16676 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16677 # A ".." for each directory in $ac_dir_suffix.
16678 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16679 case $ac_top_builddir_sub in
16680 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16681 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16684 ac_abs_top_builddir
=$ac_pwd
16685 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16686 # for backward compatibility:
16687 ac_top_builddir
=$ac_top_build_prefix
16690 .
) # We are building in place.
16692 ac_top_srcdir
=$ac_top_builddir_sub
16693 ac_abs_top_srcdir
=$ac_pwd ;;
16694 [\\/]* | ?
:[\\/]* ) # Absolute name.
16695 ac_srcdir
=$srcdir$ac_dir_suffix;
16696 ac_top_srcdir
=$srcdir
16697 ac_abs_top_srcdir
=$srcdir ;;
16698 *) # Relative name.
16699 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16700 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16701 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16703 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16713 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16714 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16718 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16719 # If the template does not know about datarootdir, expand it.
16720 # FIXME: This hack should be removed a few years after 2.60.
16721 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16732 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16733 *datarootdir
*) ac_datarootdir_seen
=yes;;
16734 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16736 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16738 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16739 ac_datarootdir_hack='
16740 s&@datadir@&$datadir&g
16741 s&@docdir@&$docdir&g
16742 s&@infodir@&$infodir&g
16743 s&@localedir@&$localedir&g
16744 s&@mandir@&$mandir&g
16745 s&\\\${datarootdir}&$datarootdir&g' ;;
16749 # Neutralize VPATH when `$srcdir' = `.'.
16750 # Shell code in configure.ac might set extrasub.
16751 # FIXME: do we really want to maintain this feature?
16752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16753 ac_sed_extra="$ac_vpsub
16756 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16758 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16759 s|@configure_input@|
$ac_sed_conf_input|
;t t
16760 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16761 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16762 s
&@srcdir@
&$ac_srcdir&;t t
16763 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16764 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16765 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16766 s
&@builddir@
&$ac_builddir&;t t
16767 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16768 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16769 s
&@INSTALL@
&$ac_INSTALL&;t t
16770 $ac_datarootdir_hack
16772 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16773 if $ac_cs_awk_getline; then
16774 $AWK -f "$ac_tmp/subs.
awk"
16776 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16778 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16780 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16781 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16782 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16783 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16785 which seems to be undefined. Please make sure it is defined" >&5
16786 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16787 which seems to be undefined. Please make sure it is defined" >&2;}
16789 rm -f "$ac_tmp/stdin"
16791 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16792 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16794 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16800 if test x"$ac_file" != x-; then
16802 $as_echo "/* $configure_input */" \
16803 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16804 } >"$ac_tmp/config.h" \
16805 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16806 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16807 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16808 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16811 mv "$ac_tmp/config.h" "$ac_file" \
16812 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16815 $as_echo "/* $configure_input */" \
16816 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16817 || as_fn_error $? "could not create -" "$LINENO" 5
16825 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16828 # Prefer the file from the source tree if names are identical.
16829 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16830 ac_source=$srcdir/$ac_source
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16834 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16836 if test ! -r "$ac_source"; then
16837 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16841 # Try a relative symlink, then a hard link, then a copy.
16843 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16844 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16846 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16847 ln "$ac_source" "$ac_file" 2>/dev/null ||
16848 cp -p "$ac_source" "$ac_file" ||
16849 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16852 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16853 $as_echo "$as_me: executing $ac_file commands" >&6;}
16858 case $ac_file$ac_mode in
16859 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16860 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
16861 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
16862 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16863 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16864 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16865 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16866 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16867 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16868 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16869 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16870 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16871 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16872 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16873 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16874 "Makefile":C) wine_fn_output_makefile Makefile ;;
16882 ac_clean_files=$ac_clean_files_save
16884 test $ac_write_fail = 0 ||
16885 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16888 # configure is writing to config.log, and then calls config.status.
16889 # config.status does its own redirection, appending to config.log.
16890 # Unfortunately, on DOS this fails, as config.log is still kept open
16891 # by configure, so config.status won't be able to
write to it
; its
16892 # output is simply discarded. So we exec the FD to /dev/null,
16893 # effectively closing config.log, so it can be properly (re)opened and
16894 # appended to by config.status. When coming back to configure, we
16895 # need to make the FD available again.
16896 if test "$no_create" != yes; then
16898 ac_config_status_args
=
16899 test "$silent" = yes &&
16900 ac_config_status_args
="$ac_config_status_args --quiet"
16902 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16904 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16905 # would make configure fail if this is the last instruction.
16906 $ac_cs_success || as_fn_exit
1
16908 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16910 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16914 if test "$no_create" = "yes"
16920 if test "x$wine_notices != "x
; then
16923 for msg
in $wine_notices; do
16925 if test -n "$msg"; then
16926 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16927 $as_echo "$as_me: $msg" >&6;}
16932 for msg
in $wine_warnings; do
16934 if test -n "$msg"; then
16936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16937 $as_echo "$as_me: WARNING: $msg" >&2;}
16943 $as_me: Finished. Do '${ac_make}' to compile Wine.