2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.5.2.
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.5.2'
564 PACKAGE_STRING
='Wine 1.5.2'
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
670 APPLICATIONSERVICESLIB
759 program_transform_name
770 ac_subst_files
='MAKE_RULES
776 enable_option_checking
780 enable_maintainer_mode
828 ac_precious_vars
='build_alias
843 # Initialize some variables set by options.
845 ac_init_version
=false
846 ac_unrecognized_opts
=
848 # The variables have the same names as the options, with
849 # dashes changed to underlines.
857 program_transform_name
=s
,x
,x
,
865 # Installation directory options.
866 # These are left unexpanded so users can "make install exec_prefix=/foo"
867 # and all the variables that are supposed to be based on exec_prefix
868 # by default will actually change.
869 # Use braces instead of parens because sh, perl, etc. also accept them.
870 # (The list follows the same order as the GNU Coding Standards.)
871 bindir
='${exec_prefix}/bin'
872 sbindir
='${exec_prefix}/sbin'
873 libexecdir
='${exec_prefix}/libexec'
874 datarootdir
='${prefix}/share'
875 datadir
='${datarootdir}'
876 sysconfdir
='${prefix}/etc'
877 sharedstatedir
='${prefix}/com'
878 localstatedir
='${prefix}/var'
879 includedir
='${prefix}/include'
880 oldincludedir
='/usr/include'
881 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
882 infodir
='${datarootdir}/info'
887 libdir
='${exec_prefix}/lib'
888 localedir
='${datarootdir}/locale'
889 mandir
='${datarootdir}/man'
895 # If the previous option needs an argument, assign it.
896 if test -n "$ac_prev"; then
897 eval $ac_prev=\
$ac_option
903 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
908 # Accept the important Cygnus configure options, so we can diagnose typos.
910 case $ac_dashdash$ac_option in
914 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
916 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
919 -build |
--build |
--buil |
--bui |
--bu)
920 ac_prev
=build_alias
;;
921 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
922 build_alias
=$ac_optarg ;;
924 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
925 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
926 ac_prev
=cache_file
;;
927 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
928 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
929 cache_file
=$ac_optarg ;;
932 cache_file
=config.cache
;;
934 -datadir |
--datadir |
--datadi |
--datad)
936 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
937 datadir
=$ac_optarg ;;
939 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
940 |
--dataroo |
--dataro |
--datar)
941 ac_prev
=datarootdir
;;
942 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
943 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
944 datarootdir
=$ac_optarg ;;
946 -disable-* |
--disable-*)
947 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
948 # Reject names that are not valid shell variable names.
949 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
950 as_fn_error $?
"invalid feature name: $ac_useropt"
951 ac_useropt_orig
=$ac_useropt
952 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
953 case $ac_user_opts in
957 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
958 ac_unrecognized_sep
=', ';;
960 eval enable_
$ac_useropt=no
;;
962 -docdir |
--docdir |
--docdi |
--doc |
--do)
964 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
967 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
969 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
972 -enable-* |
--enable-*)
973 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
974 # Reject names that are not valid shell variable names.
975 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
976 as_fn_error $?
"invalid feature name: $ac_useropt"
977 ac_useropt_orig
=$ac_useropt
978 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
979 case $ac_user_opts in
983 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
984 ac_unrecognized_sep
=', ';;
986 eval enable_
$ac_useropt=\
$ac_optarg ;;
988 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
989 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
990 |
--exec |
--exe |
--ex)
991 ac_prev
=exec_prefix
;;
992 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
993 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
994 |
--exec=* |
--exe=* |
--ex=*)
995 exec_prefix
=$ac_optarg ;;
997 -gas |
--gas |
--ga |
--g)
998 # Obsolete; use --with-gas.
1001 -help |
--help |
--hel |
--he |
-h)
1002 ac_init_help
=long
;;
1003 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1004 ac_init_help
=recursive
;;
1005 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1006 ac_init_help
=short
;;
1008 -host |
--host |
--hos |
--ho)
1009 ac_prev
=host_alias
;;
1010 -host=* |
--host=* |
--hos=* |
--ho=*)
1011 host_alias
=$ac_optarg ;;
1013 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1015 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1017 htmldir
=$ac_optarg ;;
1019 -includedir |
--includedir |
--includedi |
--included |
--include \
1020 |
--includ |
--inclu |
--incl |
--inc)
1021 ac_prev
=includedir
;;
1022 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1023 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1024 includedir
=$ac_optarg ;;
1026 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1028 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1029 infodir
=$ac_optarg ;;
1031 -libdir |
--libdir |
--libdi |
--libd)
1033 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1034 libdir
=$ac_optarg ;;
1036 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1037 |
--libexe |
--libex |
--libe)
1038 ac_prev
=libexecdir
;;
1039 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1040 |
--libexe=* |
--libex=* |
--libe=*)
1041 libexecdir
=$ac_optarg ;;
1043 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1044 ac_prev
=localedir
;;
1045 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1046 localedir
=$ac_optarg ;;
1048 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1049 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1050 ac_prev
=localstatedir
;;
1051 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1052 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1053 localstatedir
=$ac_optarg ;;
1055 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1057 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1058 mandir
=$ac_optarg ;;
1060 -nfp |
--nfp |
--nf)
1061 # Obsolete; use --without-fp.
1064 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1065 |
--no-cr |
--no-c |
-n)
1068 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1069 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1072 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1073 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1074 |
--oldin |
--oldi |
--old |
--ol |
--o)
1075 ac_prev
=oldincludedir
;;
1076 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1077 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1078 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1079 oldincludedir
=$ac_optarg ;;
1081 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1083 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1084 prefix
=$ac_optarg ;;
1086 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1087 |
--program-pre |
--program-pr |
--program-p)
1088 ac_prev
=program_prefix
;;
1089 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1090 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1091 program_prefix
=$ac_optarg ;;
1093 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1094 |
--program-suf |
--program-su |
--program-s)
1095 ac_prev
=program_suffix
;;
1096 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1097 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1098 program_suffix
=$ac_optarg ;;
1100 -program-transform-name |
--program-transform-name \
1101 |
--program-transform-nam |
--program-transform-na \
1102 |
--program-transform-n |
--program-transform- \
1103 |
--program-transform |
--program-transfor \
1104 |
--program-transfo |
--program-transf \
1105 |
--program-trans |
--program-tran \
1106 |
--progr-tra |
--program-tr |
--program-t)
1107 ac_prev
=program_transform_name
;;
1108 -program-transform-name=* |
--program-transform-name=* \
1109 |
--program-transform-nam=* |
--program-transform-na=* \
1110 |
--program-transform-n=* |
--program-transform-=* \
1111 |
--program-transform=* |
--program-transfor=* \
1112 |
--program-transfo=* |
--program-transf=* \
1113 |
--program-trans=* |
--program-tran=* \
1114 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1115 program_transform_name
=$ac_optarg ;;
1117 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1119 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1120 pdfdir
=$ac_optarg ;;
1122 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1124 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1127 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1128 |
-silent |
--silent |
--silen |
--sile |
--sil)
1131 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1133 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1135 sbindir
=$ac_optarg ;;
1137 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1138 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1139 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1141 ac_prev
=sharedstatedir
;;
1142 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1143 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1144 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1146 sharedstatedir
=$ac_optarg ;;
1148 -site |
--site |
--sit)
1150 -site=* |
--site=* |
--sit=*)
1153 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1155 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1156 srcdir
=$ac_optarg ;;
1158 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1159 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1160 ac_prev
=sysconfdir
;;
1161 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1162 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1163 sysconfdir
=$ac_optarg ;;
1165 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1166 ac_prev
=target_alias
;;
1167 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1168 target_alias
=$ac_optarg ;;
1170 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1173 -version |
--version |
--versio |
--versi |
--vers |
-V)
1174 ac_init_version
=: ;;
1177 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1180 as_fn_error $?
"invalid package name: $ac_useropt"
1181 ac_useropt_orig
=$ac_useropt
1182 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1183 case $ac_user_opts in
1187 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1188 ac_unrecognized_sep
=', ';;
1190 eval with_
$ac_useropt=\
$ac_optarg ;;
1192 -without-* |
--without-*)
1193 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1194 # Reject names that are not valid shell variable names.
1195 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1196 as_fn_error $?
"invalid package name: $ac_useropt"
1197 ac_useropt_orig
=$ac_useropt
1198 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1199 case $ac_user_opts in
1203 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1204 ac_unrecognized_sep
=', ';;
1206 eval with_
$ac_useropt=no
;;
1209 # Obsolete; use --with-x.
1212 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1213 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1214 ac_prev
=x_includes
;;
1215 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1216 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1217 x_includes
=$ac_optarg ;;
1219 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1220 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1221 ac_prev
=x_libraries
;;
1222 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1223 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1224 x_libraries
=$ac_optarg ;;
1226 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1227 Try \`$0 --help' for more information"
1231 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1232 # Reject names that are not valid shell variable names.
1233 case $ac_envvar in #(
1234 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1235 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1237 eval $ac_envvar=\
$ac_optarg
1238 export $ac_envvar ;;
1241 # FIXME: should be removed in autoconf 3.0.
1242 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1243 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1244 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1245 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1251 if test -n "$ac_prev"; then
1252 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1253 as_fn_error $?
"missing argument to $ac_option"
1256 if test -n "$ac_unrecognized_opts"; then
1257 case $enable_option_checking in
1259 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1260 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1264 # Check all directory arguments for consistency.
1265 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1266 datadir sysconfdir sharedstatedir localstatedir includedir \
1267 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1268 libdir localedir mandir
1270 eval ac_val
=\$
$ac_var
1271 # Remove trailing slashes.
1274 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1275 eval $ac_var=\
$ac_val;;
1277 # Be sure to have absolute directory names.
1279 [\\/$
]* | ?
:[\\/]* ) continue;;
1280 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1282 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1285 # There might be people who depend on the old broken behavior: `$host'
1286 # used to hold the argument of --host etc.
1287 # FIXME: To remove some day.
1290 target
=$target_alias
1292 # FIXME: To remove some day.
1293 if test "x$host_alias" != x
; then
1294 if test "x$build_alias" = x
; then
1295 cross_compiling
=maybe
1296 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1297 If a cross compiler is detected then cross compile mode will be used" >&2
1298 elif test "x$build_alias" != "x$host_alias"; then
1304 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1306 test "$silent" = yes && exec 6>/dev
/null
1309 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1310 ac_ls_di
=`ls -di .` &&
1311 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1312 as_fn_error $?
"working directory cannot be determined"
1313 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1314 as_fn_error $?
"pwd does not report name of working directory"
1317 # Find the source files, if location was not specified.
1318 if test -z "$srcdir"; then
1319 ac_srcdir_defaulted
=yes
1320 # Try the directory containing this script, then the parent directory.
1321 ac_confdir
=`$as_dirname -- "$as_myself" ||
1322 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1323 X"$as_myself" : 'X\(//\)[^/]' \| \
1324 X"$as_myself" : 'X\(//\)$' \| \
1325 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1326 $as_echo X"$as_myself" |
1327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1345 if test ! -r "$srcdir/$ac_unique_file"; then
1349 ac_srcdir_defaulted
=no
1351 if test ! -r "$srcdir/$ac_unique_file"; then
1352 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1353 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1355 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1357 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1359 # When building in place, set srcdir=.
1360 if test "$ac_abs_confdir" = "$ac_pwd"; then
1363 # Remove unnecessary trailing slashes from srcdir.
1364 # Double slashes in file names in object file debugging info
1365 # mess up M-x gdb in Emacs.
1367 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1369 for ac_var
in $ac_precious_vars; do
1370 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1371 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1372 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1373 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1377 # Report the --help message.
1379 if test "$ac_init_help" = "long"; then
1380 # Omit some internal or obsolete options to make the list less imposing.
1381 # This message is too long to be a string in the A/UX 3.1 sh.
1383 \`configure' configures Wine 1.5.2 to adapt to many kinds of systems.
1385 Usage: $0 [OPTION]... [VAR=VALUE]...
1387 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1388 VAR=VALUE. See below for descriptions of some of the useful variables.
1390 Defaults for the options are specified in brackets.
1393 -h, --help display this help and exit
1394 --help=short display options specific to this package
1395 --help=recursive display the short help of all the included packages
1396 -V, --version display version information and exit
1397 -q, --quiet, --silent do not print \`checking ...' messages
1398 --cache-file=FILE cache test results in FILE [disabled]
1399 -C, --config-cache alias for \`--cache-file=config.cache'
1400 -n, --no-create do not create output files
1401 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1403 Installation directories:
1404 --prefix=PREFIX install architecture-independent files in PREFIX
1405 [$ac_default_prefix]
1406 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1409 By default, \`make install' will install all the files in
1410 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1411 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1412 for instance \`--prefix=\$HOME'.
1414 For better control, use the options below.
1416 Fine tuning of the installation directories:
1417 --bindir=DIR user executables [EPREFIX/bin]
1418 --sbindir=DIR system admin executables [EPREFIX/sbin]
1419 --libexecdir=DIR program executables [EPREFIX/libexec]
1420 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1421 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1422 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1423 --libdir=DIR object code libraries [EPREFIX/lib]
1424 --includedir=DIR C header files [PREFIX/include]
1425 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1426 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1427 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1428 --infodir=DIR info documentation [DATAROOTDIR/info]
1429 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1430 --mandir=DIR man documentation [DATAROOTDIR/man]
1431 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1432 --htmldir=DIR html documentation [DOCDIR]
1433 --dvidir=DIR dvi documentation [DOCDIR]
1434 --pdfdir=DIR pdf documentation [DOCDIR]
1435 --psdir=DIR ps documentation [DOCDIR]
1441 --x-includes=DIR X include files are
in DIR
1442 --x-libraries=DIR X library files are
in DIR
1445 --build=BUILD configure
for building on BUILD
[guessed
]
1446 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1450 if test -n "$ac_init_help"; then
1451 case $ac_init_help in
1452 short | recursive
) echo "Configuration of Wine 1.5.2:";;
1457 --disable-option-checking ignore unrecognized
--enable/--with options
1458 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1459 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1460 --disable-win16 do not include Win16 support
1461 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1463 --disable-tests do not build the regression tests
1464 --enable-maintainer-mode
1465 enable maintainer-specific build rules
1466 --disable-largefile omit support for large files
1469 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1470 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1471 --without-alsa do not use the Alsa sound support
1472 --without-capi do not use CAPI (ISDN support)
1473 --without-cms do not use CMS (color management support)
1474 --without-coreaudio do not use the CoreAudio sound support
1475 --without-cups do not use CUPS
1476 --without-curses do not use (n)curses
1477 --without-dbus do not use DBus (dynamic device support)
1478 --without-fontconfig do not use fontconfig
1479 --without-freetype do not use the FreeType library
1480 --without-gettext do not use gettext
1481 --with-gettextpo use the GetTextPO library to rebuild po files
1482 --without-gphoto do not use gphoto (Digital Camera support)
1483 --without-glu do not use the GLU library
1484 --without-gnutls do not use GnuTLS (schannel support)
1485 --without-gsm do not use libgsm (GSM 06.10 codec support)
1486 --without-gstreamer do not use GStreamer (codecs support)
1487 --without-hal do not use HAL (dynamic device support)
1488 --without-jpeg do not use JPEG
1489 --without-ldap do not use LDAP
1490 --without-mpg123 do not use the mpg123 library
1491 --without-openal do not use OpenAL
1492 --without-opencl do not use OpenCL
1493 --without-opengl do not use OpenGL
1494 --without-openssl do not use OpenSSL
1495 --without-oss do not use the OSS sound support
1496 --without-png do not use PNG
1497 --without-pthread do not use the pthread library
1498 --without-sane do not use SANE (scanner support)
1499 --without-tiff do not use TIFF
1500 --without-v4l do not use v4l1 (v4l support)
1501 --without-xcomposite do not use the Xcomposite extension
1502 --without-xcursor do not use the Xcursor extension
1503 --without-xinerama do not use Xinerama (multi-monitor support)
1504 --without-xinput do not use the Xinput extension
1505 --without-xinput2 do not use the Xinput 2 extension
1506 --without-xml do not use XML
1507 --without-xrandr do not use Xrandr (resolution changes)
1508 --without-xrender do not use the Xrender extension
1509 --without-xshape do not use the Xshape extension
1510 --without-xslt do not use XSLT
1511 --without-xxf86vm do not use XFree video mode extension
1512 --without-zlib do not use Zlib (data compression)
1513 --with-wine-tools=DIR use Wine tools from directory DIR
1514 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1515 --with-x use the X Window System
1517 Some influential environment variables:
1518 CC C compiler command
1519 CFLAGS C compiler flags
1520 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1521 nonstandard directory <lib dir>
1522 LIBS libraries to pass to the linker, e.g. -l<library>
1523 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1524 you have headers in a nonstandard directory <include dir>
1525 CXX C++ compiler command
1526 CXXFLAGS C++ compiler flags
1528 XMKMF Path to xmkmf, Makefile generator for X Window System
1530 Use these variables to override the choices made by `configure' or to
help
1531 it to
find libraries and programs with nonstandard names
/locations.
1533 Report bugs to
<wine-devel@winehq.org
>.
1534 Wine home page
: <http
://www.winehq.org
>.
1539 if test "$ac_init_help" = "recursive"; then
1540 # If there are subdirs, report their specific --help.
1541 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1542 test -d "$ac_dir" ||
1543 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1548 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1550 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1551 # A ".." for each directory in $ac_dir_suffix.
1552 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1553 case $ac_top_builddir_sub in
1554 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1555 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1558 ac_abs_top_builddir
=$ac_pwd
1559 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1560 # for backward compatibility:
1561 ac_top_builddir
=$ac_top_build_prefix
1564 .
) # We are building in place.
1566 ac_top_srcdir
=$ac_top_builddir_sub
1567 ac_abs_top_srcdir
=$ac_pwd ;;
1568 [\\/]* | ?
:[\\/]* ) # Absolute name.
1569 ac_srcdir
=$srcdir$ac_dir_suffix;
1570 ac_top_srcdir
=$srcdir
1571 ac_abs_top_srcdir
=$srcdir ;;
1573 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1574 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1575 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1577 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1579 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1580 # Check for guested configure.
1581 if test -f "$ac_srcdir/configure.gnu"; then
1583 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1584 elif test -f "$ac_srcdir/configure"; then
1586 $SHELL "$ac_srcdir/configure" --help=recursive
1588 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1590 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1594 test -n "$ac_init_help" && exit $ac_status
1595 if $ac_init_version; then
1597 Wine configure
1.5.2
1598 generated by GNU Autoconf
2.68
1600 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1601 This configure
script is free software
; the Free Software Foundation
1602 gives unlimited permission to copy
, distribute and modify it.
1607 ## ------------------------ ##
1608 ## Autoconf initialization. ##
1609 ## ------------------------ ##
1611 # ac_fn_c_try_compile LINENO
1612 # --------------------------
1613 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1614 ac_fn_c_try_compile
()
1616 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1617 rm -f conftest.
$ac_objext
1618 if { { ac_try
="$ac_compile"
1620 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1621 *) ac_try_echo=$ac_try;;
1623 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1624 $as_echo "$ac_try_echo"; } >&5
1625 (eval "$ac_compile") 2>conftest.err
1627 if test -s conftest.err; then
1628 grep -v '^ *+' conftest.err >conftest.er1
1629 cat conftest.er1 >&5
1630 mv -f conftest.er1 conftest.err
1632 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1633 test $ac_status = 0; } && {
1634 test -z "$ac_c_werror_flag" ||
1635 test ! -s conftest.err
1636 } && test -s conftest.$ac_objext; then :
1639 $as_echo "$as_me: failed program was:" >&5
1640 sed 's/^/| /' conftest.$ac_ext >&5
1644 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1645 as_fn_set_status $ac_retval
1647 } # ac_fn_c_try_compile
1649 # ac_fn_cxx_try_compile LINENO
1650 # ----------------------------
1651 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1652 ac_fn_cxx_try_compile ()
1654 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1655 rm -f conftest.$ac_objext
1656 if { { ac_try="$ac_compile"
1658 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1659 *) ac_try_echo
=$ac_try;;
1661 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1662 $as_echo "$ac_try_echo"; } >&5
1663 (eval "$ac_compile") 2>conftest.err
1665 if test -s conftest.err
; then
1666 grep -v '^ *+' conftest.err
>conftest.er1
1667 cat conftest.er1
>&5
1668 mv -f conftest.er1 conftest.err
1670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1671 test $ac_status = 0; } && {
1672 test -z "$ac_cxx_werror_flag" ||
1673 test ! -s conftest.err
1674 } && test -s conftest.
$ac_objext; then :
1677 $as_echo "$as_me: failed program was:" >&5
1678 sed 's/^/| /' conftest.
$ac_ext >&5
1682 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1683 as_fn_set_status
$ac_retval
1685 } # ac_fn_cxx_try_compile
1687 # ac_fn_c_try_link LINENO
1688 # -----------------------
1689 # Try to link conftest.$ac_ext, and return whether this succeeded.
1692 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1693 rm -f conftest.
$ac_objext conftest
$ac_exeext
1694 if { { ac_try
="$ac_link"
1696 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1697 *) ac_try_echo=$ac_try;;
1699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1700 $as_echo "$ac_try_echo"; } >&5
1701 (eval "$ac_link") 2>conftest.err
1703 if test -s conftest.err; then
1704 grep -v '^ *+' conftest.err >conftest.er1
1705 cat conftest.er1 >&5
1706 mv -f conftest.er1 conftest.err
1708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1709 test $ac_status = 0; } && {
1710 test -z "$ac_c_werror_flag" ||
1711 test ! -s conftest.err
1712 } && test -s conftest$ac_exeext && {
1713 test "$cross_compiling" = yes ||
1714 $as_test_x conftest$ac_exeext
1718 $as_echo "$as_me: failed program was:" >&5
1719 sed 's/^/| /' conftest.$ac_ext >&5
1723 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1724 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1725 # interfere with the next link command; also delete a directory that is
1726 # left behind by Apple's compiler. We do this before executing the actions.
1727 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1728 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729 as_fn_set_status $ac_retval
1731 } # ac_fn_c_try_link
1733 # ac_fn_c_try_cpp LINENO
1734 # ----------------------
1735 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1738 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1739 if { { ac_try="$ac_cpp conftest.$ac_ext"
1741 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1742 *) ac_try_echo
=$ac_try;;
1744 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1745 $as_echo "$ac_try_echo"; } >&5
1746 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1748 if test -s conftest.err
; then
1749 grep -v '^ *+' conftest.err
>conftest.er1
1750 cat conftest.er1
>&5
1751 mv -f conftest.er1 conftest.err
1753 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1754 test $ac_status = 0; } > conftest.i
&& {
1755 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1756 test ! -s conftest.err
1760 $as_echo "$as_me: failed program was:" >&5
1761 sed 's/^/| /' conftest.
$ac_ext >&5
1765 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 as_fn_set_status
$ac_retval
1770 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1771 # -------------------------------------------------------
1772 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1773 # the include files in INCLUDES and setting the cache variable VAR
1775 ac_fn_c_check_header_mongrel
()
1777 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1778 if eval \
${$3+:} false
; then :
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1780 $as_echo_n "checking for $2... " >&6; }
1781 if eval \
${$3+:} false
; then :
1782 $as_echo_n "(cached) " >&6
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1788 # Is the header compilable?
1789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1790 $as_echo_n "checking $2 usability... " >&6; }
1791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1792 /* end confdefs.h. */
1796 if ac_fn_c_try_compile
"$LINENO"; then :
1797 ac_header_compiler
=yes
1799 ac_header_compiler
=no
1801 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1803 $as_echo "$ac_header_compiler" >&6; }
1805 # Is the header present?
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1807 $as_echo_n "checking $2 presence... " >&6; }
1808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1809 /* end confdefs.h. */
1812 if ac_fn_c_try_cpp
"$LINENO"; then :
1813 ac_header_preproc
=yes
1815 ac_header_preproc
=no
1817 rm -f conftest.err conftest.i conftest.
$ac_ext
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1819 $as_echo "$ac_header_preproc" >&6; }
1821 # So? What about this header?
1822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1825 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1827 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1831 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1833 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1835 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1837 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1839 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1840 ( $as_echo "## ------------------------------------ ##
1841 ## Report this to wine-devel@winehq.org ##
1842 ## ------------------------------------ ##"
1843 ) |
sed "s/^/$as_me: WARNING: /" >&2
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1847 $as_echo_n "checking for $2... " >&6; }
1848 if eval \
${$3+:} false
; then :
1849 $as_echo_n "(cached) " >&6
1851 eval "$3=\$ac_header_compiler"
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1855 $as_echo "$ac_res" >&6; }
1857 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1859 } # ac_fn_c_check_header_mongrel
1861 # ac_fn_c_try_run LINENO
1862 # ----------------------
1863 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1864 # that executables *can* be run.
1867 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1868 if { { ac_try
="$ac_link"
1870 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1871 *) ac_try_echo=$ac_try;;
1873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_link") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1879 { { case "(($ac_try" in
1880 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1881 *) ac_try_echo
=$ac_try;;
1883 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1884 $as_echo "$ac_try_echo"; } >&5
1885 (eval "$ac_try") 2>&5
1887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1888 test $ac_status = 0; }; }; then :
1891 $as_echo "$as_me: program exited with status $ac_status" >&5
1892 $as_echo "$as_me: failed program was:" >&5
1893 sed 's/^/| /' conftest.
$ac_ext >&5
1895 ac_retval
=$ac_status
1897 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1898 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1899 as_fn_set_status
$ac_retval
1903 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1904 # -------------------------------------------------------
1905 # Tests whether HEADER exists and can be compiled using the include files in
1906 # INCLUDES, setting the cache variable VAR accordingly.
1907 ac_fn_c_check_header_compile
()
1909 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1911 $as_echo_n "checking for $2... " >&6; }
1912 if eval \
${$3+:} false
; then :
1913 $as_echo_n "(cached) " >&6
1915 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1916 /* end confdefs.h. */
1920 if ac_fn_c_try_compile
"$LINENO"; then :
1925 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1929 $as_echo "$ac_res" >&6; }
1930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 } # ac_fn_c_check_header_compile
1934 # ac_fn_c_check_func LINENO FUNC VAR
1935 # ----------------------------------
1936 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1937 ac_fn_c_check_func
()
1939 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1941 $as_echo_n "checking for $2... " >&6; }
1942 if eval \
${$3+:} false
; then :
1943 $as_echo_n "(cached) " >&6
1945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1947 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1948 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1949 #define $2 innocuous_$2
1951 /* System header to define __stub macros and hopefully few prototypes,
1952 which can conflict with char $2 (); below.
1953 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1954 <limits.h> exists even on freestanding compilers. */
1957 # include <limits.h>
1959 # include <assert.h>
1964 /* Override any GCC internal prototype to avoid an error.
1965 Use char because int might match the return type of a GCC
1966 builtin and then its argument prototype would still apply. */
1971 /* The GNU C library defines this for functions which it implements
1972 to always fail with ENOSYS. Some functions are actually named
1973 something starting with __ and the normal name is an alias. */
1974 #if defined __stub_$2 || defined __stub___$2
1986 if ac_fn_c_try_link
"$LINENO"; then :
1991 rm -f core conftest.err conftest.
$ac_objext \
1992 conftest
$ac_exeext conftest.
$ac_ext
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1996 $as_echo "$ac_res" >&6; }
1997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1999 } # ac_fn_c_check_func
2001 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2002 # ----------------------------------------------------
2003 # Tries to find if the field MEMBER exists in type AGGR, after including
2004 # INCLUDES, setting cache variable VAR accordingly.
2005 ac_fn_c_check_member
()
2007 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2009 $as_echo_n "checking for $2.$3... " >&6; }
2010 if eval \
${$4+:} false
; then :
2011 $as_echo_n "(cached) " >&6
2013 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2014 /* end confdefs.h. */
2026 if ac_fn_c_try_compile
"$LINENO"; then :
2029 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2030 /* end confdefs.h. */
2036 if (sizeof ac_aggr.$3)
2042 if ac_fn_c_try_compile
"$LINENO"; then :
2047 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2049 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2053 $as_echo "$ac_res" >&6; }
2054 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056 } # ac_fn_c_check_member
2058 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2059 # -------------------------------------------
2060 # Tests whether TYPE exists after having included INCLUDES, setting cache
2061 # variable VAR accordingly.
2062 ac_fn_c_check_type
()
2064 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2066 $as_echo_n "checking for $2... " >&6; }
2067 if eval \
${$3+:} false
; then :
2068 $as_echo_n "(cached) " >&6
2071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2072 /* end confdefs.h. */
2083 if ac_fn_c_try_compile
"$LINENO"; then :
2084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2085 /* end confdefs.h. */
2096 if ac_fn_c_try_compile
"$LINENO"; then :
2101 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2103 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2107 $as_echo "$ac_res" >&6; }
2108 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 } # ac_fn_c_check_type
2111 cat >config.log
<<_ACEOF
2112 This file contains any messages produced by compilers while
2113 running configure, to aid debugging if configure makes a mistake.
2115 It was created by Wine $as_me 1.5.2, which was
2116 generated by GNU Autoconf 2.68. Invocation command line was
2128 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2129 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2130 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2131 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2132 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2134 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2135 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2137 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2138 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2139 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2140 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2141 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2142 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2143 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2147 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2151 test -z "$as_dir" && as_dir
=.
2152 $as_echo "PATH: $as_dir"
2168 # Keep a trace of the command line.
2169 # Strip out --no-create and --no-recursion so they do not pile up.
2170 # Strip out --silent because we don't want to record it for future runs.
2171 # Also quote any args containing shell meta-characters.
2172 # Make two passes to allow for proper duplicate-argument suppression.
2176 ac_must_keep_next
=false
2182 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2183 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2184 |
-silent |
--silent |
--silen |
--sile |
--sil)
2187 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2190 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2192 as_fn_append ac_configure_args1
" '$ac_arg'"
2193 if test $ac_must_keep_next = true
; then
2194 ac_must_keep_next
=false
# Got value, back to normal.
2197 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2198 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2199 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2200 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2201 case "$ac_configure_args0 " in
2202 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2205 -* ) ac_must_keep_next
=true
;;
2208 as_fn_append ac_configure_args
" '$ac_arg'"
2213 { ac_configure_args0
=; unset ac_configure_args0
;}
2214 { ac_configure_args1
=; unset ac_configure_args1
;}
2216 # When interrupted or exit'd, cleanup temporary files, and complete
2217 # config.log. We remove comments because anyway the quotes in there
2218 # would cause problems or look ugly.
2219 # WARNING: Use '\'' to represent an apostrophe within the trap.
2220 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2221 trap 'exit_status=$?
2222 # Save into config.log some information that might help in debugging.
2226 $as_echo "## ---------------- ##
2227 ## Cache variables. ##
2228 ## ---------------- ##"
2230 # The following way of writing the cache mishandles newlines in values,
2232 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2233 eval ac_val=\$$ac_var
2237 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2238 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2241 _ | IFS | as_nl) ;; #(
2242 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2243 *) { eval $ac_var=; unset $ac_var;} ;;
2248 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2249 *${as_nl}ac_space=\ *)
2251 "s/'\''/'\''\\\\'\'''\''/g;
2252 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2255 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2262 $as_echo "## ----------------- ##
2263 ## Output variables. ##
2264 ## ----------------- ##"
2266 for ac_var in $ac_subst_vars
2268 eval ac_val=\$$ac_var
2270 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2272 $as_echo "$ac_var='\''$ac_val'\''"
2276 if test -n "$ac_subst_files"; then
2277 $as_echo "## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##"
2281 for ac_var
in $ac_subst_files
2283 eval ac_val
=\$
$ac_var
2285 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2287 $as_echo "$ac_var='\''$ac_val'\''"
2292 if test -s confdefs.h; then
2293 $as_echo "## ----------- ##
2300 test "$ac_signal" != 0 &&
2301 $as_echo "$as_me: caught signal $ac_signal"
2302 $as_echo "$as_me: exit $exit_status"
2304 rm -f core *.core core.conftest.* &&
2305 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2308 for ac_signal
in 1 2 13 15; do
2309 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2313 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2314 rm -f -r conftest
* confdefs.h
2316 $as_echo "/* confdefs.h */" > confdefs.h
2318 # Predefined preprocessor variables.
2320 cat >>confdefs.h
<<_ACEOF
2321 #define PACKAGE_NAME "$PACKAGE_NAME"
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_STRING "$PACKAGE_STRING"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2340 cat >>confdefs.h
<<_ACEOF
2341 #define PACKAGE_URL "$PACKAGE_URL"
2345 # Let the site file select an alternate cache file if it wants to.
2346 # Prefer an explicitly selected file to automatically selected ones.
2349 if test -n "$CONFIG_SITE"; then
2350 # We do not want a PATH search for config.site.
2351 case $CONFIG_SITE in #((
2352 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2353 */*) ac_site_file1
=$CONFIG_SITE;;
2354 *) ac_site_file1
=.
/$CONFIG_SITE;;
2356 elif test "x$prefix" != xNONE
; then
2357 ac_site_file1
=$prefix/share
/config.site
2358 ac_site_file2
=$prefix/etc
/config.site
2360 ac_site_file1
=$ac_default_prefix/share
/config.site
2361 ac_site_file2
=$ac_default_prefix/etc
/config.site
2363 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2365 test "x$ac_site_file" = xNONE
&& continue
2366 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2368 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2369 sed 's/^/| /' "$ac_site_file" >&5
2371 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2372 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2373 as_fn_error $?
"failed to load site script $ac_site_file
2374 See \`config.log' for more details" "$LINENO" 5; }
2378 if test -r "$cache_file"; then
2379 # Some versions of bash will fail to source /dev/null (special files
2380 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2381 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2382 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2383 $as_echo "$as_me: loading cache $cache_file" >&6;}
2385 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2386 *) .
"./$cache_file";;
2390 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2391 $as_echo "$as_me: creating cache $cache_file" >&6;}
2395 # Check that the precious variables saved in the cache have kept the same
2397 ac_cache_corrupted
=false
2398 for ac_var
in $ac_precious_vars; do
2399 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2400 eval ac_new_set
=\
$ac_env_${ac_var}_set
2401 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2402 eval ac_new_val
=\
$ac_env_${ac_var}_value
2403 case $ac_old_set,$ac_new_set in
2405 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2406 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2407 ac_cache_corrupted
=: ;;
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2410 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2411 ac_cache_corrupted
=: ;;
2414 if test "x$ac_old_val" != "x$ac_new_val"; then
2415 # differences in whitespace do not lead to failure.
2416 ac_old_val_w
=`echo x $ac_old_val`
2417 ac_new_val_w
=`echo x $ac_new_val`
2418 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2420 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2421 ac_cache_corrupted
=:
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2424 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2425 eval $ac_var=\
$ac_old_val
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2428 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2430 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2433 # Pass precious variables to config.status.
2434 if test "$ac_new_set" = set; then
2436 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2437 *) ac_arg
=$ac_var=$ac_new_val ;;
2439 case " $ac_configure_args " in
2440 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2441 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2445 if $ac_cache_corrupted; then
2446 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2449 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2450 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2452 ## -------------------- ##
2453 ## Main body of script. ##
2454 ## -------------------- ##
2457 ac_cpp
='$CPP $CPPFLAGS'
2458 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2459 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2460 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2464 ac_config_headers
="$ac_config_headers include/config.h"
2467 for ac_dir
in tools
"$srcdir"/tools
; do
2468 if test -f "$ac_dir/install-sh"; then
2470 ac_install_sh
="$ac_aux_dir/install-sh -c"
2472 elif test -f "$ac_dir/install.sh"; then
2474 ac_install_sh
="$ac_aux_dir/install.sh -c"
2476 elif test -f "$ac_dir/shtool"; then
2478 ac_install_sh
="$ac_aux_dir/shtool install -c"
2482 if test -z "$ac_aux_dir"; then
2483 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2486 # These three variables are undocumented and unsupported,
2487 # and are intended to be withdrawn in a future Autoconf release.
2488 # They can cause serious problems if a builder's source tree is in a directory
2489 # whose full name contains unusual characters.
2490 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2491 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2492 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2498 # Check whether --enable-win16 was given.
2499 if test "${enable_win16+set}" = set; then :
2500 enableval
=$enable_win16;
2503 # Check whether --enable-win64 was given.
2504 if test "${enable_win64+set}" = set; then :
2505 enableval
=$enable_win64;
2508 # Check whether --enable-tests was given.
2509 if test "${enable_tests+set}" = set; then :
2510 enableval
=$enable_tests;
2513 # Check whether --enable-maintainer-mode was given.
2514 if test "${enable_maintainer_mode+set}" = set; then :
2515 enableval
=$enable_maintainer_mode;
2520 # Check whether --with-alsa was given.
2521 if test "${with_alsa+set}" = set; then :
2522 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2526 # Check whether --with-capi was given.
2527 if test "${with_capi+set}" = set; then :
2528 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2532 # Check whether --with-cms was given.
2533 if test "${with_cms+set}" = set; then :
2534 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2538 # Check whether --with-coreaudio was given.
2539 if test "${with_coreaudio+set}" = set; then :
2540 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2544 # Check whether --with-cups was given.
2545 if test "${with_cups+set}" = set; then :
2550 # Check whether --with-curses was given.
2551 if test "${with_curses+set}" = set; then :
2552 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2556 # Check whether --with-dbus was given.
2557 if test "${with_dbus+set}" = set; then :
2562 # Check whether --with-fontconfig was given.
2563 if test "${with_fontconfig+set}" = set; then :
2564 withval
=$with_fontconfig;
2568 # Check whether --with-freetype was given.
2569 if test "${with_freetype+set}" = set; then :
2570 withval
=$with_freetype;
2574 # Check whether --with-gettext was given.
2575 if test "${with_gettext+set}" = set; then :
2576 withval
=$with_gettext;
2580 # Check whether --with-gettextpo was given.
2581 if test "${with_gettextpo+set}" = set; then :
2582 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2586 # Check whether --with-gphoto was given.
2587 if test "${with_gphoto+set}" = set; then :
2588 withval
=$with_gphoto;
2592 # Check whether --with-glu was given.
2593 if test "${with_glu+set}" = set; then :
2594 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2598 # Check whether --with-gnutls was given.
2599 if test "${with_gnutls+set}" = set; then :
2600 withval
=$with_gnutls;
2604 # Check whether --with-gsm was given.
2605 if test "${with_gsm+set}" = set; then :
2606 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2610 # Check whether --with-gstreamer was given.
2611 if test "${with_gstreamer+set}" = set; then :
2612 withval
=$with_gstreamer;
2616 # Check whether --with-hal was given.
2617 if test "${with_hal+set}" = set; then :
2622 # Check whether --with-jpeg was given.
2623 if test "${with_jpeg+set}" = set; then :
2624 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2628 # Check whether --with-ldap was given.
2629 if test "${with_ldap+set}" = set; then :
2630 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2634 # Check whether --with-mpg123 was given.
2635 if test "${with_mpg123+set}" = set; then :
2636 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2640 # Check whether --with-openal was given.
2641 if test "${with_openal+set}" = set; then :
2642 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2646 # Check whether --with-opencl was given.
2647 if test "${with_opencl+set}" = set; then :
2648 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2652 # Check whether --with-opengl was given.
2653 if test "${with_opengl+set}" = set; then :
2654 withval
=$with_opengl;
2658 # Check whether --with-openssl was given.
2659 if test "${with_openssl+set}" = set; then :
2660 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2664 # Check whether --with-oss was given.
2665 if test "${with_oss+set}" = set; then :
2670 # Check whether --with-png was given.
2671 if test "${with_png+set}" = set; then :
2672 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2676 # Check whether --with-pthread was given.
2677 if test "${with_pthread+set}" = set; then :
2678 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2682 # Check whether --with-sane was given.
2683 if test "${with_sane+set}" = set; then :
2688 # Check whether --with-tiff was given.
2689 if test "${with_tiff+set}" = set; then :
2690 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2694 # Check whether --with-v4l was given.
2695 if test "${with_v4l+set}" = set; then :
2700 # Check whether --with-xcomposite was given.
2701 if test "${with_xcomposite+set}" = set; then :
2702 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2706 # Check whether --with-xcursor was given.
2707 if test "${with_xcursor+set}" = set; then :
2708 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2712 # Check whether --with-xinerama was given.
2713 if test "${with_xinerama+set}" = set; then :
2714 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2718 # Check whether --with-xinput was given.
2719 if test "${with_xinput+set}" = set; then :
2720 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2724 # Check whether --with-xinput2 was given.
2725 if test "${with_xinput2+set}" = set; then :
2726 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2730 # Check whether --with-xml was given.
2731 if test "${with_xml+set}" = set; then :
2736 # Check whether --with-xrandr was given.
2737 if test "${with_xrandr+set}" = set; then :
2738 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2742 # Check whether --with-xrender was given.
2743 if test "${with_xrender+set}" = set; then :
2744 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2748 # Check whether --with-xshape was given.
2749 if test "${with_xshape+set}" = set; then :
2750 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2754 # Check whether --with-xslt was given.
2755 if test "${with_xslt+set}" = set; then :
2760 # Check whether --with-xxf86vm was given.
2761 if test "${with_xxf86vm+set}" = set; then :
2762 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
2766 # Check whether --with-zlib was given.
2767 if test "${with_zlib+set}" = set; then :
2768 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2773 # Check whether --with-wine-tools was given.
2774 if test "${with_wine_tools+set}" = set; then :
2775 withval
=$with_wine_tools;
2779 # Check whether --with-wine64 was given.
2780 if test "${with_wine64+set}" = set; then :
2781 withval
=$with_wine64;
2785 # Make sure we can run config.sub.
2786 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2787 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2790 $as_echo_n "checking build system type... " >&6; }
2791 if ${ac_cv_build+:} false
; then :
2792 $as_echo_n "(cached) " >&6
2794 ac_build_alias
=$build_alias
2795 test "x$ac_build_alias" = x
&&
2796 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2797 test "x$ac_build_alias" = x
&&
2798 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2799 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2800 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2804 $as_echo "$ac_cv_build" >&6; }
2805 case $ac_cv_build in
2807 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2810 ac_save_IFS
=$IFS; IFS
='-'
2816 # Remember, the first character of IFS is used to create $*,
2817 # except with old shells:
2820 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2824 $as_echo_n "checking host system type... " >&6; }
2825 if ${ac_cv_host+:} false
; then :
2826 $as_echo_n "(cached) " >&6
2828 if test "x$host_alias" = x
; then
2829 ac_cv_host
=$ac_cv_build
2831 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2832 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2837 $as_echo "$ac_cv_host" >&6; }
2840 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2843 ac_save_IFS
=$IFS; IFS
='-'
2849 # Remember, the first character of IFS is used to create $*,
2850 # except with old shells:
2853 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2859 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2860 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2861 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2867 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2869 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2870 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2871 $as_echo_n "(cached) " >&6
2873 cat >conftest.
make <<\_ACEOF
2876 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2878 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2879 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2881 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2883 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2887 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2889 $as_echo "yes" >&6; }
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2893 $as_echo "no" >&6; }
2894 SET_MAKE
="MAKE=${MAKE-make}"
2898 ac_cpp
='$CPP $CPPFLAGS'
2899 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2900 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2901 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2902 if test -n "$ac_tool_prefix"; then
2903 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2904 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2906 $as_echo_n "checking for $ac_word... " >&6; }
2907 if ${ac_cv_prog_CC+:} false
; then :
2908 $as_echo_n "(cached) " >&6
2910 if test -n "$CC"; then
2911 ac_cv_prog_CC
="$CC" # Let the user override the test.
2913 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2917 test -z "$as_dir" && as_dir
=.
2918 for ac_exec_ext
in '' $ac_executable_extensions; do
2919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2920 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2931 if test -n "$CC"; then
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2933 $as_echo "$CC" >&6; }
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2936 $as_echo "no" >&6; }
2941 if test -z "$ac_cv_prog_CC"; then
2943 # Extract the first word of "gcc", so it can be a program name with args.
2944 set dummy gcc
; ac_word
=$2
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 $as_echo_n "checking for $ac_word... " >&6; }
2947 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2948 $as_echo_n "(cached) " >&6
2950 if test -n "$ac_ct_CC"; then
2951 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2953 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2957 test -z "$as_dir" && as_dir
=.
2958 for ac_exec_ext
in '' $ac_executable_extensions; do
2959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2960 ac_cv_prog_ac_ct_CC
="gcc"
2961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2970 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2971 if test -n "$ac_ct_CC"; then
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2973 $as_echo "$ac_ct_CC" >&6; }
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2976 $as_echo "no" >&6; }
2979 if test "x$ac_ct_CC" = x
; then
2982 case $cross_compiling:$ac_tool_warned in
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2985 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2986 ac_tool_warned
=yes ;;
2994 if test -z "$CC"; then
2995 if test -n "$ac_tool_prefix"; then
2996 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2997 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2999 $as_echo_n "checking for $ac_word... " >&6; }
3000 if ${ac_cv_prog_CC+:} false
; then :
3001 $as_echo_n "(cached) " >&6
3003 if test -n "$CC"; then
3004 ac_cv_prog_CC
="$CC" # Let the user override the test.
3006 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3010 test -z "$as_dir" && as_dir
=.
3011 for ac_exec_ext
in '' $ac_executable_extensions; do
3012 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3013 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3024 if test -n "$CC"; then
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3026 $as_echo "$CC" >&6; }
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3029 $as_echo "no" >&6; }
3035 if test -z "$CC"; then
3036 # Extract the first word of "cc", so it can be a program name with args.
3037 set dummy cc
; ac_word
=$2
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3039 $as_echo_n "checking for $ac_word... " >&6; }
3040 if ${ac_cv_prog_CC+:} false
; then :
3041 $as_echo_n "(cached) " >&6
3043 if test -n "$CC"; then
3044 ac_cv_prog_CC
="$CC" # Let the user override the test.
3047 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3051 test -z "$as_dir" && as_dir
=.
3052 for ac_exec_ext
in '' $ac_executable_extensions; do
3053 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3054 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3055 ac_prog_rejected
=yes
3059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3066 if test $ac_prog_rejected = yes; then
3067 # We found a bogon in the path, so make sure we never use it.
3068 set dummy
$ac_cv_prog_CC
3070 if test $# != 0; then
3071 # We chose a different compiler from the bogus one.
3072 # However, it has the same basename, so the bogon will be chosen
3073 # first if we set CC to just the basename; use the full file name.
3075 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3081 if test -n "$CC"; then
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3083 $as_echo "$CC" >&6; }
3085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3086 $as_echo "no" >&6; }
3091 if test -z "$CC"; then
3092 if test -n "$ac_tool_prefix"; then
3093 for ac_prog
in cl.exe
3095 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3096 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3098 $as_echo_n "checking for $ac_word... " >&6; }
3099 if ${ac_cv_prog_CC+:} false
; then :
3100 $as_echo_n "(cached) " >&6
3102 if test -n "$CC"; then
3103 ac_cv_prog_CC
="$CC" # Let the user override the test.
3105 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3109 test -z "$as_dir" && as_dir
=.
3110 for ac_exec_ext
in '' $ac_executable_extensions; do
3111 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3112 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3123 if test -n "$CC"; then
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3125 $as_echo "$CC" >&6; }
3127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3128 $as_echo "no" >&6; }
3132 test -n "$CC" && break
3135 if test -z "$CC"; then
3137 for ac_prog
in cl.exe
3139 # Extract the first word of "$ac_prog", so it can be a program name with args.
3140 set dummy
$ac_prog; ac_word
=$2
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3142 $as_echo_n "checking for $ac_word... " >&6; }
3143 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3144 $as_echo_n "(cached) " >&6
3146 if test -n "$ac_ct_CC"; then
3147 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3149 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3153 test -z "$as_dir" && as_dir
=.
3154 for ac_exec_ext
in '' $ac_executable_extensions; do
3155 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3156 ac_cv_prog_ac_ct_CC
="$ac_prog"
3157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3167 if test -n "$ac_ct_CC"; then
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3169 $as_echo "$ac_ct_CC" >&6; }
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3172 $as_echo "no" >&6; }
3176 test -n "$ac_ct_CC" && break
3179 if test "x$ac_ct_CC" = x
; then
3182 case $cross_compiling:$ac_tool_warned in
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3186 ac_tool_warned
=yes ;;
3195 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3196 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3197 as_fn_error $?
"no acceptable C compiler found in \$PATH
3198 See \`config.log' for more details" "$LINENO" 5; }
3200 # Provide some information about the compiler.
3201 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3204 for ac_option
in --version -v -V -qversion; do
3205 { { ac_try
="$ac_compiler $ac_option >&5"
3207 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3214 if test -s conftest.err; then
3216 ... rest of stderr output deleted ...
3217 10q' conftest.err >conftest.er1
3218 cat conftest.er1 >&5
3220 rm -f conftest.er1 conftest.err
3221 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3222 test $ac_status = 0; }
3225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3226 /* end confdefs.h. */
3236 ac_clean_files_save=$ac_clean_files
3237 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3238 # Try to create an executable without -o first, disregard a.out.
3239 # It will help us diagnose broken compilers, and finding out an intuition
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3242 $as_echo_n "checking whether the C compiler works... " >&6; }
3243 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3245 # The possible output files:
3246 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3249 for ac_file in $ac_files
3252 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3253 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3258 if { { ac_try="$ac_link_default"
3260 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3261 *) ac_try_echo
=$ac_try;;
3263 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3264 $as_echo "$ac_try_echo"; } >&5
3265 (eval "$ac_link_default") 2>&5
3267 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3268 test $ac_status = 0; }; then :
3269 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3270 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3271 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3272 # so that the user can short-circuit this test for compilers unknown to
3274 for ac_file
in $ac_files ''
3276 test -f "$ac_file" ||
continue
3278 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3281 # We found the default executable, but exeext='' is most
3285 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3287 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3289 # We set ac_cv_exeext here because the later test for it is not
3290 # safe: cross compilers may not add the suffix if given an `-o'
3291 # argument, so we may need to know it at that point already.
3292 # Even if this section looks crufty: it has the advantage of
3299 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3304 if test -z "$ac_file"; then :
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 $as_echo "$as_me: failed program was:" >&5
3308 sed 's/^/| /' conftest.
$ac_ext >&5
3310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3312 as_fn_error
77 "C compiler cannot create executables
3313 See \`config.log' for more details" "$LINENO" 5; }
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3316 $as_echo "yes" >&6; }
3318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3319 $as_echo_n "checking for C compiler default output file name... " >&6; }
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3321 $as_echo "$ac_file" >&6; }
3322 ac_exeext
=$ac_cv_exeext
3324 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3325 ac_clean_files
=$ac_clean_files_save
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3327 $as_echo_n "checking for suffix of executables... " >&6; }
3328 if { { ac_try
="$ac_link"
3330 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3331 *) ac_try_echo=$ac_try;;
3333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3334 $as_echo "$ac_try_echo"; } >&5
3335 (eval "$ac_link") 2>&5
3337 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3338 test $ac_status = 0; }; then :
3339 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3340 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3341 # work properly (i.e., refer to `conftest.exe'), while it won't with
3343 for ac_file
in conftest.exe conftest conftest.
*; do
3344 test -f "$ac_file" ||
continue
3346 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3347 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3353 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3354 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3355 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3356 See \`config.log' for more details" "$LINENO" 5; }
3358 rm -f conftest conftest
$ac_cv_exeext
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3360 $as_echo "$ac_cv_exeext" >&6; }
3362 rm -f conftest.
$ac_ext
3363 EXEEXT
=$ac_cv_exeext
3365 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3366 /* end confdefs.h. */
3371 FILE *f = fopen ("conftest.out", "w");
3372 return ferror (f) || fclose (f) != 0;
3378 ac_clean_files
="$ac_clean_files conftest.out"
3379 # Check that the compiler produces executables we can run. If not, either
3380 # the compiler is broken, or we cross compile.
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3382 $as_echo_n "checking whether we are cross compiling... " >&6; }
3383 if test "$cross_compiling" != yes; then
3384 { { ac_try
="$ac_link"
3386 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3387 *) ac_try_echo=$ac_try;;
3389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_link") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }
3395 if { ac_try='./conftest$ac_cv_exeext'
3396 { { case "(($ac_try" in
3397 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3398 *) ac_try_echo
=$ac_try;;
3400 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3401 $as_echo "$ac_try_echo"; } >&5
3402 (eval "$ac_try") 2>&5
3404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3405 test $ac_status = 0; }; }; then
3408 if test "$cross_compiling" = maybe
; then
3411 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3412 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3413 as_fn_error $?
"cannot run C compiled programs.
3414 If you meant to cross compile, use \`--host'.
3415 See \`config.log' for more details" "$LINENO" 5; }
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3420 $as_echo "$cross_compiling" >&6; }
3422 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3423 ac_clean_files
=$ac_clean_files_save
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3425 $as_echo_n "checking for suffix of object files... " >&6; }
3426 if ${ac_cv_objext+:} false
; then :
3427 $as_echo_n "(cached) " >&6
3429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3430 /* end confdefs.h. */
3440 rm -f conftest.o conftest.obj
3441 if { { ac_try
="$ac_compile"
3443 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3444 *) ac_try_echo=$ac_try;;
3446 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3447 $as_echo "$ac_try_echo"; } >&5
3448 (eval "$ac_compile") 2>&5
3450 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3451 test $ac_status = 0; }; then :
3452 for ac_file in conftest.o conftest.obj conftest.*; do
3453 test -f "$ac_file" || continue;
3455 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3456 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3461 $as_echo "$as_me: failed program was:" >&5
3462 sed 's/^/| /' conftest.$ac_ext >&5
3464 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3465 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3466 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3467 See \
`config.log' for more details" "$LINENO" 5; }
3469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3472 $as_echo "$ac_cv_objext" >&6; }
3473 OBJEXT=$ac_cv_objext
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3476 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3477 if ${ac_cv_c_compiler_gnu+:} false; then :
3478 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3494 if ac_fn_c_try_compile "$LINENO"; then :
3499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3504 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3505 if test $ac_compiler_gnu = yes; then
3510 ac_test_CFLAGS=${CFLAGS+set}
3511 ac_save_CFLAGS=$CFLAGS
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3513 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3514 if ${ac_cv_prog_cc_g+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 ac_save_c_werror_flag=$ac_c_werror_flag
3518 ac_c_werror_flag=yes
3521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3522 /* end confdefs.h. */
3532 if ac_fn_c_try_compile "$LINENO"; then :
3536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3537 /* end confdefs.h. */
3547 if ac_fn_c_try_compile "$LINENO"; then :
3550 ac_c_werror_flag=$ac_save_c_werror_flag
3552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3553 /* end confdefs.h. */
3563 if ac_fn_c_try_compile "$LINENO"; then :
3566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3571 ac_c_werror_flag=$ac_save_c_werror_flag
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3574 $as_echo "$ac_cv_prog_cc_g" >&6; }
3575 if test "$ac_test_CFLAGS" = set; then
3576 CFLAGS=$ac_save_CFLAGS
3577 elif test $ac_cv_prog_cc_g = yes; then
3578 if test "$GCC" = yes; then
3584 if test "$GCC" = yes; then
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3591 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3592 if ${ac_cv_prog_cc_c89+:} false; then :
3593 $as_echo_n "(cached) " >&6
3595 ac_cv_prog_cc_c89=no
3597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3598 /* end confdefs.h. */
3601 #include <sys/types.h>
3602 #include <sys/stat.h>
3603 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3604 struct buf { int x; };
3605 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3606 static char *e (p, i)
3612 static char *f (char * (*g) (char **, int), char **p, ...)
3617 s = g (p, va_arg (v,int));
3622 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3623 function prototypes and stuff, but not '\xHH' hex character constants.
3624 These don't provoke an error unfortunately, instead are silently treated
3625 as 'x'. The following induces an error, until -std is added to get
3626 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3627 array size at least. It's necessary to write '\x00'==0 to get something
3628 that's true only with -std. */
3629 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3631 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3632 inside strings and character constants. */
3634 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3636 int test (int i, double x);
3637 struct s1 {int (*f) (int a);};
3638 struct s2 {int (*f) (double a);};
3639 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3645 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3650 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3651 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3653 CC="$ac_save_CC $ac_arg"
3654 if ac_fn_c_try_compile "$LINENO"; then :
3655 ac_cv_prog_cc_c89=$ac_arg
3657 rm -f core conftest.err conftest.$ac_objext
3658 test "x$ac_cv_prog_cc_c89" != "xno" && break
3660 rm -f conftest.$ac_ext
3665 case "x$ac_cv_prog_cc_c89" in
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3668 $as_echo "none needed" >&6; } ;;
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3671 $as_echo "unsupported" >&6; } ;;
3673 CC="$CC $ac_cv_prog_cc_c89"
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3675 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3677 if test "x$ac_cv_prog_cc_c89" != xno; then :
3682 ac_cpp='$CPP $CPPFLAGS'
3683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3688 ac_cpp='$CXXCPP $CPPFLAGS'
3689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3692 if test -z "$CXX"; then
3693 if test -n "$CCC"; then
3696 if test -n "$ac_tool_prefix"; then
3697 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3699 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3700 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3702 $as_echo_n "checking for $ac_word... " >&6; }
3703 if ${ac_cv_prog_CXX+:} false; then :
3704 $as_echo_n "(cached) " >&6
3706 if test -n "$CXX"; then
3707 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3713 test -z "$as_dir" && as_dir=.
3714 for ac_exec_ext in '' $ac_executable_extensions; do
3715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3716 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 if test -n "$CXX"; then
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3729 $as_echo "$CXX" >&6; }
3731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3732 $as_echo "no" >&6; }
3736 test -n "$CXX" && break
3739 if test -z "$CXX"; then
3741 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3743 # Extract the first word of "$ac_prog", so it can be a program name with args.
3744 set dummy $ac_prog; ac_word=$2
3745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3746 $as_echo_n "checking for $ac_word... " >&6; }
3747 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3748 $as_echo_n "(cached) " >&6
3750 if test -n "$ac_ct_CXX"; then
3751 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3757 test -z "$as_dir" && as_dir=.
3758 for ac_exec_ext in '' $ac_executable_extensions; do
3759 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3760 ac_cv_prog_ac_ct_CXX="$ac_prog"
3761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3770 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3771 if test -n "$ac_ct_CXX"; then
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3773 $as_echo "$ac_ct_CXX" >&6; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3776 $as_echo "no" >&6; }
3780 test -n "$ac_ct_CXX" && break
3783 if test "x$ac_ct_CXX" = x; then
3786 case $cross_compiling:$ac_tool_warned in
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3789 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3790 ac_tool_warned=yes ;;
3798 # Provide some information about the compiler.
3799 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3802 for ac_option in --version -v -V -qversion; do
3803 { { ac_try="$ac_compiler $ac_option >&5"
3805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3806 *) ac_try_echo
=$ac_try;;
3808 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3809 $as_echo "$ac_try_echo"; } >&5
3810 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3812 if test -s conftest.err
; then
3814 ... rest of stderr output deleted ...
3815 10q' conftest.err
>conftest.er1
3816 cat conftest.er1
>&5
3818 rm -f conftest.er1 conftest.err
3819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3820 test $ac_status = 0; }
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3824 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3825 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3826 $as_echo_n "(cached) " >&6
3828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3829 /* end confdefs.h. */
3842 if ac_fn_cxx_try_compile
"$LINENO"; then :
3847 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3848 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3852 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3853 if test $ac_compiler_gnu = yes; then
3858 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3859 ac_save_CXXFLAGS
=$CXXFLAGS
3860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3861 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3862 if ${ac_cv_prog_cxx_g+:} false
; then :
3863 $as_echo_n "(cached) " >&6
3865 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3866 ac_cxx_werror_flag
=yes
3869 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3870 /* end confdefs.h. */
3880 if ac_fn_cxx_try_compile
"$LINENO"; then :
3881 ac_cv_prog_cxx_g
=yes
3884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3885 /* end confdefs.h. */
3895 if ac_fn_cxx_try_compile
"$LINENO"; then :
3898 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3911 if ac_fn_cxx_try_compile
"$LINENO"; then :
3912 ac_cv_prog_cxx_g
=yes
3914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3916 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3919 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3922 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3923 if test "$ac_test_CXXFLAGS" = set; then
3924 CXXFLAGS
=$ac_save_CXXFLAGS
3925 elif test $ac_cv_prog_cxx_g = yes; then
3926 if test "$GXX" = yes; then
3932 if test "$GXX" = yes; then
3939 ac_cpp
='$CPP $CPPFLAGS'
3940 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3941 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3942 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3946 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3948 $as_echo_n "checking for $ac_word... " >&6; }
3949 if ${ac_cv_prog_CPPBIN+:} false
; then :
3950 $as_echo_n "(cached) " >&6
3952 if test -n "$CPPBIN"; then
3953 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3959 test -z "$as_dir" && as_dir
=.
3960 for ac_exec_ext
in '' $ac_executable_extensions; do
3961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3962 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3972 CPPBIN
=$ac_cv_prog_CPPBIN
3973 if test -n "$CPPBIN"; then
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3975 $as_echo "$CPPBIN" >&6; }
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3978 $as_echo "no" >&6; }
3983 if test -z "$ac_cv_prog_CPPBIN"; then
3984 ac_ct_CPPBIN
=$CPPBIN
3985 # Extract the first word of "cpp", so it can be a program name with args.
3986 set dummy cpp
; ac_word
=$2
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3988 $as_echo_n "checking for $ac_word... " >&6; }
3989 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
3990 $as_echo_n "(cached) " >&6
3992 if test -n "$ac_ct_CPPBIN"; then
3993 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3999 test -z "$as_dir" && as_dir
=.
4000 for ac_exec_ext
in '' $ac_executable_extensions; do
4001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4002 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4013 if test -n "$ac_ct_CPPBIN"; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4015 $as_echo "$ac_ct_CPPBIN" >&6; }
4017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4018 $as_echo "no" >&6; }
4021 if test "x$ac_ct_CPPBIN" = x
; then
4024 case $cross_compiling:$ac_tool_warned in
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4027 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4028 ac_tool_warned
=yes ;;
4030 CPPBIN
=$ac_ct_CPPBIN
4033 CPPBIN
="$ac_cv_prog_CPPBIN"
4037 cat >>confdefs.h
<<_ACEOF
4038 #define EXEEXT "$ac_exeext"
4044 if test "x$enable_win64" = "xyes"
4049 notice_platform
="64-bit "
4056 notice_platform
="32-bit "
4059 enable_win16
=${enable_win16:-yes}
4061 with_fontconfig
=${with_fontconfig:-no}
4064 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4069 $as_echo_n "checking whether $CC works... " >&6; }
4071 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4082 if ac_fn_c_try_link
"$LINENO"; then :
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4084 $as_echo "yes" >&6; }
4086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4087 $as_echo "no" >&6; }
4088 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4090 rm -f core conftest.err conftest.
$ac_objext \
4091 conftest
$ac_exeext conftest.
$ac_ext
4093 notice_platform
="32-bit "
4096 enable_win16
=${enable_win16:-yes}
4098 if test "x${GCC}" = "xyes"
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4101 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4102 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4103 /* end confdefs.h. */
4108 void func(__builtin_ms_va_list *args);
4113 if ac_fn_c_try_compile
"$LINENO"; then :
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4115 $as_echo "yes" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4118 $as_echo "no" >&6; }
4119 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4121 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4127 *-mingw32*|
*-cygwin*)
4128 enable_win16
=${enable_win16:-no}
4129 CFLAGS
="$CFLAGS -D_WIN32"
4132 enable_win16
=${enable_win16:-yes}
4136 enable_win16
=${enable_win16:-no}
4137 enable_win64
=${enable_win64:-no}
4139 enable_winetest
=${enable_winetest:-$enable_tests}
4141 if test -n "$with_wine64"
4143 if test "x$enable_win64" = "xyes"
4145 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4146 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4150 enable_fonts
=${enable_fonts:-no}
4151 enable_server
=${enable_server:-no}
4152 enable_tools
=${enable_tools:-no}
4153 elif test "x$enable_win64" = "xyes"
4155 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4159 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4160 if ${wine_cv_toolsdir+:} false
; then :
4161 $as_echo_n "(cached) " >&6
4163 wine_cv_toolsdir
="$with_wine_tools"
4164 if test -z "$with_wine_tools"; then
4165 if test "$cross_compiling" = "yes"; then
4166 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4167 elif test -n "$with_wine64"; then
4168 wine_cv_toolsdir
="$with_wine64"
4171 if test -z "$wine_cv_toolsdir"; then
4172 wine_cv_toolsdir
="\$(top_builddir)"
4173 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4174 case "$wine_cv_toolsdir" in
4176 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4179 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4183 $as_echo "$wine_cv_toolsdir" >&6; }
4184 TOOLSDIR
=$wine_cv_toolsdir
4186 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4188 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4194 # Extract the first word of "$ac_prog", so it can be a program name with args.
4195 set dummy
$ac_prog; ac_word
=$2
4196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4197 $as_echo_n "checking for $ac_word... " >&6; }
4198 if ${ac_cv_prog_FLEX+:} false
; then :
4199 $as_echo_n "(cached) " >&6
4201 if test -n "$FLEX"; then
4202 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4204 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4208 test -z "$as_dir" && as_dir
=.
4209 for ac_exec_ext
in '' $ac_executable_extensions; do
4210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4211 ac_cv_prog_FLEX
="$ac_prog"
4212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4221 FLEX
=$ac_cv_prog_FLEX
4222 if test -n "$FLEX"; then
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4224 $as_echo "$FLEX" >&6; }
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4227 $as_echo "no" >&6; }
4231 test -n "$FLEX" && break
4233 test -n "$FLEX" || FLEX
="none"
4235 if test "$FLEX" = "none"
4237 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4240 $as_echo_n "checking whether flex is recent enough... " >&6; }
4241 cat >conftest.l
<<EOF
4243 #include "prediluvian.h"
4247 if $FLEX -t conftest.l
>/dev
/null
2>&5
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4250 $as_echo "yes" >&6; }
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4253 $as_echo "no" >&6; }
4254 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4257 for ac_prog
in bison
4259 # Extract the first word of "$ac_prog", so it can be a program name with args.
4260 set dummy
$ac_prog; ac_word
=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if ${ac_cv_prog_BISON+:} false
; then :
4264 $as_echo_n "(cached) " >&6
4266 if test -n "$BISON"; then
4267 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4273 test -z "$as_dir" && as_dir
=.
4274 for ac_exec_ext
in '' $ac_executable_extensions; do
4275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4276 ac_cv_prog_BISON
="$ac_prog"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4286 BISON
=$ac_cv_prog_BISON
4287 if test -n "$BISON"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4289 $as_echo "$BISON" >&6; }
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 test -n "$BISON" && break
4298 test -n "$BISON" || BISON
="none"
4300 if test "$BISON" = "none"
4302 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4305 if test -n "$ac_tool_prefix"; then
4306 for ac_prog
in ar gar
4308 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4309 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4311 $as_echo_n "checking for $ac_word... " >&6; }
4312 if ${ac_cv_prog_AR+:} false
; then :
4313 $as_echo_n "(cached) " >&6
4315 if test -n "$AR"; then
4316 ac_cv_prog_AR
="$AR" # Let the user override the test.
4318 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4322 test -z "$as_dir" && as_dir
=.
4323 for ac_exec_ext
in '' $ac_executable_extensions; do
4324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4325 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4336 if test -n "$AR"; then
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4338 $as_echo "$AR" >&6; }
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4341 $as_echo "no" >&6; }
4345 test -n "$AR" && break
4348 if test -z "$AR"; then
4350 for ac_prog
in ar gar
4352 # Extract the first word of "$ac_prog", so it can be a program name with args.
4353 set dummy
$ac_prog; ac_word
=$2
4354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4355 $as_echo_n "checking for $ac_word... " >&6; }
4356 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4357 $as_echo_n "(cached) " >&6
4359 if test -n "$ac_ct_AR"; then
4360 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4362 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4366 test -z "$as_dir" && as_dir
=.
4367 for ac_exec_ext
in '' $ac_executable_extensions; do
4368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4369 ac_cv_prog_ac_ct_AR
="$ac_prog"
4370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4380 if test -n "$ac_ct_AR"; then
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4382 $as_echo "$ac_ct_AR" >&6; }
4384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4385 $as_echo "no" >&6; }
4389 test -n "$ac_ct_AR" && break
4392 if test "x$ac_ct_AR" = x
; then
4395 case $cross_compiling:$ac_tool_warned in
4397 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4398 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4399 ac_tool_warned
=yes ;;
4407 if test -n "$ac_tool_prefix"; then
4408 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4409 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if ${ac_cv_prog_RANLIB+:} false
; then :
4413 $as_echo_n "(cached) " >&6
4415 if test -n "$RANLIB"; then
4416 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4418 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4422 test -z "$as_dir" && as_dir
=.
4423 for ac_exec_ext
in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4435 RANLIB
=$ac_cv_prog_RANLIB
4436 if test -n "$RANLIB"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4438 $as_echo "$RANLIB" >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4446 if test -z "$ac_cv_prog_RANLIB"; then
4447 ac_ct_RANLIB
=$RANLIB
4448 # Extract the first word of "ranlib", so it can be a program name with args.
4449 set dummy ranlib
; ac_word
=$2
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4451 $as_echo_n "checking for $ac_word... " >&6; }
4452 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -n "$ac_ct_RANLIB"; then
4456 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4458 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4462 test -z "$as_dir" && as_dir
=.
4463 for ac_exec_ext
in '' $ac_executable_extensions; do
4464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4465 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4475 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4476 if test -n "$ac_ct_RANLIB"; then
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4478 $as_echo "$ac_ct_RANLIB" >&6; }
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4481 $as_echo "no" >&6; }
4484 if test "x$ac_ct_RANLIB" = x
; then
4487 case $cross_compiling:$ac_tool_warned in
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4491 ac_tool_warned
=yes ;;
4493 RANLIB
=$ac_ct_RANLIB
4496 RANLIB
="$ac_cv_prog_RANLIB"
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4500 $as_echo_n "checking whether ln -s works... " >&6; }
4502 if test "$LN_S" = "ln -s"; then
4503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4504 $as_echo "yes" >&6; }
4506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4507 $as_echo "no, using $LN_S" >&6; }
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4511 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4512 if ${ac_cv_path_GREP+:} false
; then :
4513 $as_echo_n "(cached) " >&6
4515 if test -z "$GREP"; then
4516 ac_path_GREP_found
=false
4517 # Loop through the user's path and test for each of PROGNAME-LIST
4518 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4519 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4522 test -z "$as_dir" && as_dir
=.
4523 for ac_prog
in grep ggrep
; do
4524 for ac_exec_ext
in '' $ac_executable_extensions; do
4525 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4526 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4527 # Check for GNU ac_path_GREP and select it if it is found.
4528 # Check for GNU $ac_path_GREP
4529 case `"$ac_path_GREP" --version 2>&1` in
4531 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4534 $as_echo_n 0123456789 >"conftest.in"
4537 cat "conftest.in" "conftest.in" >"conftest.tmp"
4538 mv "conftest.tmp" "conftest.in"
4539 cp "conftest.in" "conftest.nl"
4540 $as_echo 'GREP' >> "conftest.nl"
4541 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4542 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4543 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4544 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4545 # Best one so far, save it but keep looking for a better one
4546 ac_cv_path_GREP
="$ac_path_GREP"
4547 ac_path_GREP_max
=$ac_count
4549 # 10*(2^10) chars as input seems more than enough
4550 test $ac_count -gt 10 && break
4552 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4555 $ac_path_GREP_found && break 3
4560 if test -z "$ac_cv_path_GREP"; then
4561 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4564 ac_cv_path_GREP
=$GREP
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4569 $as_echo "$ac_cv_path_GREP" >&6; }
4570 GREP
="$ac_cv_path_GREP"
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4574 $as_echo_n "checking for egrep... " >&6; }
4575 if ${ac_cv_path_EGREP+:} false
; then :
4576 $as_echo_n "(cached) " >&6
4578 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4579 then ac_cv_path_EGREP
="$GREP -E"
4581 if test -z "$EGREP"; then
4582 ac_path_EGREP_found
=false
4583 # Loop through the user's path and test for each of PROGNAME-LIST
4584 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4585 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4588 test -z "$as_dir" && as_dir
=.
4589 for ac_prog
in egrep; do
4590 for ac_exec_ext
in '' $ac_executable_extensions; do
4591 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4592 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4593 # Check for GNU ac_path_EGREP and select it if it is found.
4594 # Check for GNU $ac_path_EGREP
4595 case `"$ac_path_EGREP" --version 2>&1` in
4597 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4600 $as_echo_n 0123456789 >"conftest.in"
4603 cat "conftest.in" "conftest.in" >"conftest.tmp"
4604 mv "conftest.tmp" "conftest.in"
4605 cp "conftest.in" "conftest.nl"
4606 $as_echo 'EGREP' >> "conftest.nl"
4607 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4608 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4609 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4610 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4611 # Best one so far, save it but keep looking for a better one
4612 ac_cv_path_EGREP
="$ac_path_EGREP"
4613 ac_path_EGREP_max
=$ac_count
4615 # 10*(2^10) chars as input seems more than enough
4616 test $ac_count -gt 10 && break
4618 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4621 $ac_path_EGREP_found && break 3
4626 if test -z "$ac_cv_path_EGREP"; then
4627 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4630 ac_cv_path_EGREP
=$EGREP
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4636 $as_echo "$ac_cv_path_EGREP" >&6; }
4637 EGREP
="$ac_cv_path_EGREP"
4640 # Extract the first word of "ldconfig", so it can be a program name with args.
4641 set dummy ldconfig
; ac_word
=$2
4642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4643 $as_echo_n "checking for $ac_word... " >&6; }
4644 if ${ac_cv_path_LDCONFIG+:} false
; then :
4645 $as_echo_n "(cached) " >&6
4649 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4652 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4653 for as_dir
in /sbin
/usr
/sbin
$PATH
4656 test -z "$as_dir" && as_dir
=.
4657 for ac_exec_ext
in '' $ac_executable_extensions; do
4658 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4659 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4667 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4671 LDCONFIG
=$ac_cv_path_LDCONFIG
4672 if test -n "$LDCONFIG"; then
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4674 $as_echo "$LDCONFIG" >&6; }
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4677 $as_echo "no" >&6; }
4681 # Find a good install program. We prefer a C program (faster),
4682 # so one script is as good as another. But avoid the broken or
4683 # incompatible versions:
4684 # SysV /etc/install, /usr/sbin/install
4685 # SunOS /usr/etc/install
4686 # IRIX /sbin/install
4688 # AmigaOS /C/install, which installs bootblocks on floppy discs
4689 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4690 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4691 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4692 # OS/2's system install, which has a completely different semantic
4693 # ./install, which can be erroneously created by make from ./install.sh.
4694 # Reject install programs that cannot install multiple files.
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4696 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4697 if test -z "$INSTALL"; then
4698 if ${ac_cv_path_install+:} false
; then :
4699 $as_echo_n "(cached) " >&6
4701 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 test -z "$as_dir" && as_dir
=.
4706 # Account for people who put trailing slashes in PATH elements.
4707 case $as_dir/ in #((
4708 .
/ | .
// |
/[cC
]/* | \
4709 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4710 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4713 # OSF1 and SCO ODT 3.0 have their own names for install.
4714 # Don't use installbsd from OSF since it installs stuff as root
4716 for ac_prog
in ginstall scoinst
install; do
4717 for ac_exec_ext
in '' $ac_executable_extensions; do
4718 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4719 if test $ac_prog = install &&
4720 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4721 # AIX install. It has an incompatible calling convention.
4723 elif test $ac_prog = install &&
4724 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4725 # program-specific install script used by HP pwplus--don't use.
4728 rm -rf conftest.one conftest.two conftest.dir
4729 echo one
> conftest.one
4730 echo two
> conftest.two
4732 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4733 test -s conftest.one
&& test -s conftest.two
&&
4734 test -s conftest.dir
/conftest.one
&&
4735 test -s conftest.dir
/conftest.two
4737 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4750 rm -rf conftest.one conftest.two conftest.dir
4753 if test "${ac_cv_path_install+set}" = set; then
4754 INSTALL
=$ac_cv_path_install
4756 # As a last resort, use the slow shell script. Don't cache a
4757 # value for INSTALL within a source directory, because that will
4758 # break other packages using the cache if that directory is
4759 # removed, or if the value is a relative name.
4760 INSTALL
=$ac_install_sh
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4764 $as_echo "$INSTALL" >&6; }
4766 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4767 # It thinks the first close brace ends the variable substitution.
4768 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4770 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4772 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4775 [\\/$
]* | ?
:[\\/]* ) ;;
4776 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4779 for ac_prog
in lclint lint
4781 # Extract the first word of "$ac_prog", so it can be a program name with args.
4782 set dummy
$ac_prog; ac_word
=$2
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4784 $as_echo_n "checking for $ac_word... " >&6; }
4785 if ${ac_cv_prog_LINT+:} false
; then :
4786 $as_echo_n "(cached) " >&6
4788 if test -n "$LINT"; then
4789 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4791 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4795 test -z "$as_dir" && as_dir
=.
4796 for ac_exec_ext
in '' $ac_executable_extensions; do
4797 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4798 ac_cv_prog_LINT
="$ac_prog"
4799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4808 LINT
=$ac_cv_prog_LINT
4809 if test -n "$LINT"; then
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4811 $as_echo "$LINT" >&6; }
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4814 $as_echo "no" >&6; }
4818 test -n "$LINT" && break
4821 if test "$LINT" = "lint"
4823 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4827 for ac_prog
in fontforge
4829 # Extract the first word of "$ac_prog", so it can be a program name with args.
4830 set dummy
$ac_prog; ac_word
=$2
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 $as_echo_n "checking for $ac_word... " >&6; }
4833 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4834 $as_echo_n "(cached) " >&6
4836 if test -n "$FONTFORGE"; then
4837 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4839 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4843 test -z "$as_dir" && as_dir
=.
4844 for ac_exec_ext
in '' $ac_executable_extensions; do
4845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4846 ac_cv_prog_FONTFORGE
="$ac_prog"
4847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4856 FONTFORGE
=$ac_cv_prog_FONTFORGE
4857 if test -n "$FONTFORGE"; then
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4859 $as_echo "$FONTFORGE" >&6; }
4861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4862 $as_echo "no" >&6; }
4866 test -n "$FONTFORGE" && break
4868 test -n "$FONTFORGE" || FONTFORGE
="false"
4870 for ac_prog
in pkg-config
4872 # Extract the first word of "$ac_prog", so it can be a program name with args.
4873 set dummy
$ac_prog; ac_word
=$2
4874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4875 $as_echo_n "checking for $ac_word... " >&6; }
4876 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4877 $as_echo_n "(cached) " >&6
4879 if test -n "$PKG_CONFIG"; then
4880 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4882 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4886 test -z "$as_dir" && as_dir
=.
4887 for ac_exec_ext
in '' $ac_executable_extensions; do
4888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4889 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4899 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4900 if test -n "$PKG_CONFIG"; then
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4902 $as_echo "$PKG_CONFIG" >&6; }
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4905 $as_echo "no" >&6; }
4909 test -n "$PKG_CONFIG" && break
4911 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy
$ac_prog; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if ${ac_cv_prog_RSVG+:} false
; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$RSVG"; then
4923 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_RSVG
="$ac_prog"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 RSVG
=$ac_cv_prog_RSVG
4943 if test -n "$RSVG"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4945 $as_echo "$RSVG" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4952 test -n "$RSVG" && break
4954 test -n "$RSVG" || RSVG
="false"
4956 for ac_prog
in convert
4958 # Extract the first word of "$ac_prog", so it can be a program name with args.
4959 set dummy
$ac_prog; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if ${ac_cv_prog_CONVERT+:} false
; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$CONVERT"; then
4966 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_CONVERT
="$ac_prog"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 CONVERT
=$ac_cv_prog_CONVERT
4986 if test -n "$CONVERT"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4988 $as_echo "$CONVERT" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$CONVERT" && break
4997 test -n "$CONVERT" || CONVERT
="false"
4999 for ac_prog
in icotool
5001 # Extract the first word of "$ac_prog", so it can be a program name with args.
5002 set dummy
$ac_prog; ac_word
=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$ICOTOOL"; then
5009 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_ICOTOOL
="$ac_prog"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 ICOTOOL
=$ac_cv_prog_ICOTOOL
5029 if test -n "$ICOTOOL"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5031 $as_echo "$ICOTOOL" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5038 test -n "$ICOTOOL" && break
5040 test -n "$ICOTOOL" || ICOTOOL
="false"
5042 for ac_prog
in msgfmt
5044 # Extract the first word of "$ac_prog", so it can be a program name with args.
5045 set dummy
$ac_prog; ac_word
=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if ${ac_cv_prog_MSGFMT+:} false
; then :
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$MSGFMT"; then
5052 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5061 ac_cv_prog_MSGFMT
="$ac_prog"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 MSGFMT
=$ac_cv_prog_MSGFMT
5072 if test -n "$MSGFMT"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5074 $as_echo "$MSGFMT" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5081 test -n "$MSGFMT" && break
5083 test -n "$MSGFMT" || MSGFMT
="false"
5086 if test "x$enable_maintainer_mode" != "xyes"
5091 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5092 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5094 if test "$CONVERT" = false
5096 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5099 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5100 convert_version
=`convert --version | head -n1`
5101 if test "x$convert_version" != "x"
5103 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5104 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5105 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5110 if test "$CONVERT" = false
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5113 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5114 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5117 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5121 if test "$ICOTOOL" = false
5123 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5126 $as_echo_n "checking for recent enough icotool... " >&6; }
5127 icotool_version
=`icotool --version | head -n1`
5128 if test "x$icotool_version" != "x"
5130 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5131 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5132 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5135 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5138 if test "$ICOTOOL" = false
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5141 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5142 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5145 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5151 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5154 test "x$with_gettext" != xno || MSGFMT
=false
5155 if test "$MSGFMT" != "false"
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5158 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5159 cat >conftest.po
<<EOF
5165 if $MSGFMT -o /dev
/null conftest.po
2>&5
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5168 $as_echo "yes" >&6; }
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5175 if test "$MSGFMT" = false
; then :
5176 case "x$with_gettext" in
5177 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5179 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5180 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5186 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5187 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5188 $as_echo_n "(cached) " >&6
5190 ac_check_lib_save_LIBS
=$LIBS
5192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5193 /* end confdefs.h. */
5195 /* Override any GCC internal prototype to avoid an error.
5196 Use char because int might match the return type of a GCC
5197 builtin and then its argument prototype would still apply. */
5201 char i386_set_ldt ();
5205 return i386_set_ldt ();
5210 if ac_fn_c_try_link
"$LINENO"; then :
5211 ac_cv_lib_i386_i386_set_ldt
=yes
5213 ac_cv_lib_i386_i386_set_ldt
=no
5215 rm -f core conftest.err conftest.
$ac_objext \
5216 conftest
$ac_exeext conftest.
$ac_ext
5217 LIBS
=$ac_check_lib_save_LIBS
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5220 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5221 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5222 cat >>confdefs.h
<<_ACEOF
5223 #define HAVE_LIBI386 1
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5231 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5232 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5233 $as_echo_n "(cached) " >&6
5235 ac_check_lib_save_LIBS
=$LIBS
5236 LIBS
="-lossaudio $LIBS"
5237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5238 /* end confdefs.h. */
5240 /* Override any GCC internal prototype to avoid an error.
5241 Use char because int might match the return type of a GCC
5242 builtin and then its argument prototype would still apply. */
5250 return _oss_ioctl ();
5255 if ac_fn_c_try_link
"$LINENO"; then :
5256 ac_cv_lib_ossaudio__oss_ioctl
=yes
5258 ac_cv_lib_ossaudio__oss_ioctl
=no
5260 rm -f core conftest.err conftest.
$ac_objext \
5261 conftest
$ac_exeext conftest.
$ac_ext
5262 LIBS
=$ac_check_lib_save_LIBS
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5265 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5266 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5267 cat >>confdefs.h
<<_ACEOF
5268 #define HAVE_LIBOSSAUDIO 1
5271 LIBS
="-lossaudio $LIBS"
5282 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5284 # Check whether --enable-largefile was given.
5285 if test "${enable_largefile+set}" = set; then :
5286 enableval
=$enable_largefile;
5289 if test "$enable_largefile" != no
; then
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5292 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5293 if ${ac_cv_sys_largefile_CC+:} false
; then :
5294 $as_echo_n "(cached) " >&6
5296 ac_cv_sys_largefile_CC
=no
5297 if test "$GCC" != yes; then
5300 # IRIX 6.2 and later do not support large files by default,
5301 # so use the C compiler's -n32 option if that helps.
5302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5303 /* end confdefs.h. */
5304 #include <sys/types.h>
5305 /* Check that off_t can represent 2**63 - 1 correctly.
5306 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5307 since some C++ compilers masquerading as C compilers
5308 incorrectly reject 9223372036854775807. */
5309 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5310 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5311 && LARGE_OFF_T % 2147483647 == 1)
5321 if ac_fn_c_try_compile
"$LINENO"; then :
5324 rm -f core conftest.err conftest.
$ac_objext
5326 if ac_fn_c_try_compile
"$LINENO"; then :
5327 ac_cv_sys_largefile_CC
=' -n32'; break
5329 rm -f core conftest.err conftest.
$ac_objext
5333 rm -f conftest.
$ac_ext
5336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5337 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5338 if test "$ac_cv_sys_largefile_CC" != no
; then
5339 CC
=$CC$ac_cv_sys_largefile_CC
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5343 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5344 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5345 $as_echo_n "(cached) " >&6
5348 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5350 #include <sys/types.h>
5351 /* Check that off_t can represent 2**63 - 1 correctly.
5352 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5353 since some C++ compilers masquerading as C compilers
5354 incorrectly reject 9223372036854775807. */
5355 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5356 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5357 && LARGE_OFF_T % 2147483647 == 1)
5367 if ac_fn_c_try_compile
"$LINENO"; then :
5368 ac_cv_sys_file_offset_bits
=no
; break
5370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5373 #define _FILE_OFFSET_BITS 64
5374 #include <sys/types.h>
5375 /* Check that off_t can represent 2**63 - 1 correctly.
5376 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5377 since some C++ compilers masquerading as C compilers
5378 incorrectly reject 9223372036854775807. */
5379 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5380 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5381 && LARGE_OFF_T % 2147483647 == 1)
5391 if ac_fn_c_try_compile
"$LINENO"; then :
5392 ac_cv_sys_file_offset_bits
=64; break
5394 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5395 ac_cv_sys_file_offset_bits
=unknown
5399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5400 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5401 case $ac_cv_sys_file_offset_bits in #(
5404 cat >>confdefs.h
<<_ACEOF
5405 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5410 if test $ac_cv_sys_file_offset_bits = unknown
; then
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5412 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5413 if ${ac_cv_sys_large_files+:} false
; then :
5414 $as_echo_n "(cached) " >&6
5417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5418 /* end confdefs.h. */
5419 #include <sys/types.h>
5420 /* Check that off_t can represent 2**63 - 1 correctly.
5421 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5422 since some C++ compilers masquerading as C compilers
5423 incorrectly reject 9223372036854775807. */
5424 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5425 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5426 && LARGE_OFF_T % 2147483647 == 1)
5436 if ac_fn_c_try_compile
"$LINENO"; then :
5437 ac_cv_sys_large_files
=no
; break
5439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5440 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5441 /* end confdefs.h. */
5442 #define _LARGE_FILES 1
5443 #include <sys/types.h>
5444 /* Check that off_t can represent 2**63 - 1 correctly.
5445 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5446 since some C++ compilers masquerading as C compilers
5447 incorrectly reject 9223372036854775807. */
5448 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5449 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5450 && LARGE_OFF_T % 2147483647 == 1)
5460 if ac_fn_c_try_compile
"$LINENO"; then :
5461 ac_cv_sys_large_files
=1; break
5463 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5464 ac_cv_sys_large_files
=unknown
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5469 $as_echo "$ac_cv_sys_large_files" >&6; }
5470 case $ac_cv_sys_large_files in #(
5473 cat >>confdefs.h
<<_ACEOF
5474 #define _LARGE_FILES $ac_cv_sys_large_files
5484 ac_cpp
='$CPP $CPPFLAGS'
5485 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5486 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5487 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5489 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5490 # On Suns, sometimes $CPP names a directory.
5491 if test -n "$CPP" && test -d "$CPP"; then
5494 if test -z "$CPP"; then
5495 if ${ac_cv_prog_CPP+:} false
; then :
5496 $as_echo_n "(cached) " >&6
5498 # Double quotes because CPP needs to be expanded
5499 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5502 for ac_c_preproc_warn_flag
in '' yes
5504 # Use a header file that comes with gcc, so configuring glibc
5505 # with a fresh cross-compiler works.
5506 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5507 # <limits.h> exists even on freestanding compilers.
5508 # On the NeXT, cc -E runs the code through the compiler's parser,
5509 # not just through cpp. "Syntax error" is here to catch this case.
5510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5511 /* end confdefs.h. */
5513 # include <limits.h>
5515 # include <assert.h>
5519 if ac_fn_c_try_cpp
"$LINENO"; then :
5522 # Broken: fails on valid input.
5525 rm -f conftest.err conftest.i conftest.
$ac_ext
5527 # OK, works on sane cases. Now check whether nonexistent headers
5528 # can be detected and how.
5529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5530 /* end confdefs.h. */
5531 #include <ac_nonexistent.h>
5533 if ac_fn_c_try_cpp
"$LINENO"; then :
5534 # Broken: success on invalid input.
5537 # Passes both tests.
5541 rm -f conftest.err conftest.i conftest.
$ac_ext
5544 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5545 rm -f conftest.i conftest.err conftest.
$ac_ext
5546 if $ac_preproc_ok; then :
5558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5559 $as_echo "$CPP" >&6; }
5561 for ac_c_preproc_warn_flag
in '' yes
5563 # Use a header file that comes with gcc, so configuring glibc
5564 # with a fresh cross-compiler works.
5565 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5566 # <limits.h> exists even on freestanding compilers.
5567 # On the NeXT, cc -E runs the code through the compiler's parser,
5568 # not just through cpp. "Syntax error" is here to catch this case.
5569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5572 # include <limits.h>
5574 # include <assert.h>
5578 if ac_fn_c_try_cpp
"$LINENO"; then :
5581 # Broken: fails on valid input.
5584 rm -f conftest.err conftest.i conftest.
$ac_ext
5586 # OK, works on sane cases. Now check whether nonexistent headers
5587 # can be detected and how.
5588 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590 #include <ac_nonexistent.h>
5592 if ac_fn_c_try_cpp
"$LINENO"; then :
5593 # Broken: success on invalid input.
5596 # Passes both tests.
5600 rm -f conftest.err conftest.i conftest.
$ac_ext
5603 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5604 rm -f conftest.i conftest.err conftest.
$ac_ext
5605 if $ac_preproc_ok; then :
5608 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5609 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5610 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5611 See \`config.log' for more details" "$LINENO" 5; }
5615 ac_cpp
='$CPP $CPPFLAGS'
5616 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5617 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5618 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5622 $as_echo_n "checking for ANSI C header files... " >&6; }
5623 if ${ac_cv_header_stdc+:} false
; then :
5624 $as_echo_n "(cached) " >&6
5626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5641 if ac_fn_c_try_compile
"$LINENO"; then :
5642 ac_cv_header_stdc
=yes
5644 ac_cv_header_stdc
=no
5646 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5648 if test $ac_cv_header_stdc = yes; then
5649 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5651 /* end confdefs.h. */
5655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5656 $EGREP "memchr" >/dev
/null
2>&1; then :
5659 ac_cv_header_stdc
=no
5665 if test $ac_cv_header_stdc = yes; then
5666 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5668 /* end confdefs.h. */
5672 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5673 $EGREP "free" >/dev
/null
2>&1; then :
5676 ac_cv_header_stdc
=no
5682 if test $ac_cv_header_stdc = yes; then
5683 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5684 if test "$cross_compiling" = yes; then :
5687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5688 /* end confdefs.h. */
5691 #if ((' ' & 0x0FF) == 0x020)
5692 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5693 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5695 # define ISLOWER(c) \
5696 (('a' <= (c) && (c) <= 'i') \
5697 || ('j' <= (c) && (c) <= 'r') \
5698 || ('s' <= (c) && (c) <= 'z'))
5699 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5702 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5707 for (i = 0; i < 256; i++)
5708 if (XOR (islower (i), ISLOWER (i))
5709 || toupper (i) != TOUPPER (i))
5714 if ac_fn_c_try_run
"$LINENO"; then :
5717 ac_cv_header_stdc
=no
5719 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5720 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5726 $as_echo "$ac_cv_header_stdc" >&6; }
5727 if test $ac_cv_header_stdc = yes; then
5729 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5733 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5734 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5735 inttypes.h stdint.h unistd.h
5737 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5738 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5740 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5741 cat >>confdefs.h
<<_ACEOF
5742 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5752 ApplicationServices
/ApplicationServices.h \
5753 AudioToolbox
/AudioConverter.h \
5754 AudioUnit
/AudioUnit.h \
5755 AudioUnit
/AudioComponent.h \
5758 CoreAudio
/CoreAudio.h \
5759 CoreServices
/CoreServices.h \
5760 DiskArbitration
/DiskArbitration.h \
5762 IOKit
/hid
/IOHIDLib.h \
5765 QuickTime
/ImageCompression.h \
5766 Security
/Security.h \
5780 fontconfig
/fontconfig.h \
5819 netinet
/in_systm.h \
5884 valgrind
/memcheck.h \
5885 valgrind
/valgrind.h \
5889 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5890 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5891 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5892 cat >>confdefs.h
<<_ACEOF
5893 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5901 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5902 if ${ac_cv_header_stat_broken+:} false
; then :
5903 $as_echo_n "(cached) " >&6
5905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5906 /* end confdefs.h. */
5907 #include <sys/types.h>
5908 #include <sys/stat.h>
5910 #if defined S_ISBLK && defined S_IFDIR
5911 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5914 #if defined S_ISBLK && defined S_IFCHR
5915 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5918 #if defined S_ISLNK && defined S_IFREG
5919 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5922 #if defined S_ISSOCK && defined S_IFREG
5923 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5927 if ac_fn_c_try_compile
"$LINENO"; then :
5928 ac_cv_header_stat_broken
=no
5930 ac_cv_header_stat_broken
=yes
5932 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5935 $as_echo "$ac_cv_header_stat_broken" >&6; }
5936 if test $ac_cv_header_stat_broken = yes; then
5938 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5944 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5946 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5947 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5948 #ifdef HAVE_SYS_PARAM_H
5949 # include <sys/param.h>
5952 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5953 cat >>confdefs.h
<<_ACEOF
5954 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5969 netinet
/if_ether.h \
5970 netinet
/if_inarp.h \
5978 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5979 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5980 #ifdef HAVE_SYS_SOCKET_H
5981 # include <sys/socket.h>
5983 #ifdef HAVE_SYS_SOCKETVAR_H
5984 # include <sys/socketvar.h>
5986 #ifdef HAVE_NET_ROUTE_H
5987 # include <net/route.h>
5989 #ifdef HAVE_NETINET_IN_H
5990 # include <netinet/in.h>
5992 #ifdef HAVE_NETINET_IN_SYSTM_H
5993 # include <netinet/in_systm.h>
5995 #ifdef HAVE_NET_IF_H
5996 # include <net/if.h>
5998 #ifdef HAVE_NETINET_IP_H
5999 # include <netinet/ip.h>
6002 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6003 cat >>confdefs.h
<<_ACEOF
6004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6012 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6014 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6015 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6019 #ifdef HAVE_SYS_SOCKET_H
6020 # include <sys/socket.h>
6022 #ifdef HAVE_SYS_SOCKETVAR_H
6023 # include <sys/socketvar.h>
6025 #ifdef HAVE_SYS_TIMEOUT_H
6026 # include <sys/timeout.h>
6028 #ifdef HAVE_NETINET_IN_H
6029 # include <netinet/in.h>
6031 #ifdef HAVE_NETINET_IN_SYSTM_H
6032 # include <netinet/in_systm.h>
6034 #ifdef HAVE_NETINET_IP_H
6035 # include <netinet/ip.h>
6037 #ifdef HAVE_NETINET_IP_VAR_H
6038 # include <netinet/ip_var.h>
6040 #ifdef HAVE_NETINET_IP_ICMP_H
6041 # include <netinet/ip_icmp.h>
6043 #ifdef HAVE_NETINET_UDP_H
6044 # include <netinet/udp.h>
6046 #ifdef HAVE_NETINET_TCP_H
6047 # include <netinet/tcp.h>
6049 #ifdef HAVE_NETINET_TCP_TIMER_H
6050 #include <netinet/tcp_timer.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 linux
/ipx.h linux
/irda.h
6065 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6066 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6067 #ifdef HAVE_ASM_TYPES_H
6068 # include <asm/types.h>
6070 #ifdef HAVE_SYS_SOCKET_H
6071 # include <sys/socket.h>
6073 #ifdef HAVE_LINUX_TYPES_H
6074 # include <linux/types.h>
6077 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6078 cat >>confdefs.h
<<_ACEOF
6079 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6087 for ac_header
in mach-o
/dyld_images.h
6089 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6090 # include <stdbool.h>
6092 #ifdef HAVE_STDINT_H
6093 # include <stdint.h>
6096 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6097 cat >>confdefs.h
<<_ACEOF
6098 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6106 for ac_header
in resolv.h
6108 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6109 #ifdef HAVE_SYS_SOCKET_H
6110 # include <sys/socket.h>
6112 #ifdef HAVE_NETINET_IN_H
6113 # include <netinet/in.h>
6115 #ifdef HAVE_ARPA_NAMESER_H
6116 # include <arpa/nameser.h>
6119 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6120 cat >>confdefs.h
<<_ACEOF
6121 #define HAVE_RESOLV_H 1
6129 for ac_header
in ifaddrs.h
6131 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6133 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6134 cat >>confdefs.h
<<_ACEOF
6135 #define HAVE_IFADDRS_H 1
6143 for ac_header
in ucontext.h
6145 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6147 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6148 cat >>confdefs.h
<<_ACEOF
6149 #define HAVE_UCONTEXT_H 1
6157 for ac_header
in sys
/thr.h
6159 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6160 #ifdef HAVE_UCONTEXT_H
6161 #include <ucontext.h>
6164 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6165 cat >>confdefs.h
<<_ACEOF
6166 #define HAVE_SYS_THR_H 1
6174 for ac_header
in pthread_np.h
6176 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6177 #include <pthread.h>
6180 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6181 cat >>confdefs.h
<<_ACEOF
6182 #define HAVE_PTHREAD_NP_H 1
6190 for ac_header
in linux
/videodev.h linux
/videodev2.h
6192 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6193 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6194 #include <sys/time.h>
6196 #include <sys/types.h>
6197 #ifdef HAVE_ASM_TYPES_H
6198 #include <asm/types.h>
6201 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6202 cat >>confdefs.h
<<_ACEOF
6203 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6211 for ac_header
in linux
/capi.h
6213 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6215 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6216 cat >>confdefs.h
<<_ACEOF
6217 #define HAVE_LINUX_CAPI_H 1
6228 DLLFLAGS
="-D_REENTRANT"
6242 STATIC_IMPLIBEXT
="def.a"
6243 # Extract the first word of "ldd", so it can be a program name with args.
6244 set dummy ldd
; ac_word
=$2
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6246 $as_echo_n "checking for $ac_word... " >&6; }
6247 if ${ac_cv_path_LDD+:} false
; then :
6248 $as_echo_n "(cached) " >&6
6252 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6255 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6256 as_dummy
="/sbin:/usr/sbin:$PATH"
6257 for as_dir
in $as_dummy
6260 test -z "$as_dir" && as_dir
=.
6261 for ac_exec_ext
in '' $ac_executable_extensions; do
6262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6263 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6276 if test -n "$LDD"; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6278 $as_echo "$LDD" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6281 $as_echo "no" >&6; }
6288 if test -n "$ac_tool_prefix"; then
6289 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6290 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6292 $as_echo_n "checking for $ac_word... " >&6; }
6293 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6294 $as_echo_n "(cached) " >&6
6296 if test -n "$DLLTOOL"; then
6297 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6299 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6303 test -z "$as_dir" && as_dir
=.
6304 for ac_exec_ext
in '' $ac_executable_extensions; do
6305 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6306 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6316 DLLTOOL
=$ac_cv_prog_DLLTOOL
6317 if test -n "$DLLTOOL"; then
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6319 $as_echo "$DLLTOOL" >&6; }
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6322 $as_echo "no" >&6; }
6327 if test -z "$ac_cv_prog_DLLTOOL"; then
6328 ac_ct_DLLTOOL
=$DLLTOOL
6329 # Extract the first word of "dlltool", so it can be a program name with args.
6330 set dummy dlltool
; ac_word
=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6334 $as_echo_n "(cached) " >&6
6336 if test -n "$ac_ct_DLLTOOL"; then
6337 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir
=.
6344 for ac_exec_ext
in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6357 if test -n "$ac_ct_DLLTOOL"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6359 $as_echo "$ac_ct_DLLTOOL" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6365 if test "x$ac_ct_DLLTOOL" = x
; then
6368 case $cross_compiling:$ac_tool_warned in
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6371 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6372 ac_tool_warned
=yes ;;
6374 DLLTOOL
=$ac_ct_DLLTOOL
6377 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6380 if test -n "$ac_tool_prefix"; then
6381 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6382 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; }
6385 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6386 $as_echo_n "(cached) " >&6
6388 if test -n "$DLLWRAP"; then
6389 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6391 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6395 test -z "$as_dir" && as_dir
=.
6396 for ac_exec_ext
in '' $ac_executable_extensions; do
6397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6398 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6408 DLLWRAP
=$ac_cv_prog_DLLWRAP
6409 if test -n "$DLLWRAP"; then
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6411 $as_echo "$DLLWRAP" >&6; }
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6414 $as_echo "no" >&6; }
6419 if test -z "$ac_cv_prog_DLLWRAP"; then
6420 ac_ct_DLLWRAP
=$DLLWRAP
6421 # Extract the first word of "dllwrap", so it can be a program name with args.
6422 set dummy dllwrap
; ac_word
=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6426 $as_echo_n "(cached) " >&6
6428 if test -n "$ac_ct_DLLWRAP"; then
6429 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6431 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6435 test -z "$as_dir" && as_dir
=.
6436 for ac_exec_ext
in '' $ac_executable_extensions; do
6437 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6438 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6448 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6449 if test -n "$ac_ct_DLLWRAP"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6451 $as_echo "$ac_ct_DLLWRAP" >&6; }
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6457 if test "x$ac_ct_DLLWRAP" = x
; then
6460 case $cross_compiling:$ac_tool_warned in
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6463 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6464 ac_tool_warned
=yes ;;
6466 DLLWRAP
=$ac_ct_DLLWRAP
6469 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6472 if test "$DLLWRAP" = "false"; then
6478 STATIC_IMPLIBEXT
="a"
6479 enable_iphlpapi
=${enable_iphlpapi:-no}
6480 enable_kernel32
=${enable_kernel32:-no}
6481 enable_msvcrt
=${enable_msvcrt:-no}
6482 enable_ntdll
=${enable_ntdll:-no}
6483 enable_ws2_32
=${enable_ws2_32:-no}
6484 enable_loader
=${enable_loader:-no}
6485 enable_server
=${enable_server:-no}
6486 with_x
=${with_x:-no}
6487 with_pthread
=${with_pthread:-no}
6492 DLLFLAGS
="$DLLFLAGS -fPIC"
6493 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6494 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6495 LDSHARED
="\$(CC) -dynamiclib"
6496 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6497 COREFOUNDATIONLIB
="-framework CoreFoundation"
6499 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6501 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6503 CORESERVICESLIB
="-framework CoreServices"
6507 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6510 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6513 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6515 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6518 if test "$ac_cv_header_Security_Security_h" = "yes"
6520 SECURITYLIB
="-framework Security -framework CoreFoundation"
6522 ac_save_LIBS
="$LIBS"
6523 LIBS
="$LIBS $SECURITYLIB"
6524 for ac_func
in SSLCopyPeerCertificates
6526 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6527 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6528 cat >>confdefs.h
<<_ACEOF
6529 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6535 LIBS
="$ac_save_LIBS"
6536 with_gnutls
=${with_gnutls:-no}
6538 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6540 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6542 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6545 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6548 ac_save_LIBS
="$LIBS"
6549 LIBS
="$LIBS $COREAUDIO"
6550 for ac_func
in AUGraphAddNode
6552 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6553 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6554 cat >>confdefs.h
<<_ACEOF
6555 #define HAVE_AUGRAPHADDNODE 1
6561 LIBS
="$ac_save_LIBS"
6563 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6565 FRAMEWORK_OPENAL
="-framework OpenAL"
6568 cat >>confdefs.h
<<_ACEOF
6569 #define HAVE_OPENAL 1
6572 ac_cv_lib_openal
=yes
6574 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6576 LIBOPENCL
="-framework OpenCL"
6578 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6580 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6582 ac_save_LIBS
="$LIBS"
6583 LIBS
="$LIBS $IOKITLIB"
6584 for ac_func
in IOHIDManagerCreate
6586 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6587 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6588 cat >>confdefs.h
<<_ACEOF
6589 #define HAVE_IOHIDMANAGERCREATE 1
6595 LIBS
="$ac_save_LIBS"
6599 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6601 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6603 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6605 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6607 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6609 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6611 CARBONLIB
="-framework Carbon"
6613 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6615 if test "x$enable_win16" = "xyes"
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6618 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6619 if test "$cross_compiling" = yes; then :
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6621 $as_echo "cross-compiling, assuming yes" >&6; }
6623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6624 /* end confdefs.h. */
6627 "good:\tnop;nop\n\t"
6628 ".globl _testfunc\n"
6629 "_testfunc:\tcallw good");
6630 extern void testfunc();
6634 unsigned short *p = (unsigned short *)testfunc;
6635 return p[0] != 0xe866 || p[1] != 0xfffa
6640 if ac_fn_c_try_run
"$LINENO"; then :
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6642 $as_echo "yes" >&6; }
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6646 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
6648 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6649 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6655 DLLFLAGS
="$DLLFLAGS -fPIC"
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6658 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6659 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6660 $as_echo_n "(cached) " >&6
6662 ac_wine_try_cflags_saved
=$CFLAGS
6663 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6668 if ac_fn_c_try_link
"$LINENO"; then :
6669 ac_cv_c_dll_gnuelf
="yes"
6671 ac_cv_c_dll_gnuelf
="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_c_dll_gnuelf" >&5
6678 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6679 if test "$ac_cv_c_dll_gnuelf" = "yes"
6681 LDSHARED
="\$(CC) -shared"
6682 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6684 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6685 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6686 $as_echo_n "(cached) " >&6
6688 ac_wine_try_cflags_saved
=$CFLAGS
6689 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6691 /* end confdefs.h. */
6692 int main(int argc, char **argv) { return 0; }
6694 if ac_fn_c_try_link
"$LINENO"; then :
6695 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6697 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6699 rm -f core conftest.err conftest.
$ac_objext \
6700 conftest
$ac_exeext conftest.
$ac_ext
6701 CFLAGS
=$ac_wine_try_cflags_saved
6703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6704 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6705 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6706 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6709 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6710 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6711 $as_echo_n "(cached) " >&6
6713 ac_wine_try_cflags_saved
=$CFLAGS
6714 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6717 int main(int argc, char **argv) { return 0; }
6719 if ac_fn_c_try_link
"$LINENO"; then :
6720 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6722 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6724 rm -f core conftest.err conftest.
$ac_objext \
6725 conftest
$ac_exeext conftest.
$ac_ext
6726 CFLAGS
=$ac_wine_try_cflags_saved
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6729 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6730 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6731 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6736 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6737 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6738 $as_echo_n "(cached) " >&6
6740 ac_wine_try_cflags_saved
=$CFLAGS
6741 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
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__z_defs
=yes
6749 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=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__z_defs" >&5
6756 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6757 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6758 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6761 { $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
6762 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6763 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6764 $as_echo_n "(cached) " >&6
6766 ac_wine_try_cflags_saved
=$CFLAGS
6767 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6768 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6769 /* end confdefs.h. */
6770 int main(int argc, char **argv) { return 0; }
6772 if ac_fn_c_try_link
"$LINENO"; then :
6773 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6775 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6777 rm -f core conftest.err conftest.
$ac_objext \
6778 conftest
$ac_exeext conftest.
$ac_ext
6779 CFLAGS
=$ac_wine_try_cflags_saved
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6782 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6783 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6784 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6787 echo '{ global: *; };' >conftest.map
6788 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6790 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6791 if eval \
${$as_ac_var+:} false
; then :
6792 $as_echo_n "(cached) " >&6
6794 ac_wine_try_cflags_saved
=$CFLAGS
6795 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6797 /* end confdefs.h. */
6798 int main(int argc, char **argv) { return 0; }
6800 if ac_fn_c_try_link
"$LINENO"; then :
6801 eval "$as_ac_var=yes"
6803 eval "$as_ac_var=no"
6805 rm -f core conftest.err conftest.
$ac_objext \
6806 conftest
$ac_exeext conftest.
$ac_ext
6807 CFLAGS
=$ac_wine_try_cflags_saved
6809 eval ac_res
=\$
$as_ac_var
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6811 $as_echo "$ac_res" >&6; }
6812 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6813 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6818 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6819 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6820 $as_echo_n "(cached) " >&6
6822 ac_wine_try_cflags_saved
=$CFLAGS
6823 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6825 /* end confdefs.h. */
6826 int main(int argc, char **argv) { return 0; }
6828 if ac_fn_c_try_link
"$LINENO"; then :
6829 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6831 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6833 rm -f core conftest.err conftest.
$ac_objext \
6834 conftest
$ac_exeext conftest.
$ac_ext
6835 CFLAGS
=$ac_wine_try_cflags_saved
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6838 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6839 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6840 LDEXECFLAGS
="-Wl,--export-dynamic"
6844 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6846 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6847 if eval \
${$as_ac_var+:} false
; then :
6848 $as_echo_n "(cached) " >&6
6850 ac_wine_try_cflags_saved
=$CFLAGS
6851 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6852 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6853 /* end confdefs.h. */
6854 int main(int argc, char **argv) { return 0; }
6856 if ac_fn_c_try_link
"$LINENO"; then :
6857 eval "$as_ac_var=yes"
6859 eval "$as_ac_var=no"
6861 rm -f core conftest.err conftest.
$ac_objext \
6862 conftest
$ac_exeext conftest.
$ac_ext
6863 CFLAGS
=$ac_wine_try_cflags_saved
6865 eval ac_res
=\$
$as_ac_var
6866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6867 $as_echo "$ac_res" >&6; }
6868 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6869 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6870 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6872 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6874 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6875 if eval \
${$as_ac_var+:} false
; then :
6876 $as_echo_n "(cached) " >&6
6878 ac_wine_try_cflags_saved
=$CFLAGS
6879 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6881 /* end confdefs.h. */
6882 int main(int argc, char **argv) { return 0; }
6884 if ac_fn_c_try_link
"$LINENO"; then :
6885 eval "$as_ac_var=yes"
6887 eval "$as_ac_var=no"
6889 rm -f core conftest.err conftest.
$ac_objext \
6890 conftest
$ac_exeext conftest.
$ac_ext
6891 CFLAGS
=$ac_wine_try_cflags_saved
6893 eval ac_res
=\$
$as_ac_var
6894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6895 $as_echo "$ac_res" >&6; }
6896 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6897 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6898 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6903 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6904 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6905 $as_echo_n "(cached) " >&6
6907 ac_wine_try_cflags_saved
=$CFLAGS
6908 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6910 /* end confdefs.h. */
6911 int main(int argc, char **argv) { return 0; }
6913 if ac_fn_c_try_link
"$LINENO"; then :
6914 ac_cv_cflags__Wl___enable_new_dtags
=yes
6916 ac_cv_cflags__Wl___enable_new_dtags
=no
6918 rm -f core conftest.err conftest.
$ac_objext \
6919 conftest
$ac_exeext conftest.
$ac_ext
6920 CFLAGS
=$ac_wine_try_cflags_saved
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6923 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6924 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6925 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6929 *i
[3456789]86* | x86_64
)
6930 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6932 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6933 if eval \
${$as_ac_var+:} false
; then :
6934 $as_echo_n "(cached) " >&6
6936 ac_wine_try_cflags_saved
=$CFLAGS
6937 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 int main(int argc, char **argv) { return 0; }
6942 if ac_fn_c_try_link
"$LINENO"; then :
6943 eval "$as_ac_var=yes"
6945 eval "$as_ac_var=no"
6947 rm -f core conftest.err conftest.
$ac_objext \
6948 conftest
$ac_exeext conftest.
$ac_ext
6949 CFLAGS
=$ac_wine_try_cflags_saved
6951 eval ac_res
=\$
$as_ac_var
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6953 $as_echo "$ac_res" >&6; }
6954 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6956 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6957 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6961 # Extract the first word of "prelink", so it can be a program name with args.
6962 set dummy prelink
; ac_word
=$2
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6964 $as_echo_n "checking for $ac_word... " >&6; }
6965 if ${ac_cv_path_PRELINK+:} false
; then :
6966 $as_echo_n "(cached) " >&6
6970 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6973 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6974 for as_dir
in /sbin
/usr
/sbin
$PATH
6977 test -z "$as_dir" && as_dir
=.
6978 for ac_exec_ext
in '' $ac_executable_extensions; do
6979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6980 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6988 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6992 PRELINK
=$ac_cv_path_PRELINK
6993 if test -n "$PRELINK"; then
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6995 $as_echo "$PRELINK" >&6; }
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6998 $as_echo "no" >&6; }
7002 if test "x$PRELINK" = xfalse
7004 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7011 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7012 if ${ac_cv_c_dll_unixware+:} false
; then :
7013 $as_echo_n "(cached) " >&6
7015 ac_wine_try_cflags_saved
=$CFLAGS
7016 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7018 /* end confdefs.h. */
7021 if ac_fn_c_try_link
"$LINENO"; then :
7022 ac_cv_c_dll_unixware
="yes"
7024 ac_cv_c_dll_unixware
="no"
7026 rm -f core conftest.err conftest.
$ac_objext \
7027 conftest
$ac_exeext conftest.
$ac_ext
7028 CFLAGS
=$ac_wine_try_cflags_saved
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7031 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7032 if test "$ac_cv_c_dll_unixware" = "yes"
7034 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7035 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7039 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7040 if ${ac_cv_c_dll_hpux+:} false
; then :
7041 $as_echo_n "(cached) " >&6
7043 ac_wine_try_cflags_saved
=$CFLAGS
7044 CFLAGS
="$CFLAGS -shared"
7045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7046 /* end confdefs.h. */
7049 if ac_fn_c_try_link
"$LINENO"; then :
7050 ac_cv_c_dll_hpux
="yes"
7052 ac_cv_c_dll_hpux
="no"
7054 rm -f core conftest.err conftest.
$ac_objext \
7055 conftest
$ac_exeext conftest.
$ac_ext
7056 CFLAGS
=$ac_wine_try_cflags_saved
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7059 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7060 if test "$ac_cv_c_dll_hpux" = "yes"
7064 LDDLLFLAGS
="-shared -fPIC"
7065 LDSHARED
="\$(CC) -shared"
7072 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7073 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7075 if test "$LIBEXT" = "a"; then
7076 as_fn_error $?
"could not find a way to build shared libraries.
7077 It is currently not possible to build Wine without shared library
7078 (.so) support to allow transparent switch between .so and .dll files.
7079 If you are using Linux, you will need a newer binutils.
7083 CROSSTEST_DISABLE
=\
#
7085 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7089 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 " ;;
7091 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 " ;;
7093 ac_prefix_list
="" ;;
7095 for ac_prog
in $ac_prefix_list
7097 # Extract the first word of "$ac_prog", so it can be a program name with args.
7098 set dummy
$ac_prog; ac_word
=$2
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7100 $as_echo_n "checking for $ac_word... " >&6; }
7101 if ${ac_cv_prog_CROSSCC+:} false
; then :
7102 $as_echo_n "(cached) " >&6
7104 if test -n "$CROSSCC"; then
7105 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7107 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7111 test -z "$as_dir" && as_dir
=.
7112 for ac_exec_ext
in '' $ac_executable_extensions; do
7113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7114 ac_cv_prog_CROSSCC
="$ac_prog"
7115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7124 CROSSCC
=$ac_cv_prog_CROSSCC
7125 if test -n "$CROSSCC"; then
7126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7127 $as_echo "$CROSSCC" >&6; }
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7130 $as_echo "no" >&6; }
7134 test -n "$CROSSCC" && break
7136 test -n "$CROSSCC" || CROSSCC
="false"
7138 if test "$CROSSCC" != "false"
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7143 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7145 /* end confdefs.h. */
7155 if ac_fn_c_try_compile
"$LINENO"; then :
7156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7157 $as_echo "yes" >&6; }
7164 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7168 if test -n "$target"
7170 CROSSTEST_DISABLE
=""
7171 CROSSTARGET
="$target"
7175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7176 $as_echo "no" >&6; }
7178 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7184 if test "$ac_cv_header_pthread_h" = "yes"
7186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7187 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7188 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7189 $as_echo_n "(cached) " >&6
7191 ac_check_lib_save_LIBS
=$LIBS
7192 LIBS
="-lpthread $LIBS"
7193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7196 /* Override any GCC internal prototype to avoid an error.
7197 Use char because int might match the return type of a GCC
7198 builtin and then its argument prototype would still apply. */
7202 char pthread_create ();
7206 return pthread_create ();
7211 if ac_fn_c_try_link
"$LINENO"; then :
7212 ac_cv_lib_pthread_pthread_create
=yes
7214 ac_cv_lib_pthread_pthread_create
=no
7216 rm -f core conftest.err conftest.
$ac_objext \
7217 conftest
$ac_exeext conftest.
$ac_ext
7218 LIBS
=$ac_check_lib_save_LIBS
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7221 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7222 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7223 LIBPTHREAD
="-lpthread"
7228 if test "x$LIBPTHREAD" = "x"; then :
7229 case "x$with_pthread" in
7231 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7232 Wine cannot support threads without libpthread.
7233 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7239 $as_echo_n "checking for X... " >&6; }
7242 # Check whether --with-x was given.
7243 if test "${with_x+set}" = set; then :
7247 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7248 if test "x$with_x" = xno
; then
7249 # The user explicitly disabled X.
7252 case $x_includes,$x_libraries in #(
7253 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7254 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7255 $as_echo_n "(cached) " >&6
7257 # One or both of the vars are not set, and there is no cached value.
7258 ac_x_includes
=no ac_x_libraries
=no
7259 rm -f -r conftest.dir
7260 if mkdir conftest.dir
; then
7262 cat >Imakefile
<<'_ACEOF'
7264 @echo incroot='${INCROOT}'
7266 @echo usrlibdir='${USRLIBDIR}'
7268 @echo libdir='${LIBDIR}'
7270 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7271 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7272 for ac_var
in incroot usrlibdir libdir
; do
7273 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7275 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7276 for ac_extension
in a so sl dylib la dll
; do
7277 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7278 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7279 ac_im_usrlibdir
=$ac_im_libdir; break
7282 # Screen out bogus values from the imake configuration. They are
7283 # bogus both because they are the default anyway, and because
7284 # using them would break gcc on systems where it needs fixed includes.
7285 case $ac_im_incroot in
7286 /usr
/include
) ac_x_includes
= ;;
7287 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7289 case $ac_im_usrlibdir in
7290 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7291 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7295 rm -f -r conftest.dir
7298 # Standard set of common directories for X headers.
7299 # Check X11 before X11Rn because it is often a symlink to the current release.
7313 /usr/local/X11/include
7314 /usr/local/X11R7/include
7315 /usr/local/X11R6/include
7316 /usr/local/X11R5/include
7317 /usr/local/X11R4/include
7319 /usr/local/include/X11
7320 /usr/local/include/X11R7
7321 /usr/local/include/X11R6
7322 /usr/local/include/X11R5
7323 /usr/local/include/X11R4
7327 /usr/XFree86/include/X11
7331 /usr/unsupported/include
7333 /usr/local/x11r5/include
7334 /usr/lpp/Xamples/include
7336 /usr/openwin/include
7337 /usr/openwin/share/include'
7339 if test "$ac_x_includes" = no
; then
7340 # Guess where to find include files, by looking for Xlib.h.
7341 # First, try using that file with no special directory specified.
7342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7343 /* end confdefs.h. */
7344 #include <X11/Xlib.h>
7346 if ac_fn_c_try_cpp
"$LINENO"; then :
7347 # We can compile using X headers with no special include directory.
7350 for ac_dir
in $ac_x_header_dirs; do
7351 if test -r "$ac_dir/X11/Xlib.h"; then
7352 ac_x_includes
=$ac_dir
7357 rm -f conftest.err conftest.i conftest.
$ac_ext
7358 fi # $ac_x_includes = no
7360 if test "$ac_x_libraries" = no
; then
7361 # Check for the libraries.
7362 # See if we find them without any special options.
7363 # Don't add to $LIBS permanently.
7366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7367 /* end confdefs.h. */
7368 #include <X11/Xlib.h>
7377 if ac_fn_c_try_link
"$LINENO"; then :
7379 # We can link X programs with no special library path.
7383 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7385 # Don't even attempt the hair of trying to link an X program!
7386 for ac_extension
in a so sl dylib la dll
; do
7387 if test -r "$ac_dir/libX11.$ac_extension"; then
7388 ac_x_libraries
=$ac_dir
7394 rm -f core conftest.err conftest.
$ac_objext \
7395 conftest
$ac_exeext conftest.
$ac_ext
7396 fi # $ac_x_libraries = no
7398 case $ac_x_includes,$ac_x_libraries in #(
7400 # Didn't find X, or a directory has "'" in its name.
7401 ac_cv_have_x
="have_x=no";; #(
7403 # Record where we found X for the cache.
7404 ac_cv_have_x
="have_x=yes\
7405 ac_x_includes='$ac_x_includes'\
7406 ac_x_libraries='$ac_x_libraries'"
7412 eval "$ac_cv_have_x"
7415 if test "$have_x" != yes; then
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7417 $as_echo "$have_x" >&6; }
7420 # If each of the values was on the command line, it overrides each guess.
7421 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7422 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7423 # Update the cache value to reflect the command line values.
7424 ac_cv_have_x
="have_x=yes\
7425 ac_x_includes='$x_includes'\
7426 ac_x_libraries='$x_libraries'"
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7428 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7431 if test "$no_x" = yes; then
7432 # Not all programs may use this symbol, but it does not hurt to define it.
7434 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7436 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7438 if test -n "$x_includes"; then
7439 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7442 # It would also be nice to do this for all -L options, not just this one.
7443 if test -n "$x_libraries"; then
7444 X_LIBS
="$X_LIBS -L$x_libraries"
7445 # For Solaris; some versions of Sun CC require a space after -R and
7446 # others require no space. Words are not sufficient . . . .
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7448 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7449 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7450 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7451 ac_c_werror_flag
=yes
7452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7453 /* end confdefs.h. */
7463 if ac_fn_c_try_link
"$LINENO"; then :
7464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7465 $as_echo "no" >&6; }
7466 X_LIBS
="$X_LIBS -R$x_libraries"
7468 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7470 /* end confdefs.h. */
7480 if ac_fn_c_try_link
"$LINENO"; then :
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7482 $as_echo "yes" >&6; }
7483 X_LIBS
="$X_LIBS -R $x_libraries"
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7486 $as_echo "neither works" >&6; }
7488 rm -f core conftest.err conftest.
$ac_objext \
7489 conftest
$ac_exeext conftest.
$ac_ext
7491 rm -f core conftest.err conftest.
$ac_objext \
7492 conftest
$ac_exeext conftest.
$ac_ext
7493 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7497 # Check for system-dependent libraries X programs must link with.
7498 # Do this before checking for the system-independent R6 libraries
7499 # (-lICE), since we may need -lsocket or whatever for X linking.
7501 if test "$ISC" = yes; then
7502 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7504 # Martyn Johnson says this is needed for Ultrix, if the X
7505 # libraries were built with DECnet support. And Karl Berry says
7506 # the Alpha needs dnet_stub (dnet does not exist).
7507 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7509 /* end confdefs.h. */
7511 /* Override any GCC internal prototype to avoid an error.
7512 Use char because int might match the return type of a GCC
7513 builtin and then its argument prototype would still apply. */
7517 char XOpenDisplay ();
7521 return XOpenDisplay ();
7526 if ac_fn_c_try_link
"$LINENO"; then :
7529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7530 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7531 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7532 $as_echo_n "(cached) " >&6
7534 ac_check_lib_save_LIBS
=$LIBS
7536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7539 /* Override any GCC internal prototype to avoid an error.
7540 Use char because int might match the return type of a GCC
7541 builtin and then its argument prototype would still apply. */
7549 return dnet_ntoa ();
7554 if ac_fn_c_try_link
"$LINENO"; then :
7555 ac_cv_lib_dnet_dnet_ntoa
=yes
7557 ac_cv_lib_dnet_dnet_ntoa
=no
7559 rm -f core conftest.err conftest.
$ac_objext \
7560 conftest
$ac_exeext conftest.
$ac_ext
7561 LIBS
=$ac_check_lib_save_LIBS
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7564 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7565 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7566 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7569 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7571 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7572 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7573 $as_echo_n "(cached) " >&6
7575 ac_check_lib_save_LIBS
=$LIBS
7576 LIBS
="-ldnet_stub $LIBS"
7577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7578 /* end confdefs.h. */
7580 /* Override any GCC internal prototype to avoid an error.
7581 Use char because int might match the return type of a GCC
7582 builtin and then its argument prototype would still apply. */
7590 return dnet_ntoa ();
7595 if ac_fn_c_try_link
"$LINENO"; then :
7596 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7598 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7600 rm -f core conftest.err conftest.
$ac_objext \
7601 conftest
$ac_exeext conftest.
$ac_ext
7602 LIBS
=$ac_check_lib_save_LIBS
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7605 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7606 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7607 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7612 rm -f core conftest.err conftest.
$ac_objext \
7613 conftest
$ac_exeext conftest.
$ac_ext
7614 LIBS
="$ac_xsave_LIBS"
7616 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7617 # to get the SysV transport functions.
7618 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7620 # The nsl library prevents programs from opening the X display
7621 # on Irix 5.2, according to T.E. Dickey.
7622 # The functions gethostbyname, getservbyname, and inet_addr are
7623 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7624 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7625 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7629 if test $ac_cv_func_gethostbyname = no
; then
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7631 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7632 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7633 $as_echo_n "(cached) " >&6
7635 ac_check_lib_save_LIBS
=$LIBS
7637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7638 /* end confdefs.h. */
7640 /* Override any GCC internal prototype to avoid an error.
7641 Use char because int might match the return type of a GCC
7642 builtin and then its argument prototype would still apply. */
7646 char gethostbyname ();
7650 return gethostbyname ();
7655 if ac_fn_c_try_link
"$LINENO"; then :
7656 ac_cv_lib_nsl_gethostbyname
=yes
7658 ac_cv_lib_nsl_gethostbyname
=no
7660 rm -f core conftest.err conftest.
$ac_objext \
7661 conftest
$ac_exeext conftest.
$ac_ext
7662 LIBS
=$ac_check_lib_save_LIBS
7664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7665 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7666 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7667 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7670 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7672 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7673 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7674 $as_echo_n "(cached) " >&6
7676 ac_check_lib_save_LIBS
=$LIBS
7678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7681 /* Override any GCC internal prototype to avoid an error.
7682 Use char because int might match the return type of a GCC
7683 builtin and then its argument prototype would still apply. */
7687 char gethostbyname ();
7691 return gethostbyname ();
7696 if ac_fn_c_try_link
"$LINENO"; then :
7697 ac_cv_lib_bsd_gethostbyname
=yes
7699 ac_cv_lib_bsd_gethostbyname
=no
7701 rm -f core conftest.err conftest.
$ac_objext \
7702 conftest
$ac_exeext conftest.
$ac_ext
7703 LIBS
=$ac_check_lib_save_LIBS
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7706 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7707 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7708 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7714 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7715 # socket/setsockopt and other routines are undefined under SCO ODT
7716 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7717 # on later versions), says Simon Leinen: it contains gethostby*
7718 # variants that don't use the name server (or something). -lsocket
7719 # must be given before -lnsl if both are needed. We assume that
7720 # if connect needs -lnsl, so does gethostbyname.
7721 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7722 if test "x$ac_cv_func_connect" = xyes
; then :
7726 if test $ac_cv_func_connect = no
; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7728 $as_echo_n "checking for connect in -lsocket... " >&6; }
7729 if ${ac_cv_lib_socket_connect+:} false
; then :
7730 $as_echo_n "(cached) " >&6
7732 ac_check_lib_save_LIBS
=$LIBS
7733 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7737 /* Override any GCC internal prototype to avoid an error.
7738 Use char because int might match the return type of a GCC
7739 builtin and then its argument prototype would still apply. */
7752 if ac_fn_c_try_link
"$LINENO"; then :
7753 ac_cv_lib_socket_connect
=yes
7755 ac_cv_lib_socket_connect
=no
7757 rm -f core conftest.err conftest.
$ac_objext \
7758 conftest
$ac_exeext conftest.
$ac_ext
7759 LIBS
=$ac_check_lib_save_LIBS
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7762 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7763 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7764 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7769 # Guillermo Gomez says -lposix is necessary on A/UX.
7770 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7771 if test "x$ac_cv_func_remove" = xyes
; then :
7775 if test $ac_cv_func_remove = no
; then
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7777 $as_echo_n "checking for remove in -lposix... " >&6; }
7778 if ${ac_cv_lib_posix_remove+:} false
; then :
7779 $as_echo_n "(cached) " >&6
7781 ac_check_lib_save_LIBS
=$LIBS
7782 LIBS
="-lposix $LIBS"
7783 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7784 /* end confdefs.h. */
7786 /* Override any GCC internal prototype to avoid an error.
7787 Use char because int might match the return type of a GCC
7788 builtin and then its argument prototype would still apply. */
7801 if ac_fn_c_try_link
"$LINENO"; then :
7802 ac_cv_lib_posix_remove
=yes
7804 ac_cv_lib_posix_remove
=no
7806 rm -f core conftest.err conftest.
$ac_objext \
7807 conftest
$ac_exeext conftest.
$ac_ext
7808 LIBS
=$ac_check_lib_save_LIBS
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7811 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7812 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7813 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7818 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7819 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7820 if test "x$ac_cv_func_shmat" = xyes
; then :
7824 if test $ac_cv_func_shmat = no
; then
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7826 $as_echo_n "checking for shmat in -lipc... " >&6; }
7827 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7828 $as_echo_n "(cached) " >&6
7830 ac_check_lib_save_LIBS
=$LIBS
7832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7835 /* Override any GCC internal prototype to avoid an error.
7836 Use char because int might match the return type of a GCC
7837 builtin and then its argument prototype would still apply. */
7850 if ac_fn_c_try_link
"$LINENO"; then :
7851 ac_cv_lib_ipc_shmat
=yes
7853 ac_cv_lib_ipc_shmat
=no
7855 rm -f core conftest.err conftest.
$ac_objext \
7856 conftest
$ac_exeext conftest.
$ac_ext
7857 LIBS
=$ac_check_lib_save_LIBS
7859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7860 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7861 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7862 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7868 # Check for libraries that X11R6 Xt/Xaw programs need.
7869 ac_save_LDFLAGS
=$LDFLAGS
7870 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7871 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7872 # check for ICE first), but we must link in the order -lSM -lICE or
7873 # we get undefined symbols. So assume we have SM if we have ICE.
7874 # These have to be linked with before -lX11, unlike the other
7875 # libraries we check for below, so use a different variable.
7876 # John Interrante, Karl Berry
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7878 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7879 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7880 $as_echo_n "(cached) " >&6
7882 ac_check_lib_save_LIBS
=$LIBS
7883 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7884 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7885 /* end confdefs.h. */
7887 /* Override any GCC internal prototype to avoid an error.
7888 Use char because int might match the return type of a GCC
7889 builtin and then its argument prototype would still apply. */
7893 char IceConnectionNumber ();
7897 return IceConnectionNumber ();
7902 if ac_fn_c_try_link
"$LINENO"; then :
7903 ac_cv_lib_ICE_IceConnectionNumber
=yes
7905 ac_cv_lib_ICE_IceConnectionNumber
=no
7907 rm -f core conftest.err conftest.
$ac_objext \
7908 conftest
$ac_exeext conftest.
$ac_ext
7909 LIBS
=$ac_check_lib_save_LIBS
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7912 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7913 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7914 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7917 LDFLAGS
=$ac_save_LDFLAGS
7922 if test "$have_x" = "yes"
7925 ac_save_CPPFLAGS
="$CPPFLAGS"
7926 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7929 $as_echo_n "checking for -lX11... " >&6; }
7930 if ${ac_cv_lib_soname_X11+:} false
; then :
7931 $as_echo_n "(cached) " >&6
7933 ac_check_soname_save_LIBS
=$LIBS
7934 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7936 /* end confdefs.h. */
7938 /* Override any GCC internal prototype to avoid an error.
7939 Use char because int might match the return type of a GCC
7940 builtin and then its argument prototype would still apply. */
7944 char XCreateWindow ();
7948 return XCreateWindow ();
7953 if ac_fn_c_try_link
"$LINENO"; then :
7955 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7956 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'` ;;
7957 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7960 rm -f core conftest.err conftest.
$ac_objext \
7961 conftest
$ac_exeext conftest.
$ac_ext
7962 LIBS
=$ac_check_soname_save_LIBS
7964 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7966 $as_echo "not found" >&6; }
7969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7970 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7972 cat >>confdefs.h
<<_ACEOF
7973 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7979 $as_echo_n "checking for -lXext... " >&6; }
7980 if ${ac_cv_lib_soname_Xext+:} false
; then :
7981 $as_echo_n "(cached) " >&6
7983 ac_check_soname_save_LIBS
=$LIBS
7984 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7986 /* end confdefs.h. */
7988 /* Override any GCC internal prototype to avoid an error.
7989 Use char because int might match the return type of a GCC
7990 builtin and then its argument prototype would still apply. */
7994 char XextCreateExtension ();
7998 return XextCreateExtension ();
8003 if ac_fn_c_try_link
"$LINENO"; then :
8005 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8006 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'` ;;
8007 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8010 rm -f core conftest.err conftest.
$ac_objext \
8011 conftest
$ac_exeext conftest.
$ac_ext
8012 LIBS
=$ac_check_soname_save_LIBS
8014 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8016 $as_echo "not found" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8020 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8022 cat >>confdefs.h
<<_ACEOF
8023 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8029 for ac_header
in X11
/Xlib.h \
8032 X11
/Xcursor
/Xcursor.h \
8033 X11
/extensions
/shape.h \
8034 X11
/extensions
/XInput.h \
8035 X11
/extensions
/XInput2.h \
8036 X11
/extensions
/Xcomposite.h \
8037 X11
/extensions
/Xinerama.h \
8038 X11
/extensions
/Xrandr.h \
8039 X11
/extensions
/Xrender.h \
8040 X11
/extensions
/xf86vmode.h \
8041 X11
/extensions
/xf86vmproto.h
8043 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8044 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8045 # include <X11/Xlib.h>
8047 #ifdef HAVE_X11_XUTIL_H
8048 # include <X11/Xutil.h>
8051 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8052 cat >>confdefs.h
<<_ACEOF
8053 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8061 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8064 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8065 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8066 $as_echo_n "(cached) " >&6
8068 ac_check_lib_save_LIBS
=$LIBS
8069 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8071 /* end confdefs.h. */
8073 /* Override any GCC internal prototype to avoid an error.
8074 Use char because int might match the return type of a GCC
8075 builtin and then its argument prototype would still apply. */
8079 char XkbQueryExtension ();
8083 return XkbQueryExtension ();
8088 if ac_fn_c_try_link
"$LINENO"; then :
8089 ac_cv_lib_X11_XkbQueryExtension
=yes
8091 ac_cv_lib_X11_XkbQueryExtension
=no
8093 rm -f core conftest.err conftest.
$ac_objext \
8094 conftest
$ac_exeext conftest.
$ac_ext
8095 LIBS
=$ac_check_lib_save_LIBS
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8098 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8099 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8101 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8107 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8110 $as_echo_n "checking for -lXcursor... " >&6; }
8111 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8112 $as_echo_n "(cached) " >&6
8114 ac_check_soname_save_LIBS
=$LIBS
8115 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8119 /* Override any GCC internal prototype to avoid an error.
8120 Use char because int might match the return type of a GCC
8121 builtin and then its argument prototype would still apply. */
8125 char XcursorImageLoadCursor ();
8129 return XcursorImageLoadCursor ();
8134 if ac_fn_c_try_link
"$LINENO"; then :
8136 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8137 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'` ;;
8138 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8141 rm -f core conftest.err conftest.
$ac_objext \
8142 conftest
$ac_exeext conftest.
$ac_ext
8143 LIBS
=$ac_check_soname_save_LIBS
8145 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8147 $as_echo "not found" >&6; }
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8151 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8153 cat >>confdefs.h
<<_ACEOF
8154 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8160 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8161 case "x$with_xcursor" in
8162 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8164 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8165 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8169 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8172 $as_echo_n "checking for -lXi... " >&6; }
8173 if ${ac_cv_lib_soname_Xi+:} false
; then :
8174 $as_echo_n "(cached) " >&6
8176 ac_check_soname_save_LIBS
=$LIBS
8177 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8179 /* end confdefs.h. */
8181 /* Override any GCC internal prototype to avoid an error.
8182 Use char because int might match the return type of a GCC
8183 builtin and then its argument prototype would still apply. */
8187 char XOpenDevice ();
8191 return XOpenDevice ();
8196 if ac_fn_c_try_link
"$LINENO"; then :
8198 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8199 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'` ;;
8200 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8203 rm -f core conftest.err conftest.
$ac_objext \
8204 conftest
$ac_exeext conftest.
$ac_ext
8205 LIBS
=$ac_check_soname_save_LIBS
8207 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8209 $as_echo "not found" >&6; }
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8213 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8215 cat >>confdefs.h
<<_ACEOF
8216 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8222 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8223 case "x$with_xinput" in
8224 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8226 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8227 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8231 if test "x$ac_cv_lib_soname_Xi" != x
8233 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8234 case "x$with_xinput2" in
8235 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8237 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8238 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8243 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8246 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8247 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8248 $as_echo_n "(cached) " >&6
8250 ac_check_lib_save_LIBS
=$LIBS
8251 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8253 /* end confdefs.h. */
8255 /* Override any GCC internal prototype to avoid an error.
8256 Use char because int might match the return type of a GCC
8257 builtin and then its argument prototype would still apply. */
8261 char XShapeQueryExtension ();
8265 return XShapeQueryExtension ();
8270 if ac_fn_c_try_link
"$LINENO"; then :
8271 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8273 ac_cv_lib_Xext_XShapeQueryExtension
=no
8275 rm -f core conftest.err conftest.
$ac_objext \
8276 conftest
$ac_exeext conftest.
$ac_ext
8277 LIBS
=$ac_check_lib_save_LIBS
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8280 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8281 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8283 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8288 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8289 case "x$with_xshape" in
8290 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8292 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8293 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8297 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8300 $as_echo_n "checking for -lXxf86vm... " >&6; }
8301 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8302 $as_echo_n "(cached) " >&6
8304 ac_check_soname_save_LIBS
=$LIBS
8305 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8307 /* end confdefs.h. */
8309 /* Override any GCC internal prototype to avoid an error.
8310 Use char because int might match the return type of a GCC
8311 builtin and then its argument prototype would still apply. */
8315 char XF86VidModeQueryExtension ();
8319 return XF86VidModeQueryExtension ();
8324 if ac_fn_c_try_link
"$LINENO"; then :
8326 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8327 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'` ;;
8328 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8331 rm -f core conftest.err conftest.
$ac_objext \
8332 conftest
$ac_exeext conftest.
$ac_ext
8333 LIBS
=$ac_check_soname_save_LIBS
8335 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8337 $as_echo "not found" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8341 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8343 cat >>confdefs.h
<<_ACEOF
8344 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8350 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8351 case "x$with_xxf86vm" in
8352 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8354 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8355 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8359 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"
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8362 $as_echo_n "checking for -lXrender... " >&6; }
8363 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8364 $as_echo_n "(cached) " >&6
8366 ac_check_soname_save_LIBS
=$LIBS
8367 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8369 /* end confdefs.h. */
8371 /* Override any GCC internal prototype to avoid an error.
8372 Use char because int might match the return type of a GCC
8373 builtin and then its argument prototype would still apply. */
8377 char XRenderQueryExtension ();
8381 return XRenderQueryExtension ();
8386 if ac_fn_c_try_link
"$LINENO"; then :
8388 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8389 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'` ;;
8390 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8393 rm -f core conftest.err conftest.
$ac_objext \
8394 conftest
$ac_exeext conftest.
$ac_ext
8395 LIBS
=$ac_check_soname_save_LIBS
8397 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8399 $as_echo "not found" >&6; }
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8403 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8405 cat >>confdefs.h
<<_ACEOF
8406 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8410 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8411 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8412 $as_echo_n "(cached) " >&6
8414 ac_check_lib_save_LIBS
=$LIBS
8415 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8419 /* Override any GCC internal prototype to avoid an error.
8420 Use char because int might match the return type of a GCC
8421 builtin and then its argument prototype would still apply. */
8425 char XRenderSetPictureTransform ();
8429 return XRenderSetPictureTransform ();
8434 if ac_fn_c_try_link
"$LINENO"; then :
8435 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8437 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 LIBS
=$ac_check_lib_save_LIBS
8443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8444 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8445 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8447 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8452 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8453 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8454 $as_echo_n "(cached) " >&6
8456 ac_check_lib_save_LIBS
=$LIBS
8457 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8459 /* end confdefs.h. */
8461 /* Override any GCC internal prototype to avoid an error.
8462 Use char because int might match the return type of a GCC
8463 builtin and then its argument prototype would still apply. */
8467 char XRenderCreateLinearGradient ();
8471 return XRenderCreateLinearGradient ();
8476 if ac_fn_c_try_link
"$LINENO"; then :
8477 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8479 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8481 rm -f core conftest.err conftest.
$ac_objext \
8482 conftest
$ac_exeext conftest.
$ac_ext
8483 LIBS
=$ac_check_lib_save_LIBS
8485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8486 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8487 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8489 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8496 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8497 case "x$with_xrender" in
8498 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8500 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8501 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8505 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8509 #include <X11/Xlib.h>
8510 #include <X11/extensions/Xrandr.h>
8514 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8519 if ac_fn_c_try_compile
"$LINENO"; then :
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8521 $as_echo_n "checking for -lXrandr... " >&6; }
8522 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8523 $as_echo_n "(cached) " >&6
8525 ac_check_soname_save_LIBS
=$LIBS
8526 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8528 /* end confdefs.h. */
8530 /* Override any GCC internal prototype to avoid an error.
8531 Use char because int might match the return type of a GCC
8532 builtin and then its argument prototype would still apply. */
8536 char XRRQueryExtension ();
8540 return XRRQueryExtension ();
8545 if ac_fn_c_try_link
"$LINENO"; then :
8547 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8548 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'` ;;
8549 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8552 rm -f core conftest.err conftest.
$ac_objext \
8553 conftest
$ac_exeext conftest.
$ac_ext
8554 LIBS
=$ac_check_soname_save_LIBS
8556 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8558 $as_echo "not found" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8562 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8564 cat >>confdefs.h
<<_ACEOF
8565 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8573 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8574 case "x$with_xrandr" in
8575 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8577 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8578 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8582 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 #include <X11/Xlib.h>
8587 #include <X11/extensions/Xinerama.h>
8591 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8596 if ac_fn_c_try_compile
"$LINENO"; then :
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8598 $as_echo_n "checking for -lXinerama... " >&6; }
8599 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8600 $as_echo_n "(cached) " >&6
8602 ac_check_soname_save_LIBS
=$LIBS
8603 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8605 /* end confdefs.h. */
8607 /* Override any GCC internal prototype to avoid an error.
8608 Use char because int might match the return type of a GCC
8609 builtin and then its argument prototype would still apply. */
8613 char XineramaQueryScreens ();
8617 return XineramaQueryScreens ();
8622 if ac_fn_c_try_link
"$LINENO"; then :
8624 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8625 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'` ;;
8626 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8629 rm -f core conftest.err conftest.
$ac_objext \
8630 conftest
$ac_exeext conftest.
$ac_ext
8631 LIBS
=$ac_check_soname_save_LIBS
8633 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8635 $as_echo "not found" >&6; }
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8639 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8641 cat >>confdefs.h
<<_ACEOF
8642 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8648 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8650 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8651 case "x$with_xinerama" in
8652 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8654 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8655 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8659 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8662 $as_echo_n "checking for -lXcomposite... " >&6; }
8663 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8664 $as_echo_n "(cached) " >&6
8666 ac_check_soname_save_LIBS
=$LIBS
8667 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8671 /* Override any GCC internal prototype to avoid an error.
8672 Use char because int might match the return type of a GCC
8673 builtin and then its argument prototype would still apply. */
8677 char XCompositeRedirectWindow ();
8681 return XCompositeRedirectWindow ();
8686 if ac_fn_c_try_link
"$LINENO"; then :
8688 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8689 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'` ;;
8690 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8693 rm -f core conftest.err conftest.
$ac_objext \
8694 conftest
$ac_exeext conftest.
$ac_ext
8695 LIBS
=$ac_check_soname_save_LIBS
8697 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8699 $as_echo "not found" >&6; }
8702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8703 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8705 cat >>confdefs.h
<<_ACEOF
8706 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8712 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8713 case "x$with_xcomposite" in
8714 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8716 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8717 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8721 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8722 #include <X11/Xlib.h>
8725 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8727 cat >>confdefs.h
<<_ACEOF
8728 #define HAVE_XICCALLBACK_CALLBACK 1
8733 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8734 #include <X11/Xlib.h>
8737 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8739 cat >>confdefs.h
<<_ACEOF
8740 #define HAVE_XEVENT_XCOOKIE 1
8749 if test "x$with_opengl" != "xno"
8751 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8753 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8754 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8755 # include <GL/glx.h>
8758 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8759 cat >>confdefs.h
<<_ACEOF
8760 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8767 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8770 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8771 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8772 $as_echo_n "(cached) " >&6
8774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8775 /* end confdefs.h. */
8780 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8785 if ac_fn_c_try_compile
"$LINENO"; then :
8786 wine_cv_opengl_header_version_OK
="yes"
8788 wine_cv_opengl_header_version_OK
="no"
8790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8793 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8795 if test "$wine_cv_opengl_header_version_OK" = "yes"
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8798 $as_echo_n "checking for -lGL... " >&6; }
8799 if ${ac_cv_lib_soname_GL+:} false
; then :
8800 $as_echo_n "(cached) " >&6
8802 ac_check_soname_save_LIBS
=$LIBS
8803 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8807 /* Override any GCC internal prototype to avoid an error.
8808 Use char because int might match the return type of a GCC
8809 builtin and then its argument prototype would still apply. */
8813 char glXCreateContext ();
8817 return glXCreateContext ();
8822 if ac_fn_c_try_link
"$LINENO"; then :
8824 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8825 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'` ;;
8826 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8829 rm -f core conftest.err conftest.
$ac_objext \
8830 conftest
$ac_exeext conftest.
$ac_ext
8831 LIBS
=$ac_check_soname_save_LIBS
8833 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8835 $as_echo "not found" >&6; }
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8837 $as_echo_n "checking for -lGL... " >&6; }
8838 if ${ac_cv_lib_soname_GL+:} false
; then :
8839 $as_echo_n "(cached) " >&6
8841 ac_check_soname_save_LIBS
=$LIBS
8842 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"
8843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8844 /* end confdefs.h. */
8846 /* Override any GCC internal prototype to avoid an error.
8847 Use char because int might match the return type of a GCC
8848 builtin and then its argument prototype would still apply. */
8852 char glXCreateContext ();
8856 return glXCreateContext ();
8861 if ac_fn_c_try_link
"$LINENO"; then :
8863 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8864 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'` ;;
8865 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8868 rm -f core conftest.err conftest.
$ac_objext \
8869 conftest
$ac_exeext conftest.
$ac_ext
8870 LIBS
=$ac_check_soname_save_LIBS
8872 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8874 $as_echo "not found" >&6; }
8875 if test -f /usr
/X11R
6/lib
/libGL.a
8877 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8878 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8880 opengl_msg
="No OpenGL library found on this system."
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"
8890 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"
8892 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8897 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8899 cat >>confdefs.h
<<_ACEOF
8900 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8905 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8908 if test "$ac_cv_header_GL_glu_h" = "yes"
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8911 $as_echo_n "checking for -lGLU... " >&6; }
8912 if ${ac_cv_lib_soname_GLU+:} false
; then :
8913 $as_echo_n "(cached) " >&6
8915 ac_check_soname_save_LIBS
=$LIBS
8916 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8920 /* Override any GCC internal prototype to avoid an error.
8921 Use char because int might match the return type of a GCC
8922 builtin and then its argument prototype would still apply. */
8930 return gluLookAt ();
8935 if ac_fn_c_try_link
"$LINENO"; then :
8937 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8938 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'` ;;
8939 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8942 rm -f core conftest.err conftest.
$ac_objext \
8943 conftest
$ac_exeext conftest.
$ac_ext
8944 LIBS
=$ac_check_soname_save_LIBS
8946 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8948 $as_echo "not found" >&6; }
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8952 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8954 cat >>confdefs.h
<<_ACEOF
8955 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8961 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8962 case "x$with_glu" in
8963 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8965 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8966 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8970 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8973 opengl_msg
="OpenGL development headers not found."
8975 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8976 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8978 enable_opengl32
=${enable_opengl32:-no}
8979 enable_glu32
=${enable_glu32:-no}
8981 if test -n "$opengl_msg"; then :
8982 case "x$with_opengl" in
8983 x
) as_fn_append wine_warnings
"|$opengl_msg
8984 OpenGL and Direct3D won't be supported." ;;
8986 *) as_fn_error $?
"$opengl_msg
8987 OpenGL and Direct3D won't be supported.
8988 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8992 CPPFLAGS
="$ac_save_CPPFLAGS"
8997 enable_winex11_drv
=${enable_winex11_drv:-no}
8998 enable_opengl32
=${enable_opengl32:-no}
8999 enable_glu32
=${enable_glu32:-no}
9001 if test "x$XLIB" = "x"; then :
9004 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9005 without X support, which probably isn't what you want. You will need
9006 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9007 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9011 if test "$ac_cv_header_CL_cl_h" = "yes"
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9014 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9015 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9016 $as_echo_n "(cached) " >&6
9018 ac_check_lib_save_LIBS
=$LIBS
9019 LIBS
="-lOpenCL $LIBS"
9020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9021 /* end confdefs.h. */
9023 /* Override any GCC internal prototype to avoid an error.
9024 Use char because int might match the return type of a GCC
9025 builtin and then its argument prototype would still apply. */
9029 char clGetPlatformInfo ();
9033 return clGetPlatformInfo ();
9038 if ac_fn_c_try_link
"$LINENO"; then :
9039 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9041 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9043 rm -f core conftest.err conftest.
$ac_objext \
9044 conftest
$ac_exeext conftest.
$ac_ext
9045 LIBS
=$ac_check_lib_save_LIBS
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9048 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9049 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9050 LIBOPENCL
="-lOpenCL"
9055 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9056 case "x$with_opencl" in
9057 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9059 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9060 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9063 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9072 if test "x$with_xml" != "xno"
9074 ac_save_CPPFLAGS
="$CPPFLAGS"
9075 if test "$PKG_CONFIG" != "false"
9077 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9078 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9080 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9081 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9083 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9084 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9086 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9087 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9088 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9089 cat >>confdefs.h
<<_ACEOF
9090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9097 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"
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9100 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9101 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9102 $as_echo_n "(cached) " >&6
9104 ac_check_lib_save_LIBS
=$LIBS
9105 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9109 /* Override any GCC internal prototype to avoid an error.
9110 Use char because int might match the return type of a GCC
9111 builtin and then its argument prototype would still apply. */
9115 char xmlParseMemory ();
9119 return xmlParseMemory ();
9124 if ac_fn_c_try_link
"$LINENO"; then :
9125 ac_cv_lib_xml2_xmlParseMemory
=yes
9127 ac_cv_lib_xml2_xmlParseMemory
=no
9129 rm -f core conftest.err conftest.
$ac_objext \
9130 conftest
$ac_exeext conftest.
$ac_ext
9131 LIBS
=$ac_check_lib_save_LIBS
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9134 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9135 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9137 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9139 XML2LIBS
="$ac_xml_libs"
9140 XML2INCL
="$ac_xml_cflags"
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9144 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9145 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9146 $as_echo_n "(cached) " >&6
9148 ac_check_lib_save_LIBS
=$LIBS
9149 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9150 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9151 /* end confdefs.h. */
9153 /* Override any GCC internal prototype to avoid an error.
9154 Use char because int might match the return type of a GCC
9155 builtin and then its argument prototype would still apply. */
9159 char xmlReadMemory ();
9163 return xmlReadMemory ();
9168 if ac_fn_c_try_link
"$LINENO"; then :
9169 ac_cv_lib_xml2_xmlReadMemory
=yes
9171 ac_cv_lib_xml2_xmlReadMemory
=no
9173 rm -f core conftest.err conftest.
$ac_objext \
9174 conftest
$ac_exeext conftest.
$ac_ext
9175 LIBS
=$ac_check_lib_save_LIBS
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9178 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9179 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9181 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9186 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9187 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9188 $as_echo_n "(cached) " >&6
9190 ac_check_lib_save_LIBS
=$LIBS
9191 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9201 char xmlNewDocPI ();
9205 return xmlNewDocPI ();
9210 if ac_fn_c_try_link
"$LINENO"; then :
9211 ac_cv_lib_xml2_xmlNewDocPI
=yes
9213 ac_cv_lib_xml2_xmlNewDocPI
=no
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_lib_save_LIBS
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9220 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9221 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9223 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9228 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9229 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9230 $as_echo_n "(cached) " >&6
9232 ac_check_lib_save_LIBS
=$LIBS
9233 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9235 /* end confdefs.h. */
9237 /* Override any GCC internal prototype to avoid an error.
9238 Use char because int might match the return type of a GCC
9239 builtin and then its argument prototype would still apply. */
9243 char xmlSchemaSetParserStructuredErrors ();
9247 return xmlSchemaSetParserStructuredErrors ();
9252 if ac_fn_c_try_link
"$LINENO"; then :
9253 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9255 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9257 rm -f core conftest.err conftest.
$ac_objext \
9258 conftest
$ac_exeext conftest.
$ac_ext
9259 LIBS
=$ac_check_lib_save_LIBS
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9262 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9263 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9265 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9270 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9271 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9272 $as_echo_n "(cached) " >&6
9274 ac_check_lib_save_LIBS
=$LIBS
9275 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9285 char xmlSchemaSetValidStructuredErrors ();
9289 return xmlSchemaSetValidStructuredErrors ();
9294 if ac_fn_c_try_link
"$LINENO"; then :
9295 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9297 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9299 rm -f core conftest.err conftest.
$ac_objext \
9300 conftest
$ac_exeext conftest.
$ac_ext
9301 LIBS
=$ac_check_lib_save_LIBS
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9304 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9305 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9307 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9312 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9313 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9314 $as_echo_n "(cached) " >&6
9316 ac_check_lib_save_LIBS
=$LIBS
9317 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9327 char xmlFirstElementChild ();
9331 return xmlFirstElementChild ();
9336 if ac_fn_c_try_link
"$LINENO"; then :
9337 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9339 ac_cv_lib_xml2_xmlFirstElementChild
=no
9341 rm -f core conftest.err conftest.
$ac_objext \
9342 conftest
$ac_exeext conftest.
$ac_ext
9343 LIBS
=$ac_check_lib_save_LIBS
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9346 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9347 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9349 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9353 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9355 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9357 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9362 CPPFLAGS
="$ac_save_CPPFLAGS"
9364 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9365 case "x$with_xml" in
9366 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9368 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9369 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9373 if test "x$with_xslt" != "xno"
9375 if test "$PKG_CONFIG" != "false"
9377 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9378 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9380 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9381 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9383 ac_save_CPPFLAGS
="$CPPFLAGS"
9384 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9385 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9387 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9388 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9389 # include <libxslt/pattern.h>
9392 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9393 cat >>confdefs.h
<<_ACEOF
9394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9401 CPPFLAGS
="$ac_save_CPPFLAGS"
9402 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9405 $as_echo_n "checking for -lxslt... " >&6; }
9406 if ${ac_cv_lib_soname_xslt+:} false
; then :
9407 $as_echo_n "(cached) " >&6
9409 ac_check_soname_save_LIBS
=$LIBS
9410 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9420 char xsltCompilePattern ();
9424 return xsltCompilePattern ();
9429 if ac_fn_c_try_link
"$LINENO"; then :
9431 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9432 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'` ;;
9433 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9436 rm -f core conftest.err conftest.
$ac_objext \
9437 conftest
$ac_exeext conftest.
$ac_ext
9438 LIBS
=$ac_check_soname_save_LIBS
9440 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9442 $as_echo "not found" >&6; }
9445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9446 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9448 cat >>confdefs.h
<<_ACEOF
9449 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9452 XSLTINCL
="$ac_xslt_cflags"
9456 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9457 case "x$with_xslt" in
9458 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9460 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9461 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9465 if test "x$with_dbus" != "xno"
9467 ac_save_CPPFLAGS
="$CPPFLAGS"
9468 if test "$PKG_CONFIG" != "false"
9470 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9471 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9472 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9474 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9475 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9477 $as_echo_n "checking for -ldbus-1... " >&6; }
9478 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9479 $as_echo_n "(cached) " >&6
9481 ac_check_soname_save_LIBS
=$LIBS
9482 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9484 /* end confdefs.h. */
9486 /* Override any GCC internal prototype to avoid an error.
9487 Use char because int might match the return type of a GCC
9488 builtin and then its argument prototype would still apply. */
9492 char dbus_connection_close ();
9496 return dbus_connection_close ();
9501 if ac_fn_c_try_link
"$LINENO"; then :
9503 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9504 dylib
) ac_cv_lib_soname_dbus_1
=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9505 *) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9508 rm -f core conftest.err conftest.
$ac_objext \
9509 conftest
$ac_exeext conftest.
$ac_ext
9510 LIBS
=$ac_check_soname_save_LIBS
9512 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9514 $as_echo "not found" >&6; }
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9518 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9520 cat >>confdefs.h
<<_ACEOF
9521 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9524 DBUSINCL
="$ac_dbus_cflags"
9530 CPPFLAGS
="$ac_save_CPPFLAGS"
9532 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9533 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9534 case "x$with_dbus" in
9535 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9537 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9538 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9542 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9544 ac_save_CPPFLAGS
="$CPPFLAGS"
9545 if test "$PKG_CONFIG" != "false"
9547 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9548 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9549 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9551 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9552 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9554 $as_echo_n "checking for -lhal... " >&6; }
9555 if ${ac_cv_lib_soname_hal+:} false
; then :
9556 $as_echo_n "(cached) " >&6
9558 ac_check_soname_save_LIBS
=$LIBS
9559 LIBS
="-lhal $ac_hal_libs $LIBS"
9560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9561 /* end confdefs.h. */
9563 /* Override any GCC internal prototype to avoid an error.
9564 Use char because int might match the return type of a GCC
9565 builtin and then its argument prototype would still apply. */
9569 char libhal_ctx_new ();
9573 return libhal_ctx_new ();
9578 if ac_fn_c_try_link
"$LINENO"; then :
9580 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9581 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'` ;;
9582 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9585 rm -f core conftest.err conftest.
$ac_objext \
9586 conftest
$ac_exeext conftest.
$ac_ext
9587 LIBS
=$ac_check_soname_save_LIBS
9589 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9591 $as_echo "not found" >&6; }
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9595 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9597 cat >>confdefs.h
<<_ACEOF
9598 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9601 HALINCL
="$ac_hal_cflags"
9607 CPPFLAGS
="$ac_save_CPPFLAGS"
9608 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9609 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9610 case "x$with_hal" in
9611 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9613 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9614 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9619 if test "x$with_gnutls" != "xno"
9621 ac_save_CPPFLAGS
="$CPPFLAGS"
9622 if test "$PKG_CONFIG" != "false"
9624 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9625 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9626 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9628 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9629 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9630 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9632 #include <gnutls/gnutls.h>
9636 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9641 if ac_fn_c_try_compile
"$LINENO"; then :
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9643 $as_echo_n "checking for -lgnutls... " >&6; }
9644 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9645 $as_echo_n "(cached) " >&6
9647 ac_check_soname_save_LIBS
=$LIBS
9648 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9649 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9650 /* end confdefs.h. */
9652 /* Override any GCC internal prototype to avoid an error.
9653 Use char because int might match the return type of a GCC
9654 builtin and then its argument prototype would still apply. */
9658 char gnutls_global_init ();
9662 return gnutls_global_init ();
9667 if ac_fn_c_try_link
"$LINENO"; then :
9669 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9670 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'` ;;
9671 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9674 rm -f core conftest.err conftest.
$ac_objext \
9675 conftest
$ac_exeext conftest.
$ac_ext
9676 LIBS
=$ac_check_soname_save_LIBS
9678 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9680 $as_echo "not found" >&6; }
9683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9684 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9686 cat >>confdefs.h
<<_ACEOF
9687 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9690 GNUTLSINCL
="$ac_gnutls_cflags"
9694 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9698 CPPFLAGS
="$ac_save_CPPFLAGS"
9700 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9701 case "x$with_gnutls" in
9702 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9704 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9705 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9710 if test "$ac_cv_header_ncurses_h" = "yes"
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9713 $as_echo_n "checking for -lncurses... " >&6; }
9714 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9715 $as_echo_n "(cached) " >&6
9717 ac_check_soname_save_LIBS
=$LIBS
9718 LIBS
="-lncurses $LIBS"
9719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9720 /* end confdefs.h. */
9722 /* Override any GCC internal prototype to avoid an error.
9723 Use char because int might match the return type of a GCC
9724 builtin and then its argument prototype would still apply. */
9737 if ac_fn_c_try_link
"$LINENO"; then :
9739 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9740 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'` ;;
9741 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9744 rm -f core conftest.err conftest.
$ac_objext \
9745 conftest
$ac_exeext conftest.
$ac_ext
9746 LIBS
=$ac_check_soname_save_LIBS
9748 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9750 $as_echo "not found" >&6; }
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9754 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9756 cat >>confdefs.h
<<_ACEOF
9757 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9760 CURSESLIBS
="-lncurses"
9762 elif test "$ac_cv_header_curses_h" = "yes"
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9765 $as_echo_n "checking for -lcurses... " >&6; }
9766 if ${ac_cv_lib_soname_curses+:} false
; then :
9767 $as_echo_n "(cached) " >&6
9769 ac_check_soname_save_LIBS
=$LIBS
9770 LIBS
="-lcurses $LIBS"
9771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9772 /* end confdefs.h. */
9774 /* Override any GCC internal prototype to avoid an error.
9775 Use char because int might match the return type of a GCC
9776 builtin and then its argument prototype would still apply. */
9789 if ac_fn_c_try_link
"$LINENO"; then :
9791 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9792 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'` ;;
9793 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9796 rm -f core conftest.err conftest.
$ac_objext \
9797 conftest
$ac_exeext conftest.
$ac_ext
9798 LIBS
=$ac_check_soname_save_LIBS
9800 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9802 $as_echo "not found" >&6; }
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9806 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9808 cat >>confdefs.h
<<_ACEOF
9809 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9812 CURSESLIBS
="-lcurses"
9815 ac_save_LIBS
="$LIBS"
9816 LIBS
="$LIBS $CURSESLIBS"
9817 for ac_func
in mousemask
9819 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9820 if test "x$ac_cv_func_mousemask" = xyes
; then :
9821 cat >>confdefs.h
<<_ACEOF
9822 #define HAVE_MOUSEMASK 1
9828 LIBS
="$ac_save_LIBS"
9829 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9830 case "x$with_curses" in
9831 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9833 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9834 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9838 if test "x$with_sane" != "xno"
9840 ac_save_CPPFLAGS
="$CPPFLAGS"
9841 # Extract the first word of "sane-config", so it can be a program name with args.
9842 set dummy sane-config
; ac_word
=$2
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9844 $as_echo_n "checking for $ac_word... " >&6; }
9845 if ${ac_cv_prog_sane_devel+:} false
; then :
9846 $as_echo_n "(cached) " >&6
9848 if test -n "$sane_devel"; then
9849 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9851 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9855 test -z "$as_dir" && as_dir
=.
9856 for ac_exec_ext
in '' $ac_executable_extensions; do
9857 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9858 ac_cv_prog_sane_devel
="sane-config"
9859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9866 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9869 sane_devel
=$ac_cv_prog_sane_devel
9870 if test -n "$sane_devel"; then
9871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9872 $as_echo "$sane_devel" >&6; }
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9875 $as_echo "no" >&6; }
9879 if test "$sane_devel" != "no"
9881 ac_sane_incl
="`$sane_devel --cflags`"
9882 ac_sane_libs
="`$sane_devel --ldflags`"
9883 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9885 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9886 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9888 $as_echo_n "checking for -lsane... " >&6; }
9889 if ${ac_cv_lib_soname_sane+:} false
; then :
9890 $as_echo_n "(cached) " >&6
9892 ac_check_soname_save_LIBS
=$LIBS
9893 LIBS
="-lsane $ac_sane_libs $LIBS"
9894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9897 /* Override any GCC internal prototype to avoid an error.
9898 Use char because int might match the return type of a GCC
9899 builtin and then its argument prototype would still apply. */
9907 return sane_init ();
9912 if ac_fn_c_try_link
"$LINENO"; then :
9914 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9915 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'` ;;
9916 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9919 rm -f core conftest.err conftest.
$ac_objext \
9920 conftest
$ac_exeext conftest.
$ac_ext
9921 LIBS
=$ac_check_soname_save_LIBS
9923 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9925 $as_echo "not found" >&6; }
9928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9929 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9931 cat >>confdefs.h
<<_ACEOF
9932 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9935 SANEINCL
="$ac_sane_incl"
9941 CPPFLAGS
="$ac_save_CPPFLAGS"
9943 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9944 case "x$with_sane" in
9945 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9947 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9948 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9952 if test "x$with_v4l" != "xno"
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9955 $as_echo_n "checking for -lv4l1... " >&6; }
9956 if ${ac_cv_lib_soname_v4l1+:} false
; then :
9957 $as_echo_n "(cached) " >&6
9959 ac_check_soname_save_LIBS
=$LIBS
9961 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9964 /* Override any GCC internal prototype to avoid an error.
9965 Use char because int might match the return type of a GCC
9966 builtin and then its argument prototype would still apply. */
9974 return v4l1_open ();
9979 if ac_fn_c_try_link
"$LINENO"; then :
9981 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9982 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'` ;;
9983 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9986 rm -f core conftest.err conftest.
$ac_objext \
9987 conftest
$ac_exeext conftest.
$ac_ext
9988 LIBS
=$ac_check_soname_save_LIBS
9990 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9992 $as_echo "not found" >&6; }
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9996 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9998 cat >>confdefs.h
<<_ACEOF
9999 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10005 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10006 case "x$with_v4l" in
10007 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10009 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10010 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10014 if test "x$with_gphoto" != "xno"
10016 ac_save_CPPFLAGS
="$CPPFLAGS"
10017 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10018 set dummy gphoto2-config
; ac_word
=$2
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10020 $as_echo_n "checking for $ac_word... " >&6; }
10021 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10022 $as_echo_n "(cached) " >&6
10024 if test -n "$gphoto2_devel"; then
10025 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10027 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10028 for as_dir
in $PATH
10031 test -z "$as_dir" && as_dir
=.
10032 for ac_exec_ext
in '' $ac_executable_extensions; do
10033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10034 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10042 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10045 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10046 if test -n "$gphoto2_devel"; then
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10048 $as_echo "$gphoto2_devel" >&6; }
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10051 $as_echo "no" >&6; }
10055 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10056 set dummy gphoto2-port-config
; ac_word
=$2
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10058 $as_echo_n "checking for $ac_word... " >&6; }
10059 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10060 $as_echo_n "(cached) " >&6
10062 if test -n "$gphoto2port_devel"; then
10063 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10072 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10083 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10084 if test -n "$gphoto2port_devel"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10086 $as_echo "$gphoto2port_devel" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10089 $as_echo "no" >&6; }
10093 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10095 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10097 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10100 -L/usr
/lib|
-L/usr
/lib64
) ;;
10101 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10104 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10106 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10107 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10108 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10110 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10111 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10112 $as_echo_n "(cached) " >&6
10114 ac_check_lib_save_LIBS
=$LIBS
10115 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10119 /* Override any GCC internal prototype to avoid an error.
10120 Use char because int might match the return type of a GCC
10121 builtin and then its argument prototype would still apply. */
10125 char gp_camera_new ();
10129 return gp_camera_new ();
10134 if ac_fn_c_try_link
"$LINENO"; then :
10135 ac_cv_lib_gphoto2_gp_camera_new
=yes
10137 ac_cv_lib_gphoto2_gp_camera_new
=no
10139 rm -f core conftest.err conftest.
$ac_objext \
10140 conftest
$ac_exeext conftest.
$ac_ext
10141 LIBS
=$ac_check_lib_save_LIBS
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10144 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10145 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10147 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10149 GPHOTO2LIBS
="$ac_gphoto2_libs"
10151 GPHOTO2INCL
="$ac_gphoto2_incl"
10158 CPPFLAGS
="$ac_save_CPPFLAGS"
10160 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10161 case "x$with_gphoto" in
10162 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10164 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10165 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10170 if test "$ac_cv_header_resolv_h" = "yes"
10172 ac_save_LIBS
="$LIBS"
10173 for lib
in '' -lresolv
10175 LIBS
="$lib $ac_save_LIBS"
10176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10178 #ifdef HAVE_NETINET_IN_H
10179 #include <netinet/in.h>
10181 #include <resolv.h>
10185 res_query("foo",ns_c_in,0,0,0);
10190 if ac_fn_c_try_link
"$LINENO"; then :
10192 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10197 rm -f core conftest.err conftest.
$ac_objext \
10198 conftest
$ac_exeext conftest.
$ac_ext
10199 if test "${RESOLVLIBS+set}" = set; then
10203 LIBS
="$ac_save_LIBS"
10208 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10211 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10212 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10213 $as_echo_n "(cached) " >&6
10215 ac_check_lib_save_LIBS
=$LIBS
10216 LIBS
="-llcms $LIBS"
10217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10218 /* end confdefs.h. */
10220 /* Override any GCC internal prototype to avoid an error.
10221 Use char because int might match the return type of a GCC
10222 builtin and then its argument prototype would still apply. */
10226 char cmsOpenProfileFromFile ();
10230 return cmsOpenProfileFromFile ();
10235 if ac_fn_c_try_link
"$LINENO"; then :
10236 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10238 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10240 rm -f core conftest.err conftest.
$ac_objext \
10241 conftest
$ac_exeext conftest.
$ac_ext
10242 LIBS
=$ac_check_lib_save_LIBS
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10245 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10246 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10248 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10254 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10255 case "x$with_cms" in
10256 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10258 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10259 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10263 if test "x$with_freetype" != "xno"
10265 if test "$PKG_CONFIG" != "false"
10267 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10268 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10270 for ac_prog
in freetype-config freetype2-config
10272 # Extract the first word of "$ac_prog", so it can be a program name with args.
10273 set dummy
$ac_prog; ac_word
=$2
10274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10275 $as_echo_n "checking for $ac_word... " >&6; }
10276 if ${ac_cv_prog_ft_devel+:} false
; then :
10277 $as_echo_n "(cached) " >&6
10279 if test -n "$ft_devel"; then
10280 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10282 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10283 for as_dir
in $PATH
10286 test -z "$as_dir" && as_dir
=.
10287 for ac_exec_ext
in '' $ac_executable_extensions; do
10288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10289 ac_cv_prog_ft_devel
="$ac_prog"
10290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10299 ft_devel
=$ac_cv_prog_ft_devel
10300 if test -n "$ft_devel"; then
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10302 $as_echo "$ft_devel" >&6; }
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10305 $as_echo "no" >&6; }
10309 test -n "$ft_devel" && break
10311 test -n "$ft_devel" || ft_devel
="no"
10313 if test "$ft_devel" != "no"
10315 ac_freetype_incl
=`$ft_devel --cflags`
10316 ac_freetype_libs
=`$ft_devel --libs`
10319 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10321 $as_echo_n "checking for -lfreetype... " >&6; }
10322 if ${ac_cv_lib_soname_freetype+:} false
; then :
10323 $as_echo_n "(cached) " >&6
10325 ac_check_soname_save_LIBS
=$LIBS
10326 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10327 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10328 /* end confdefs.h. */
10330 /* Override any GCC internal prototype to avoid an error.
10331 Use char because int might match the return type of a GCC
10332 builtin and then its argument prototype would still apply. */
10336 char FT_Init_FreeType ();
10340 return FT_Init_FreeType ();
10345 if ac_fn_c_try_link
"$LINENO"; then :
10347 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10348 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'` ;;
10349 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10352 rm -f core conftest.err conftest.
$ac_objext \
10353 conftest
$ac_exeext conftest.
$ac_ext
10354 LIBS
=$ac_check_soname_save_LIBS
10356 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10358 $as_echo "not found" >&6; }
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10362 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10364 cat >>confdefs.h
<<_ACEOF
10365 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10370 if test "$ft_lib" = "yes"
10372 ac_save_CPPFLAGS
="$CPPFLAGS"
10373 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10374 for ac_header
in ft2build.h \
10375 freetype
/freetype.h \
10376 freetype
/ftglyph.h \
10377 freetype
/fttypes.h \
10378 freetype
/tttables.h \
10379 freetype
/ftsnames.h \
10380 freetype
/ttnameid.h \
10381 freetype
/ftoutln.h \
10382 freetype
/ftwinfnt.h \
10383 freetype
/ftmodapi.h \
10384 freetype
/ftlcdfil.h
10386 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10387 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10388 # include <ft2build.h>
10391 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10392 cat >>confdefs.h
<<_ACEOF
10393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10401 /* end confdefs.h. */
10402 #include <ft2build.h>
10403 #include <freetype/fttrigon.h>
10405 if ac_fn_c_try_cpp
"$LINENO"; then :
10407 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10409 wine_cv_fttrigon
=yes
10411 wine_cv_fttrigon
=no
10413 rm -f conftest.err conftest.i conftest.
$ac_ext
10414 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10416 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10418 cat >>confdefs.h
<<_ACEOF
10419 #define HAVE_FT_TRUETYPEENGINETYPE 1
10425 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10428 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10430 FREETYPELIBS
="$ac_freetype_libs"
10432 FREETYPEINCL
="$ac_freetype_incl"
10437 if test "x$FREETYPELIBS" = "x"; then :
10438 case "x$with_freetype" in
10440 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10441 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10444 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10447 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10448 if ${ac_cv_c_ppdev+:} false
; then :
10449 $as_echo_n "(cached) " >&6
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10453 #ifdef HAVE_SYS_IOCTL_H
10454 # include <sys/ioctl.h>
10456 #include <linux/ppdev.h>
10460 ioctl (1,PPCLAIM,0)
10465 if ac_fn_c_try_compile
"$LINENO"; then :
10466 ac_cv_c_ppdev
="yes"
10470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10473 $as_echo "$ac_cv_c_ppdev" >&6; }
10474 if test "$ac_cv_c_ppdev" = "yes"
10477 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10481 ac_wine_check_funcs_save_LIBS
="$LIBS"
10482 LIBS
="$LIBS $LIBPTHREAD"
10484 pthread_attr_get_np \
10485 pthread_getattr_np \
10486 pthread_get_stackaddr_np \
10487 pthread_get_stacksize_np
10489 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10490 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10491 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10492 cat >>confdefs.h
<<_ACEOF
10493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10499 LIBS
="$ac_wine_check_funcs_save_LIBS"
10501 if test "$ac_cv_header_zlib_h" = "yes"
10503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10504 $as_echo_n "checking for inflate in -lz... " >&6; }
10505 if ${ac_cv_lib_z_inflate+:} false
; then :
10506 $as_echo_n "(cached) " >&6
10508 ac_check_lib_save_LIBS
=$LIBS
10510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10511 /* end confdefs.h. */
10513 /* Override any GCC internal prototype to avoid an error.
10514 Use char because int might match the return type of a GCC
10515 builtin and then its argument prototype would still apply. */
10528 if ac_fn_c_try_link
"$LINENO"; then :
10529 ac_cv_lib_z_inflate
=yes
10531 ac_cv_lib_z_inflate
=no
10533 rm -f core conftest.err conftest.
$ac_objext \
10534 conftest
$ac_exeext conftest.
$ac_ext
10535 LIBS
=$ac_check_lib_save_LIBS
10537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10538 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10539 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10541 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10548 if test "x$ZLIB" = "x"; then :
10549 case "x$with_zlib" in
10550 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10552 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10553 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10557 if test "x$enable_tools" != xno
10559 if test "$ac_cv_header_gettext_po_h" = "yes"
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10562 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10563 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10564 $as_echo_n "(cached) " >&6
10566 ac_check_lib_save_LIBS
=$LIBS
10567 LIBS
="-lgettextpo $LIBS"
10568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10569 /* end confdefs.h. */
10571 /* Override any GCC internal prototype to avoid an error.
10572 Use char because int might match the return type of a GCC
10573 builtin and then its argument prototype would still apply. */
10577 char po_message_msgctxt ();
10581 return po_message_msgctxt ();
10586 if ac_fn_c_try_link
"$LINENO"; then :
10587 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10589 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10591 rm -f core conftest.err conftest.
$ac_objext \
10592 conftest
$ac_exeext conftest.
$ac_ext
10593 LIBS
=$ac_check_lib_save_LIBS
10595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10596 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10597 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10599 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10601 LIBGETTEXTPO
="-lgettextpo"
10606 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10607 case "x$with_gettextpo" in
10608 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10610 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10611 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10616 if test "x$with_gstreamer" != "xno"
10618 ac_save_CPPFLAGS
="$CPPFLAGS"
10619 if test "$PKG_CONFIG" != "false"; then
10621 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10624 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10627 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10628 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10629 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10630 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10631 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10632 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10634 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10636 /* end confdefs.h. */
10637 #include <gst/app/gstappsink.h>
10641 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10646 if ac_fn_c_try_compile
"$LINENO"; then :
10647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10648 $as_echo "yes" >&6; }
10649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10650 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10651 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10652 $as_echo_n "(cached) " >&6
10654 ac_check_lib_save_LIBS
=$LIBS
10655 LIBS
="-lgstreamer-0.10 $LIBS"
10656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10657 /* end confdefs.h. */
10659 /* Override any GCC internal prototype to avoid an error.
10660 Use char because int might match the return type of a GCC
10661 builtin and then its argument prototype would still apply. */
10665 char gst_pad_get_caps_reffed ();
10669 return gst_pad_get_caps_reffed ();
10674 if ac_fn_c_try_link
"$LINENO"; then :
10675 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10677 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10679 rm -f core conftest.err conftest.
$ac_objext \
10680 conftest
$ac_exeext conftest.
$ac_ext
10681 LIBS
=$ac_check_lib_save_LIBS
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10684 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10685 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10687 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10688 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10689 $as_echo_n "(cached) " >&6
10691 ac_check_lib_save_LIBS
=$LIBS
10692 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10694 /* end confdefs.h. */
10696 /* Override any GCC internal prototype to avoid an error.
10697 Use char because int might match the return type of a GCC
10698 builtin and then its argument prototype would still apply. */
10702 char gst_app_buffer_new ();
10706 return gst_app_buffer_new ();
10711 if ac_fn_c_try_link
"$LINENO"; then :
10712 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10714 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10716 rm -f core conftest.err conftest.
$ac_objext \
10717 conftest
$ac_exeext conftest.
$ac_ext
10718 LIBS
=$ac_check_lib_save_LIBS
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10721 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10722 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10723 GSTREAMER_LIBS
="$ac_gst_libs"
10725 GSTREAMER_INCL
="$ac_gst_incl"
10732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10733 $as_echo "no" >&6; }
10735 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10743 CPPFLAGS
="$ac_save_CPPFLAGS"
10745 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10746 case "x$with_gstreamer" in
10747 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10749 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10750 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10753 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10757 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10760 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10761 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10762 $as_echo_n "(cached) " >&6
10764 ac_check_lib_save_LIBS
=$LIBS
10765 LIBS
="-lasound $LIBS"
10766 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10767 /* end confdefs.h. */
10769 /* Override any GCC internal prototype to avoid an error.
10770 Use char because int might match the return type of a GCC
10771 builtin and then its argument prototype would still apply. */
10775 char snd_pcm_hw_params_get_access_mask ();
10779 return snd_pcm_hw_params_get_access_mask ();
10784 if ac_fn_c_try_link
"$LINENO"; then :
10785 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10787 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10789 rm -f core conftest.err conftest.
$ac_objext \
10790 conftest
$ac_exeext conftest.
$ac_ext
10791 LIBS
=$ac_check_lib_save_LIBS
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10794 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10795 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10798 #ifdef HAVE_ALSA_ASOUNDLIB_H
10799 #include <alsa/asoundlib.h>
10800 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10801 #include <sys/asoundlib.h>
10806 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10811 if ac_fn_c_try_compile
"$LINENO"; then :
10812 ALSALIBS
="-lasound"
10814 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10819 if test "x$with_oss" != xno
10821 ac_save_CPPFLAGS
="$CPPFLAGS"
10822 if test -f /etc
/oss.conf
10826 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10827 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10828 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10829 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10830 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10832 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10834 cat >>confdefs.h
<<_ACEOF
10835 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10838 OSS4INCL
="$ac_oss_incl"
10845 CPPFLAGS
="$ac_save_CPPFLAGS"
10846 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10848 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10853 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10856 $as_echo_n "checking for -lcapi20... " >&6; }
10857 if ${ac_cv_lib_soname_capi20+:} false
; then :
10858 $as_echo_n "(cached) " >&6
10860 ac_check_soname_save_LIBS
=$LIBS
10861 LIBS
="-lcapi20 $LIBS"
10862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10871 char capi20_register ();
10875 return capi20_register ();
10880 if ac_fn_c_try_link
"$LINENO"; then :
10882 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10883 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'` ;;
10884 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10887 rm -f core conftest.err conftest.
$ac_objext \
10888 conftest
$ac_exeext conftest.
$ac_ext
10889 LIBS
=$ac_check_soname_save_LIBS
10891 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10893 $as_echo "not found" >&6; }
10896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10897 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10899 cat >>confdefs.h
<<_ACEOF
10900 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10906 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10907 case "x$with_capi" in
10908 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10910 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10911 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10917 if test "x$with_cups" != "xno"
10919 ac_save_CPPFLAGS
="$CPPFLAGS"
10920 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10921 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10922 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10923 for ac_header
in cups
/cups.h
10925 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10926 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
10927 cat >>confdefs.h
<<_ACEOF
10928 #define HAVE_CUPS_CUPS_H 1
10930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10931 $as_echo_n "checking for -lcups... " >&6; }
10932 if ${ac_cv_lib_soname_cups+:} false
; then :
10933 $as_echo_n "(cached) " >&6
10935 ac_check_soname_save_LIBS
=$LIBS
10936 LIBS
="-lcups $ac_cups_libs $LIBS"
10937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10938 /* end confdefs.h. */
10940 /* Override any GCC internal prototype to avoid an error.
10941 Use char because int might match the return type of a GCC
10942 builtin and then its argument prototype would still apply. */
10946 char cupsGetDefault ();
10950 return cupsGetDefault ();
10955 if ac_fn_c_try_link
"$LINENO"; then :
10957 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10958 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'` ;;
10959 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10962 rm -f core conftest.err conftest.
$ac_objext \
10963 conftest
$ac_exeext conftest.
$ac_ext
10964 LIBS
=$ac_check_soname_save_LIBS
10966 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10968 $as_echo "not found" >&6; }
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10972 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10974 cat >>confdefs.h
<<_ACEOF
10975 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10978 CUPSINCL
="$ac_cups_cflags"
10984 CPPFLAGS
="$ac_save_CPPFLAGS"
10986 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10987 case "x$with_cups" in
10988 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10990 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10991 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10995 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10998 $as_echo_n "checking for -lfontconfig... " >&6; }
10999 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_soname_save_LIBS
=$LIBS
11003 LIBS
="-lfontconfig $LIBS"
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11022 if ac_fn_c_try_link
"$LINENO"; then :
11024 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11025 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'` ;;
11026 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11029 rm -f core conftest.err conftest.
$ac_objext \
11030 conftest
$ac_exeext conftest.
$ac_ext
11031 LIBS
=$ac_check_soname_save_LIBS
11033 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11035 $as_echo "not found" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11039 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11041 cat >>confdefs.h
<<_ACEOF
11042 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11047 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11049 ac_save_CPPFLAGS
="$CPPFLAGS"
11050 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11051 $as_unset ac_cv_header_fontconfig_fontconfig_h
11052 for ac_header
in fontconfig
/fontconfig.h
11054 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11055 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11056 cat >>confdefs.h
<<_ACEOF
11057 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11064 CPPFLAGS
="$ac_save_CPPFLAGS"
11065 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11067 FONTCONFIGINCL
="$X_CFLAGS"
11069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11070 $as_echo_n "checking for -lfontconfig... " >&6; }
11071 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11072 $as_echo_n "(cached) " >&6
11074 ac_check_soname_save_LIBS
=$LIBS
11075 LIBS
="-lfontconfig $X_LIBS $LIBS"
11076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11077 /* end confdefs.h. */
11079 /* Override any GCC internal prototype to avoid an error.
11080 Use char because int might match the return type of a GCC
11081 builtin and then its argument prototype would still apply. */
11094 if ac_fn_c_try_link
"$LINENO"; then :
11096 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11097 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'` ;;
11098 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11101 rm -f core conftest.err conftest.
$ac_objext \
11102 conftest
$ac_exeext conftest.
$ac_ext
11103 LIBS
=$ac_check_soname_save_LIBS
11105 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11107 $as_echo "not found" >&6; }
11110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11111 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11113 cat >>confdefs.h
<<_ACEOF
11114 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11121 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11122 case "x$with_fontconfig" in
11123 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11125 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11126 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11130 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11133 $as_echo_n "checking for -lssl... " >&6; }
11134 if ${ac_cv_lib_soname_ssl+:} false
; then :
11135 $as_echo_n "(cached) " >&6
11137 ac_check_soname_save_LIBS
=$LIBS
11139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11140 /* end confdefs.h. */
11142 /* Override any GCC internal prototype to avoid an error.
11143 Use char because int might match the return type of a GCC
11144 builtin and then its argument prototype would still apply. */
11148 char SSL_library_init ();
11152 return SSL_library_init ();
11157 if ac_fn_c_try_link
"$LINENO"; then :
11159 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11160 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'` ;;
11161 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11164 rm -f core conftest.err conftest.
$ac_objext \
11165 conftest
$ac_exeext conftest.
$ac_ext
11166 LIBS
=$ac_check_soname_save_LIBS
11168 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11170 $as_echo "not found" >&6; }
11173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11174 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11176 cat >>confdefs.h
<<_ACEOF
11177 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11183 $as_echo_n "checking for -lcrypto... " >&6; }
11184 if ${ac_cv_lib_soname_crypto+:} false
; then :
11185 $as_echo_n "(cached) " >&6
11187 ac_check_soname_save_LIBS
=$LIBS
11188 LIBS
="-lcrypto $LIBS"
11189 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11198 char BIO_new_socket ();
11202 return BIO_new_socket ();
11207 if ac_fn_c_try_link
"$LINENO"; then :
11209 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11210 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'` ;;
11211 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11214 rm -f core conftest.err conftest.
$ac_objext \
11215 conftest
$ac_exeext conftest.
$ac_ext
11216 LIBS
=$ac_check_soname_save_LIBS
11218 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11220 $as_echo "not found" >&6; }
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11224 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11226 cat >>confdefs.h
<<_ACEOF
11227 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11233 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11234 case "x$with_openssl" in
11235 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11237 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11238 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11242 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11245 $as_echo_n "checking for -lgsm... " >&6; }
11246 if ${ac_cv_lib_soname_gsm+:} false
; then :
11247 $as_echo_n "(cached) " >&6
11249 ac_check_soname_save_LIBS
=$LIBS
11251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11252 /* end confdefs.h. */
11254 /* Override any GCC internal prototype to avoid an error.
11255 Use char because int might match the return type of a GCC
11256 builtin and then its argument prototype would still apply. */
11260 char gsm_create ();
11264 return gsm_create ();
11269 if ac_fn_c_try_link
"$LINENO"; then :
11271 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11272 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'` ;;
11273 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11276 rm -f core conftest.err conftest.
$ac_objext \
11277 conftest
$ac_exeext conftest.
$ac_ext
11278 LIBS
=$ac_check_soname_save_LIBS
11280 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11282 $as_echo "not found" >&6; }
11285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11286 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11288 cat >>confdefs.h
<<_ACEOF
11289 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11295 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11296 case "x$with_gsm" in
11297 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11299 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11300 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11304 if test "$ac_cv_header_jpeglib_h" = "yes"
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11307 $as_echo_n "checking for -ljpeg... " >&6; }
11308 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11309 $as_echo_n "(cached) " >&6
11311 ac_check_soname_save_LIBS
=$LIBS
11312 LIBS
="-ljpeg $LIBS"
11313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11322 char jpeg_start_decompress ();
11326 return jpeg_start_decompress ();
11331 if ac_fn_c_try_link
"$LINENO"; then :
11333 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11334 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'` ;;
11335 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11338 rm -f core conftest.err conftest.
$ac_objext \
11339 conftest
$ac_exeext conftest.
$ac_ext
11340 LIBS
=$ac_check_soname_save_LIBS
11342 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11344 $as_echo "not found" >&6; }
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11348 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11350 cat >>confdefs.h
<<_ACEOF
11351 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11357 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11358 case "x$with_jpeg" in
11359 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11361 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11362 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11366 if test "$ac_cv_header_png_h" = "yes"
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11369 $as_echo_n "checking for -lpng... " >&6; }
11370 if ${ac_cv_lib_soname_png+:} false
; then :
11371 $as_echo_n "(cached) " >&6
11373 ac_check_soname_save_LIBS
=$LIBS
11374 LIBS
="-lpng -lm -lz $LIBS"
11375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11376 /* end confdefs.h. */
11378 /* Override any GCC internal prototype to avoid an error.
11379 Use char because int might match the return type of a GCC
11380 builtin and then its argument prototype would still apply. */
11384 char png_create_read_struct ();
11388 return png_create_read_struct ();
11393 if ac_fn_c_try_link
"$LINENO"; then :
11395 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11396 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'` ;;
11397 *) 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'` ;;
11400 rm -f core conftest.err conftest.
$ac_objext \
11401 conftest
$ac_exeext conftest.
$ac_ext
11402 LIBS
=$ac_check_soname_save_LIBS
11404 if test "x$ac_cv_lib_soname_png" = "x"; then :
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11406 $as_echo "not found" >&6; }
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11410 $as_echo "$ac_cv_lib_soname_png" >&6; }
11412 cat >>confdefs.h
<<_ACEOF
11413 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11419 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11420 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11421 $as_echo_n "(cached) " >&6
11423 ac_check_lib_save_LIBS
=$LIBS
11424 LIBS
="-lpng -lm -lz $LIBS"
11425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11426 /* end confdefs.h. */
11428 /* Override any GCC internal prototype to avoid an error.
11429 Use char because int might match the return type of a GCC
11430 builtin and then its argument prototype would still apply. */
11434 char png_set_expand_gray_1_2_4_to_8 ();
11438 return png_set_expand_gray_1_2_4_to_8 ();
11443 if ac_fn_c_try_link
"$LINENO"; then :
11444 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11446 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11448 rm -f core conftest.err conftest.
$ac_objext \
11449 conftest
$ac_exeext conftest.
$ac_ext
11450 LIBS
=$ac_check_lib_save_LIBS
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11453 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11454 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11456 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11461 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11463 ac_save_CPPFLAGS
="$CPPFLAGS"
11464 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11465 $as_unset ac_cv_header_png_h
11466 for ac_header
in png.h
11468 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11469 if test "x$ac_cv_header_png_h" = xyes
; then :
11470 cat >>confdefs.h
<<_ACEOF
11471 #define HAVE_PNG_H 1
11478 CPPFLAGS
="$ac_save_CPPFLAGS"
11479 if test "$ac_cv_header_png_h" = "yes"
11481 PNGINCL
="$X_CFLAGS"
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11484 $as_echo_n "checking for -lpng... " >&6; }
11485 if ${ac_cv_lib_soname_png+:} false
; then :
11486 $as_echo_n "(cached) " >&6
11488 ac_check_soname_save_LIBS
=$LIBS
11489 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11491 /* end confdefs.h. */
11493 /* Override any GCC internal prototype to avoid an error.
11494 Use char because int might match the return type of a GCC
11495 builtin and then its argument prototype would still apply. */
11499 char png_create_read_struct ();
11503 return png_create_read_struct ();
11508 if ac_fn_c_try_link
"$LINENO"; then :
11510 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11511 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'` ;;
11512 *) 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'` ;;
11515 rm -f core conftest.err conftest.
$ac_objext \
11516 conftest
$ac_exeext conftest.
$ac_ext
11517 LIBS
=$ac_check_soname_save_LIBS
11519 if test "x$ac_cv_lib_soname_png" = "x"; then :
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11521 $as_echo "not found" >&6; }
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11525 $as_echo "$ac_cv_lib_soname_png" >&6; }
11527 cat >>confdefs.h
<<_ACEOF
11528 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11534 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11535 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11536 $as_echo_n "(cached) " >&6
11538 ac_check_lib_save_LIBS
=$LIBS
11539 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11541 /* end confdefs.h. */
11543 /* Override any GCC internal prototype to avoid an error.
11544 Use char because int might match the return type of a GCC
11545 builtin and then its argument prototype would still apply. */
11549 char png_set_expand_gray_1_2_4_to_8 ();
11553 return png_set_expand_gray_1_2_4_to_8 ();
11558 if ac_fn_c_try_link
"$LINENO"; then :
11559 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11561 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11563 rm -f core conftest.err conftest.
$ac_objext \
11564 conftest
$ac_exeext conftest.
$ac_ext
11565 LIBS
=$ac_check_lib_save_LIBS
11567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11568 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11569 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11570 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11576 if test "x$ac_cv_lib_soname_png" = "x"; then :
11577 case "x$with_png" in
11578 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11580 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11581 This is an error since --with-png was requested." "$LINENO" 5 ;;
11585 if test "$ac_cv_header_tiffio_h" = "yes"
11587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11588 $as_echo_n "checking for -ltiff... " >&6; }
11589 if ${ac_cv_lib_soname_tiff+:} false
; then :
11590 $as_echo_n "(cached) " >&6
11592 ac_check_soname_save_LIBS
=$LIBS
11593 LIBS
="-ltiff $LIBS"
11594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11595 /* end confdefs.h. */
11597 /* Override any GCC internal prototype to avoid an error.
11598 Use char because int might match the return type of a GCC
11599 builtin and then its argument prototype would still apply. */
11603 char TIFFClientOpen ();
11607 return TIFFClientOpen ();
11612 if ac_fn_c_try_link
"$LINENO"; then :
11614 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11615 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'` ;;
11616 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11619 rm -f core conftest.err conftest.
$ac_objext \
11620 conftest
$ac_exeext conftest.
$ac_ext
11621 LIBS
=$ac_check_soname_save_LIBS
11623 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11625 $as_echo "not found" >&6; }
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11629 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11631 cat >>confdefs.h
<<_ACEOF
11632 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11638 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11639 case "x$with_tiff" in
11640 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11642 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11643 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11647 if test "$ac_cv_header_mpg123_h" = "yes"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11650 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11651 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11652 $as_echo_n "(cached) " >&6
11654 ac_check_lib_save_LIBS
=$LIBS
11655 LIBS
="-lmpg123 $LIBS"
11656 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11665 char mpg123_feed ();
11669 return mpg123_feed ();
11674 if ac_fn_c_try_link
"$LINENO"; then :
11675 ac_cv_lib_mpg123_mpg123_feed
=yes
11677 ac_cv_lib_mpg123_mpg123_feed
=no
11679 rm -f core conftest.err conftest.
$ac_objext \
11680 conftest
$ac_exeext conftest.
$ac_ext
11681 LIBS
=$ac_check_lib_save_LIBS
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11684 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11685 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11686 LIBMPG123
="-lmpg123"
11691 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11692 case "x$with_mpg123" in
11693 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11695 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11696 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11699 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}
11701 if test "$ac_cv_header_AL_al_h" = "yes"
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11704 $as_echo_n "checking for -lopenal... " >&6; }
11705 if ${ac_cv_lib_soname_openal+:} false
; then :
11706 $as_echo_n "(cached) " >&6
11708 ac_check_soname_save_LIBS
=$LIBS
11709 LIBS
="-lopenal $LIBS"
11710 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11711 /* end confdefs.h. */
11713 /* Override any GCC internal prototype to avoid an error.
11714 Use char because int might match the return type of a GCC
11715 builtin and then its argument prototype would still apply. */
11719 char alGetSource3i ();
11723 return alGetSource3i ();
11728 if ac_fn_c_try_link
"$LINENO"; then :
11730 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11731 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'` ;;
11732 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11735 rm -f core conftest.err conftest.
$ac_objext \
11736 conftest
$ac_exeext conftest.
$ac_ext
11737 LIBS
=$ac_check_soname_save_LIBS
11739 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11741 $as_echo "not found" >&6; }
11744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11745 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11747 cat >>confdefs.h
<<_ACEOF
11748 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11751 LIBOPENAL
="-lopenal"
11753 ac_cv_lib_openal
=yes
11755 cat >>confdefs.h
<<_ACEOF
11756 #define HAVE_OPENAL 1
11761 if test "x$ac_cv_lib_openal" != xyes
; then :
11762 case "x$with_openal" in
11763 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11765 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11766 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11769 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11771 if test "$ac_cv_header_kstat_h" = "yes"
11773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11774 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11775 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11776 $as_echo_n "(cached) " >&6
11778 ac_check_lib_save_LIBS
=$LIBS
11779 LIBS
="-lkstat $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 kstat_open ();
11793 return kstat_open ();
11798 if ac_fn_c_try_link
"$LINENO"; then :
11799 ac_cv_lib_kstat_kstat_open
=yes
11801 ac_cv_lib_kstat_kstat_open
=no
11803 rm -f core conftest.err conftest.
$ac_objext \
11804 conftest
$ac_exeext conftest.
$ac_ext
11805 LIBS
=$ac_check_lib_save_LIBS
11807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11808 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11809 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11811 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11820 $as_echo_n "checking for -lodbc... " >&6; }
11821 if ${ac_cv_lib_soname_odbc+:} false
; then :
11822 $as_echo_n "(cached) " >&6
11824 ac_check_soname_save_LIBS
=$LIBS
11825 LIBS
="-lodbc $LIBS"
11826 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11829 /* Override any GCC internal prototype to avoid an error.
11830 Use char because int might match the return type of a GCC
11831 builtin and then its argument prototype would still apply. */
11835 char SQLConnect ();
11839 return SQLConnect ();
11844 if ac_fn_c_try_link
"$LINENO"; then :
11846 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11847 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'` ;;
11848 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11851 rm -f core conftest.err conftest.
$ac_objext \
11852 conftest
$ac_exeext conftest.
$ac_ext
11853 LIBS
=$ac_check_soname_save_LIBS
11855 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11857 $as_echo "not found" >&6; }
11858 cat >>confdefs.h
<<_ACEOF
11859 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11864 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11866 cat >>confdefs.h
<<_ACEOF
11867 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11873 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
11874 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
11875 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
11876 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
11878 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11879 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
11880 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11882 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11888 if test "x${GCC}" = "xyes"
11890 EXTRACFLAGS
="-Wall -pipe"
11892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11893 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11894 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
11895 $as_echo_n "(cached) " >&6
11897 if test "$cross_compiling" = yes; then :
11898 ac_cv_c_gcc_strength_bug
="yes"
11900 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11902 int L[4] = {0,1,2,3};
11906 static int Array[3];
11907 unsigned int B = 3;
11909 for(i=0; i<B; i++) Array[i] = i - 3;
11910 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11912 return (Array[1] != -2 || L[2] != 3)
11917 if ac_fn_c_try_run
"$LINENO"; then :
11918 ac_cv_c_gcc_strength_bug
="no"
11920 ac_cv_c_gcc_strength_bug
="yes"
11922 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11923 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11928 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11929 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11931 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11935 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11936 if ${ac_cv_cflags__fno_builtin+:} false
; then :
11937 $as_echo_n "(cached) " >&6
11939 ac_wine_try_cflags_saved
=$CFLAGS
11940 CFLAGS
="$CFLAGS -fno-builtin"
11941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 int main(int argc, char **argv) { return 0; }
11945 if ac_fn_c_try_link
"$LINENO"; then :
11946 ac_cv_cflags__fno_builtin
=yes
11948 ac_cv_cflags__fno_builtin
=no
11950 rm -f core conftest.err conftest.
$ac_objext \
11951 conftest
$ac_exeext conftest.
$ac_ext
11952 CFLAGS
=$ac_wine_try_cflags_saved
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11955 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11956 if test $ac_cv_cflags__fno_builtin = yes; then :
11957 BUILTINFLAG
="-fno-builtin"
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11961 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11962 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
11963 $as_echo_n "(cached) " >&6
11965 ac_wine_try_cflags_saved
=$CFLAGS
11966 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 int main(int argc, char **argv) { return 0; }
11971 if ac_fn_c_try_link
"$LINENO"; then :
11972 ac_cv_cflags__fno_strict_aliasing
=yes
11974 ac_cv_cflags__fno_strict_aliasing
=no
11976 rm -f core conftest.err conftest.
$ac_objext \
11977 conftest
$ac_exeext conftest.
$ac_ext
11978 CFLAGS
=$ac_wine_try_cflags_saved
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11981 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11982 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11983 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11986 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11987 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
11988 $as_echo_n "(cached) " >&6
11990 ac_wine_try_cflags_saved
=$CFLAGS
11991 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11994 int main(int argc, char **argv) { return 0; }
11996 if ac_fn_c_try_link
"$LINENO"; then :
11997 ac_cv_cflags__Wdeclaration_after_statement
=yes
11999 ac_cv_cflags__Wdeclaration_after_statement
=no
12001 rm -f core conftest.err conftest.
$ac_objext \
12002 conftest
$ac_exeext conftest.
$ac_ext
12003 CFLAGS
=$ac_wine_try_cflags_saved
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12006 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12007 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12008 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12011 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12012 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12013 $as_echo_n "(cached) " >&6
12015 ac_wine_try_cflags_saved
=$CFLAGS
12016 CFLAGS
="$CFLAGS -Wempty-body"
12017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12018 /* end confdefs.h. */
12019 int main(int argc, char **argv) { return 0; }
12021 if ac_fn_c_try_link
"$LINENO"; then :
12022 ac_cv_cflags__Wempty_body
=yes
12024 ac_cv_cflags__Wempty_body
=no
12026 rm -f core conftest.err conftest.
$ac_objext \
12027 conftest
$ac_exeext conftest.
$ac_ext
12028 CFLAGS
=$ac_wine_try_cflags_saved
12030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12031 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12032 if test $ac_cv_cflags__Wempty_body = yes; then :
12033 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12036 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12037 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12038 $as_echo_n "(cached) " >&6
12040 ac_wine_try_cflags_saved
=$CFLAGS
12041 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12043 /* end confdefs.h. */
12044 int main(int argc, char **argv) { return 0; }
12046 if ac_fn_c_try_link
"$LINENO"; then :
12047 ac_cv_cflags__Wignored_qualifiers
=yes
12049 ac_cv_cflags__Wignored_qualifiers
=no
12051 rm -f core conftest.err conftest.
$ac_objext \
12052 conftest
$ac_exeext conftest.
$ac_ext
12053 CFLAGS
=$ac_wine_try_cflags_saved
12055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12056 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12057 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12058 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12061 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12062 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12063 $as_echo_n "(cached) " >&6
12065 ac_wine_try_cflags_saved
=$CFLAGS
12066 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12068 /* end confdefs.h. */
12069 int main(int argc, char **argv) { return 0; }
12071 if ac_fn_c_try_link
"$LINENO"; then :
12072 ac_cv_cflags__Wstrict_prototypes
=yes
12074 ac_cv_cflags__Wstrict_prototypes
=no
12076 rm -f core conftest.err conftest.
$ac_objext \
12077 conftest
$ac_exeext conftest.
$ac_ext
12078 CFLAGS
=$ac_wine_try_cflags_saved
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12081 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12082 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12083 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12086 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12087 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12088 $as_echo_n "(cached) " >&6
12090 ac_wine_try_cflags_saved
=$CFLAGS
12091 CFLAGS
="$CFLAGS -Wtype-limits"
12092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12094 int main(int argc, char **argv) { return 0; }
12096 if ac_fn_c_try_link
"$LINENO"; then :
12097 ac_cv_cflags__Wtype_limits
=yes
12099 ac_cv_cflags__Wtype_limits
=no
12101 rm -f core conftest.err conftest.
$ac_objext \
12102 conftest
$ac_exeext conftest.
$ac_ext
12103 CFLAGS
=$ac_wine_try_cflags_saved
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12106 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12107 if test $ac_cv_cflags__Wtype_limits = yes; then :
12108 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12111 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12112 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12113 $as_echo_n "(cached) " >&6
12115 ac_wine_try_cflags_saved
=$CFLAGS
12116 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12118 /* end confdefs.h. */
12119 int main(int argc, char **argv) { return 0; }
12121 if ac_fn_c_try_link
"$LINENO"; then :
12122 ac_cv_cflags__Wunused_but_set_parameter
=yes
12124 ac_cv_cflags__Wunused_but_set_parameter
=no
12126 rm -f core conftest.err conftest.
$ac_objext \
12127 conftest
$ac_exeext conftest.
$ac_ext
12128 CFLAGS
=$ac_wine_try_cflags_saved
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12131 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12132 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12133 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12136 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12137 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12138 $as_echo_n "(cached) " >&6
12140 ac_wine_try_cflags_saved
=$CFLAGS
12141 CFLAGS
="$CFLAGS -Wwrite-strings"
12142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12144 int main(int argc, char **argv) { return 0; }
12146 if ac_fn_c_try_link
"$LINENO"; then :
12147 ac_cv_cflags__Wwrite_strings
=yes
12149 ac_cv_cflags__Wwrite_strings
=no
12151 rm -f core conftest.err conftest.
$ac_objext \
12152 conftest
$ac_exeext conftest.
$ac_ext
12153 CFLAGS
=$ac_wine_try_cflags_saved
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12156 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12157 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12158 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12162 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12163 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12164 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12165 $as_echo_n "(cached) " >&6
12167 ac_wine_try_cflags_saved
=$CFLAGS
12168 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 int main(int argc, char **argv) { return 0; }
12173 if ac_fn_c_try_link
"$LINENO"; then :
12174 ac_cv_cflags__fno_omit_frame_pointer
=yes
12176 ac_cv_cflags__fno_omit_frame_pointer
=no
12178 rm -f core conftest.err conftest.
$ac_objext \
12179 conftest
$ac_exeext conftest.
$ac_ext
12180 CFLAGS
=$ac_wine_try_cflags_saved
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12183 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12184 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12185 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12190 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12191 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12192 if ${ac_cv_cflags__Wno_format+:} false
; then :
12193 $as_echo_n "(cached) " >&6
12195 ac_wine_try_cflags_saved
=$CFLAGS
12196 CFLAGS
="$CFLAGS -Wno-format"
12197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 int main(int argc, char **argv) { return 0; }
12201 if ac_fn_c_try_link
"$LINENO"; then :
12202 ac_cv_cflags__Wno_format
=yes
12204 ac_cv_cflags__Wno_format
=no
12206 rm -f core conftest.err conftest.
$ac_objext \
12207 conftest
$ac_exeext conftest.
$ac_ext
12208 CFLAGS
=$ac_wine_try_cflags_saved
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12211 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12212 if test $ac_cv_cflags__Wno_format = yes; then :
12213 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12217 saved_CFLAGS
="$CFLAGS"
12218 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12220 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12221 if ${ac_cv_c_string_h_warnings+:} false
; then :
12222 $as_echo_n "(cached) " >&6
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #include <string.h>
12235 if ac_fn_c_try_compile
"$LINENO"; then :
12236 ac_cv_c_string_h_warnings
=no
12238 ac_cv_c_string_h_warnings
=yes
12240 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12243 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12244 CFLAGS
="$saved_CFLAGS"
12245 if test "$ac_cv_c_string_h_warnings" = "no"
12247 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12250 saved_CFLAGS
="$CFLAGS"
12251 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12253 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12254 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12255 $as_echo_n "(cached) " >&6
12257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12258 /* end confdefs.h. */
12259 #include <string.h>
12263 char*f(const char *h,char n) {return strchr(h,n);}
12268 if ac_fn_c_try_compile
"$LINENO"; then :
12269 ac_cv_c_logicalop_noisy
=no
12271 ac_cv_c_logicalop_noisy
=yes
12273 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12276 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12277 CFLAGS
="$saved_CFLAGS"
12278 if test "$ac_cv_c_logicalop_noisy" = "no"
12280 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12283 if test "x$enable_maintainer_mode" = "xyes"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12286 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12287 if ${ac_cv_cflags__Werror+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 ac_wine_try_cflags_saved
=$CFLAGS
12291 CFLAGS
="$CFLAGS -Werror"
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12294 int main(int argc, char **argv) { return 0; }
12296 if ac_fn_c_try_link
"$LINENO"; then :
12297 ac_cv_cflags__Werror
=yes
12299 ac_cv_cflags__Werror
=no
12301 rm -f core conftest.err conftest.
$ac_objext \
12302 conftest
$ac_exeext conftest.
$ac_ext
12303 CFLAGS
=$ac_wine_try_cflags_saved
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12306 $as_echo "$ac_cv_cflags__Werror" >&6; }
12307 if test $ac_cv_cflags__Werror = yes; then :
12308 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12312 saved_CFLAGS
="$CFLAGS"
12313 CFLAGS
="$CFLAGS -Werror"
12314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12315 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12316 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12317 $as_echo_n "(cached) " >&6
12319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12320 /* end confdefs.h. */
12321 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12330 if ac_fn_c_try_compile
"$LINENO"; then :
12331 ac_cv_have_ms_hook_prologue
="yes"
12333 ac_cv_have_ms_hook_prologue
="no"
12335 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12338 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12339 CFLAGS
="$saved_CFLAGS"
12340 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12343 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12346 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12353 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12354 if ${ac_cv_c_fortify_enabled+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12359 #include <string.h>
12363 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12364 #error Fortify enabled
12370 if ac_fn_c_try_compile
"$LINENO"; then :
12371 ac_cv_c_fortify_enabled
=no
12373 ac_cv_c_fortify_enabled
=yes
12375 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12378 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12379 if test "$ac_cv_c_fortify_enabled" = yes
12381 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12386 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12387 if ${ac_cv_c_extern_prefix+:} false
; then :
12388 $as_echo_n "(cached) " >&6
12390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12391 /* end confdefs.h. */
12392 extern int ac_test;
12396 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12401 if ac_fn_c_try_link
"$LINENO"; then :
12402 ac_cv_c_extern_prefix
="yes"
12404 ac_cv_c_extern_prefix
="no"
12406 rm -f core conftest.err conftest.
$ac_objext \
12407 conftest
$ac_exeext conftest.
$ac_ext
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12410 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12415 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12416 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12417 $as_echo_n "(cached) " >&6
12419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12420 /* end confdefs.h. */
12422 #define __stdcall __attribute__((__stdcall__))
12424 int __stdcall ac_test(int i) { return i; }
12428 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12433 if ac_fn_c_try_link
"$LINENO"; then :
12434 ac_cv_c_stdcall_suffix
="yes"
12436 ac_cv_c_stdcall_suffix
="no"
12438 rm -f core conftest.err conftest.
$ac_objext \
12439 conftest
$ac_exeext conftest.
$ac_ext
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12442 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12443 *) ac_cv_c_stdcall_suffix
="no" ;;
12447 if test "$ac_cv_c_extern_prefix" = "yes"
12449 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12451 asm_name_prefix
="_"
12453 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12459 if test "$ac_cv_c_stdcall_suffix" = "yes"
12461 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12464 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12470 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12471 if ${ac_cv_asm_func_def+:} false
; then :
12472 $as_echo_n "(cached) " >&6
12474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12475 /* end confdefs.h. */
12480 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12485 if ac_fn_c_try_link
"$LINENO"; then :
12486 ac_cv_asm_func_def
=".def"
12488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12494 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12499 if ac_fn_c_try_link
"$LINENO"; then :
12500 ac_cv_asm_func_def
=".type @function"
12502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12503 /* end confdefs.h. */
12508 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12513 if ac_fn_c_try_link
"$LINENO"; then :
12514 ac_cv_asm_func_def
=".type 2"
12516 ac_cv_asm_func_def
="unknown"
12518 rm -f core conftest.err conftest.
$ac_objext \
12519 conftest
$ac_exeext conftest.
$ac_ext
12521 rm -f core conftest.err conftest.
$ac_objext \
12522 conftest
$ac_exeext conftest.
$ac_ext
12524 rm -f core conftest.err conftest.
$ac_objext \
12525 conftest
$ac_exeext conftest.
$ac_ext
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12528 $as_echo "$ac_cv_asm_func_def" >&6; }
12531 case "$ac_cv_asm_func_def" in
12533 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12535 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12537 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12539 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12541 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12543 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12545 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12547 asm_func_header
="" ;;
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12551 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12552 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12553 $as_echo_n "(cached) " >&6
12555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12556 /* end confdefs.h. */
12557 asm(".text\n\t.long 0");
12566 if ac_fn_c_try_compile
"$LINENO"; then :
12567 ac_cv_c_asm_outside_funcs
="yes"
12569 ac_cv_c_asm_outside_funcs
="no"
12571 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12574 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12577 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12578 if ${ac_cv_c_dot_previous+:} false
; then :
12579 $as_echo_n "(cached) " >&6
12581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12587 asm(".text\nac_test:\t.long 0\n\t.previous");
12592 if ac_fn_c_try_link
"$LINENO"; then :
12593 ac_cv_c_dot_previous
="yes"
12595 ac_cv_c_dot_previous
="no"
12597 rm -f core conftest.err conftest.
$ac_objext \
12598 conftest
$ac_exeext conftest.
$ac_ext
12600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12601 $as_echo "$ac_cv_c_dot_previous" >&6; }
12603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12604 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12605 if ${ac_cv_c_cfi_support+:} false
; then :
12606 $as_echo_n "(cached) " >&6
12608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12610 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12619 if ac_fn_c_try_compile
"$LINENO"; then :
12620 ac_cv_c_cfi_support
="yes"
12622 ac_cv_c_cfi_support
="no"
12624 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12627 $as_echo "$ac_cv_c_cfi_support" >&6; }
12629 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12630 asm_func_trailer
=""
12631 if test "$ac_cv_c_dot_previous" = "yes"
12633 asm_func_trailer
="\\n\\t.previous"
12635 if test "$ac_cv_c_cfi_support" = "yes"
12637 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12638 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12640 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12642 UNWINDFLAGS
=-fasynchronous-unwind-tables
12645 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12649 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12652 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12654 cat >>confdefs.h
<<_ACEOF
12655 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12659 cat >>confdefs.h
<<_ACEOF
12660 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12665 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12668 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12678 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12683 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12691 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12698 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12703 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12705 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12712 ac_save_CFLAGS
="$CFLAGS"
12713 CFLAGS
="$CFLAGS $BUILTINFLAG"
12790 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12791 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12792 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12793 cat >>confdefs.h
<<_ACEOF
12794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12800 CFLAGS
="$ac_save_CFLAGS"
12802 if test "$ac_cv_func_dlopen" = no
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12805 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12806 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12807 $as_echo_n "(cached) " >&6
12809 ac_check_lib_save_LIBS
=$LIBS
12811 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12812 /* end confdefs.h. */
12814 /* Override any GCC internal prototype to avoid an error.
12815 Use char because int might match the return type of a GCC
12816 builtin and then its argument prototype would still apply. */
12829 if ac_fn_c_try_link
"$LINENO"; then :
12830 ac_cv_lib_dl_dlopen
=yes
12832 ac_cv_lib_dl_dlopen
=no
12834 rm -f core conftest.err conftest.
$ac_objext \
12835 conftest
$ac_exeext conftest.
$ac_ext
12836 LIBS
=$ac_check_lib_save_LIBS
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12839 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12840 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12841 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12847 ac_wine_check_funcs_save_LIBS
="$LIBS"
12848 LIBS
="$LIBS $LIBDL"
12849 for ac_func
in dladdr
12851 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12852 if test "x$ac_cv_func_dladdr" = xyes
; then :
12853 cat >>confdefs.h
<<_ACEOF
12854 #define HAVE_DLADDR 1
12860 LIBS
="$ac_wine_check_funcs_save_LIBS"
12862 if test "$ac_cv_func_poll" = no
12864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12865 $as_echo_n "checking for poll in -lpoll... " >&6; }
12866 if ${ac_cv_lib_poll_poll+:} false
; then :
12867 $as_echo_n "(cached) " >&6
12869 ac_check_lib_save_LIBS
=$LIBS
12870 LIBS
="-lpoll $LIBS"
12871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12872 /* end confdefs.h. */
12874 /* Override any GCC internal prototype to avoid an error.
12875 Use char because int might match the return type of a GCC
12876 builtin and then its argument prototype would still apply. */
12889 if ac_fn_c_try_link
"$LINENO"; then :
12890 ac_cv_lib_poll_poll
=yes
12892 ac_cv_lib_poll_poll
=no
12894 rm -f core conftest.err conftest.
$ac_objext \
12895 conftest
$ac_exeext conftest.
$ac_ext
12896 LIBS
=$ac_check_lib_save_LIBS
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12899 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12900 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
12901 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12909 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12910 if ${ac_cv_search_gethostbyname+:} false
; then :
12911 $as_echo_n "(cached) " >&6
12913 ac_func_search_save_LIBS
=$LIBS
12914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12915 /* end confdefs.h. */
12917 /* Override any GCC internal prototype to avoid an error.
12918 Use char because int might match the return type of a GCC
12919 builtin and then its argument prototype would still apply. */
12923 char gethostbyname ();
12927 return gethostbyname ();
12932 for ac_lib
in '' nsl
; do
12933 if test -z "$ac_lib"; then
12934 ac_res
="none required"
12937 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12939 if ac_fn_c_try_link
"$LINENO"; then :
12940 ac_cv_search_gethostbyname
=$ac_res
12942 rm -f core conftest.err conftest.
$ac_objext \
12944 if ${ac_cv_search_gethostbyname+:} false
; then :
12948 if ${ac_cv_search_gethostbyname+:} false
; then :
12951 ac_cv_search_gethostbyname
=no
12953 rm conftest.
$ac_ext
12954 LIBS
=$ac_func_search_save_LIBS
12956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12957 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12958 ac_res
=$ac_cv_search_gethostbyname
12959 if test "$ac_res" != no
; then :
12960 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12966 $as_echo_n "checking for library containing connect... " >&6; }
12967 if ${ac_cv_search_connect+:} false
; then :
12968 $as_echo_n "(cached) " >&6
12970 ac_func_search_save_LIBS
=$LIBS
12971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12972 /* end confdefs.h. */
12974 /* Override any GCC internal prototype to avoid an error.
12975 Use char because int might match the return type of a GCC
12976 builtin and then its argument prototype would still apply. */
12989 for ac_lib
in '' socket
; do
12990 if test -z "$ac_lib"; then
12991 ac_res
="none required"
12994 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12996 if ac_fn_c_try_link
"$LINENO"; then :
12997 ac_cv_search_connect
=$ac_res
12999 rm -f core conftest.err conftest.
$ac_objext \
13001 if ${ac_cv_search_connect+:} false
; then :
13005 if ${ac_cv_search_connect+:} false
; then :
13008 ac_cv_search_connect
=no
13010 rm conftest.
$ac_ext
13011 LIBS
=$ac_func_search_save_LIBS
13013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13014 $as_echo "$ac_cv_search_connect" >&6; }
13015 ac_res
=$ac_cv_search_connect
13016 if test "$ac_res" != no
; then :
13017 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13023 $as_echo_n "checking for library containing inet_aton... " >&6; }
13024 if ${ac_cv_search_inet_aton+:} false
; then :
13025 $as_echo_n "(cached) " >&6
13027 ac_func_search_save_LIBS
=$LIBS
13028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13029 /* end confdefs.h. */
13031 /* Override any GCC internal prototype to avoid an error.
13032 Use char because int might match the return type of a GCC
13033 builtin and then its argument prototype would still apply. */
13041 return inet_aton ();
13046 for ac_lib
in '' resolv
; do
13047 if test -z "$ac_lib"; then
13048 ac_res
="none required"
13051 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13053 if ac_fn_c_try_link
"$LINENO"; then :
13054 ac_cv_search_inet_aton
=$ac_res
13056 rm -f core conftest.err conftest.
$ac_objext \
13058 if ${ac_cv_search_inet_aton+:} false
; then :
13062 if ${ac_cv_search_inet_aton+:} false
; then :
13065 ac_cv_search_inet_aton
=no
13067 rm conftest.
$ac_ext
13068 LIBS
=$ac_func_search_save_LIBS
13070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13071 $as_echo "$ac_cv_search_inet_aton" >&6; }
13072 ac_res
=$ac_cv_search_inet_aton
13073 if test "$ac_res" != no
; then :
13074 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13093 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13094 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13095 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13096 cat >>confdefs.h
<<_ACEOF
13097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13106 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13108 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13110 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13112 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13113 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13114 $as_echo_n "(cached) " >&6
13116 ac_check_lib_save_LIBS
=$LIBS
13117 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13119 /* end confdefs.h. */
13121 /* Override any GCC internal prototype to avoid an error.
13122 Use char because int might match the return type of a GCC
13123 builtin and then its argument prototype would still apply. */
13127 char ldap_initialize ();
13131 return ldap_initialize ();
13136 if ac_fn_c_try_link
"$LINENO"; then :
13137 ac_cv_lib_ldap_r_ldap_initialize
=yes
13139 ac_cv_lib_ldap_r_ldap_initialize
=no
13141 rm -f core conftest.err conftest.
$ac_objext \
13142 conftest
$ac_exeext conftest.
$ac_ext
13143 LIBS
=$ac_check_lib_save_LIBS
13145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13146 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13147 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13149 $as_echo_n "checking for ber_init in -llber... " >&6; }
13150 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13151 $as_echo_n "(cached) " >&6
13153 ac_check_lib_save_LIBS
=$LIBS
13154 LIBS
="-llber $LIBPTHREAD $LIBS"
13155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13156 /* end confdefs.h. */
13158 /* Override any GCC internal prototype to avoid an error.
13159 Use char because int might match the return type of a GCC
13160 builtin and then its argument prototype would still apply. */
13168 return ber_init ();
13173 if ac_fn_c_try_link
"$LINENO"; then :
13174 ac_cv_lib_lber_ber_init
=yes
13176 ac_cv_lib_lber_ber_init
=no
13178 rm -f core conftest.err conftest.
$ac_objext \
13179 conftest
$ac_exeext conftest.
$ac_ext
13180 LIBS
=$ac_check_lib_save_LIBS
13182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13183 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13184 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13186 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13188 LDAPLIBS
="-lldap_r -llber"
13195 ac_wine_check_funcs_save_LIBS
="$LIBS"
13196 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13198 ldap_count_references \
13199 ldap_first_reference \
13200 ldap_next_reference \
13201 ldap_parse_reference \
13202 ldap_parse_sort_control \
13203 ldap_parse_sortresponse_control \
13204 ldap_parse_vlv_control \
13205 ldap_parse_vlvresponse_control
13207 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13208 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13209 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13210 cat >>confdefs.h
<<_ACEOF
13211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13217 LIBS
="$ac_wine_check_funcs_save_LIBS"
13219 if test "x$LDAPLIBS" = "x"; then :
13220 case "x$with_ldap" in
13221 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13223 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13224 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13229 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13230 if ${wine_cv_one_arg_mkdir+:} false
; then :
13231 $as_echo_n "(cached) " >&6
13233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13234 /* end confdefs.h. */
13235 #include <sys/stat.h>
13244 if ac_fn_c_try_compile
"$LINENO"; then :
13245 wine_cv_one_arg_mkdir
=yes
13247 wine_cv_one_arg_mkdir
=no
13249 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13252 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13253 if test "$wine_cv_one_arg_mkdir" = "yes"
13256 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13261 $as_echo_n "checking for sched_setaffinity... " >&6; }
13262 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13263 $as_echo_n "(cached) " >&6
13265 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13266 /* end confdefs.h. */
13267 #define _GNU_SOURCE
13272 sched_setaffinity(0, 0, 0);
13277 if ac_fn_c_try_link
"$LINENO"; then :
13278 wine_cv_have_sched_setaffinity
=yes
13280 wine_cv_have_sched_setaffinity
=no
13282 rm -f core conftest.err conftest.
$ac_objext \
13283 conftest
$ac_exeext conftest.
$ac_ext
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13286 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13287 if test "$wine_cv_have_sched_setaffinity" = "yes"
13290 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13296 $as_echo_n "checking for inline... " >&6; }
13297 if ${ac_cv_c_inline+:} false
; then :
13298 $as_echo_n "(cached) " >&6
13301 for ac_kw
in inline __inline__ __inline
; do
13302 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13303 /* end confdefs.h. */
13304 #ifndef __cplusplus
13306 static $ac_kw foo_t static_foo () {return 0; }
13307 $ac_kw foo_t foo () {return 0; }
13311 if ac_fn_c_try_compile
"$LINENO"; then :
13312 ac_cv_c_inline
=$ac_kw
13314 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13315 test "$ac_cv_c_inline" != no
&& break
13319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13320 $as_echo "$ac_cv_c_inline" >&6; }
13322 case $ac_cv_c_inline in
13325 case $ac_cv_c_inline in
13327 *) ac_val
=$ac_cv_c_inline;;
13329 cat >>confdefs.h
<<_ACEOF
13330 #ifndef __cplusplus
13331 #define inline $ac_val
13337 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13338 if test "x$ac_cv_type_mode_t" = xyes
; then :
13340 cat >>confdefs.h
<<_ACEOF
13341 #define HAVE_MODE_T 1
13346 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13347 if test "x$ac_cv_type_off_t" = xyes
; then :
13349 cat >>confdefs.h
<<_ACEOF
13350 #define HAVE_OFF_T 1
13355 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13356 if test "x$ac_cv_type_pid_t" = xyes
; then :
13358 cat >>confdefs.h
<<_ACEOF
13359 #define HAVE_PID_T 1
13364 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13365 if test "x$ac_cv_type_size_t" = xyes
; then :
13367 cat >>confdefs.h
<<_ACEOF
13368 #define HAVE_SIZE_T 1
13373 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13374 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13376 cat >>confdefs.h
<<_ACEOF
13377 #define HAVE_SSIZE_T 1
13382 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13383 if test "x$ac_cv_type_long_long" = xyes
; then :
13385 cat >>confdefs.h
<<_ACEOF
13386 #define HAVE_LONG_LONG 1
13391 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13392 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13394 cat >>confdefs.h
<<_ACEOF
13395 #define HAVE_FSBLKCNT_T 1
13400 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13401 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13403 cat >>confdefs.h
<<_ACEOF
13404 #define HAVE_FSFILCNT_T 1
13410 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13411 #include <signal.h>
13413 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13415 cat >>confdefs.h
<<_ACEOF
13416 #define HAVE_SIGSET_T 1
13422 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13424 if test "x$ac_cv_type_request_sense" = xyes
; then :
13426 cat >>confdefs.h
<<_ACEOF
13427 #define HAVE_REQUEST_SENSE 1
13434 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13435 #ifdef HAVE_SYS_SOCKET_H
13436 #include <sys/socket.h>
13438 #ifdef HAVE_SYS_SOCKETVAR_H
13439 #include <sys/socketvar.h>
13441 #ifdef HAVE_NET_ROUTE_H
13442 #include <net/route.h>
13444 #ifdef HAVE_NETINET_IN_H
13445 #include <netinet/in.h>
13447 #ifdef HAVE_NETINET_IN_SYSTM_H
13448 #include <netinet/in_systm.h>
13450 #ifdef HAVE_NETINET_IP_H
13451 #include <netinet/ip.h>
13453 #ifdef HAVE_NETINET_IN_PCB_H
13454 #include <netinet/in_pcb.h>
13457 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13459 cat >>confdefs.h
<<_ACEOF
13460 #define HAVE_STRUCT_XINPGEN 1
13467 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13468 #include <linux/input.h>
13471 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13473 cat >>confdefs.h
<<_ACEOF
13474 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13482 $as_echo_n "checking for sigaddset... " >&6; }
13483 if ${wine_cv_have_sigaddset+:} false
; then :
13484 $as_echo_n "(cached) " >&6
13486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <signal.h>
13492 sigset_t set; sigaddset(&set,SIGTERM);
13497 if ac_fn_c_try_link
"$LINENO"; then :
13498 wine_cv_have_sigaddset
=yes
13500 wine_cv_have_sigaddset
=no
13502 rm -f core conftest.err conftest.
$ac_objext \
13503 conftest
$ac_exeext conftest.
$ac_ext
13505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13506 $as_echo "$wine_cv_have_sigaddset" >&6; }
13507 if test "$wine_cv_have_sigaddset" = "yes"
13510 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13516 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13517 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13518 $as_echo_n "(cached) " >&6
13520 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13521 /* end confdefs.h. */
13529 struct hostent *result;
13536 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13537 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13543 if ac_fn_c_try_link
"$LINENO"; then :
13544 wine_cv_linux_gethostbyname_r_6
=yes
13546 wine_cv_linux_gethostbyname_r_6
=no
13549 rm -f core conftest.err conftest.
$ac_objext \
13550 conftest
$ac_exeext conftest.
$ac_ext
13553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13554 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13555 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13558 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13562 if test "$ac_cv_header_linux_joystick_h" = "yes"
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13565 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13566 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13567 $as_echo_n "(cached) " >&6
13569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13572 #include <sys/ioctl.h>
13573 #include <sys/types.h>
13574 #include <linux/joystick.h>
13576 struct js_event blub;
13577 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13578 #error "no 2.2 header"
13589 if ac_fn_c_try_compile
"$LINENO"; then :
13590 wine_cv_linux_joystick_22_api
=yes
13592 wine_cv_linux_joystick_22_api
=no
13594 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13598 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13599 if test "$wine_cv_linux_joystick_22_api" = "yes"
13602 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13608 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13609 #ifdef HAVE_SYS_PARAM_H
13610 # include <sys/param.h>
13612 #ifdef HAVE_SYS_MOUNT_H
13613 # include <sys/mount.h>
13615 #ifdef HAVE_SYS_VFS_H
13616 # include <sys/vfs.h>
13618 #ifdef HAVE_SYS_STATFS_H
13619 # include <sys/statfs.h>
13622 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13624 cat >>confdefs.h
<<_ACEOF
13625 #define HAVE_STRUCT_STATFS_F_BFREE 1
13630 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13631 #ifdef HAVE_SYS_PARAM_H
13632 # include <sys/param.h>
13634 #ifdef HAVE_SYS_MOUNT_H
13635 # include <sys/mount.h>
13637 #ifdef HAVE_SYS_VFS_H
13638 # include <sys/vfs.h>
13640 #ifdef HAVE_SYS_STATFS_H
13641 # include <sys/statfs.h>
13644 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13646 cat >>confdefs.h
<<_ACEOF
13647 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13652 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13653 #ifdef HAVE_SYS_PARAM_H
13654 # include <sys/param.h>
13656 #ifdef HAVE_SYS_MOUNT_H
13657 # include <sys/mount.h>
13659 #ifdef HAVE_SYS_VFS_H
13660 # include <sys/vfs.h>
13662 #ifdef HAVE_SYS_STATFS_H
13663 # include <sys/statfs.h>
13666 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13668 cat >>confdefs.h
<<_ACEOF
13669 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13674 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13675 #ifdef HAVE_SYS_PARAM_H
13676 # include <sys/param.h>
13678 #ifdef HAVE_SYS_MOUNT_H
13679 # include <sys/mount.h>
13681 #ifdef HAVE_SYS_VFS_H
13682 # include <sys/vfs.h>
13684 #ifdef HAVE_SYS_STATFS_H
13685 # include <sys/statfs.h>
13688 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13690 cat >>confdefs.h
<<_ACEOF
13691 #define HAVE_STRUCT_STATFS_F_FFREE 1
13696 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13697 #ifdef HAVE_SYS_PARAM_H
13698 # include <sys/param.h>
13700 #ifdef HAVE_SYS_MOUNT_H
13701 # include <sys/mount.h>
13703 #ifdef HAVE_SYS_VFS_H
13704 # include <sys/vfs.h>
13706 #ifdef HAVE_SYS_STATFS_H
13707 # include <sys/statfs.h>
13710 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13712 cat >>confdefs.h
<<_ACEOF
13713 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13718 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13719 #ifdef HAVE_SYS_PARAM_H
13720 # include <sys/param.h>
13722 #ifdef HAVE_SYS_MOUNT_H
13723 # include <sys/mount.h>
13725 #ifdef HAVE_SYS_VFS_H
13726 # include <sys/vfs.h>
13728 #ifdef HAVE_SYS_STATFS_H
13729 # include <sys/statfs.h>
13732 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13734 cat >>confdefs.h
<<_ACEOF
13735 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13742 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13743 #include <sys/statvfs.h>
13746 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13748 cat >>confdefs.h
<<_ACEOF
13749 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13756 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13757 #ifdef HAVE_SYS_SOCKET_H
13758 # include <sys/socket.h>
13760 #ifdef HAVE_SYS_UN_H
13761 # include <sys/un.h>
13764 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13766 cat >>confdefs.h
<<_ACEOF
13767 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13772 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13773 #ifdef HAVE_SYS_SOCKET_H
13774 # include <sys/socket.h>
13776 #ifdef HAVE_SYS_UN_H
13777 # include <sys/un.h>
13780 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13782 cat >>confdefs.h
<<_ACEOF
13783 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13788 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13789 #ifdef HAVE_SYS_SOCKET_H
13790 # include <sys/socket.h>
13792 #ifdef HAVE_SYS_UN_H
13793 # include <sys/un.h>
13796 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13798 cat >>confdefs.h
<<_ACEOF
13799 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13806 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13807 #ifdef HAVE_SCSI_SG_H
13808 #include <scsi/sg.h>
13811 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
13813 cat >>confdefs.h
<<_ACEOF
13814 #define HAVE_SCSIREQ_T_CMD 1
13819 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>
13820 #ifdef HAVE_SCSI_SG_H
13821 #include <scsi/sg.h>
13824 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
13826 cat >>confdefs.h
<<_ACEOF
13827 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13834 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13836 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
13838 cat >>confdefs.h
<<_ACEOF
13839 #define HAVE_SIGINFO_T_SI_FD 1
13846 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13847 #ifdef HAVE_SYS_MTIO_H
13848 #include <sys/mtio.h>
13851 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
13853 cat >>confdefs.h
<<_ACEOF
13854 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13859 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13860 #ifdef HAVE_SYS_MTIO_H
13861 #include <sys/mtio.h>
13864 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
13866 cat >>confdefs.h
<<_ACEOF
13867 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13872 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13873 #ifdef HAVE_SYS_MTIO_H
13874 #include <sys/mtio.h>
13877 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
13879 cat >>confdefs.h
<<_ACEOF
13880 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13887 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13888 #include <getopt.h>
13891 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
13893 cat >>confdefs.h
<<_ACEOF
13894 #define HAVE_STRUCT_OPTION_NAME 1
13901 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13902 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
13904 cat >>confdefs.h
<<_ACEOF
13905 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13910 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13911 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
13913 cat >>confdefs.h
<<_ACEOF
13914 #define HAVE_STRUCT_STAT_ST_MTIM 1
13919 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13920 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
13922 cat >>confdefs.h
<<_ACEOF
13923 #define HAVE_STRUCT_STAT_ST_CTIM 1
13928 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13929 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
13931 cat >>confdefs.h
<<_ACEOF
13932 #define HAVE_STRUCT_STAT_ST_ATIM 1
13939 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
13940 #include <sys/types.h>
13942 #ifdef HAVE_NETINET_IN_H
13943 #include <netinet/in.h>
13946 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
13948 cat >>confdefs.h
<<_ACEOF
13949 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13956 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13957 #include <sys/types.h>
13959 #ifdef HAVE_NETINET_IN_H
13960 # include <netinet/in.h>
13962 #ifdef HAVE_ARPA_NAMESER_H
13963 # include <arpa/nameser.h>
13966 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
13968 cat >>confdefs.h
<<_ACEOF
13969 #define HAVE_NS_MSG__MSG_PTR 1
13976 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13977 #include <sys/types.h>
13979 #ifdef HAVE_ALIAS_H
13982 #ifdef HAVE_SYS_SOCKET_H
13983 #include <sys/socket.h>
13985 #ifdef HAVE_SYS_SOCKETVAR_H
13986 #include <sys/socketvar.h>
13988 #ifdef HAVE_SYS_TIMEOUT_H
13989 #include <sys/timeout.h>
13991 #ifdef HAVE_NETINET_IN_H
13992 #include <netinet/in.h>
13994 #ifdef HAVE_NETINET_IN_SYSTM_H
13995 #include <netinet/in_systm.h>
13997 #ifdef HAVE_NETINET_IP_H
13998 #include <netinet/ip.h>
14000 #ifdef HAVE_NETINET_IP_VAR_H
14001 #include <netinet/ip_var.h>
14003 #ifdef HAVE_NETINET_IP_ICMP_H
14004 #include <netinet/ip_icmp.h>
14006 #ifdef HAVE_NETINET_ICMP_VAR
14007 #include <netinet/icmp_var.h>
14010 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14012 cat >>confdefs.h
<<_ACEOF
14013 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14020 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14021 #include <sys/types.h>
14023 #ifdef HAVE_NET_IF_H
14024 # include <net/if.h>
14027 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14029 cat >>confdefs.h
<<_ACEOF
14030 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14038 $as_echo_n "checking for timezone variable... " >&6; }
14039 if ${ac_cv_have_timezone+:} false
; then :
14040 $as_echo_n "(cached) " >&6
14042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14043 /* end confdefs.h. */
14053 if ac_fn_c_try_link
"$LINENO"; then :
14054 ac_cv_have_timezone
="yes"
14056 ac_cv_have_timezone
="no"
14058 rm -f core conftest.err conftest.
$ac_objext \
14059 conftest
$ac_exeext conftest.
$ac_ext
14061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14062 $as_echo "$ac_cv_have_timezone" >&6; }
14063 if test "$ac_cv_have_timezone" = "yes"
14066 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14070 $as_echo_n "checking for daylight variable... " >&6; }
14071 if ${ac_cv_have_daylight+:} false
; then :
14072 $as_echo_n "(cached) " >&6
14074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14075 /* end confdefs.h. */
14085 if ac_fn_c_try_link
"$LINENO"; then :
14086 ac_cv_have_daylight
="yes"
14088 ac_cv_have_daylight
="no"
14090 rm -f core conftest.err conftest.
$ac_objext \
14091 conftest
$ac_exeext conftest.
$ac_ext
14093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14094 $as_echo "$ac_cv_have_daylight" >&6; }
14095 if test "$ac_cv_have_daylight" = "yes"
14098 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14102 ac_save_LIBS
="$LIBS"
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14105 $as_echo_n "checking for isinf... " >&6; }
14106 if ${ac_cv_have_isinf+:} false
; then :
14107 $as_echo_n "(cached) " >&6
14109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14110 /* end confdefs.h. */
14115 float f = 0.0; return isinf(f)
14120 if ac_fn_c_try_link
"$LINENO"; then :
14121 ac_cv_have_isinf
="yes"
14123 ac_cv_have_isinf
="no"
14125 rm -f core conftest.err conftest.
$ac_objext \
14126 conftest
$ac_exeext conftest.
$ac_ext
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14129 $as_echo "$ac_cv_have_isinf" >&6; }
14130 if test "$ac_cv_have_isinf" = "yes"
14133 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14138 $as_echo_n "checking for isnan... " >&6; }
14139 if ${ac_cv_have_isnan+:} false
; then :
14140 $as_echo_n "(cached) " >&6
14142 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14143 /* end confdefs.h. */
14148 float f = 0.0; return isnan(f)
14153 if ac_fn_c_try_link
"$LINENO"; then :
14154 ac_cv_have_isnan
="yes"
14156 ac_cv_have_isnan
="no"
14158 rm -f core conftest.err conftest.
$ac_objext \
14159 conftest
$ac_exeext conftest.
$ac_ext
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14162 $as_echo "$ac_cv_have_isnan" >&6; }
14163 if test "$ac_cv_have_isnan" = "yes"
14166 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14169 LIBS
="$ac_save_LIBS"
14173 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14174 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14175 if ${ac_cv_cpp_def___i386__+:} false
; then :
14176 $as_echo_n "(cached) " >&6
14178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14179 /* end confdefs.h. */
14184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14185 $EGREP "yes" >/dev
/null
2>&1; then :
14186 ac_cv_cpp_def___i386__
=yes
14188 ac_cv_cpp_def___i386__
=no
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14194 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14195 if test $ac_cv_cpp_def___i386__ = yes; then :
14196 CFLAGS
="$CFLAGS -D__i386__"
14197 LINTFLAGS
="$LINTFLAGS -D__i386__"
14199 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14200 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14201 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14202 $as_echo_n "(cached) " >&6
14204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14211 $EGREP "yes" >/dev
/null
2>&1; then :
14212 ac_cv_cpp_def___x86_64__
=yes
14214 ac_cv_cpp_def___x86_64__
=no
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14220 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14221 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14222 CFLAGS
="$CFLAGS -D__x86_64__"
14223 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14225 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14226 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14227 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14228 $as_echo_n "(cached) " >&6
14230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14231 /* end confdefs.h. */
14232 #ifndef __sparc64__
14236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14237 $EGREP "yes" >/dev
/null
2>&1; then :
14238 ac_cv_cpp_def___sparc64__
=yes
14240 ac_cv_cpp_def___sparc64__
=no
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14246 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14247 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14248 CFLAGS
="$CFLAGS -D__sparc64__"
14249 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14251 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14252 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14253 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14254 $as_echo_n "(cached) " >&6
14256 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14263 $EGREP "yes" >/dev
/null
2>&1; then :
14264 ac_cv_cpp_def___sparc__
=yes
14266 ac_cv_cpp_def___sparc__
=no
14271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14272 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14273 if test $ac_cv_cpp_def___sparc__ = yes; then :
14274 CFLAGS
="$CFLAGS -D__sparc__"
14275 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14277 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14278 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14279 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
14280 $as_echo_n "(cached) " >&6
14282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14283 /* end confdefs.h. */
14284 #ifndef __powerpc64__
14288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14289 $EGREP "yes" >/dev
/null
2>&1; then :
14290 ac_cv_cpp_def___powerpc64__
=yes
14292 ac_cv_cpp_def___powerpc64__
=no
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14298 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14299 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14300 CFLAGS
="$CFLAGS -D__powerpc64__"
14301 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
14303 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14304 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14305 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14306 $as_echo_n "(cached) " >&6
14308 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14309 /* end confdefs.h. */
14310 #ifndef __powerpc__
14314 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14315 $EGREP "yes" >/dev
/null
2>&1; then :
14316 ac_cv_cpp_def___powerpc__
=yes
14318 ac_cv_cpp_def___powerpc__
=no
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14324 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14325 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14326 CFLAGS
="$CFLAGS -D__powerpc__"
14327 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14329 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14330 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14331 if ${ac_cv_cpp_def___arm__+:} false
; then :
14332 $as_echo_n "(cached) " >&6
14334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14335 /* end confdefs.h. */
14340 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14341 $EGREP "yes" >/dev
/null
2>&1; then :
14342 ac_cv_cpp_def___arm__
=yes
14344 ac_cv_cpp_def___arm__
=no
14349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14350 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14351 if test $ac_cv_cpp_def___arm__ = yes; then :
14352 CFLAGS
="$CFLAGS -D__arm__"
14353 LINTFLAGS
="$LINTFLAGS -D__arm__"
14357 case $host_vendor in
14358 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14359 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14360 if ${ac_cv_cpp_def___sun__+:} false
; then :
14361 $as_echo_n "(cached) " >&6
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14370 $EGREP "yes" >/dev
/null
2>&1; then :
14371 ac_cv_cpp_def___sun__
=yes
14373 ac_cv_cpp_def___sun__
=no
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14379 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14380 if test $ac_cv_cpp_def___sun__ = yes; then :
14381 CFLAGS
="$CFLAGS -D__sun__"
14382 LINTFLAGS
="$LINTFLAGS -D__sun__"
14390 ac_config_commands
="$ac_config_commands include/stamp-h"
14393 ALL_MAKEFILE_DEPENDS
="
14394 # Rules automatically generated by configure
14399 Makefile: Makefile.in Make.vars.in Make.rules config.status
14400 @./config.status Make.tmp Makefile"
14403 ALL_TEST_RESOURCES
=""
14406 wine_fn_append_file
()
14408 as_fn_append
$1 " \\$as_nl $2"
14411 wine_fn_append_rule
()
14413 as_fn_append
$1 "$as_nl$2"
14416 wine_fn_has_flag
()
14418 expr ",$2," : ".*,$1,.*" >/dev
/null
14421 wine_fn_all_dir_rules
()
14425 ac_makedep
="\$(MAKEDEP)"
14426 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14427 if test $ac_dir != tools
14429 ac_alldeps
="$2 $ac_makedep"
14432 *.
in) ac_input
=$ac_input:$2 ;;
14433 *) ac_makedep
="$2 $ac_makedep" ;;
14436 wine_fn_append_file ALL_DIRS
$ac_dir
14437 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14438 "__clean__: $ac_dir/__clean__
14439 .PHONY: $ac_dir/__clean__
14440 $ac_dir/__clean__: $ac_dir/Makefile
14441 @cd $ac_dir && \$(MAKE) clean
14442 \$(RM) $ac_dir/Makefile
14443 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14444 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14445 depend: $ac_dir/__depend__
14446 .PHONY: $ac_dir/__depend__
14447 $ac_dir/__depend__: $ac_makedep dummy
14448 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14451 wine_fn_pot_rules
()
14456 test "x$with_gettextpo" = xyes ||
return
14458 if wine_fn_has_flag mc
$ac_flags
14460 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14461 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14462 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14463 @cd $ac_dir && \$(MAKE) msg.pot
14464 $ac_dir/msg.pot: tools/wmc include"
14466 if wine_fn_has_flag po
$ac_flags
14468 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14469 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14470 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14471 @cd $ac_dir && \$(MAKE) rsrc.pot
14472 $ac_dir/rsrc.pot: tools/wrc include"
14476 wine_fn_config_makefile
()
14482 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14486 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14487 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14490 $ac_dir: $ac_dir/Makefile dummy
14491 @cd $ac_dir && \$(MAKE)"
14493 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14495 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14496 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14497 $ac_dir/__install__:: $ac_dir
14498 @cd $ac_dir && \$(MAKE) install
14499 $ac_dir/__uninstall__:: $ac_dir/Makefile
14500 @cd $ac_dir && \$(MAKE) uninstall
14501 install:: $ac_dir/__install__
14502 __uninstall__: $ac_dir/__uninstall__"
14504 if wine_fn_has_flag install-lib
$ac_flags
14506 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14507 ".PHONY: $ac_dir/__install-lib__
14508 $ac_dir/__install-lib__:: $ac_dir
14509 @cd $ac_dir && \$(MAKE) install-lib
14510 install-lib:: $ac_dir/__install-lib__"
14513 if wine_fn_has_flag install-dev
$ac_flags
14515 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14516 ".PHONY: $ac_dir/__install-dev
14517 $ac_dir/__install-dev__:: $ac_dir
14518 @cd $ac_dir && \$(MAKE) install-dev
14519 install-dev:: $ac_dir/__install-dev__"
14523 wine_fn_config_lib
()
14527 ac_dir
=dlls
/$ac_name
14528 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14530 if wine_fn_has_flag install-dev
$ac_flags
14533 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14534 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14535 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14536 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14537 $ac_dir/__uninstall__::
14538 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14539 install install-dev:: $ac_dir/__install__
14540 __uninstall__: $ac_dir/__uninstall__"
14543 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14544 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14547 wine_fn_config_dll
()
14550 ac_dir
=dlls
/$ac_name
14553 ac_implib
=${4:-$ac_name}
14554 ac_file
=$ac_dir/lib
$ac_implib
14556 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14560 *16) ac_implibflags
=" -m16" ;;
14562 *) ac_dll
=$ac_dll.dll
;;
14565 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14567 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14568 test "$ac_enable" != enable_win16 ||
return 0
14569 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14571 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14572 "$ac_dir: __builddeps__
14573 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14574 @cd $ac_dir && \$(MAKE) \$@"
14576 if wine_fn_has_flag install-lib
$ac_flags
14579 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14580 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14581 install install-lib:: $ac_dir/__install-lib__
14582 __uninstall__: $ac_dir/__uninstall__"
14583 if test -n "$DLLEXT"
14585 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14586 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14587 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14588 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14589 $ac_dir/__uninstall__::
14590 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14592 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14593 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14594 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14595 $ac_dir/__uninstall__::
14596 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14600 wine_fn_pot_rules
$ac_dir $ac_flags
14603 if wine_fn_has_flag staticimplib
$ac_flags
14605 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14606 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14607 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14608 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14609 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14610 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14611 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14612 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14613 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14614 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14615 $ac_dir/__uninstall__::
14616 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14617 install install-dev:: $ac_dir/__install-dev__
14618 __uninstall__: $ac_dir/__uninstall__"
14620 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14622 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14623 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14624 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14625 $ac_dir/__uninstall__::
14626 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14629 if test "x$CROSSTEST_DISABLE" = x
14631 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14632 "__builddeps__: $ac_file.cross.a
14633 $ac_file.cross.a: $ac_dir/Makefile dummy
14634 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14637 elif wine_fn_has_flag implib
$ac_flags
14639 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14640 "__builddeps__: $ac_file.$IMPLIBEXT
14641 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14642 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14643 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14644 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14645 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14646 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14647 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14648 $ac_dir/__uninstall__::
14649 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14650 install install-dev:: $ac_dir/__install-dev__
14651 __uninstall__: $ac_dir/__uninstall__"
14652 if test "x$CROSSTEST_DISABLE" = x
14654 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14655 "__builddeps__: $ac_file.cross.a
14656 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14657 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14660 if test "$ac_name" != "$ac_implib"
14662 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14663 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14664 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14665 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14667 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14668 if test "x$CROSSTEST_DISABLE" = x
14670 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14671 "__builddeps__: dlls/lib$ac_implib.cross.a
14672 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14673 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14679 wine_fn_config_program
()
14682 ac_dir
=programs
/$ac_name
14685 ac_program
=$ac_name
14689 *) ac_program
=$ac_program.exe
;;
14692 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14694 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14697 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14698 "$ac_dir: __builddeps__"
14700 wine_fn_pot_rules
$ac_dir $ac_flags
14702 wine_fn_has_flag
install $ac_flags ||
return
14703 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14704 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14705 install install-lib:: $ac_dir/__install__
14706 __uninstall__: $ac_dir/__uninstall__"
14708 if test -n "$DLLEXT"
14710 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14711 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14712 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14713 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14714 $ac_dir/__uninstall__::
14715 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14717 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14719 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14720 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14721 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14722 $ac_dir/__uninstall__::
14723 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14726 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14727 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14728 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14729 $ac_dir/__uninstall__::
14730 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14733 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
14735 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14736 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14737 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14738 $ac_dir/__uninstall__::
14739 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14744 wine_fn_config_test
()
14749 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
14750 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14752 if test "x$enable_tests" = xno
; then :
14755 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14758 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14759 @cd $ac_dir && \$(MAKE)
14760 programs/winetest: $ac_dir
14761 check test: $ac_dir/__test__
14762 .PHONY: $ac_dir/__test__
14763 $ac_dir/__test__: dummy
14764 @cd $ac_dir && \$(MAKE) test
14766 \$(RM) $ac_dir/*.ok"
14768 if test "x$CROSSTEST_DISABLE" = x
14770 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14771 "crosstest: $ac_dir/__crosstest__
14772 .PHONY: $ac_dir/__crosstest__
14773 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14774 @cd $ac_dir && \$(MAKE) crosstest"
14779 wine_fn_config_tool
()
14783 if test "x$enable_tools" = xno
; then :
14787 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
14789 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
14790 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
14792 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14796 wine_fn_config_makerules
()
14800 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14801 "$ac_rules: $ac_rules.in $ac_deps config.status
14802 @./config.status $ac_rules
14807 wine_fn_config_symlink
()
14810 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14812 @./config.status $ac_link
14817 if test "x$CROSSTEST_DISABLE" != x
14819 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14821 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14823 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14824 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14825 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14826 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14827 if test "x$enable_fonts" != xno
; then
14828 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14829 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14831 if test "x$enable_fonts" != xno
; then
14832 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14833 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14835 if test "x$enable_fonts" != xno
; then
14836 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14837 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14839 if test "x$enable_fonts" != xno
; then
14840 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14841 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14843 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
14844 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
14845 if test "x$enable_tools" != xno
; then
14846 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14847 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14849 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14850 wine_fn_config_symlink wine
14851 if test "x$enable_win64" != xno
; then
14852 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
14853 wine_fn_config_symlink wine64
14856 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
14858 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14860 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14862 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14864 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14866 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14868 ac_config_commands
="$ac_config_commands include/wine"
14871 wine_fn_config_makerules Make.rules
14872 MAKE_RULES
=Make.rules
14873 ac_config_files
="$ac_config_files Make.rules"
14875 wine_fn_config_makerules Maketest.rules Make.rules
14876 MAKE_TEST_RULES
=Maketest.rules
14877 ac_config_files
="$ac_config_files Maketest.rules"
14879 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14880 MAKE_DLL_RULES
=dlls
/Makedll.rules
14881 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14883 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14884 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14885 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14887 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14888 MAKE_PROG_RULES
=programs
/Makeprog.rules
14889 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14892 wine_fn_config_dll acledit enable_acledit
14893 wine_fn_config_dll aclui enable_aclui implib
14894 wine_fn_config_dll activeds enable_activeds implib
14895 wine_fn_config_dll actxprxy enable_actxprxy
14896 wine_fn_config_lib adsiid
14897 wine_fn_config_dll advapi32 enable_advapi32 implib
14898 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14899 wine_fn_config_dll advpack enable_advpack implib
14900 wine_fn_config_test dlls
/advpack
/tests advpack_test
14901 wine_fn_config_dll amstream enable_amstream
14902 wine_fn_config_test dlls
/amstream
/tests amstream_test
14903 wine_fn_config_dll apphelp enable_apphelp
14904 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14905 wine_fn_config_dll atl enable_atl implib
14906 wine_fn_config_test dlls
/atl
/tests atl_test
14907 wine_fn_config_dll atl80 enable_atl80
14908 wine_fn_config_dll authz enable_authz
14909 wine_fn_config_dll avicap32 enable_avicap32 implib
14910 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
14911 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14912 wine_fn_config_dll avifile.dll16 enable_win16
14913 wine_fn_config_dll avrt enable_avrt implib
14914 wine_fn_config_dll bcrypt enable_bcrypt
14915 wine_fn_config_dll browseui enable_browseui po
14916 wine_fn_config_test dlls
/browseui
/tests browseui_test
14917 wine_fn_config_dll cabinet enable_cabinet implib
14918 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14919 wine_fn_config_dll capi2032 enable_capi2032 implib
14920 wine_fn_config_dll cards enable_cards implib
14921 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14922 wine_fn_config_dll clusapi enable_clusapi implib
14923 wine_fn_config_dll comcat enable_comcat
14924 wine_fn_config_test dlls
/comcat
/tests comcat_test
14925 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
14926 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14927 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
14928 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14929 wine_fn_config_dll
comm.drv16 enable_win16
14930 wine_fn_config_dll commdlg.dll16 enable_win16
14931 wine_fn_config_dll compobj.dll16 enable_win16
14932 wine_fn_config_dll compstui enable_compstui implib
14933 wine_fn_config_dll credui enable_credui implib
,po
14934 wine_fn_config_test dlls
/credui
/tests credui_test
14935 wine_fn_config_dll crtdll enable_crtdll implib
14936 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
14937 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14938 wine_fn_config_dll cryptdlg enable_cryptdlg po
14939 wine_fn_config_dll cryptdll enable_cryptdll implib
14940 wine_fn_config_dll cryptnet enable_cryptnet implib
14941 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14942 wine_fn_config_dll cryptui enable_cryptui implib
,po
14943 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14944 wine_fn_config_dll ctapi32 enable_ctapi32
14945 wine_fn_config_dll ctl3d.dll16 enable_win16
14946 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14947 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14948 wine_fn_config_dll d3d10 enable_d3d10 implib
14949 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14950 wine_fn_config_dll d3d10core enable_d3d10core implib
14951 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14952 wine_fn_config_dll d3d8 enable_d3d8 implib
14953 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14954 wine_fn_config_dll d3d9 enable_d3d9 implib
14955 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14956 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14957 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14958 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14959 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14960 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14961 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14962 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14963 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14964 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14965 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14966 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14967 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14968 wine_fn_config_dll d3dim enable_d3dim implib
14969 wine_fn_config_dll d3drm enable_d3drm implib
14970 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14971 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14972 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14973 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14974 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14975 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14976 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14977 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14978 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14979 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14980 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14981 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14982 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14983 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14984 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14985 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14986 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14987 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14988 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14989 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14990 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14991 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14992 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14993 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14994 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14995 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14996 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14997 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14998 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14999 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15000 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15001 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15002 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15003 wine_fn_config_dll d3dxof enable_d3dxof implib
15004 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15005 wine_fn_config_dll dbgeng enable_dbgeng implib
15006 wine_fn_config_dll dbghelp enable_dbghelp implib
15007 wine_fn_config_dll dciman32 enable_dciman32 implib
15008 wine_fn_config_dll ddeml.dll16 enable_win16
15009 wine_fn_config_dll ddraw enable_ddraw implib
15010 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15011 wine_fn_config_dll ddrawex enable_ddrawex
15012 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15013 wine_fn_config_dll devenum enable_devenum po
15014 wine_fn_config_test dlls
/devenum
/tests devenum_test
15015 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15016 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15017 wine_fn_config_test dlls
/dinput
/tests dinput_test
15018 wine_fn_config_dll dinput8 enable_dinput8 implib
15019 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15020 wine_fn_config_dll dispdib.dll16 enable_win16
15021 wine_fn_config_dll dispex enable_dispex
15022 wine_fn_config_test dlls
/dispex
/tests dispex_test
15023 wine_fn_config_dll display.drv16 enable_win16
15024 wine_fn_config_dll dmband enable_dmband
15025 wine_fn_config_dll dmcompos enable_dmcompos
15026 wine_fn_config_dll dmime enable_dmime
15027 wine_fn_config_test dlls
/dmime
/tests dmime_test
15028 wine_fn_config_dll dmloader enable_dmloader
15029 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15030 wine_fn_config_dll dmscript enable_dmscript
15031 wine_fn_config_dll dmstyle enable_dmstyle
15032 wine_fn_config_dll dmsynth enable_dmsynth
15033 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15034 wine_fn_config_dll dmusic enable_dmusic
15035 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15036 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15037 wine_fn_config_dll dnsapi enable_dnsapi implib
15038 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15039 wine_fn_config_dll dplay enable_dplay implib
15040 wine_fn_config_dll dplayx enable_dplayx implib
15041 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15042 wine_fn_config_dll dpnaddr enable_dpnaddr
15043 wine_fn_config_dll dpnet enable_dpnet implib
15044 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15045 wine_fn_config_dll dpnhpast enable_dpnhpast
15046 wine_fn_config_dll dpnlobby enable_dpnlobby
15047 wine_fn_config_dll dpwsockx enable_dpwsockx
15048 wine_fn_config_dll drmclien enable_drmclien
15049 wine_fn_config_dll dsound enable_dsound implib
15050 wine_fn_config_test dlls
/dsound
/tests dsound_test
15051 wine_fn_config_dll dssenh enable_dssenh
15052 wine_fn_config_dll dswave enable_dswave
15053 wine_fn_config_dll dwmapi enable_dwmapi implib
15054 wine_fn_config_dll dxdiagn enable_dxdiagn po
15055 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15056 wine_fn_config_lib dxerr8
15057 wine_fn_config_lib dxerr9
15058 wine_fn_config_dll dxgi enable_dxgi implib
15059 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15060 wine_fn_config_lib dxguid
15061 wine_fn_config_dll explorerframe enable_explorerframe
15062 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15063 wine_fn_config_dll faultrep enable_faultrep implib
15064 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15065 wine_fn_config_dll fltlib enable_fltlib
15066 wine_fn_config_dll fusion enable_fusion
15067 wine_fn_config_test dlls
/fusion
/tests fusion_test
15068 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15069 wine_fn_config_dll gameux enable_gameux
15070 wine_fn_config_test dlls
/gameux
/tests gameux_test
15071 wine_fn_config_dll gdi.exe16 enable_win16
15072 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15073 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15074 wine_fn_config_dll gdiplus enable_gdiplus implib
15075 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15076 wine_fn_config_dll glu32 enable_glu32 implib
15077 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15078 wine_fn_config_dll gpkcsp enable_gpkcsp
15079 wine_fn_config_dll hal enable_hal
15080 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15081 wine_fn_config_dll hid enable_hid implib
15082 wine_fn_config_dll hlink enable_hlink implib
15083 wine_fn_config_test dlls
/hlink
/tests hlink_test
15084 wine_fn_config_dll hnetcfg enable_hnetcfg
15085 wine_fn_config_dll httpapi enable_httpapi
15086 wine_fn_config_dll iccvid enable_iccvid po
15087 wine_fn_config_dll icmp enable_icmp
15088 wine_fn_config_dll ieframe enable_ieframe implib
,po
15089 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15090 wine_fn_config_dll ifsmgr.vxd enable_win16
15091 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15092 wine_fn_config_dll imagehlp enable_imagehlp implib
15093 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15094 wine_fn_config_dll imm.dll16 enable_win16
15095 wine_fn_config_dll imm32 enable_imm32 implib
15096 wine_fn_config_test dlls
/imm32
/tests imm32_test
15097 wine_fn_config_dll inetcomm enable_inetcomm implib
15098 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15099 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15100 wine_fn_config_dll inetmib1 enable_inetmib1
15101 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15102 wine_fn_config_dll infosoft enable_infosoft
15103 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15104 wine_fn_config_dll initpki enable_initpki
15105 wine_fn_config_dll inkobj enable_inkobj
15106 wine_fn_config_dll inseng enable_inseng
15107 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15108 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15109 wine_fn_config_dll itircl enable_itircl
15110 wine_fn_config_dll itss enable_itss
15111 wine_fn_config_test dlls
/itss
/tests itss_test
15112 wine_fn_config_dll jscript enable_jscript po
15113 wine_fn_config_test dlls
/jscript
/tests jscript_test
15114 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15115 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15116 wine_fn_config_dll keyboard.drv16 enable_win16
15117 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15118 wine_fn_config_dll ktmw32 enable_ktmw32
15119 wine_fn_config_dll loadperf enable_loadperf implib
15120 wine_fn_config_dll localspl enable_localspl po
15121 wine_fn_config_test dlls
/localspl
/tests localspl_test
15122 wine_fn_config_dll localui enable_localui po
15123 wine_fn_config_test dlls
/localui
/tests localui_test
15124 wine_fn_config_dll lz32 enable_lz32 implib
15125 wine_fn_config_test dlls
/lz32
/tests lz32_test
15126 wine_fn_config_dll lzexpand.dll16 enable_win16
15127 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15128 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15129 wine_fn_config_dll mapistub enable_mapistub
15130 wine_fn_config_dll mciavi32 enable_mciavi32
15131 wine_fn_config_dll mcicda enable_mcicda
15132 wine_fn_config_dll mciqtz32 enable_mciqtz32
15133 wine_fn_config_dll mciseq enable_mciseq
15134 wine_fn_config_dll mciwave enable_mciwave
15135 wine_fn_config_dll mgmtapi enable_mgmtapi
15136 wine_fn_config_dll midimap enable_midimap
15137 wine_fn_config_dll mlang enable_mlang implib
15138 wine_fn_config_test dlls
/mlang
/tests mlang_test
15139 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15140 wine_fn_config_dll mmdevapi enable_mmdevapi
15141 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15142 wine_fn_config_dll mmdevldr.vxd enable_win16
15143 wine_fn_config_dll mmsystem.dll16 enable_win16
15144 wine_fn_config_dll monodebg.vxd enable_win16
15145 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15146 wine_fn_config_dll mouse.drv16 enable_win16
15147 wine_fn_config_dll mpr enable_mpr implib
,po
15148 wine_fn_config_dll mprapi enable_mprapi implib
15149 wine_fn_config_dll msacm.dll16 enable_win16
15150 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15151 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15152 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15153 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15154 wine_fn_config_dll mscat32 enable_mscat32
15155 wine_fn_config_dll mscms enable_mscms implib
15156 wine_fn_config_test dlls
/mscms
/tests mscms_test
15157 wine_fn_config_dll mscoree enable_mscoree
15158 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15159 wine_fn_config_dll msctf enable_msctf
15160 wine_fn_config_test dlls
/msctf
/tests msctf_test
15161 wine_fn_config_dll msdaps enable_msdaps
15162 wine_fn_config_dll msdmo enable_msdmo implib
15163 wine_fn_config_dll msftedit enable_msftedit
15164 wine_fn_config_dll msg711.acm enable_msg711_acm
15165 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15166 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15167 wine_fn_config_dll mshtml enable_mshtml implib
,po
15168 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15169 wine_fn_config_dll msi enable_msi implib
,po
15170 wine_fn_config_test dlls
/msi
/tests msi_test
15171 wine_fn_config_dll msident enable_msident
15172 wine_fn_config_dll msimg32 enable_msimg32 implib
15173 wine_fn_config_dll msimsg enable_msimsg
15174 wine_fn_config_dll msimtf enable_msimtf
15175 wine_fn_config_dll msisip enable_msisip
15176 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15177 wine_fn_config_dll msnet32 enable_msnet32
15178 wine_fn_config_dll mspatcha enable_mspatcha
15179 wine_fn_config_dll msrle32 enable_msrle32 po
15180 wine_fn_config_dll mssign32 enable_mssign32
15181 wine_fn_config_dll mssip32 enable_mssip32
15182 wine_fn_config_dll mstask enable_mstask
15183 wine_fn_config_test dlls
/mstask
/tests mstask_test
15184 wine_fn_config_dll msvcirt enable_msvcirt
15185 wine_fn_config_dll msvcp100 enable_msvcp100
15186 wine_fn_config_dll msvcp60 enable_msvcp60
15187 wine_fn_config_dll msvcp70 enable_msvcp70
15188 wine_fn_config_dll msvcp71 enable_msvcp71
15189 wine_fn_config_dll msvcp80 enable_msvcp80
15190 wine_fn_config_dll msvcp90 enable_msvcp90
15191 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15192 wine_fn_config_dll msvcr100 enable_msvcr100
15193 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15194 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15195 wine_fn_config_dll msvcr80 enable_msvcr80
15196 wine_fn_config_dll msvcr90 enable_msvcr90
15197 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15198 wine_fn_config_dll msvcrt enable_msvcrt implib
15199 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15200 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15201 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15202 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15203 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15204 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15205 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15206 wine_fn_config_dll msvidc32 enable_msvidc32 po
15207 wine_fn_config_dll msvideo.dll16 enable_win16
15208 wine_fn_config_dll mswsock enable_mswsock implib
15209 wine_fn_config_dll msxml enable_msxml
15210 wine_fn_config_dll msxml2 enable_msxml2
15211 wine_fn_config_dll msxml3 enable_msxml3
15212 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15213 wine_fn_config_dll msxml4 enable_msxml4
15214 wine_fn_config_dll msxml6 enable_msxml6
15215 wine_fn_config_dll nddeapi enable_nddeapi implib
15216 wine_fn_config_dll netapi32 enable_netapi32 implib
15217 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15218 wine_fn_config_dll newdev enable_newdev implib
15219 wine_fn_config_dll normaliz enable_normaliz implib
15220 wine_fn_config_dll npmshtml enable_npmshtml
15221 wine_fn_config_dll ntdll enable_ntdll implib
15222 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15223 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15224 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15225 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15226 wine_fn_config_dll ntprint enable_ntprint
15227 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15228 wine_fn_config_dll objsel enable_objsel
15229 wine_fn_config_dll odbc32 enable_odbc32 implib
15230 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15231 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15232 wine_fn_config_dll ole2.dll16 enable_win16
15233 wine_fn_config_dll ole2conv.dll16 enable_win16
15234 wine_fn_config_dll ole2disp.dll16 enable_win16
15235 wine_fn_config_dll ole2nls.dll16 enable_win16
15236 wine_fn_config_dll ole2prox.dll16 enable_win16
15237 wine_fn_config_dll ole2thk.dll16 enable_win16
15238 wine_fn_config_dll ole32 enable_ole32 implib
15239 wine_fn_config_test dlls
/ole32
/tests ole32_test
15240 wine_fn_config_dll oleacc enable_oleacc implib
,po
15241 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15242 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15243 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15244 wine_fn_config_dll olecli.dll16 enable_win16
15245 wine_fn_config_dll olecli32 enable_olecli32 implib
15246 wine_fn_config_dll oledb32 enable_oledb32
15247 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15248 wine_fn_config_dll oledlg enable_oledlg implib
,po
15249 wine_fn_config_dll olepro32 enable_olepro32 implib
15250 wine_fn_config_dll olesvr.dll16 enable_win16
15251 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15252 wine_fn_config_dll olethk32 enable_olethk32
15253 wine_fn_config_dll openal32 enable_openal32
15254 wine_fn_config_dll opencl enable_opencl
15255 wine_fn_config_dll opengl32 enable_opengl32 implib
15256 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15257 wine_fn_config_dll pdh enable_pdh implib
15258 wine_fn_config_test dlls
/pdh
/tests pdh_test
15259 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15260 wine_fn_config_dll pidgen enable_pidgen
15261 wine_fn_config_dll powrprof enable_powrprof implib
15262 wine_fn_config_dll printui enable_printui
15263 wine_fn_config_dll propsys enable_propsys implib
15264 wine_fn_config_test dlls
/propsys
/tests propsys_test
15265 wine_fn_config_dll psapi enable_psapi implib
15266 wine_fn_config_test dlls
/psapi
/tests psapi_test
15267 wine_fn_config_dll pstorec enable_pstorec
15268 wine_fn_config_dll qcap enable_qcap
15269 wine_fn_config_dll qedit enable_qedit
15270 wine_fn_config_test dlls
/qedit
/tests qedit_test
15271 wine_fn_config_dll qmgr enable_qmgr
15272 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15273 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15274 wine_fn_config_dll quartz enable_quartz implib
15275 wine_fn_config_test dlls
/quartz
/tests quartz_test
15276 wine_fn_config_dll query enable_query
15277 wine_fn_config_dll rasapi16.dll16 enable_win16
15278 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15279 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15280 wine_fn_config_dll rasdlg enable_rasdlg implib
15281 wine_fn_config_dll regapi enable_regapi
15282 wine_fn_config_dll resutils enable_resutils implib
15283 wine_fn_config_dll riched20 enable_riched20 implib
15284 wine_fn_config_test dlls
/riched20
/tests riched20_test
15285 wine_fn_config_dll riched32 enable_riched32
15286 wine_fn_config_test dlls
/riched32
/tests riched32_test
15287 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15288 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15289 wine_fn_config_dll rsabase enable_rsabase
15290 wine_fn_config_dll rsaenh enable_rsaenh implib
15291 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15292 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15293 wine_fn_config_dll rtutils enable_rtutils implib
15294 wine_fn_config_dll samlib enable_samlib
15295 wine_fn_config_dll sane.ds enable_sane_ds po
15296 wine_fn_config_dll scarddlg enable_scarddlg
15297 wine_fn_config_dll sccbase enable_sccbase
15298 wine_fn_config_dll schannel enable_schannel
15299 wine_fn_config_test dlls
/schannel
/tests schannel_test
15300 wine_fn_config_dll scrrun enable_scrrun
15301 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
15302 wine_fn_config_dll secur32 enable_secur32 implib
15303 wine_fn_config_test dlls
/secur32
/tests secur32_test
15304 wine_fn_config_dll security enable_security
15305 wine_fn_config_dll sensapi enable_sensapi implib
15306 wine_fn_config_dll serialui enable_serialui implib
,po
15307 wine_fn_config_test dlls
/serialui
/tests serialui_test
15308 wine_fn_config_dll setupapi enable_setupapi implib
,po
15309 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15310 wine_fn_config_dll setupx.dll16 enable_win16
15311 wine_fn_config_dll sfc enable_sfc implib
15312 wine_fn_config_dll sfc_os enable_sfc_os implib
15313 wine_fn_config_dll shdoclc enable_shdoclc po
15314 wine_fn_config_dll shdocvw enable_shdocvw implib
15315 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15316 wine_fn_config_dll shell.dll16 enable_win16
15317 wine_fn_config_dll shell32 enable_shell32 implib
,po
15318 wine_fn_config_test dlls
/shell32
/tests shell32_test
15319 wine_fn_config_dll shfolder enable_shfolder implib
15320 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15321 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15322 wine_fn_config_dll slbcsp enable_slbcsp
15323 wine_fn_config_dll slc enable_slc implib
15324 wine_fn_config_dll snmpapi enable_snmpapi implib
15325 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15326 wine_fn_config_dll softpub enable_softpub
15327 wine_fn_config_dll sound.drv16 enable_win16
15328 wine_fn_config_dll spoolss enable_spoolss implib
15329 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15330 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15331 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15332 wine_fn_config_dll sti enable_sti implib
15333 wine_fn_config_test dlls
/sti
/tests sti_test
15334 wine_fn_config_dll storage.dll16 enable_win16
15335 wine_fn_config_dll stress.dll16 enable_win16
15336 wine_fn_config_lib strmbase
15337 wine_fn_config_lib strmiids
15338 wine_fn_config_dll svrapi enable_svrapi
15339 wine_fn_config_dll sxs enable_sxs implib
15340 wine_fn_config_test dlls
/sxs
/tests sxs_test
15341 wine_fn_config_dll system.drv16 enable_win16
15342 wine_fn_config_dll t2embed enable_t2embed
15343 wine_fn_config_dll tapi32 enable_tapi32 implib
15344 wine_fn_config_dll toolhelp.dll16 enable_win16
15345 wine_fn_config_dll traffic enable_traffic
15346 wine_fn_config_dll twain.dll16 enable_win16
15347 wine_fn_config_dll twain_32 enable_twain_32
15348 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15349 wine_fn_config_dll typelib.dll16 enable_win16
15350 wine_fn_config_dll unicows enable_unicows implib
15351 wine_fn_config_dll updspapi enable_updspapi
15352 wine_fn_config_dll url enable_url implib
15353 wine_fn_config_dll urlmon enable_urlmon implib
15354 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15355 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15356 wine_fn_config_dll user.exe16 enable_win16
15357 wine_fn_config_dll user32 enable_user32 implib
,po
15358 wine_fn_config_test dlls
/user32
/tests user32_test
15359 wine_fn_config_dll userenv enable_userenv implib
15360 wine_fn_config_test dlls
/userenv
/tests userenv_test
15361 wine_fn_config_dll usp10 enable_usp10 implib
15362 wine_fn_config_test dlls
/usp10
/tests usp10_test
15363 wine_fn_config_lib uuid
15364 wine_fn_config_dll uxtheme enable_uxtheme implib
15365 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15366 wine_fn_config_dll vbscript enable_vbscript
15367 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15368 wine_fn_config_dll vcomp enable_vcomp
15369 wine_fn_config_dll vcomp100 enable_vcomp100
15370 wine_fn_config_dll vdhcp.vxd enable_win16
15371 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15372 wine_fn_config_dll ver.dll16 enable_win16
15373 wine_fn_config_dll version enable_version implib
15374 wine_fn_config_test dlls
/version
/tests version_test
15375 wine_fn_config_dll vmm.vxd enable_win16
15376 wine_fn_config_dll vnbt.vxd enable_win16
15377 wine_fn_config_dll vnetbios.vxd enable_win16
15378 wine_fn_config_dll vtdapi.vxd enable_win16
15379 wine_fn_config_dll vwin32.vxd enable_win16
15380 wine_fn_config_dll w32skrnl enable_win16
15381 wine_fn_config_dll w32sys.dll16 enable_win16
15382 wine_fn_config_dll wbemprox enable_wbemprox
15383 wine_fn_config_dll wer enable_wer implib
15384 wine_fn_config_test dlls
/wer
/tests wer_test
15385 wine_fn_config_dll wevtapi enable_wevtapi
15386 wine_fn_config_dll wiaservc enable_wiaservc
15387 wine_fn_config_dll win32s16.dll16 enable_win16
15388 wine_fn_config_dll win87em.dll16 enable_win16
15389 wine_fn_config_dll winaspi.dll16 enable_win16
15390 wine_fn_config_dll windebug.dll16 enable_win16
15391 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15392 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15393 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15394 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15395 wine_fn_config_lib winecrt0
15396 wine_fn_config_dll wined3d enable_wined3d implib
15397 wine_fn_config_dll winegstreamer enable_winegstreamer
15398 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15399 wine_fn_config_dll winemapi enable_winemapi
15400 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15401 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15402 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15403 wine_fn_config_dll wineps16.drv16 enable_win16
15404 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15405 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15406 wine_fn_config_dll winex11.drv enable_winex11_drv
15407 wine_fn_config_dll wing.dll16 enable_win16
15408 wine_fn_config_dll wing32 enable_wing32
15409 wine_fn_config_dll winhttp enable_winhttp implib
15410 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15411 wine_fn_config_dll wininet enable_wininet implib
,po
15412 wine_fn_config_test dlls
/wininet
/tests wininet_test
15413 wine_fn_config_dll winmm enable_winmm implib
,po
15414 wine_fn_config_test dlls
/winmm
/tests winmm_test
15415 wine_fn_config_dll winnls.dll16 enable_win16
15416 wine_fn_config_dll winnls32 enable_winnls32 implib
15417 wine_fn_config_dll winscard enable_winscard implib
15418 wine_fn_config_dll winsock.dll16 enable_win16
15419 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15420 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15421 wine_fn_config_dll winsta enable_winsta
15422 wine_fn_config_dll wintab.dll16 enable_win16
15423 wine_fn_config_dll wintab32 enable_wintab32 implib
15424 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15425 wine_fn_config_dll wintrust enable_wintrust implib
15426 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15427 wine_fn_config_dll wlanapi enable_wlanapi
15428 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15429 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15430 wine_fn_config_dll wmi enable_wmi
15431 wine_fn_config_dll wmiutils enable_wmiutils
15432 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15433 wine_fn_config_dll wow32 enable_win16 implib
15434 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15435 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15436 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15437 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15438 wine_fn_config_dll wsock32 enable_wsock32 implib
15439 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15440 wine_fn_config_dll wuapi enable_wuapi
15441 wine_fn_config_dll wuaueng enable_wuaueng
15442 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15443 wine_fn_config_dll xinput1_1 enable_xinput1_1
15444 wine_fn_config_dll xinput1_2 enable_xinput1_2
15445 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15446 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15447 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15448 wine_fn_config_dll xmllite enable_xmllite
15449 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15450 wine_fn_config_dll xolehlp enable_xolehlp
15451 wine_fn_config_dll xpsprint enable_xpsprint
15452 wine_fn_config_makefile documentation enable_documentation
15453 wine_fn_config_makefile fonts enable_fonts install-lib
15454 wine_fn_config_makefile include enable_include install-dev
15455 wine_fn_config_makefile libs
/port enable_libs_port
15456 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15457 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15458 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15459 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15460 wine_fn_config_program attrib enable_attrib
install,po
15461 wine_fn_config_program cabarc enable_cabarc
install
15462 wine_fn_config_program cacls enable_cacls
install
15463 wine_fn_config_program
clock enable_clock
install,po
15464 wine_fn_config_program cmd enable_cmd
install,po
15465 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15466 wine_fn_config_program control enable_control
install
15467 wine_fn_config_program cscript enable_cscript
install
15468 wine_fn_config_program dxdiag enable_dxdiag
install,po
15469 wine_fn_config_program eject enable_eject
install
15470 wine_fn_config_program
expand enable_expand
install
15471 wine_fn_config_program explorer enable_explorer
install,po
15472 wine_fn_config_program extrac32 enable_extrac32
install
15473 wine_fn_config_program hh enable_hh
install
15474 wine_fn_config_program hostname enable_hostname
install,po
15475 wine_fn_config_program icinfo enable_icinfo
install
15476 wine_fn_config_program iexplore enable_iexplore
install
15477 wine_fn_config_program ipconfig enable_ipconfig
install,po
15478 wine_fn_config_program lodctr enable_lodctr
install
15479 wine_fn_config_program mofcomp enable_mofcomp
install
15480 wine_fn_config_program mshta enable_mshta
install
15481 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15482 wine_fn_config_program net enable_net
install,po
15483 wine_fn_config_program netsh enable_netsh
install
15484 wine_fn_config_program ngen enable_ngen
install
15485 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15486 wine_fn_config_program oleview enable_oleview
install,po
15487 wine_fn_config_program
ping enable_ping
install
15488 wine_fn_config_program plugplay enable_plugplay
install
15489 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15490 wine_fn_config_program progman enable_progman
install,po
15491 wine_fn_config_program reg enable_reg
install,po
15492 wine_fn_config_program regasm enable_regasm
install
15493 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15494 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15495 wine_fn_config_program regsvcs enable_regsvcs
install
15496 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15497 wine_fn_config_program rpcss enable_rpcss
install
15498 wine_fn_config_program rundll.exe16 enable_win16
install
15499 wine_fn_config_program rundll32 enable_rundll32
install
15500 wine_fn_config_program sc enable_sc
install
15501 wine_fn_config_program secedit enable_secedit
install
15502 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15503 wine_fn_config_program services enable_services
install
15504 wine_fn_config_program spoolsv enable_spoolsv
install
15505 wine_fn_config_program start enable_start
install,po
15506 wine_fn_config_program svchost enable_svchost
install
15507 wine_fn_config_program taskkill enable_taskkill
install,po
15508 wine_fn_config_program taskmgr enable_taskmgr
install,po
15509 wine_fn_config_program termsv enable_termsv
install
15510 wine_fn_config_program uninstaller enable_uninstaller
install,po
15511 wine_fn_config_program unlodctr enable_unlodctr
install
15512 wine_fn_config_program view enable_view
install,po
15513 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
15514 wine_fn_config_program winebrowser enable_winebrowser
install
15515 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15516 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15517 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15518 wine_fn_config_program winedevice enable_winedevice
install
15519 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15520 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15521 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15522 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15523 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15524 wine_fn_config_program winetest enable_winetest
15525 wine_fn_config_program winevdm enable_win16
install
15526 wine_fn_config_program winhelp.exe16 enable_win16
install
15527 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15528 wine_fn_config_program winoldap.mod16 enable_win16
install
15529 wine_fn_config_program winver enable_winver
install
15530 wine_fn_config_program wmic enable_wmic
install
15531 wine_fn_config_program wordpad enable_wordpad
install,po
15532 wine_fn_config_program
write enable_write
install,po
15533 wine_fn_config_program wscript enable_wscript
install
15534 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15535 wine_fn_config_program wusa enable_wusa
install
15536 wine_fn_config_program xcopy enable_xcopy
install,po
15537 wine_fn_config_makefile server enable_server install-lib
,manpage
15538 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15539 wine_fn_config_tool tools
/widl install-dev
,manpage
15540 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15541 wine_fn_config_tool tools
/winedump install-dev
,manpage
15542 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15543 wine_fn_config_tool tools
/wmc install-dev
,manpage
15544 wine_fn_config_tool tools
/wrc install-dev
,manpage
15594 ac_config_commands
="$ac_config_commands Makefile"
15597 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15601 if test "x$enable_maintainer_mode" = xyes
15603 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15604 cd \$(srcdir) && autoconf --warnings=all
15605 \$(srcdir)/include/config.h.in: include/stamp-h.in
15606 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15607 cd \$(srcdir) && autoheader --warnings=all
15608 @echo timestamp > \$@"
15611 if test "x$with_gettextpo" = xyes
15613 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15614 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15615 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15616 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15617 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15618 msgcat -o \$@ \$(ALL_POT_FILES)"
15621 if test "$MSGFMT" != false
15623 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15625 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15630 if test "x$enable_tools" != xno
15632 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15634 \$(RM) tools/makedep\$(EXEEXT)"
15637 if test -n "$with_wine64"
15639 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15640 fonts server tools:
15641 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15642 $with_wine64/loader/wine:
15643 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15644 $with_wine64/loader/wine-preloader:
15645 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15647 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15650 cat >confcache
<<\_ACEOF
15651 # This file is a shell script that caches the results of configure
15652 # tests run on this system so they can be shared between configure
15653 # scripts and configure runs, see configure's option --config-cache.
15654 # It is not useful on other systems. If it contains results you don't
15655 # want to keep, you may remove or edit it.
15657 # config.status only pays attention to the cache file if you give it
15658 # the --recheck option to rerun configure.
15660 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15661 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15662 # following values.
15666 # The following way of writing the cache mishandles newlines in values,
15667 # but we know of no workaround that is simple, portable, and efficient.
15668 # So, we kill variables containing newlines.
15669 # Ultrix sh set writes to stderr and can't be redirected directly,
15670 # and sets the high bit in the cache file unless we assign to the vars.
15672 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15673 eval ac_val
=\$
$ac_var
15677 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15678 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15681 _ | IFS | as_nl
) ;; #(
15682 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15683 *) { eval $ac_var=; unset $ac_var;} ;;
15689 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15690 *${as_nl}ac_space
=\
*)
15691 # `set' does not quote correctly, so add quotes: double-quote
15692 # substitution turns \\\\ into \\, and sed turns \\ into \.
15695 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15698 # `set' quotes correctly as required by POSIX, so do not add quotes.
15699 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15708 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15710 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15712 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15713 if test -w "$cache_file"; then
15714 if test "x$cache_file" != "x/dev/null"; then
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15716 $as_echo "$as_me: updating cache $cache_file" >&6;}
15717 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15718 cat confcache
>"$cache_file"
15720 case $cache_file in #(
15722 mv -f confcache
"$cache_file"$$
&&
15723 mv -f "$cache_file"$$
"$cache_file" ;; #(
15725 mv -f confcache
"$cache_file" ;;
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15731 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15736 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15737 # Let make expand exec_prefix.
15738 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15740 DEFS
=-DHAVE_CONFIG_H
15745 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15746 # 1. Remove the extension, and $U if already installed.
15747 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15748 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15749 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15750 # will be set to the directory where LIBOBJS objects are built.
15751 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15752 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15754 LIBOBJS
=$ac_libobjs
15756 LTLIBOBJS
=$ac_ltlibobjs
15760 : "${CONFIG_STATUS=./config.status}"
15762 ac_clean_files_save
=$ac_clean_files
15763 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15765 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15767 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15769 # Generated by $as_me.
15770 # Run this file to recreate the current configuration.
15771 # Compiler output produced by configure, useful for debugging
15772 # configure, is in config.log if it exists.
15775 ac_cs_recheck=false
15778 SHELL=\${CONFIG_SHELL-$SHELL}
15781 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15782 ## -------------------- ##
15783 ## M4sh Initialization. ##
15784 ## -------------------- ##
15786 # Be more Bourne compatible
15787 DUALCASE
=1; export DUALCASE
# for MKS sh
15788 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15791 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15792 # is contrary to our usage. Disable this feature.
15793 alias -g '${1+"$@"}'='"$@"'
15794 setopt NO_GLOB_SUBST
15796 case `(set -o) 2>/dev/null` in #(
15808 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15809 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15810 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15811 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15812 # Prefer a ksh shell builtin over an external printf program on Solaris,
15813 # but without wasting forks for bash or zsh.
15814 if test -z "$BASH_VERSION$ZSH_VERSION" \
15815 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15816 as_echo='print
-r --'
15817 as_echo_n='print
-rn --'
15818 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15819 as_echo='printf %s
\n'
15820 as_echo_n='printf %s
'
15822 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15823 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15824 as_echo_n='/usr
/ucb
/echo -n'
15826 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15827 as_echo_n_body='eval
15831 expr "X$arg" : "X\\(.*\\)$as_nl";
15832 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15834 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15836 export as_echo_n_body
15837 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15839 export as_echo_body
15840 as_echo='sh
-c $as_echo_body as_echo
'
15843 # The user is always right.
15844 if test "${PATH_SEPARATOR+set}" != set; then
15846 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15847 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15854 # We need space, tab and new line, in precisely that order. Quoting is
15855 # there to prevent editors from complaining about space-tab.
15856 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15857 # splitting by setting IFS to empty value.)
15860 # Find who we are. Look in the path if we contain no directory separator.
15863 *[\\/]* ) as_myself=$0 ;;
15864 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15865 for as_dir in $PATH
15868 test -z "$as_dir" && as_dir=.
15869 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15875 # We did not find ourselves, most probably we were run as `sh COMMAND'
15876 # in which case we are not to be found in the path.
15877 if test "x$as_myself" = x
; then
15880 if test ! -f "$as_myself"; then
15881 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15885 # Unset variables that we do not need and which cause bugs (e.g. in
15886 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15887 # suppresses any "Segmentation fault" message there. '((' could
15888 # trigger a bug in pdksh 5.2.14.
15889 for as_var
in BASH_ENV ENV MAIL MAILPATH
15890 do eval test x\
${$as_var+set} = xset \
15891 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15904 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15907 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15908 # ----------------------------------------
15909 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15910 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15911 # script with STATUS, using 1 if that was 0.
15914 as_status
=$1; test $as_status -eq 0 && as_status
=1
15916 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15917 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15919 $as_echo "$as_me: error: $2" >&2
15920 as_fn_exit
$as_status
15924 # as_fn_set_status STATUS
15925 # -----------------------
15926 # Set $? to STATUS, without forking.
15927 as_fn_set_status
()
15930 } # as_fn_set_status
15932 # as_fn_exit STATUS
15933 # -----------------
15934 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15938 as_fn_set_status
$1
15944 # Portably unset VAR.
15947 { eval $1=; unset $1;}
15949 as_unset
=as_fn_unset
15950 # as_fn_append VAR VALUE
15951 # ----------------------
15952 # Append the text in VALUE to the end of the definition contained in VAR. Take
15953 # advantage of any shell optimizations that allow amortized linear growth over
15954 # repeated appends, instead of the typical quadratic growth present in naive
15956 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15957 eval 'as_fn_append ()
15968 # as_fn_arith ARG...
15969 # ------------------
15970 # Perform arithmetic evaluation on the ARGs, and store the result in the
15971 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15972 # must be portable across $(()) and expr.
15973 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15974 eval 'as_fn_arith ()
15981 as_val
=`expr "$@" || test $? -eq 1`
15986 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15987 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15993 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15994 as_basename
=basename
15999 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16005 as_me
=`$as_basename -- "$0" ||
16006 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16007 X"$0" : 'X\(//\)$' \| \
16008 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16010 sed '/^.*\/\([^/][^/]*\)\/*$/{
16024 # Avoid depending upon Character Ranges.
16025 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16026 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16027 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16028 as_cr_digits
='0123456789'
16029 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16031 ECHO_C
= ECHO_N
= ECHO_T
=
16032 case `echo -n x` in #(((((
16034 case `echo 'xy\c'` in
16035 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16037 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16044 rm -f conf$$ conf$$.exe conf$$.
file
16045 if test -d conf$$.dir
; then
16046 rm -f conf$$.dir
/conf$$.
file
16049 mkdir conf$$.dir
2>/dev
/null
16051 if (echo >conf$$.
file) 2>/dev
/null
; then
16052 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16054 # ... but there are two gotchas:
16055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16057 # In both cases, we have to default to `cp -p'.
16058 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16060 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16068 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16069 rmdir conf$$.dir
2>/dev
/null
16074 # Create "$as_dir" as a directory, including parents if necessary.
16079 -*) as_dir
=.
/$as_dir;;
16081 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16085 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16086 *) as_qdir
=$as_dir;;
16088 as_dirs
="'$as_qdir' $as_dirs"
16089 as_dir
=`$as_dirname -- "$as_dir" ||
16090 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16091 X"$as_dir" : 'X\(//\)[^/]' \| \
16092 X"$as_dir" : 'X\(//\)$' \| \
16093 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16094 $as_echo X"$as_dir" |
16095 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16099 /^X\(\/\/\)[^/].*/{
16112 test -d "$as_dir" && break
16114 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16115 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16119 if mkdir
-p .
2>/dev
/null
; then
16120 as_mkdir_p
='mkdir -p "$as_dir"'
16122 test -d .
/-p && rmdir .
/-p
16126 if test -x / >/dev
/null
2>&1; then
16127 as_test_x
='test -x'
16129 if ls -dL / >/dev
/null
2>&1; then
16136 if test -d "$1"; then
16142 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16143 ???[sx]*):;;*)false;;esac;fi
16147 as_executable_p
=$as_test_x
16149 # Sed expression to map a string onto a valid CPP name.
16150 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16152 # Sed expression to map a string onto a valid variable name.
16153 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16157 ## ----------------------------------- ##
16158 ## Main body of $CONFIG_STATUS script. ##
16159 ## ----------------------------------- ##
16161 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16164 # Save the log message, to keep $0 and so on meaningful, and to
16165 # report actual input values of CONFIG_FILES etc. instead of their
16166 # values after options handling.
16168 This file was extended by Wine $as_me 1.5.2, which was
16169 generated by GNU Autoconf 2.68. Invocation command line was
16171 CONFIG_FILES = $CONFIG_FILES
16172 CONFIG_HEADERS = $CONFIG_HEADERS
16173 CONFIG_LINKS = $CONFIG_LINKS
16174 CONFIG_COMMANDS = $CONFIG_COMMANDS
16177 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16182 case $ac_config_files in *"
16183 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16186 case $ac_config_headers in *"
16187 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16192 # Files that config.status was made for.
16193 config_files="$ac_config_files"
16194 config_headers="$ac_config_headers"
16195 config_links="$ac_config_links"
16196 config_commands="$ac_config_commands"
16200 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16202 \`$as_me' instantiates files and other configuration actions
16203 from templates according to the current configuration. Unless the files
16204 and actions are specified as TAGs, all are instantiated by default.
16206 Usage: $0 [OPTION]... [TAG]...
16208 -h, --help print this help, then exit
16209 -V, --version print version number and configuration settings, then exit
16210 --config print configuration, then exit
16211 -q, --quiet, --silent
16212 do not print progress messages
16213 -d, --debug don't remove temporary files
16214 --recheck update $as_me by reconfiguring in the same conditions
16215 --file=FILE[:TEMPLATE]
16216 instantiate the configuration file FILE
16217 --header=FILE[:TEMPLATE]
16218 instantiate the configuration header FILE
16220 Configuration files:
16223 Configuration headers:
16226 Configuration links:
16229 Configuration commands:
16232 Report bugs to <wine-devel@winehq.org>.
16233 Wine home page: <http://www.winehq.org>."
16236 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16237 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16239 Wine config.status 1.5.2
16240 configured by $0, generated by GNU Autoconf 2.68,
16241 with options \\"\$ac_cs_config\\"
16243 Copyright (C) 2010 Free Software Foundation, Inc.
16244 This config.status script is free software; the Free Software Foundation
16245 gives unlimited permission to copy, distribute and modify it."
16250 test -n "\$AWK" || AWK=awk
16253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16254 # The default lists apply if the user does not specify any file.
16260 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16261 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16265 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16277 # Handling of the options.
16278 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16280 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16281 $as_echo "$ac_cs_version"; exit ;;
16282 --config |
--confi |
--conf |
--con |
--co |
--c )
16283 $as_echo "$ac_cs_config"; exit ;;
16284 --debug |
--debu |
--deb |
--de |
--d |
-d )
16286 --file |
--fil |
--fi |
--f )
16289 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16290 '') as_fn_error $?
"missing file argument" ;;
16292 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16293 ac_need_defaults
=false
;;
16294 --header |
--heade |
--head |
--hea )
16297 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16299 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16300 ac_need_defaults
=false
;;
16302 # Conflict between --help and --header
16303 as_fn_error $?
"ambiguous option: \`$1'
16304 Try \`$0 --help' for more information.";;
16305 --help |
--hel |
-h )
16306 $as_echo "$ac_cs_usage"; exit ;;
16307 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16308 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16311 # This is an error.
16312 -*) as_fn_error $?
"unrecognized option: \`$1'
16313 Try \`$0 --help' for more information." ;;
16315 *) as_fn_append ac_config_targets
" $1"
16316 ac_need_defaults
=false
;;
16322 ac_configure_extra_args
=
16324 if $ac_cs_silent; then
16326 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16330 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16331 if \$ac_cs_recheck; then
16332 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16334 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16335 CONFIG_SHELL='$SHELL'
16336 export CONFIG_SHELL
16341 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16345 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16346 ## Running $as_me. ##
16352 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16356 wine_fn_output_makefile ()
16358 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16359 $ALL_MAKEFILE_DEPENDS
16361 as_fn_error $? "could not create Makefile" "$LINENO" 5
16366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16368 # Handling of arguments.
16369 for ac_config_target
in $ac_config_targets
16371 case $ac_config_target in
16372 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16373 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16374 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16375 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16376 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16377 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16378 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16379 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16380 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16381 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16382 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16383 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16384 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16385 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16386 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16387 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16388 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16389 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16390 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16391 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16392 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16393 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16394 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16395 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16396 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16397 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16399 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16404 # If the user did not use the arguments to specify the items to instantiate,
16405 # then the envvar interface is used. Set only those that are not.
16406 # We use the long form for the default assignment because of an extremely
16407 # bizarre bug on SunOS 4.1.3.
16408 if $ac_need_defaults; then
16409 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16410 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16411 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16412 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16415 # Have a temporary directory for convenience. Make it in the build tree
16416 # simply because there is no reason against having it here, and in addition,
16417 # creating and moving files from /tmp can sometimes cause problems.
16418 # Hook for its removal unless debugging.
16419 # Note that there is a small window in which the directory will not be cleaned:
16420 # after its creation but before its name has been assigned to `$tmp'.
16424 trap 'exit_status=$?
16425 : "${ac_tmp:=$tmp}"
16426 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16428 trap 'as_fn_exit 1' 1 2 13 15
16430 # Create a (secure) tmp directory for tmp files.
16433 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16437 tmp
=.
/conf$$
-$RANDOM
16438 (umask 077 && mkdir
"$tmp")
16439 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16442 # Set up the scripts for CONFIG_FILES section.
16443 # No need to generate them if there are no CONFIG_FILES.
16444 # This happens for instance with `./config.status config.h'.
16445 if test -n "$CONFIG_FILES"; then
16447 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16448 ac_cs_awk_getline
=:
16449 ac_cs_awk_pipe_init
=
16450 ac_cs_awk_read_file
='
16451 while ((getline aline < (F[key])) > 0)
16454 ac_cs_awk_pipe_fini
=
16456 ac_cs_awk_getline
=false
16457 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16458 ac_cs_awk_read_file
='
16460 print "cat " F[key] " &&"
16461 '$ac_cs_awk_pipe_init
16462 # The final `:' finishes the AND list.
16463 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16465 ac_cr
=`echo X | tr X '\015'`
16466 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16467 # But we know of no other shell where ac_cr would be empty at this
16468 # point, so we can use a bashism as a fallback.
16469 if test "x$ac_cr" = x
; then
16470 eval ac_cr
=\$
\'\\r
\'
16472 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16473 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16476 ac_cs_awk_cr
=$ac_cr
16479 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16482 # Create commands to substitute file output variables.
16484 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16485 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16486 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16489 } >conf$
$files.sh
&&
16490 . .
/conf$
$files.sh ||
16491 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16492 rm -f conf$
$files.sh
16495 echo "cat >conf$$subs.awk <<_ACEOF" &&
16496 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16498 } >conf$$subs.sh ||
16499 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16500 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16502 for ac_last_try in false false false false false :; do
16503 . ./conf$$subs.sh ||
16504 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16506 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16507 if test $ac_delim_n = $ac_delim_num; then
16509 elif $ac_last_try; then
16510 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16512 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16515 rm -f conf$$subs.sh
16517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16518 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16522 s/^/S["/; s
/!.
*/"]=/
16532 s/\(.\{148\}\)..*/\1/
16534 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16539 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16546 s/\(.\{148\}\)..*/\1/
16548 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16552 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16557 ' <conf$$subs.awk | sed '
16562 ' >>$CONFIG_STATUS || ac_write_fail=1
16563 rm -f conf$$subs.awk
16564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16566 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16567 for (key in S) S_is_set[key] = 1
16569 \$ac_cs_awk_pipe_init
16573 nfields = split(line, field, "@
")
16575 len = length(field[1])
16576 for (i = 2; i < nfields; i++) {
16578 keylen = length(key)
16579 if (S_is_set[key]) {
16581 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16582 len += length(value) + length(field[++i])
16587 if (nfields == 3 && !substed) {
16589 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16590 \$ac_cs_awk_read_file
16596 \$ac_cs_awk_pipe_fini
16599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16600 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16601 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16604 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16605 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16608 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16609 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16610 # trailing colons and then remove the whole line if VPATH becomes empty
16611 # (actually we leave an empty line to preserve line numbers).
16612 if test "x
$srcdir" = x.; then
16613 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16631 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16632 fi # test -n "$CONFIG_FILES"
16634 # Set up the scripts for CONFIG_HEADERS section.
16635 # No need to generate them if there are no CONFIG_HEADERS.
16636 # This happens for instance with `./config.status Makefile'.
16637 if test -n "$CONFIG_HEADERS"; then
16638 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16642 # Transform confdefs.h into an awk script `defines.awk', embedded as
16643 # here-document in config.status, that substitutes the proper values into
16644 # config.h.in to produce config.h.
16646 # Create a delimiter string that does not exist in confdefs.h, to ease
16647 # handling of long lines.
16649 for ac_last_try in false false :; do
16650 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16651 if test -z "$ac_tt"; then
16653 elif $ac_last_try; then
16654 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16656 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16660 # For the awk script, D is an array of macro values keyed by name,
16661 # likewise P contains macro parameters if any. Preserve backslash
16662 # newline sequences.
16664 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16666 s/.\{148\}/&'"$ac_delim"'/g
16669 s/^[ ]*#[ ]*define[ ][ ]*/ /
16676 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16678 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16682 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16683 D["\
1"]=" \
3\\\\\\n
"\\/p
16685 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16690 s/.\{148\}/&'"$ac_delim"'/g
16695 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16698 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16700 ' <confdefs.h | sed '
16701 s/'"$ac_delim"'/"\\\
16702 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16705 for (key in D) D_is_set[key] = 1
16708 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16710 split(line, arg, " ")
16711 if (arg[1] == "#") {
16715 defundef
= substr
(arg
[1], 2)
16718 split(mac1
, mac2
, "(") #)
16720 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16721 if (D_is_set
[macro
]) {
16722 # Preserve the white space surrounding the "#".
16723 print prefix
"define", macro P
[macro
] D
[macro
]
16726 # Replace #undef with comments. This is necessary, for example,
16727 # in the case of _POSIX_SOURCE, which is predefined and required
16728 # on some systems where configure will not decide to define it.
16729 if (defundef
== "undef") {
16730 print
"/*", prefix defundef
, macro
, "*/"
16738 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16739 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16740 fi # test -n "$CONFIG_HEADERS"
16743 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16748 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16750 case $ac_mode$ac_tag in
16752 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16753 :[FH
]-) ac_tag
=-:-;;
16754 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16771 -) ac_f
="$ac_tmp/stdin";;
16772 *) # Look for the file first in the build tree, then in the source tree
16773 # (if the path is not absolute). The absolute path cannot be DOS-style,
16774 # because $ac_f cannot contain `:'.
16778 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16780 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16782 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16783 as_fn_append ac_file_inputs
" '$ac_f'"
16786 # Let's still pretend it is `configure' which instantiates (i.e., don't
16787 # use $as_me), people would be surprised to read:
16788 # /* config.h. Generated by config.status. */
16789 configure_input
='Generated from '`
16790 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16792 if test x
"$ac_file" != x-
; then
16793 configure_input
="$ac_file. $configure_input"
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16795 $as_echo "$as_me: creating $ac_file" >&6;}
16797 # Neutralize special characters interpreted by sed in replacement strings.
16798 case $configure_input in #(
16799 *\
&* |
*\|
* |
*\\* )
16800 ac_sed_conf_input
=`$as_echo "$configure_input" |
16801 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16802 *) ac_sed_conf_input
=$configure_input;;
16806 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16807 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16812 ac_dir
=`$as_dirname -- "$ac_file" ||
16813 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16814 X"$ac_file" : 'X\(//\)[^/]' \| \
16815 X"$ac_file" : 'X\(//\)$' \| \
16816 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16817 $as_echo X"$ac_file" |
16818 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16822 /^X\(\/\/\)[^/].*/{
16835 as_dir
="$ac_dir"; as_fn_mkdir_p
16839 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16841 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16842 # A ".." for each directory in $ac_dir_suffix.
16843 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16844 case $ac_top_builddir_sub in
16845 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16846 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16849 ac_abs_top_builddir
=$ac_pwd
16850 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16851 # for backward compatibility:
16852 ac_top_builddir
=$ac_top_build_prefix
16855 .
) # We are building in place.
16857 ac_top_srcdir
=$ac_top_builddir_sub
16858 ac_abs_top_srcdir
=$ac_pwd ;;
16859 [\\/]* | ?
:[\\/]* ) # Absolute name.
16860 ac_srcdir
=$srcdir$ac_dir_suffix;
16861 ac_top_srcdir
=$srcdir
16862 ac_abs_top_srcdir
=$srcdir ;;
16863 *) # Relative name.
16864 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16865 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16866 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16868 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16878 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16879 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16883 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16884 # If the template does not know about datarootdir, expand it.
16885 # FIXME: This hack should be removed a few years after 2.60.
16886 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16897 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16898 *datarootdir
*) ac_datarootdir_seen
=yes;;
16899 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16900 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16901 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16903 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16904 ac_datarootdir_hack='
16905 s&@datadir@&$datadir&g
16906 s&@docdir@&$docdir&g
16907 s&@infodir@&$infodir&g
16908 s&@localedir@&$localedir&g
16909 s&@mandir@&$mandir&g
16910 s&\\\${datarootdir}&$datarootdir&g' ;;
16914 # Neutralize VPATH when `$srcdir' = `.'.
16915 # Shell code in configure.ac might set extrasub.
16916 # FIXME: do we really want to maintain this feature?
16917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16918 ac_sed_extra="$ac_vpsub
16921 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16923 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16924 s|@configure_input@|
$ac_sed_conf_input|
;t t
16925 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16926 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16927 s
&@srcdir@
&$ac_srcdir&;t t
16928 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16929 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16930 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16931 s
&@builddir@
&$ac_builddir&;t t
16932 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16933 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16934 s
&@INSTALL@
&$ac_INSTALL&;t t
16935 $ac_datarootdir_hack
16937 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16938 if $ac_cs_awk_getline; then
16939 $AWK -f "$ac_tmp/subs.
awk"
16941 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16943 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16945 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16946 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16947 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16948 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16950 which seems to be undefined. Please make sure it is defined" >&5
16951 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16952 which seems to be undefined. Please make sure it is defined" >&2;}
16954 rm -f "$ac_tmp/stdin"
16956 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16957 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16965 if test x"$ac_file" != x-; then
16967 $as_echo "/* $configure_input */" \
16968 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16969 } >"$ac_tmp/config.h" \
16970 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16971 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16972 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16973 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16976 mv "$ac_tmp/config.h" "$ac_file" \
16977 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16980 $as_echo "/* $configure_input */" \
16981 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16982 || as_fn_error $? "could not create -" "$LINENO" 5
16990 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16993 # Prefer the file from the source tree if names are identical.
16994 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16995 ac_source=$srcdir/$ac_source
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16999 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17001 if test ! -r "$ac_source"; then
17002 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17006 # Try a relative symlink, then a hard link, then a copy.
17008 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17009 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17011 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17012 ln "$ac_source" "$ac_file" 2>/dev/null ||
17013 cp -p "$ac_source" "$ac_file" ||
17014 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17017 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17018 $as_echo "$as_me: executing $ac_file commands" >&6;}
17023 case $ac_file$ac_mode in
17024 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17025 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17026 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17027 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17028 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17029 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17030 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17031 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17032 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17033 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17034 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17035 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17036 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17037 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17038 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17039 "Makefile":C) wine_fn_output_makefile Makefile ;;
17047 ac_clean_files=$ac_clean_files_save
17049 test $ac_write_fail = 0 ||
17050 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17053 # configure is writing to config.log, and then calls config.status.
17054 # config.status does its own redirection, appending to config.log.
17055 # Unfortunately, on DOS this fails, as config.log is still kept open
17056 # by configure, so config.status won't be able to
write to it
; its
17057 # output is simply discarded. So we exec the FD to /dev/null,
17058 # effectively closing config.log, so it can be properly (re)opened and
17059 # appended to by config.status. When coming back to configure, we
17060 # need to make the FD available again.
17061 if test "$no_create" != yes; then
17063 ac_config_status_args
=
17064 test "$silent" = yes &&
17065 ac_config_status_args
="$ac_config_status_args --quiet"
17067 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17069 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17070 # would make configure fail if this is the last instruction.
17071 $ac_cs_success || as_fn_exit
1
17073 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17075 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17079 if test "$no_create" = "yes"
17085 if test "x$wine_notices != "x
; then
17088 for msg
in $wine_notices; do
17090 if test -n "$msg"; then
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17092 $as_echo "$as_me: $msg" >&6;}
17097 for msg
in $wine_warnings; do
17099 if test -n "$msg"; then
17101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17102 $as_echo "$as_me: WARNING: $msg" >&2;}
17108 $as_me: Finished. Do '${ac_make}' to compile Wine.