2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for Wine 1.3.37.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x
; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var
in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\
${$as_var+set} = xset \
124 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
137 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x
; then
140 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required
="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev
/null
; then :
183 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
186 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
188 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir
=.
195 for as_base
in sh bash ksh sh5
; do
196 # Try only shells that exist, to save several forks.
197 as_shell
=$as_dir/$as_base
198 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
200 CONFIG_SHELL
=$as_shell as_have_required
=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
209 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
211 CONFIG_SHELL
=$SHELL as_have_required
=yes
216 if test "x$CONFIG_SHELL" != x
; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
220 # Preserve -v and -x to the replacement shell.
223 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
226 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
231 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
234 if test x
$as_have_required = xno
; then :
235 $as_echo "$0: This script requires a shell more modern than all"
236 $as_echo "$0: the shells that I found on your system."
237 if test x
${ZSH_VERSION+set} = xset
; then
238 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
239 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
241 $as_echo "$0: Please tell bug-autoconf@gnu.org and
242 $0: wine-devel@winehq.org about your system, including any
243 $0: error possibly output before this message. Then install
244 $0: a modern shell, or manually run the script under such a
245 $0: shell if you do have one."
251 SHELL
=${CONFIG_SHELL-/bin/sh}
253 # Unset more variables known to interfere with behavior of common tools.
254 CLICOLOR_FORCE
= GREP_OPTIONS
=
255 unset CLICOLOR_FORCE GREP_OPTIONS
257 ## --------------------- ##
258 ## M4sh Shell Functions. ##
259 ## --------------------- ##
262 # Portably unset VAR.
265 { eval $1=; unset $1;}
269 # as_fn_set_status STATUS
270 # -----------------------
271 # Set $? to STATUS, without forking.
279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
289 # Create "$as_dir" as a directory, including parents if necessary.
294 -*) as_dir
=.
/$as_dir;;
296 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
300 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
303 as_dirs
="'$as_qdir' $as_dirs"
304 as_dir
=`$as_dirname -- "$as_dir" ||
305 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
306 X"$as_dir" : 'X\(//\)[^/]' \| \
307 X"$as_dir" : 'X\(//\)$' \| \
308 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
309 $as_echo X"$as_dir" |
310 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
327 test -d "$as_dir" && break
329 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
330 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
334 # as_fn_append VAR VALUE
335 # ----------------------
336 # Append the text in VALUE to the end of the definition contained in VAR. Take
337 # advantage of any shell optimizations that allow amortized linear growth over
338 # repeated appends, instead of the typical quadratic growth present in naive
340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
341 eval 'as_fn_append ()
354 # Perform arithmetic evaluation on the ARGs, and store the result in the
355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
356 # must be portable across $(()) and expr.
357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
365 as_val
=`expr "$@" || test $? -eq 1`
370 # as_fn_error STATUS ERROR [LINENO LOG_FD]
371 # ----------------------------------------
372 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
373 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
374 # script with STATUS, using 1 if that was 0.
377 as_status
=$1; test $as_status -eq 0 && as_status
=1
379 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
380 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
382 $as_echo "$as_me: error: $2" >&2
383 as_fn_exit
$as_status
386 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
387 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
393 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
399 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
405 as_me
=`$as_basename -- "$0" ||
406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
407 X"$0" : 'X\(//\)$' \| \
408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
410 sed '/^.*\/\([^/][^/]*\)\/*$/{
424 # Avoid depending upon Character Ranges.
425 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
426 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
427 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
428 as_cr_digits
='0123456789'
429 as_cr_alnum
=$as_cr_Letters$as_cr_digits
432 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
433 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
434 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
435 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
436 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
448 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
452 chmod +x
"$as_me.lineno" ||
453 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
455 # Don't try to exec as it changes $[0], causing all sort of problems
456 # (the dirname of $[0] is not the place where we might find the
457 # original and so on. Autoconf is especially sensitive to this).
459 # Exit status is that of the last command.
463 ECHO_C
= ECHO_N
= ECHO_T
=
464 case `echo -n x` in #(((((
466 case `echo 'xy\c'` in
467 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
469 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
476 rm -f conf$$ conf$$.exe conf$$.
file
477 if test -d conf$$.dir
; then
478 rm -f conf$$.dir
/conf$$.
file
481 mkdir conf$$.dir
2>/dev
/null
483 if (echo >conf$$.
file) 2>/dev
/null
; then
484 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
486 # ... but there are two gotchas:
487 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
488 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
489 # In both cases, we have to default to `cp -p'.
490 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
492 elif ln conf$$.
file conf$$
2>/dev
/null
; then
500 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
501 rmdir conf$$.dir
2>/dev
/null
503 if mkdir
-p .
2>/dev
/null
; then
504 as_mkdir_p
='mkdir -p "$as_dir"'
506 test -d .
/-p && rmdir .
/-p
510 if test -x / >/dev
/null
2>&1; then
513 if ls -dL / >/dev
/null
2>&1; then
520 if test -d "$1"; then
526 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
527 ???[sx]*):;;*)false;;esac;fi
531 as_executable_p
=$as_test_x
533 # Sed expression to map a string onto a valid CPP name.
534 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
536 # Sed expression to map a string onto a valid variable name.
537 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
540 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
544 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
545 # so uname gets run too.
546 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
551 ac_default_prefix
=/usr
/local
553 ac_config_libobj_dir
=.
560 # Identity of this package.
562 PACKAGE_TARNAME
='wine'
563 PACKAGE_VERSION
='1.3.37'
564 PACKAGE_STRING
='Wine 1.3.37'
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
669 APPLICATIONSERVICESLIB
758 program_transform_name
769 ac_subst_files
='MAKE_RULES
775 enable_option_checking
779 enable_maintainer_mode
827 ac_precious_vars
='build_alias
842 # Initialize some variables set by options.
844 ac_init_version
=false
845 ac_unrecognized_opts
=
847 # The variables have the same names as the options, with
848 # dashes changed to underlines.
856 program_transform_name
=s
,x
,x
,
864 # Installation directory options.
865 # These are left unexpanded so users can "make install exec_prefix=/foo"
866 # and all the variables that are supposed to be based on exec_prefix
867 # by default will actually change.
868 # Use braces instead of parens because sh, perl, etc. also accept them.
869 # (The list follows the same order as the GNU Coding Standards.)
870 bindir
='${exec_prefix}/bin'
871 sbindir
='${exec_prefix}/sbin'
872 libexecdir
='${exec_prefix}/libexec'
873 datarootdir
='${prefix}/share'
874 datadir
='${datarootdir}'
875 sysconfdir
='${prefix}/etc'
876 sharedstatedir
='${prefix}/com'
877 localstatedir
='${prefix}/var'
878 includedir
='${prefix}/include'
879 oldincludedir
='/usr/include'
880 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
881 infodir
='${datarootdir}/info'
886 libdir
='${exec_prefix}/lib'
887 localedir
='${datarootdir}/locale'
888 mandir
='${datarootdir}/man'
894 # If the previous option needs an argument, assign it.
895 if test -n "$ac_prev"; then
896 eval $ac_prev=\
$ac_option
902 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
907 # Accept the important Cygnus configure options, so we can diagnose typos.
909 case $ac_dashdash$ac_option in
913 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
915 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
918 -build |
--build |
--buil |
--bui |
--bu)
919 ac_prev
=build_alias
;;
920 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
921 build_alias
=$ac_optarg ;;
923 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
924 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
925 ac_prev
=cache_file
;;
926 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
927 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
928 cache_file
=$ac_optarg ;;
931 cache_file
=config.cache
;;
933 -datadir |
--datadir |
--datadi |
--datad)
935 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
936 datadir
=$ac_optarg ;;
938 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
939 |
--dataroo |
--dataro |
--datar)
940 ac_prev
=datarootdir
;;
941 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
942 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
943 datarootdir
=$ac_optarg ;;
945 -disable-* |
--disable-*)
946 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
947 # Reject names that are not valid shell variable names.
948 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
949 as_fn_error $?
"invalid feature name: $ac_useropt"
950 ac_useropt_orig
=$ac_useropt
951 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
952 case $ac_user_opts in
956 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
957 ac_unrecognized_sep
=', ';;
959 eval enable_
$ac_useropt=no
;;
961 -docdir |
--docdir |
--docdi |
--doc |
--do)
963 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
966 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
968 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
971 -enable-* |
--enable-*)
972 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
973 # Reject names that are not valid shell variable names.
974 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
975 as_fn_error $?
"invalid feature name: $ac_useropt"
976 ac_useropt_orig
=$ac_useropt
977 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
978 case $ac_user_opts in
982 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
983 ac_unrecognized_sep
=', ';;
985 eval enable_
$ac_useropt=\
$ac_optarg ;;
987 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
988 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
989 |
--exec |
--exe |
--ex)
990 ac_prev
=exec_prefix
;;
991 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
992 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
993 |
--exec=* |
--exe=* |
--ex=*)
994 exec_prefix
=$ac_optarg ;;
996 -gas |
--gas |
--ga |
--g)
997 # Obsolete; use --with-gas.
1000 -help |
--help |
--hel |
--he |
-h)
1001 ac_init_help
=long
;;
1002 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1003 ac_init_help
=recursive
;;
1004 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1005 ac_init_help
=short
;;
1007 -host |
--host |
--hos |
--ho)
1008 ac_prev
=host_alias
;;
1009 -host=* |
--host=* |
--hos=* |
--ho=*)
1010 host_alias
=$ac_optarg ;;
1012 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1014 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1016 htmldir
=$ac_optarg ;;
1018 -includedir |
--includedir |
--includedi |
--included |
--include \
1019 |
--includ |
--inclu |
--incl |
--inc)
1020 ac_prev
=includedir
;;
1021 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1022 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1023 includedir
=$ac_optarg ;;
1025 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1027 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1028 infodir
=$ac_optarg ;;
1030 -libdir |
--libdir |
--libdi |
--libd)
1032 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1033 libdir
=$ac_optarg ;;
1035 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1036 |
--libexe |
--libex |
--libe)
1037 ac_prev
=libexecdir
;;
1038 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1039 |
--libexe=* |
--libex=* |
--libe=*)
1040 libexecdir
=$ac_optarg ;;
1042 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1043 ac_prev
=localedir
;;
1044 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1045 localedir
=$ac_optarg ;;
1047 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1048 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1049 ac_prev
=localstatedir
;;
1050 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1051 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1052 localstatedir
=$ac_optarg ;;
1054 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1056 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1057 mandir
=$ac_optarg ;;
1059 -nfp |
--nfp |
--nf)
1060 # Obsolete; use --without-fp.
1063 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1064 |
--no-cr |
--no-c |
-n)
1067 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1068 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1071 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1072 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1073 |
--oldin |
--oldi |
--old |
--ol |
--o)
1074 ac_prev
=oldincludedir
;;
1075 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1076 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1077 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1078 oldincludedir
=$ac_optarg ;;
1080 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1082 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1083 prefix
=$ac_optarg ;;
1085 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1086 |
--program-pre |
--program-pr |
--program-p)
1087 ac_prev
=program_prefix
;;
1088 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1089 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1090 program_prefix
=$ac_optarg ;;
1092 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1093 |
--program-suf |
--program-su |
--program-s)
1094 ac_prev
=program_suffix
;;
1095 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1096 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1097 program_suffix
=$ac_optarg ;;
1099 -program-transform-name |
--program-transform-name \
1100 |
--program-transform-nam |
--program-transform-na \
1101 |
--program-transform-n |
--program-transform- \
1102 |
--program-transform |
--program-transfor \
1103 |
--program-transfo |
--program-transf \
1104 |
--program-trans |
--program-tran \
1105 |
--progr-tra |
--program-tr |
--program-t)
1106 ac_prev
=program_transform_name
;;
1107 -program-transform-name=* |
--program-transform-name=* \
1108 |
--program-transform-nam=* |
--program-transform-na=* \
1109 |
--program-transform-n=* |
--program-transform-=* \
1110 |
--program-transform=* |
--program-transfor=* \
1111 |
--program-transfo=* |
--program-transf=* \
1112 |
--program-trans=* |
--program-tran=* \
1113 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1114 program_transform_name
=$ac_optarg ;;
1116 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1118 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1119 pdfdir
=$ac_optarg ;;
1121 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1123 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1126 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1127 |
-silent |
--silent |
--silen |
--sile |
--sil)
1130 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1132 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1134 sbindir
=$ac_optarg ;;
1136 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1137 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1138 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1140 ac_prev
=sharedstatedir
;;
1141 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1142 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1143 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1145 sharedstatedir
=$ac_optarg ;;
1147 -site |
--site |
--sit)
1149 -site=* |
--site=* |
--sit=*)
1152 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1154 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1155 srcdir
=$ac_optarg ;;
1157 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1158 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1159 ac_prev
=sysconfdir
;;
1160 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1161 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1162 sysconfdir
=$ac_optarg ;;
1164 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1165 ac_prev
=target_alias
;;
1166 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1167 target_alias
=$ac_optarg ;;
1169 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1172 -version |
--version |
--versio |
--versi |
--vers |
-V)
1173 ac_init_version
=: ;;
1176 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1177 # Reject names that are not valid shell variable names.
1178 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1179 as_fn_error $?
"invalid package name: $ac_useropt"
1180 ac_useropt_orig
=$ac_useropt
1181 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1182 case $ac_user_opts in
1186 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1187 ac_unrecognized_sep
=', ';;
1189 eval with_
$ac_useropt=\
$ac_optarg ;;
1191 -without-* |
--without-*)
1192 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1193 # Reject names that are not valid shell variable names.
1194 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1195 as_fn_error $?
"invalid package name: $ac_useropt"
1196 ac_useropt_orig
=$ac_useropt
1197 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1198 case $ac_user_opts in
1202 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1203 ac_unrecognized_sep
=', ';;
1205 eval with_
$ac_useropt=no
;;
1208 # Obsolete; use --with-x.
1211 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1212 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1213 ac_prev
=x_includes
;;
1214 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1215 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1216 x_includes
=$ac_optarg ;;
1218 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1219 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1220 ac_prev
=x_libraries
;;
1221 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1222 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1223 x_libraries
=$ac_optarg ;;
1225 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1226 Try \`$0 --help' for more information"
1230 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1231 # Reject names that are not valid shell variable names.
1232 case $ac_envvar in #(
1233 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1234 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1236 eval $ac_envvar=\
$ac_optarg
1237 export $ac_envvar ;;
1240 # FIXME: should be removed in autoconf 3.0.
1241 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1242 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1243 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1244 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1250 if test -n "$ac_prev"; then
1251 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1252 as_fn_error $?
"missing argument to $ac_option"
1255 if test -n "$ac_unrecognized_opts"; then
1256 case $enable_option_checking in
1258 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1259 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1263 # Check all directory arguments for consistency.
1264 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1265 datadir sysconfdir sharedstatedir localstatedir includedir \
1266 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1267 libdir localedir mandir
1269 eval ac_val
=\$
$ac_var
1270 # Remove trailing slashes.
1273 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1274 eval $ac_var=\
$ac_val;;
1276 # Be sure to have absolute directory names.
1278 [\\/$
]* | ?
:[\\/]* ) continue;;
1279 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1281 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1284 # There might be people who depend on the old broken behavior: `$host'
1285 # used to hold the argument of --host etc.
1286 # FIXME: To remove some day.
1289 target
=$target_alias
1291 # FIXME: To remove some day.
1292 if test "x$host_alias" != x
; then
1293 if test "x$build_alias" = x
; then
1294 cross_compiling
=maybe
1295 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1296 If a cross compiler is detected then cross compile mode will be used" >&2
1297 elif test "x$build_alias" != "x$host_alias"; then
1303 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1305 test "$silent" = yes && exec 6>/dev
/null
1308 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1309 ac_ls_di
=`ls -di .` &&
1310 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1311 as_fn_error $?
"working directory cannot be determined"
1312 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1313 as_fn_error $?
"pwd does not report name of working directory"
1316 # Find the source files, if location was not specified.
1317 if test -z "$srcdir"; then
1318 ac_srcdir_defaulted
=yes
1319 # Try the directory containing this script, then the parent directory.
1320 ac_confdir
=`$as_dirname -- "$as_myself" ||
1321 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1322 X"$as_myself" : 'X\(//\)[^/]' \| \
1323 X"$as_myself" : 'X\(//\)$' \| \
1324 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1325 $as_echo X"$as_myself" |
1326 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1348 ac_srcdir_defaulted
=no
1350 if test ! -r "$srcdir/$ac_unique_file"; then
1351 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1352 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1354 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1356 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1358 # When building in place, set srcdir=.
1359 if test "$ac_abs_confdir" = "$ac_pwd"; then
1362 # Remove unnecessary trailing slashes from srcdir.
1363 # Double slashes in file names in object file debugging info
1364 # mess up M-x gdb in Emacs.
1366 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1368 for ac_var
in $ac_precious_vars; do
1369 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1370 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1371 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1372 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1376 # Report the --help message.
1378 if test "$ac_init_help" = "long"; then
1379 # Omit some internal or obsolete options to make the list less imposing.
1380 # This message is too long to be a string in the A/UX 3.1 sh.
1382 \`configure' configures Wine 1.3.37 to adapt to many kinds of systems.
1384 Usage: $0 [OPTION]... [VAR=VALUE]...
1386 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1387 VAR=VALUE. See below for descriptions of some of the useful variables.
1389 Defaults for the options are specified in brackets.
1392 -h, --help display this help and exit
1393 --help=short display options specific to this package
1394 --help=recursive display the short help of all the included packages
1395 -V, --version display version information and exit
1396 -q, --quiet, --silent do not print \`checking ...' messages
1397 --cache-file=FILE cache test results in FILE [disabled]
1398 -C, --config-cache alias for \`--cache-file=config.cache'
1399 -n, --no-create do not create output files
1400 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1402 Installation directories:
1403 --prefix=PREFIX install architecture-independent files in PREFIX
1404 [$ac_default_prefix]
1405 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1408 By default, \`make install' will install all the files in
1409 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1410 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1411 for instance \`--prefix=\$HOME'.
1413 For better control, use the options below.
1415 Fine tuning of the installation directories:
1416 --bindir=DIR user executables [EPREFIX/bin]
1417 --sbindir=DIR system admin executables [EPREFIX/sbin]
1418 --libexecdir=DIR program executables [EPREFIX/libexec]
1419 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1420 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1421 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1422 --libdir=DIR object code libraries [EPREFIX/lib]
1423 --includedir=DIR C header files [PREFIX/include]
1424 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1425 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1426 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1427 --infodir=DIR info documentation [DATAROOTDIR/info]
1428 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1429 --mandir=DIR man documentation [DATAROOTDIR/man]
1430 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1431 --htmldir=DIR html documentation [DOCDIR]
1432 --dvidir=DIR dvi documentation [DOCDIR]
1433 --pdfdir=DIR pdf documentation [DOCDIR]
1434 --psdir=DIR ps documentation [DOCDIR]
1440 --x-includes=DIR X include files are
in DIR
1441 --x-libraries=DIR X library files are
in DIR
1444 --build=BUILD configure
for building on BUILD
[guessed
]
1445 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1449 if test -n "$ac_init_help"; then
1450 case $ac_init_help in
1451 short | recursive
) echo "Configuration of Wine 1.3.37:";;
1456 --disable-option-checking ignore unrecognized
--enable/--with options
1457 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1458 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1459 --disable-win16 do not include Win16 support
1460 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1462 --disable-tests do not build the regression tests
1463 --enable-maintainer-mode
1464 enable maintainer-specific build rules
1465 --disable-largefile omit support for large files
1468 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1469 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1470 --without-alsa do not use the Alsa sound support
1471 --without-capi do not use CAPI (ISDN support)
1472 --without-cms do not use CMS (color management support)
1473 --without-coreaudio do not use the CoreAudio sound support
1474 --without-cups do not use CUPS
1475 --without-curses do not use (n)curses
1476 --without-dbus do not use DBus (dynamic device support)
1477 --without-fontconfig do not use fontconfig
1478 --without-freetype do not use the FreeType library
1479 --without-gettext do not use gettext
1480 --with-gettextpo use the GetTextPO library to rebuild po files
1481 --without-gphoto do not use gphoto (Digital Camera support)
1482 --without-glu do not use the GLU library
1483 --without-gnutls do not use GnuTLS (schannel support)
1484 --without-gsm do not use libgsm (GSM 06.10 codec support)
1485 --without-gstreamer do not use GStreamer (codecs support)
1486 --without-hal do not use HAL (dynamic device support)
1487 --without-jpeg do not use JPEG
1488 --without-ldap do not use LDAP
1489 --without-mpg123 do not use the mpg123 library
1490 --without-openal do not use OpenAL
1491 --without-opencl do not use OpenCL
1492 --without-opengl do not use OpenGL
1493 --without-openssl do not use OpenSSL
1494 --without-oss do not use the OSS sound support
1495 --without-png do not use PNG
1496 --without-pthread do not use the pthread library
1497 --without-sane do not use SANE (scanner support)
1498 --without-tiff do not use TIFF
1499 --without-v4l do not use v4l1 (v4l support)
1500 --without-xcomposite do not use the Xcomposite extension
1501 --without-xcursor do not use the Xcursor extension
1502 --without-xinerama do not use Xinerama (multi-monitor support)
1503 --without-xinput do not use the Xinput extension
1504 --without-xinput2 do not use the Xinput 2 extension
1505 --without-xml do not use XML
1506 --without-xrandr do not use Xrandr (resolution changes)
1507 --without-xrender do not use the Xrender extension
1508 --without-xshape do not use the Xshape extension
1509 --without-xslt do not use XSLT
1510 --without-xxf86vm do not use XFree video mode extension
1511 --without-zlib do not use Zlib (data compression)
1512 --with-wine-tools=DIR use Wine tools from directory DIR
1513 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1514 --with-x use the X Window System
1516 Some influential environment variables:
1517 CC C compiler command
1518 CFLAGS C compiler flags
1519 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1520 nonstandard directory <lib dir>
1521 LIBS libraries to pass to the linker, e.g. -l<library>
1522 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1523 you have headers in a nonstandard directory <include dir>
1524 CXX C++ compiler command
1525 CXXFLAGS C++ compiler flags
1527 XMKMF Path to xmkmf, Makefile generator for X Window System
1529 Use these variables to override the choices made by `configure' or to
help
1530 it to
find libraries and programs with nonstandard names
/locations.
1532 Report bugs to
<wine-devel@winehq.org
>.
1533 Wine home page
: <http
://www.winehq.org
>.
1538 if test "$ac_init_help" = "recursive"; then
1539 # If there are subdirs, report their specific --help.
1540 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1541 test -d "$ac_dir" ||
1542 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1547 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1549 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1550 # A ".." for each directory in $ac_dir_suffix.
1551 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1552 case $ac_top_builddir_sub in
1553 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1554 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1557 ac_abs_top_builddir
=$ac_pwd
1558 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1559 # for backward compatibility:
1560 ac_top_builddir
=$ac_top_build_prefix
1563 .
) # We are building in place.
1565 ac_top_srcdir
=$ac_top_builddir_sub
1566 ac_abs_top_srcdir
=$ac_pwd ;;
1567 [\\/]* | ?
:[\\/]* ) # Absolute name.
1568 ac_srcdir
=$srcdir$ac_dir_suffix;
1569 ac_top_srcdir
=$srcdir
1570 ac_abs_top_srcdir
=$srcdir ;;
1572 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1573 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1574 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1576 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1578 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1579 # Check for guested configure.
1580 if test -f "$ac_srcdir/configure.gnu"; then
1582 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1583 elif test -f "$ac_srcdir/configure"; then
1585 $SHELL "$ac_srcdir/configure" --help=recursive
1587 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1589 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1593 test -n "$ac_init_help" && exit $ac_status
1594 if $ac_init_version; then
1596 Wine configure
1.3.37
1597 generated by GNU Autoconf
2.68
1599 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1600 This configure
script is free software
; the Free Software Foundation
1601 gives unlimited permission to copy
, distribute and modify it.
1606 ## ------------------------ ##
1607 ## Autoconf initialization. ##
1608 ## ------------------------ ##
1610 # ac_fn_c_try_compile LINENO
1611 # --------------------------
1612 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1613 ac_fn_c_try_compile
()
1615 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1616 rm -f conftest.
$ac_objext
1617 if { { ac_try
="$ac_compile"
1619 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1620 *) ac_try_echo=$ac_try;;
1622 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1623 $as_echo "$ac_try_echo"; } >&5
1624 (eval "$ac_compile") 2>conftest.err
1626 if test -s conftest.err; then
1627 grep -v '^ *+' conftest.err >conftest.er1
1628 cat conftest.er1 >&5
1629 mv -f conftest.er1 conftest.err
1631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1632 test $ac_status = 0; } && {
1633 test -z "$ac_c_werror_flag" ||
1634 test ! -s conftest.err
1635 } && test -s conftest.$ac_objext; then :
1638 $as_echo "$as_me: failed program was:" >&5
1639 sed 's/^/| /' conftest.$ac_ext >&5
1643 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1644 as_fn_set_status $ac_retval
1646 } # ac_fn_c_try_compile
1648 # ac_fn_cxx_try_compile LINENO
1649 # ----------------------------
1650 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1651 ac_fn_cxx_try_compile ()
1653 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1654 rm -f conftest.$ac_objext
1655 if { { ac_try="$ac_compile"
1657 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1658 *) ac_try_echo
=$ac_try;;
1660 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1661 $as_echo "$ac_try_echo"; } >&5
1662 (eval "$ac_compile") 2>conftest.err
1664 if test -s conftest.err
; then
1665 grep -v '^ *+' conftest.err
>conftest.er1
1666 cat conftest.er1
>&5
1667 mv -f conftest.er1 conftest.err
1669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1670 test $ac_status = 0; } && {
1671 test -z "$ac_cxx_werror_flag" ||
1672 test ! -s conftest.err
1673 } && test -s conftest.
$ac_objext; then :
1676 $as_echo "$as_me: failed program was:" >&5
1677 sed 's/^/| /' conftest.
$ac_ext >&5
1681 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1682 as_fn_set_status
$ac_retval
1684 } # ac_fn_cxx_try_compile
1686 # ac_fn_c_try_link LINENO
1687 # -----------------------
1688 # Try to link conftest.$ac_ext, and return whether this succeeded.
1691 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1692 rm -f conftest.
$ac_objext conftest
$ac_exeext
1693 if { { ac_try
="$ac_link"
1695 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1696 *) ac_try_echo=$ac_try;;
1698 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1699 $as_echo "$ac_try_echo"; } >&5
1700 (eval "$ac_link") 2>conftest.err
1702 if test -s conftest.err; then
1703 grep -v '^ *+' conftest.err >conftest.er1
1704 cat conftest.er1 >&5
1705 mv -f conftest.er1 conftest.err
1707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1708 test $ac_status = 0; } && {
1709 test -z "$ac_c_werror_flag" ||
1710 test ! -s conftest.err
1711 } && test -s conftest$ac_exeext && {
1712 test "$cross_compiling" = yes ||
1713 $as_test_x conftest$ac_exeext
1717 $as_echo "$as_me: failed program was:" >&5
1718 sed 's/^/| /' conftest.$ac_ext >&5
1722 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1723 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1724 # interfere with the next link command; also delete a directory that is
1725 # left behind by Apple's compiler. We do this before executing the actions.
1726 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1727 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1728 as_fn_set_status $ac_retval
1730 } # ac_fn_c_try_link
1732 # ac_fn_c_try_cpp LINENO
1733 # ----------------------
1734 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1737 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1738 if { { ac_try="$ac_cpp conftest.$ac_ext"
1740 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1741 *) ac_try_echo
=$ac_try;;
1743 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1744 $as_echo "$ac_try_echo"; } >&5
1745 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1747 if test -s conftest.err
; then
1748 grep -v '^ *+' conftest.err
>conftest.er1
1749 cat conftest.er1
>&5
1750 mv -f conftest.er1 conftest.err
1752 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1753 test $ac_status = 0; } > conftest.i
&& {
1754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1755 test ! -s conftest.err
1759 $as_echo "$as_me: failed program was:" >&5
1760 sed 's/^/| /' conftest.
$ac_ext >&5
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 as_fn_set_status
$ac_retval
1769 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1770 # -------------------------------------------------------
1771 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1772 # the include files in INCLUDES and setting the cache variable VAR
1774 ac_fn_c_check_header_mongrel
()
1776 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1777 if eval \
${$3+:} false
; then :
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1779 $as_echo_n "checking for $2... " >&6; }
1780 if eval \
${$3+:} false
; then :
1781 $as_echo_n "(cached) " >&6
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1785 $as_echo "$ac_res" >&6; }
1787 # Is the header compilable?
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1789 $as_echo_n "checking $2 usability... " >&6; }
1790 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1791 /* end confdefs.h. */
1795 if ac_fn_c_try_compile
"$LINENO"; then :
1796 ac_header_compiler
=yes
1798 ac_header_compiler
=no
1800 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1802 $as_echo "$ac_header_compiler" >&6; }
1804 # Is the header present?
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1806 $as_echo_n "checking $2 presence... " >&6; }
1807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1808 /* end confdefs.h. */
1811 if ac_fn_c_try_cpp
"$LINENO"; then :
1812 ac_header_preproc
=yes
1814 ac_header_preproc
=no
1816 rm -f conftest.err conftest.i conftest.
$ac_ext
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1818 $as_echo "$ac_header_preproc" >&6; }
1820 # So? What about this header?
1821 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1824 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1826 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1830 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1832 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1834 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1836 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1838 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1839 ( $as_echo "## ------------------------------------ ##
1840 ## Report this to wine-devel@winehq.org ##
1841 ## ------------------------------------ ##"
1842 ) |
sed "s/^/$as_me: WARNING: /" >&2
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1846 $as_echo_n "checking for $2... " >&6; }
1847 if eval \
${$3+:} false
; then :
1848 $as_echo_n "(cached) " >&6
1850 eval "$3=\$ac_header_compiler"
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1854 $as_echo "$ac_res" >&6; }
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 } # ac_fn_c_check_header_mongrel
1860 # ac_fn_c_try_run LINENO
1861 # ----------------------
1862 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1863 # that executables *can* be run.
1866 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1867 if { { ac_try
="$ac_link"
1869 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_link") 2>&5
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1878 { { case "(($ac_try" in
1879 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1880 *) ac_try_echo
=$ac_try;;
1882 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1883 $as_echo "$ac_try_echo"; } >&5
1884 (eval "$ac_try") 2>&5
1886 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1887 test $ac_status = 0; }; }; then :
1890 $as_echo "$as_me: program exited with status $ac_status" >&5
1891 $as_echo "$as_me: failed program was:" >&5
1892 sed 's/^/| /' conftest.
$ac_ext >&5
1894 ac_retval
=$ac_status
1896 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1897 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1898 as_fn_set_status
$ac_retval
1902 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1903 # -------------------------------------------------------
1904 # Tests whether HEADER exists and can be compiled using the include files in
1905 # INCLUDES, setting the cache variable VAR accordingly.
1906 ac_fn_c_check_header_compile
()
1908 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1910 $as_echo_n "checking for $2... " >&6; }
1911 if eval \
${$3+:} false
; then :
1912 $as_echo_n "(cached) " >&6
1914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1919 if ac_fn_c_try_compile
"$LINENO"; then :
1924 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1928 $as_echo "$ac_res" >&6; }
1929 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1931 } # ac_fn_c_check_header_compile
1933 # ac_fn_c_check_func LINENO FUNC VAR
1934 # ----------------------------------
1935 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1936 ac_fn_c_check_func
()
1938 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \
${$3+:} false
; then :
1942 $as_echo_n "(cached) " >&6
1944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1956 # include <limits.h>
1958 # include <assert.h>
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1985 if ac_fn_c_try_link
"$LINENO"; then :
1990 rm -f core conftest.err conftest.
$ac_objext \
1991 conftest
$ac_exeext conftest.
$ac_ext
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1998 } # ac_fn_c_check_func
2000 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2001 # ----------------------------------------------------
2002 # Tries to find if the field MEMBER exists in type AGGR, after including
2003 # INCLUDES, setting cache variable VAR accordingly.
2004 ac_fn_c_check_member
()
2006 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2008 $as_echo_n "checking for $2.$3... " >&6; }
2009 if eval \
${$4+:} false
; then :
2010 $as_echo_n "(cached) " >&6
2012 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2013 /* end confdefs.h. */
2025 if ac_fn_c_try_compile
"$LINENO"; then :
2028 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2029 /* end confdefs.h. */
2035 if (sizeof ac_aggr.$3)
2041 if ac_fn_c_try_compile
"$LINENO"; then :
2046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2048 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2052 $as_echo "$ac_res" >&6; }
2053 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2055 } # ac_fn_c_check_member
2057 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2058 # -------------------------------------------
2059 # Tests whether TYPE exists after having included INCLUDES, setting cache
2060 # variable VAR accordingly.
2061 ac_fn_c_check_type
()
2063 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2065 $as_echo_n "checking for $2... " >&6; }
2066 if eval \
${$3+:} false
; then :
2067 $as_echo_n "(cached) " >&6
2070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2071 /* end confdefs.h. */
2082 if ac_fn_c_try_compile
"$LINENO"; then :
2083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2084 /* end confdefs.h. */
2095 if ac_fn_c_try_compile
"$LINENO"; then :
2100 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2106 $as_echo "$ac_res" >&6; }
2107 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2109 } # ac_fn_c_check_type
2110 cat >config.log
<<_ACEOF
2111 This file contains any messages produced by compilers while
2112 running configure, to aid debugging if configure makes a mistake.
2114 It was created by Wine $as_me 1.3.37, which was
2115 generated by GNU Autoconf 2.68. Invocation command line was
2127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2146 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2150 test -z "$as_dir" && as_dir
=.
2151 $as_echo "PATH: $as_dir"
2167 # Keep a trace of the command line.
2168 # Strip out --no-create and --no-recursion so they do not pile up.
2169 # Strip out --silent because we don't want to record it for future runs.
2170 # Also quote any args containing shell meta-characters.
2171 # Make two passes to allow for proper duplicate-argument suppression.
2175 ac_must_keep_next
=false
2181 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2182 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2183 |
-silent |
--silent |
--silen |
--sile |
--sil)
2186 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2189 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2191 as_fn_append ac_configure_args1
" '$ac_arg'"
2192 if test $ac_must_keep_next = true
; then
2193 ac_must_keep_next
=false
# Got value, back to normal.
2196 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2197 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2198 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2199 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2200 case "$ac_configure_args0 " in
2201 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2204 -* ) ac_must_keep_next
=true
;;
2207 as_fn_append ac_configure_args
" '$ac_arg'"
2212 { ac_configure_args0
=; unset ac_configure_args0
;}
2213 { ac_configure_args1
=; unset ac_configure_args1
;}
2215 # When interrupted or exit'd, cleanup temporary files, and complete
2216 # config.log. We remove comments because anyway the quotes in there
2217 # would cause problems or look ugly.
2218 # WARNING: Use '\'' to represent an apostrophe within the trap.
2219 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2220 trap 'exit_status=$?
2221 # Save into config.log some information that might help in debugging.
2225 $as_echo "## ---------------- ##
2226 ## Cache variables. ##
2227 ## ---------------- ##"
2229 # The following way of writing the cache mishandles newlines in values,
2231 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2232 eval ac_val=\$$ac_var
2236 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2237 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2240 _ | IFS | as_nl) ;; #(
2241 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2242 *) { eval $ac_var=; unset $ac_var;} ;;
2247 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2248 *${as_nl}ac_space=\ *)
2250 "s/'\''/'\''\\\\'\'''\''/g;
2251 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2254 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2261 $as_echo "## ----------------- ##
2262 ## Output variables. ##
2263 ## ----------------- ##"
2265 for ac_var in $ac_subst_vars
2267 eval ac_val=\$$ac_var
2269 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 $as_echo "$ac_var='\''$ac_val'\''"
2275 if test -n "$ac_subst_files"; then
2276 $as_echo "## ------------------- ##
2277 ## File substitutions. ##
2278 ## ------------------- ##"
2280 for ac_var
in $ac_subst_files
2282 eval ac_val
=\$
$ac_var
2284 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2286 $as_echo "$ac_var='\''$ac_val'\''"
2291 if test -s confdefs.h; then
2292 $as_echo "## ----------- ##
2299 test "$ac_signal" != 0 &&
2300 $as_echo "$as_me: caught signal $ac_signal"
2301 $as_echo "$as_me: exit $exit_status"
2303 rm -f core *.core core.conftest.* &&
2304 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2307 for ac_signal
in 1 2 13 15; do
2308 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2312 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2313 rm -f -r conftest
* confdefs.h
2315 $as_echo "/* confdefs.h */" > confdefs.h
2317 # Predefined preprocessor variables.
2319 cat >>confdefs.h
<<_ACEOF
2320 #define PACKAGE_NAME "$PACKAGE_NAME"
2323 cat >>confdefs.h
<<_ACEOF
2324 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2327 cat >>confdefs.h
<<_ACEOF
2328 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2331 cat >>confdefs.h
<<_ACEOF
2332 #define PACKAGE_STRING "$PACKAGE_STRING"
2335 cat >>confdefs.h
<<_ACEOF
2336 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE_URL "$PACKAGE_URL"
2344 # Let the site file select an alternate cache file if it wants to.
2345 # Prefer an explicitly selected file to automatically selected ones.
2348 if test -n "$CONFIG_SITE"; then
2349 # We do not want a PATH search for config.site.
2350 case $CONFIG_SITE in #((
2351 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2352 */*) ac_site_file1
=$CONFIG_SITE;;
2353 *) ac_site_file1
=.
/$CONFIG_SITE;;
2355 elif test "x$prefix" != xNONE
; then
2356 ac_site_file1
=$prefix/share
/config.site
2357 ac_site_file2
=$prefix/etc
/config.site
2359 ac_site_file1
=$ac_default_prefix/share
/config.site
2360 ac_site_file2
=$ac_default_prefix/etc
/config.site
2362 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2364 test "x$ac_site_file" = xNONE
&& continue
2365 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2367 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2368 sed 's/^/| /' "$ac_site_file" >&5
2370 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2372 as_fn_error $?
"failed to load site script $ac_site_file
2373 See \`config.log' for more details" "$LINENO" 5; }
2377 if test -r "$cache_file"; then
2378 # Some versions of bash will fail to source /dev/null (special files
2379 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2380 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2382 $as_echo "$as_me: loading cache $cache_file" >&6;}
2384 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2385 *) .
"./$cache_file";;
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2390 $as_echo "$as_me: creating cache $cache_file" >&6;}
2394 # Check that the precious variables saved in the cache have kept the same
2396 ac_cache_corrupted
=false
2397 for ac_var
in $ac_precious_vars; do
2398 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2399 eval ac_new_set
=\
$ac_env_${ac_var}_set
2400 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2401 eval ac_new_val
=\
$ac_env_${ac_var}_value
2402 case $ac_old_set,$ac_new_set in
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2405 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2406 ac_cache_corrupted
=: ;;
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2409 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2410 ac_cache_corrupted
=: ;;
2413 if test "x$ac_old_val" != "x$ac_new_val"; then
2414 # differences in whitespace do not lead to failure.
2415 ac_old_val_w
=`echo x $ac_old_val`
2416 ac_new_val_w
=`echo x $ac_new_val`
2417 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2419 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2420 ac_cache_corrupted
=:
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2423 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2424 eval $ac_var=\
$ac_old_val
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2427 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2429 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2432 # Pass precious variables to config.status.
2433 if test "$ac_new_set" = set; then
2435 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2436 *) ac_arg
=$ac_var=$ac_new_val ;;
2438 case " $ac_configure_args " in
2439 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2440 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2444 if $ac_cache_corrupted; then
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2447 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2448 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2449 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2451 ## -------------------- ##
2452 ## Main body of script. ##
2453 ## -------------------- ##
2456 ac_cpp
='$CPP $CPPFLAGS'
2457 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2458 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2459 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2463 ac_config_headers
="$ac_config_headers include/config.h"
2466 for ac_dir
in tools
"$srcdir"/tools
; do
2467 if test -f "$ac_dir/install-sh"; then
2469 ac_install_sh
="$ac_aux_dir/install-sh -c"
2471 elif test -f "$ac_dir/install.sh"; then
2473 ac_install_sh
="$ac_aux_dir/install.sh -c"
2475 elif test -f "$ac_dir/shtool"; then
2477 ac_install_sh
="$ac_aux_dir/shtool install -c"
2481 if test -z "$ac_aux_dir"; then
2482 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2485 # These three variables are undocumented and unsupported,
2486 # and are intended to be withdrawn in a future Autoconf release.
2487 # They can cause serious problems if a builder's source tree is in a directory
2488 # whose full name contains unusual characters.
2489 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2490 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2491 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2497 # Check whether --enable-win16 was given.
2498 if test "${enable_win16+set}" = set; then :
2499 enableval
=$enable_win16;
2502 # Check whether --enable-win64 was given.
2503 if test "${enable_win64+set}" = set; then :
2504 enableval
=$enable_win64;
2507 # Check whether --enable-tests was given.
2508 if test "${enable_tests+set}" = set; then :
2509 enableval
=$enable_tests;
2512 # Check whether --enable-maintainer-mode was given.
2513 if test "${enable_maintainer_mode+set}" = set; then :
2514 enableval
=$enable_maintainer_mode;
2519 # Check whether --with-alsa was given.
2520 if test "${with_alsa+set}" = set; then :
2521 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2525 # Check whether --with-capi was given.
2526 if test "${with_capi+set}" = set; then :
2527 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2531 # Check whether --with-cms was given.
2532 if test "${with_cms+set}" = set; then :
2533 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2537 # Check whether --with-coreaudio was given.
2538 if test "${with_coreaudio+set}" = set; then :
2539 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2543 # Check whether --with-cups was given.
2544 if test "${with_cups+set}" = set; then :
2549 # Check whether --with-curses was given.
2550 if test "${with_curses+set}" = set; then :
2551 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2555 # Check whether --with-dbus was given.
2556 if test "${with_dbus+set}" = set; then :
2561 # Check whether --with-fontconfig was given.
2562 if test "${with_fontconfig+set}" = set; then :
2563 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2567 # Check whether --with-freetype was given.
2568 if test "${with_freetype+set}" = set; then :
2569 withval
=$with_freetype;
2573 # Check whether --with-gettext was given.
2574 if test "${with_gettext+set}" = set; then :
2575 withval
=$with_gettext;
2579 # Check whether --with-gettextpo was given.
2580 if test "${with_gettextpo+set}" = set; then :
2581 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2585 # Check whether --with-gphoto was given.
2586 if test "${with_gphoto+set}" = set; then :
2587 withval
=$with_gphoto;
2591 # Check whether --with-glu was given.
2592 if test "${with_glu+set}" = set; then :
2593 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2597 # Check whether --with-gnutls was given.
2598 if test "${with_gnutls+set}" = set; then :
2599 withval
=$with_gnutls;
2603 # Check whether --with-gsm was given.
2604 if test "${with_gsm+set}" = set; then :
2605 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2609 # Check whether --with-gstreamer was given.
2610 if test "${with_gstreamer+set}" = set; then :
2611 withval
=$with_gstreamer;
2615 # Check whether --with-hal was given.
2616 if test "${with_hal+set}" = set; then :
2621 # Check whether --with-jpeg was given.
2622 if test "${with_jpeg+set}" = set; then :
2623 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2627 # Check whether --with-ldap was given.
2628 if test "${with_ldap+set}" = set; then :
2629 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2633 # Check whether --with-mpg123 was given.
2634 if test "${with_mpg123+set}" = set; then :
2635 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2639 # Check whether --with-openal was given.
2640 if test "${with_openal+set}" = set; then :
2641 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2645 # Check whether --with-opencl was given.
2646 if test "${with_opencl+set}" = set; then :
2647 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2651 # Check whether --with-opengl was given.
2652 if test "${with_opengl+set}" = set; then :
2653 withval
=$with_opengl;
2657 # Check whether --with-openssl was given.
2658 if test "${with_openssl+set}" = set; then :
2659 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2663 # Check whether --with-oss was given.
2664 if test "${with_oss+set}" = set; then :
2669 # Check whether --with-png was given.
2670 if test "${with_png+set}" = set; then :
2671 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2675 # Check whether --with-pthread was given.
2676 if test "${with_pthread+set}" = set; then :
2677 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2681 # Check whether --with-sane was given.
2682 if test "${with_sane+set}" = set; then :
2687 # Check whether --with-tiff was given.
2688 if test "${with_tiff+set}" = set; then :
2689 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2693 # Check whether --with-v4l was given.
2694 if test "${with_v4l+set}" = set; then :
2699 # Check whether --with-xcomposite was given.
2700 if test "${with_xcomposite+set}" = set; then :
2701 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2705 # Check whether --with-xcursor was given.
2706 if test "${with_xcursor+set}" = set; then :
2707 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2711 # Check whether --with-xinerama was given.
2712 if test "${with_xinerama+set}" = set; then :
2713 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2717 # Check whether --with-xinput was given.
2718 if test "${with_xinput+set}" = set; then :
2719 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2723 # Check whether --with-xinput2 was given.
2724 if test "${with_xinput2+set}" = set; then :
2725 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2729 # Check whether --with-xml was given.
2730 if test "${with_xml+set}" = set; then :
2735 # Check whether --with-xrandr was given.
2736 if test "${with_xrandr+set}" = set; then :
2737 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2741 # Check whether --with-xrender was given.
2742 if test "${with_xrender+set}" = set; then :
2743 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2747 # Check whether --with-xshape was given.
2748 if test "${with_xshape+set}" = set; then :
2749 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2753 # Check whether --with-xslt was given.
2754 if test "${with_xslt+set}" = set; then :
2759 # Check whether --with-xxf86vm was given.
2760 if test "${with_xxf86vm+set}" = set; then :
2761 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
2765 # Check whether --with-zlib was given.
2766 if test "${with_zlib+set}" = set; then :
2767 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2772 # Check whether --with-wine-tools was given.
2773 if test "${with_wine_tools+set}" = set; then :
2774 withval
=$with_wine_tools;
2778 # Check whether --with-wine64 was given.
2779 if test "${with_wine64+set}" = set; then :
2780 withval
=$with_wine64;
2784 # Make sure we can run config.sub.
2785 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2786 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2789 $as_echo_n "checking build system type... " >&6; }
2790 if ${ac_cv_build+:} false
; then :
2791 $as_echo_n "(cached) " >&6
2793 ac_build_alias
=$build_alias
2794 test "x$ac_build_alias" = x
&&
2795 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2796 test "x$ac_build_alias" = x
&&
2797 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2798 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2799 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2803 $as_echo "$ac_cv_build" >&6; }
2804 case $ac_cv_build in
2806 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2809 ac_save_IFS
=$IFS; IFS
='-'
2815 # Remember, the first character of IFS is used to create $*,
2816 # except with old shells:
2819 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2823 $as_echo_n "checking host system type... " >&6; }
2824 if ${ac_cv_host+:} false
; then :
2825 $as_echo_n "(cached) " >&6
2827 if test "x$host_alias" = x
; then
2828 ac_cv_host
=$ac_cv_build
2830 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2831 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2836 $as_echo "$ac_cv_host" >&6; }
2839 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2842 ac_save_IFS
=$IFS; IFS
='-'
2848 # Remember, the first character of IFS is used to create $*,
2849 # except with old shells:
2852 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2858 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2859 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2860 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2866 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2868 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2869 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2870 $as_echo_n "(cached) " >&6
2872 cat >conftest.
make <<\_ACEOF
2875 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2877 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2878 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2880 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2882 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2886 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2888 $as_echo "yes" >&6; }
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2892 $as_echo "no" >&6; }
2893 SET_MAKE
="MAKE=${MAKE-make}"
2897 ac_cpp
='$CPP $CPPFLAGS'
2898 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2899 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2900 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2901 if test -n "$ac_tool_prefix"; then
2902 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2903 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2905 $as_echo_n "checking for $ac_word... " >&6; }
2906 if ${ac_cv_prog_CC+:} false
; then :
2907 $as_echo_n "(cached) " >&6
2909 if test -n "$CC"; then
2910 ac_cv_prog_CC
="$CC" # Let the user override the test.
2912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2916 test -z "$as_dir" && as_dir
=.
2917 for ac_exec_ext
in '' $ac_executable_extensions; do
2918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2919 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2930 if test -n "$CC"; then
2931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2932 $as_echo "$CC" >&6; }
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2935 $as_echo "no" >&6; }
2940 if test -z "$ac_cv_prog_CC"; then
2942 # Extract the first word of "gcc", so it can be a program name with args.
2943 set dummy gcc
; ac_word
=$2
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2945 $as_echo_n "checking for $ac_word... " >&6; }
2946 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2947 $as_echo_n "(cached) " >&6
2949 if test -n "$ac_ct_CC"; then
2950 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2956 test -z "$as_dir" && as_dir
=.
2957 for ac_exec_ext
in '' $ac_executable_extensions; do
2958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2959 ac_cv_prog_ac_ct_CC
="gcc"
2960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2969 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2970 if test -n "$ac_ct_CC"; then
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2972 $as_echo "$ac_ct_CC" >&6; }
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2975 $as_echo "no" >&6; }
2978 if test "x$ac_ct_CC" = x
; then
2981 case $cross_compiling:$ac_tool_warned in
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2984 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2985 ac_tool_warned
=yes ;;
2993 if test -z "$CC"; then
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2996 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_CC+:} false
; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$CC"; then
3003 ac_cv_prog_CC
="$CC" # Let the user override the test.
3005 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir
=.
3010 for ac_exec_ext
in '' $ac_executable_extensions; do
3011 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3012 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 if test -n "$CC"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3025 $as_echo "$CC" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3034 if test -z "$CC"; then
3035 # Extract the first word of "cc", so it can be a program name with args.
3036 set dummy cc
; ac_word
=$2
3037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3038 $as_echo_n "checking for $ac_word... " >&6; }
3039 if ${ac_cv_prog_CC+:} false
; then :
3040 $as_echo_n "(cached) " >&6
3042 if test -n "$CC"; then
3043 ac_cv_prog_CC
="$CC" # Let the user override the test.
3046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3050 test -z "$as_dir" && as_dir
=.
3051 for ac_exec_ext
in '' $ac_executable_extensions; do
3052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3053 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3054 ac_prog_rejected
=yes
3058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3065 if test $ac_prog_rejected = yes; then
3066 # We found a bogon in the path, so make sure we never use it.
3067 set dummy
$ac_cv_prog_CC
3069 if test $# != 0; then
3070 # We chose a different compiler from the bogus one.
3071 # However, it has the same basename, so the bogon will be chosen
3072 # first if we set CC to just the basename; use the full file name.
3074 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3080 if test -n "$CC"; then
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3082 $as_echo "$CC" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3090 if test -z "$CC"; then
3091 if test -n "$ac_tool_prefix"; then
3092 for ac_prog
in cl.exe
3094 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3095 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3097 $as_echo_n "checking for $ac_word... " >&6; }
3098 if ${ac_cv_prog_CC+:} false
; then :
3099 $as_echo_n "(cached) " >&6
3101 if test -n "$CC"; then
3102 ac_cv_prog_CC
="$CC" # Let the user override the test.
3104 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3108 test -z "$as_dir" && as_dir
=.
3109 for ac_exec_ext
in '' $ac_executable_extensions; do
3110 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3111 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3122 if test -n "$CC"; then
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3124 $as_echo "$CC" >&6; }
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3127 $as_echo "no" >&6; }
3131 test -n "$CC" && break
3134 if test -z "$CC"; then
3136 for ac_prog
in cl.exe
3138 # Extract the first word of "$ac_prog", so it can be a program name with args.
3139 set dummy
$ac_prog; ac_word
=$2
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 $as_echo_n "checking for $ac_word... " >&6; }
3142 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3143 $as_echo_n "(cached) " >&6
3145 if test -n "$ac_ct_CC"; then
3146 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3155 ac_cv_prog_ac_ct_CC
="$ac_prog"
3156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3165 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3166 if test -n "$ac_ct_CC"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3168 $as_echo "$ac_ct_CC" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3175 test -n "$ac_ct_CC" && break
3178 if test "x$ac_ct_CC" = x
; then
3181 case $cross_compiling:$ac_tool_warned in
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3185 ac_tool_warned
=yes ;;
3194 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3196 as_fn_error $?
"no acceptable C compiler found in \$PATH
3197 See \`config.log' for more details" "$LINENO" 5; }
3199 # Provide some information about the compiler.
3200 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3203 for ac_option
in --version -v -V -qversion; do
3204 { { ac_try
="$ac_compiler $ac_option >&5"
3206 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3207 *) ac_try_echo=$ac_try;;
3209 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3210 $as_echo "$ac_try_echo"; } >&5
3211 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3213 if test -s conftest.err; then
3215 ... rest of stderr output deleted ...
3216 10q' conftest.err >conftest.er1
3217 cat conftest.er1 >&5
3219 rm -f conftest.er1 conftest.err
3220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3221 test $ac_status = 0; }
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3235 ac_clean_files_save=$ac_clean_files
3236 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3237 # Try to create an executable without -o first, disregard a.out.
3238 # It will help us diagnose broken compilers, and finding out an intuition
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3241 $as_echo_n "checking whether the C compiler works... " >&6; }
3242 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3244 # The possible output files:
3245 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3248 for ac_file in $ac_files
3251 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3252 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3257 if { { ac_try="$ac_link_default"
3259 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3260 *) ac_try_echo
=$ac_try;;
3262 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_link_default") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; }; then :
3268 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3269 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3270 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3271 # so that the user can short-circuit this test for compilers unknown to
3273 for ac_file
in $ac_files ''
3275 test -f "$ac_file" ||
continue
3277 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3280 # We found the default executable, but exeext='' is most
3284 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3286 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3288 # We set ac_cv_exeext here because the later test for it is not
3289 # safe: cross compilers may not add the suffix if given an `-o'
3290 # argument, so we may need to know it at that point already.
3291 # Even if this section looks crufty: it has the advantage of
3298 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3303 if test -z "$ac_file"; then :
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3305 $as_echo "no" >&6; }
3306 $as_echo "$as_me: failed program was:" >&5
3307 sed 's/^/| /' conftest.
$ac_ext >&5
3309 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3310 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3311 as_fn_error
77 "C compiler cannot create executables
3312 See \`config.log' for more details" "$LINENO" 5; }
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3315 $as_echo "yes" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3318 $as_echo_n "checking for C compiler default output file name... " >&6; }
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3320 $as_echo "$ac_file" >&6; }
3321 ac_exeext
=$ac_cv_exeext
3323 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3324 ac_clean_files
=$ac_clean_files_save
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3326 $as_echo_n "checking for suffix of executables... " >&6; }
3327 if { { ac_try
="$ac_link"
3329 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3333 $as_echo "$ac_try_echo"; } >&5
3334 (eval "$ac_link") 2>&5
3336 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3337 test $ac_status = 0; }; then :
3338 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3339 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3340 # work properly (i.e., refer to `conftest.exe'), while it won't with
3342 for ac_file
in conftest.exe conftest conftest.
*; do
3343 test -f "$ac_file" ||
continue
3345 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3346 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3354 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3355 See \`config.log' for more details" "$LINENO" 5; }
3357 rm -f conftest conftest
$ac_cv_exeext
3358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3359 $as_echo "$ac_cv_exeext" >&6; }
3361 rm -f conftest.
$ac_ext
3362 EXEEXT
=$ac_cv_exeext
3364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3365 /* end confdefs.h. */
3370 FILE *f = fopen ("conftest.out", "w");
3371 return ferror (f) || fclose (f) != 0;
3377 ac_clean_files
="$ac_clean_files conftest.out"
3378 # Check that the compiler produces executables we can run. If not, either
3379 # the compiler is broken, or we cross compile.
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3381 $as_echo_n "checking whether we are cross compiling... " >&6; }
3382 if test "$cross_compiling" != yes; then
3383 { { ac_try
="$ac_link"
3385 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3386 *) ac_try_echo=$ac_try;;
3388 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3389 $as_echo "$ac_try_echo"; } >&5
3390 (eval "$ac_link") 2>&5
3392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3393 test $ac_status = 0; }
3394 if { ac_try='./conftest$ac_cv_exeext'
3395 { { case "(($ac_try" in
3396 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3397 *) ac_try_echo
=$ac_try;;
3399 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_try") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }; }; then
3407 if test "$cross_compiling" = maybe
; then
3410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3412 as_fn_error $?
"cannot run C compiled programs.
3413 If you meant to cross compile, use \`--host'.
3414 See \`config.log' for more details" "$LINENO" 5; }
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3419 $as_echo "$cross_compiling" >&6; }
3421 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3422 ac_clean_files
=$ac_clean_files_save
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3424 $as_echo_n "checking for suffix of object files... " >&6; }
3425 if ${ac_cv_objext+:} false
; then :
3426 $as_echo_n "(cached) " >&6
3428 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3429 /* end confdefs.h. */
3439 rm -f conftest.o conftest.obj
3440 if { { ac_try
="$ac_compile"
3442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3446 $as_echo "$ac_try_echo"; } >&5
3447 (eval "$ac_compile") 2>&5
3449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3450 test $ac_status = 0; }; then :
3451 for ac_file in conftest.o conftest.obj conftest.*; do
3452 test -f "$ac_file" || continue;
3454 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3455 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3460 $as_echo "$as_me: failed program was:" >&5
3461 sed 's/^/| /' conftest.$ac_ext >&5
3463 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3464 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3465 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3466 See \
`config.log' for more details" "$LINENO" 5; }
3468 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3471 $as_echo "$ac_cv_objext" >&6; }
3472 OBJEXT=$ac_cv_objext
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3475 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3476 if ${ac_cv_c_compiler_gnu+:} false; then :
3477 $as_echo_n "(cached) " >&6
3479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3480 /* end confdefs.h. */
3493 if ac_fn_c_try_compile "$LINENO"; then :
3498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3499 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3503 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3504 if test $ac_compiler_gnu = yes; then
3509 ac_test_CFLAGS=${CFLAGS+set}
3510 ac_save_CFLAGS=$CFLAGS
3511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3512 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3513 if ${ac_cv_prog_cc_g+:} false; then :
3514 $as_echo_n "(cached) " >&6
3516 ac_save_c_werror_flag=$ac_c_werror_flag
3517 ac_c_werror_flag=yes
3520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3521 /* end confdefs.h. */
3531 if ac_fn_c_try_compile "$LINENO"; then :
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3546 if ac_fn_c_try_compile "$LINENO"; then :
3549 ac_c_werror_flag=$ac_save_c_werror_flag
3551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3552 /* end confdefs.h. */
3562 if ac_fn_c_try_compile "$LINENO"; then :
3565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3570 ac_c_werror_flag=$ac_save_c_werror_flag
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3573 $as_echo "$ac_cv_prog_cc_g" >&6; }
3574 if test "$ac_test_CFLAGS" = set; then
3575 CFLAGS=$ac_save_CFLAGS
3576 elif test $ac_cv_prog_cc_g = yes; then
3577 if test "$GCC" = yes; then
3583 if test "$GCC" = yes; then
3589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3590 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3591 if ${ac_cv_prog_cc_c89+:} false; then :
3592 $as_echo_n "(cached) " >&6
3594 ac_cv_prog_cc_c89=no
3596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3597 /* end confdefs.h. */
3600 #include <sys/types.h>
3601 #include <sys/stat.h>
3602 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3603 struct buf { int x; };
3604 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3605 static char *e (p, i)
3611 static char *f (char * (*g) (char **, int), char **p, ...)
3616 s = g (p, va_arg (v,int));
3621 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3622 function prototypes and stuff, but not '\xHH' hex character constants.
3623 These don't provoke an error unfortunately, instead are silently treated
3624 as 'x'. The following induces an error, until -std is added to get
3625 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3626 array size at least. It's necessary to write '\x00'==0 to get something
3627 that's true only with -std. */
3628 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3630 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3631 inside strings and character constants. */
3633 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3635 int test (int i, double x);
3636 struct s1 {int (*f) (int a);};
3637 struct s2 {int (*f) (double a);};
3638 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3644 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3649 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3650 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3652 CC="$ac_save_CC $ac_arg"
3653 if ac_fn_c_try_compile "$LINENO"; then :
3654 ac_cv_prog_cc_c89=$ac_arg
3656 rm -f core conftest.err conftest.$ac_objext
3657 test "x$ac_cv_prog_cc_c89" != "xno" && break
3659 rm -f conftest.$ac_ext
3664 case "x$ac_cv_prog_cc_c89" in
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3667 $as_echo "none needed" >&6; } ;;
3669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3670 $as_echo "unsupported" >&6; } ;;
3672 CC="$CC $ac_cv_prog_cc_c89"
3673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3674 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3676 if test "x$ac_cv_prog_cc_c89" != xno; then :
3681 ac_cpp='$CPP $CPPFLAGS'
3682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3687 ac_cpp='$CXXCPP $CPPFLAGS'
3688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3691 if test -z "$CXX"; then
3692 if test -n "$CCC"; then
3695 if test -n "$ac_tool_prefix"; then
3696 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3698 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3699 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3701 $as_echo_n "checking for $ac_word... " >&6; }
3702 if ${ac_cv_prog_CXX+:} false; then :
3703 $as_echo_n "(cached) " >&6
3705 if test -n "$CXX"; then
3706 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3726 if test -n "$CXX"; then
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3728 $as_echo "$CXX" >&6; }
3730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3731 $as_echo "no" >&6; }
3735 test -n "$CXX" && break
3738 if test -z "$CXX"; then
3740 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3742 # Extract the first word of "$ac_prog", so it can be a program name with args.
3743 set dummy $ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3747 $as_echo_n "(cached) " >&6
3749 if test -n "$ac_ct_CXX"; then
3750 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_ac_ct_CXX="$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3770 if test -n "$ac_ct_CXX"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3772 $as_echo "$ac_ct_CXX" >&6; }
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3779 test -n "$ac_ct_CXX" && break
3782 if test "x$ac_ct_CXX" = x; then
3785 case $cross_compiling:$ac_tool_warned in
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3789 ac_tool_warned=yes ;;
3797 # Provide some information about the compiler.
3798 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3801 for ac_option in --version -v -V -qversion; do
3802 { { ac_try="$ac_compiler $ac_option >&5"
3804 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3805 *) ac_try_echo
=$ac_try;;
3807 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3808 $as_echo "$ac_try_echo"; } >&5
3809 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3811 if test -s conftest.err
; then
3813 ... rest of stderr output deleted ...
3814 10q' conftest.err
>conftest.er1
3815 cat conftest.er1
>&5
3817 rm -f conftest.er1 conftest.err
3818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3819 test $ac_status = 0; }
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3823 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3824 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3825 $as_echo_n "(cached) " >&6
3827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3828 /* end confdefs.h. */
3841 if ac_fn_cxx_try_compile
"$LINENO"; then :
3846 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3847 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3851 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3852 if test $ac_compiler_gnu = yes; then
3857 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3858 ac_save_CXXFLAGS
=$CXXFLAGS
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3860 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3861 if ${ac_cv_prog_cxx_g+:} false
; then :
3862 $as_echo_n "(cached) " >&6
3864 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3865 ac_cxx_werror_flag
=yes
3868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3869 /* end confdefs.h. */
3879 if ac_fn_cxx_try_compile
"$LINENO"; then :
3880 ac_cv_prog_cxx_g
=yes
3883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3884 /* end confdefs.h. */
3894 if ac_fn_cxx_try_compile
"$LINENO"; then :
3897 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3899 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3910 if ac_fn_cxx_try_compile
"$LINENO"; then :
3911 ac_cv_prog_cxx_g
=yes
3913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3917 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3918 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3921 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3922 if test "$ac_test_CXXFLAGS" = set; then
3923 CXXFLAGS
=$ac_save_CXXFLAGS
3924 elif test $ac_cv_prog_cxx_g = yes; then
3925 if test "$GXX" = yes; then
3931 if test "$GXX" = yes; then
3938 ac_cpp
='$CPP $CPPFLAGS'
3939 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3940 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3941 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3943 if test -n "$ac_tool_prefix"; then
3944 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3945 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3947 $as_echo_n "checking for $ac_word... " >&6; }
3948 if ${ac_cv_prog_CPPBIN+:} false
; then :
3949 $as_echo_n "(cached) " >&6
3951 if test -n "$CPPBIN"; then
3952 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3954 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3958 test -z "$as_dir" && as_dir
=.
3959 for ac_exec_ext
in '' $ac_executable_extensions; do
3960 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3961 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3962 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3971 CPPBIN
=$ac_cv_prog_CPPBIN
3972 if test -n "$CPPBIN"; then
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3974 $as_echo "$CPPBIN" >&6; }
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3977 $as_echo "no" >&6; }
3982 if test -z "$ac_cv_prog_CPPBIN"; then
3983 ac_ct_CPPBIN
=$CPPBIN
3984 # Extract the first word of "cpp", so it can be a program name with args.
3985 set dummy cpp
; ac_word
=$2
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3987 $as_echo_n "checking for $ac_word... " >&6; }
3988 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
3989 $as_echo_n "(cached) " >&6
3991 if test -n "$ac_ct_CPPBIN"; then
3992 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3994 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3998 test -z "$as_dir" && as_dir
=.
3999 for ac_exec_ext
in '' $ac_executable_extensions; do
4000 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4001 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4011 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4012 if test -n "$ac_ct_CPPBIN"; then
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4014 $as_echo "$ac_ct_CPPBIN" >&6; }
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4017 $as_echo "no" >&6; }
4020 if test "x$ac_ct_CPPBIN" = x
; then
4023 case $cross_compiling:$ac_tool_warned in
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4026 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4027 ac_tool_warned
=yes ;;
4029 CPPBIN
=$ac_ct_CPPBIN
4032 CPPBIN
="$ac_cv_prog_CPPBIN"
4036 cat >>confdefs.h
<<_ACEOF
4037 #define EXEEXT "$ac_exeext"
4043 if test "x$enable_win64" = "xyes"
4048 notice_platform
="64-bit "
4055 notice_platform
="32-bit "
4058 enable_win16
=${enable_win16:-yes}
4062 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4067 $as_echo_n "checking whether $CC works... " >&6; }
4069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4070 /* end confdefs.h. */
4080 if ac_fn_c_try_link
"$LINENO"; then :
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4082 $as_echo "yes" >&6; }
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4085 $as_echo "no" >&6; }
4086 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4088 rm -f core conftest.err conftest.
$ac_objext \
4089 conftest
$ac_exeext conftest.
$ac_ext
4091 notice_platform
="32-bit "
4094 enable_win16
=${enable_win16:-yes}
4096 if test "x${GCC}" = "xyes"
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4099 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4106 void func(__builtin_ms_va_list *args);
4111 if ac_fn_c_try_compile
"$LINENO"; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4113 $as_echo "yes" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4117 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4125 *-mingw32*|
*-cygwin*)
4126 enable_win16
=${enable_win16:-no}
4127 CFLAGS
="$CFLAGS -D_WIN32"
4130 enable_win16
=${enable_win16:-yes}
4134 enable_win16
=${enable_win16:-no}
4135 enable_win64
=${enable_win64:-no}
4137 enable_winetest
=${enable_winetest:-$enable_tests}
4139 if test -n "$with_wine64"
4141 if test "x$enable_win64" = "xyes"
4143 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4144 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4148 enable_fonts
=${enable_fonts:-no}
4149 enable_server
=${enable_server:-no}
4150 enable_tools
=${enable_tools:-no}
4151 elif test "x$enable_win64" = "xyes"
4153 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4157 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4158 if ${wine_cv_toolsdir+:} false
; then :
4159 $as_echo_n "(cached) " >&6
4161 wine_cv_toolsdir
="$with_wine_tools"
4162 if test -z "$with_wine_tools"; then
4163 if test "$cross_compiling" = "yes"; then
4164 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4165 elif test -n "$with_wine64"; then
4166 wine_cv_toolsdir
="$with_wine64"
4169 if test -z "$wine_cv_toolsdir"; then
4170 wine_cv_toolsdir
="\$(top_builddir)"
4171 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4172 case "$wine_cv_toolsdir" in
4174 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4177 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4181 $as_echo "$wine_cv_toolsdir" >&6; }
4182 TOOLSDIR
=$wine_cv_toolsdir
4184 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4186 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4192 # Extract the first word of "$ac_prog", so it can be a program name with args.
4193 set dummy
$ac_prog; ac_word
=$2
4194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4195 $as_echo_n "checking for $ac_word... " >&6; }
4196 if ${ac_cv_prog_FLEX+:} false
; then :
4197 $as_echo_n "(cached) " >&6
4199 if test -n "$FLEX"; then
4200 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4202 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4206 test -z "$as_dir" && as_dir
=.
4207 for ac_exec_ext
in '' $ac_executable_extensions; do
4208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4209 ac_cv_prog_FLEX
="$ac_prog"
4210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4219 FLEX
=$ac_cv_prog_FLEX
4220 if test -n "$FLEX"; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4222 $as_echo "$FLEX" >&6; }
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4225 $as_echo "no" >&6; }
4229 test -n "$FLEX" && break
4231 test -n "$FLEX" || FLEX
="none"
4233 if test "$FLEX" = "none"
4235 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4238 $as_echo_n "checking whether flex is recent enough... " >&6; }
4239 cat >conftest.l
<<EOF
4241 #include "prediluvian.h"
4245 if $FLEX -t conftest.l
>/dev
/null
2>&5
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4248 $as_echo "yes" >&6; }
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4251 $as_echo "no" >&6; }
4252 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4255 for ac_prog
in bison
4257 # Extract the first word of "$ac_prog", so it can be a program name with args.
4258 set dummy
$ac_prog; ac_word
=$2
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4260 $as_echo_n "checking for $ac_word... " >&6; }
4261 if ${ac_cv_prog_BISON+:} false
; then :
4262 $as_echo_n "(cached) " >&6
4264 if test -n "$BISON"; then
4265 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4271 test -z "$as_dir" && as_dir
=.
4272 for ac_exec_ext
in '' $ac_executable_extensions; do
4273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4274 ac_cv_prog_BISON
="$ac_prog"
4275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 BISON
=$ac_cv_prog_BISON
4285 if test -n "$BISON"; then
4286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4287 $as_echo "$BISON" >&6; }
4289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4290 $as_echo "no" >&6; }
4294 test -n "$BISON" && break
4296 test -n "$BISON" || BISON
="none"
4298 if test "$BISON" = "none"
4300 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4303 if test -n "$ac_tool_prefix"; then
4304 for ac_prog
in ar gar
4306 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4307 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4309 $as_echo_n "checking for $ac_word... " >&6; }
4310 if ${ac_cv_prog_AR+:} false
; then :
4311 $as_echo_n "(cached) " >&6
4313 if test -n "$AR"; then
4314 ac_cv_prog_AR
="$AR" # Let the user override the test.
4316 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4320 test -z "$as_dir" && as_dir
=.
4321 for ac_exec_ext
in '' $ac_executable_extensions; do
4322 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4323 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4324 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4334 if test -n "$AR"; then
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4336 $as_echo "$AR" >&6; }
4338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4339 $as_echo "no" >&6; }
4343 test -n "$AR" && break
4346 if test -z "$AR"; then
4348 for ac_prog
in ar gar
4350 # Extract the first word of "$ac_prog", so it can be a program name with args.
4351 set dummy
$ac_prog; ac_word
=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4355 $as_echo_n "(cached) " >&6
4357 if test -n "$ac_ct_AR"; then
4358 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4360 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4364 test -z "$as_dir" && as_dir
=.
4365 for ac_exec_ext
in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_ac_ct_AR
="$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4378 if test -n "$ac_ct_AR"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4380 $as_echo "$ac_ct_AR" >&6; }
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4387 test -n "$ac_ct_AR" && break
4390 if test "x$ac_ct_AR" = x
; then
4393 case $cross_compiling:$ac_tool_warned in
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4396 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4397 ac_tool_warned
=yes ;;
4405 if test -n "$ac_tool_prefix"; then
4406 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4407 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4409 $as_echo_n "checking for $ac_word... " >&6; }
4410 if ${ac_cv_prog_RANLIB+:} false
; then :
4411 $as_echo_n "(cached) " >&6
4413 if test -n "$RANLIB"; then
4414 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4416 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4420 test -z "$as_dir" && as_dir
=.
4421 for ac_exec_ext
in '' $ac_executable_extensions; do
4422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4423 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4433 RANLIB
=$ac_cv_prog_RANLIB
4434 if test -n "$RANLIB"; then
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4436 $as_echo "$RANLIB" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4439 $as_echo "no" >&6; }
4444 if test -z "$ac_cv_prog_RANLIB"; then
4445 ac_ct_RANLIB
=$RANLIB
4446 # Extract the first word of "ranlib", so it can be a program name with args.
4447 set dummy ranlib
; ac_word
=$2
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4449 $as_echo_n "checking for $ac_word... " >&6; }
4450 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4451 $as_echo_n "(cached) " >&6
4453 if test -n "$ac_ct_RANLIB"; then
4454 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4456 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4460 test -z "$as_dir" && as_dir
=.
4461 for ac_exec_ext
in '' $ac_executable_extensions; do
4462 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4463 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4464 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4473 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4474 if test -n "$ac_ct_RANLIB"; then
4475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4476 $as_echo "$ac_ct_RANLIB" >&6; }
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4479 $as_echo "no" >&6; }
4482 if test "x$ac_ct_RANLIB" = x
; then
4485 case $cross_compiling:$ac_tool_warned in
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4488 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4489 ac_tool_warned
=yes ;;
4491 RANLIB
=$ac_ct_RANLIB
4494 RANLIB
="$ac_cv_prog_RANLIB"
4497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4498 $as_echo_n "checking whether ln -s works... " >&6; }
4500 if test "$LN_S" = "ln -s"; then
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4502 $as_echo "yes" >&6; }
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4505 $as_echo "no, using $LN_S" >&6; }
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4509 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4510 if ${ac_cv_path_GREP+:} false
; then :
4511 $as_echo_n "(cached) " >&6
4513 if test -z "$GREP"; then
4514 ac_path_GREP_found
=false
4515 # Loop through the user's path and test for each of PROGNAME-LIST
4516 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4517 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4520 test -z "$as_dir" && as_dir
=.
4521 for ac_prog
in grep ggrep
; do
4522 for ac_exec_ext
in '' $ac_executable_extensions; do
4523 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4524 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4525 # Check for GNU ac_path_GREP and select it if it is found.
4526 # Check for GNU $ac_path_GREP
4527 case `"$ac_path_GREP" --version 2>&1` in
4529 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4532 $as_echo_n 0123456789 >"conftest.in"
4535 cat "conftest.in" "conftest.in" >"conftest.tmp"
4536 mv "conftest.tmp" "conftest.in"
4537 cp "conftest.in" "conftest.nl"
4538 $as_echo 'GREP' >> "conftest.nl"
4539 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4540 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4541 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4542 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4543 # Best one so far, save it but keep looking for a better one
4544 ac_cv_path_GREP
="$ac_path_GREP"
4545 ac_path_GREP_max
=$ac_count
4547 # 10*(2^10) chars as input seems more than enough
4548 test $ac_count -gt 10 && break
4550 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4553 $ac_path_GREP_found && break 3
4558 if test -z "$ac_cv_path_GREP"; then
4559 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4562 ac_cv_path_GREP
=$GREP
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4567 $as_echo "$ac_cv_path_GREP" >&6; }
4568 GREP
="$ac_cv_path_GREP"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4572 $as_echo_n "checking for egrep... " >&6; }
4573 if ${ac_cv_path_EGREP+:} false
; then :
4574 $as_echo_n "(cached) " >&6
4576 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4577 then ac_cv_path_EGREP
="$GREP -E"
4579 if test -z "$EGREP"; then
4580 ac_path_EGREP_found
=false
4581 # Loop through the user's path and test for each of PROGNAME-LIST
4582 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4583 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4586 test -z "$as_dir" && as_dir
=.
4587 for ac_prog
in egrep; do
4588 for ac_exec_ext
in '' $ac_executable_extensions; do
4589 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4590 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4591 # Check for GNU ac_path_EGREP and select it if it is found.
4592 # Check for GNU $ac_path_EGREP
4593 case `"$ac_path_EGREP" --version 2>&1` in
4595 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4598 $as_echo_n 0123456789 >"conftest.in"
4601 cat "conftest.in" "conftest.in" >"conftest.tmp"
4602 mv "conftest.tmp" "conftest.in"
4603 cp "conftest.in" "conftest.nl"
4604 $as_echo 'EGREP' >> "conftest.nl"
4605 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4606 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4607 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4608 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4609 # Best one so far, save it but keep looking for a better one
4610 ac_cv_path_EGREP
="$ac_path_EGREP"
4611 ac_path_EGREP_max
=$ac_count
4613 # 10*(2^10) chars as input seems more than enough
4614 test $ac_count -gt 10 && break
4616 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4619 $ac_path_EGREP_found && break 3
4624 if test -z "$ac_cv_path_EGREP"; then
4625 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4628 ac_cv_path_EGREP
=$EGREP
4633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4634 $as_echo "$ac_cv_path_EGREP" >&6; }
4635 EGREP
="$ac_cv_path_EGREP"
4638 # Extract the first word of "ldconfig", so it can be a program name with args.
4639 set dummy ldconfig
; ac_word
=$2
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4641 $as_echo_n "checking for $ac_word... " >&6; }
4642 if ${ac_cv_path_LDCONFIG+:} false
; then :
4643 $as_echo_n "(cached) " >&6
4647 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4650 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4651 for as_dir
in /sbin
/usr
/sbin
$PATH
4654 test -z "$as_dir" && as_dir
=.
4655 for ac_exec_ext
in '' $ac_executable_extensions; do
4656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4657 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4665 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4669 LDCONFIG
=$ac_cv_path_LDCONFIG
4670 if test -n "$LDCONFIG"; then
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4672 $as_echo "$LDCONFIG" >&6; }
4674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4675 $as_echo "no" >&6; }
4679 # Find a good install program. We prefer a C program (faster),
4680 # so one script is as good as another. But avoid the broken or
4681 # incompatible versions:
4682 # SysV /etc/install, /usr/sbin/install
4683 # SunOS /usr/etc/install
4684 # IRIX /sbin/install
4686 # AmigaOS /C/install, which installs bootblocks on floppy discs
4687 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4688 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4689 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4690 # OS/2's system install, which has a completely different semantic
4691 # ./install, which can be erroneously created by make from ./install.sh.
4692 # Reject install programs that cannot install multiple files.
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4694 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4695 if test -z "$INSTALL"; then
4696 if ${ac_cv_path_install+:} false
; then :
4697 $as_echo_n "(cached) " >&6
4699 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4703 test -z "$as_dir" && as_dir
=.
4704 # Account for people who put trailing slashes in PATH elements.
4705 case $as_dir/ in #((
4706 .
/ | .
// |
/[cC
]/* | \
4707 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4708 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4711 # OSF1 and SCO ODT 3.0 have their own names for install.
4712 # Don't use installbsd from OSF since it installs stuff as root
4714 for ac_prog
in ginstall scoinst
install; do
4715 for ac_exec_ext
in '' $ac_executable_extensions; do
4716 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4717 if test $ac_prog = install &&
4718 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4719 # AIX install. It has an incompatible calling convention.
4721 elif test $ac_prog = install &&
4722 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4723 # program-specific install script used by HP pwplus--don't use.
4726 rm -rf conftest.one conftest.two conftest.dir
4727 echo one
> conftest.one
4728 echo two
> conftest.two
4730 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4731 test -s conftest.one
&& test -s conftest.two
&&
4732 test -s conftest.dir
/conftest.one
&&
4733 test -s conftest.dir
/conftest.two
4735 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4748 rm -rf conftest.one conftest.two conftest.dir
4751 if test "${ac_cv_path_install+set}" = set; then
4752 INSTALL
=$ac_cv_path_install
4754 # As a last resort, use the slow shell script. Don't cache a
4755 # value for INSTALL within a source directory, because that will
4756 # break other packages using the cache if that directory is
4757 # removed, or if the value is a relative name.
4758 INSTALL
=$ac_install_sh
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4762 $as_echo "$INSTALL" >&6; }
4764 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4765 # It thinks the first close brace ends the variable substitution.
4766 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4768 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4770 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4773 [\\/$
]* | ?
:[\\/]* ) ;;
4774 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4777 for ac_prog
in lclint lint
4779 # Extract the first word of "$ac_prog", so it can be a program name with args.
4780 set dummy
$ac_prog; ac_word
=$2
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782 $as_echo_n "checking for $ac_word... " >&6; }
4783 if ${ac_cv_prog_LINT+:} false
; then :
4784 $as_echo_n "(cached) " >&6
4786 if test -n "$LINT"; then
4787 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4789 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4793 test -z "$as_dir" && as_dir
=.
4794 for ac_exec_ext
in '' $ac_executable_extensions; do
4795 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4796 ac_cv_prog_LINT
="$ac_prog"
4797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4806 LINT
=$ac_cv_prog_LINT
4807 if test -n "$LINT"; then
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4809 $as_echo "$LINT" >&6; }
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4812 $as_echo "no" >&6; }
4816 test -n "$LINT" && break
4819 if test "$LINT" = "lint"
4821 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4825 for ac_prog
in fontforge
4827 # Extract the first word of "$ac_prog", so it can be a program name with args.
4828 set dummy
$ac_prog; ac_word
=$2
4829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4830 $as_echo_n "checking for $ac_word... " >&6; }
4831 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4832 $as_echo_n "(cached) " >&6
4834 if test -n "$FONTFORGE"; then
4835 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4837 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4841 test -z "$as_dir" && as_dir
=.
4842 for ac_exec_ext
in '' $ac_executable_extensions; do
4843 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4844 ac_cv_prog_FONTFORGE
="$ac_prog"
4845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4854 FONTFORGE
=$ac_cv_prog_FONTFORGE
4855 if test -n "$FONTFORGE"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4857 $as_echo "$FONTFORGE" >&6; }
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4860 $as_echo "no" >&6; }
4864 test -n "$FONTFORGE" && break
4866 test -n "$FONTFORGE" || FONTFORGE
="false"
4868 for ac_prog
in pkg-config
4870 # Extract the first word of "$ac_prog", so it can be a program name with args.
4871 set dummy
$ac_prog; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$PKG_CONFIG"; then
4878 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4898 if test -n "$PKG_CONFIG"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4900 $as_echo "$PKG_CONFIG" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$PKG_CONFIG" && break
4909 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4913 # Extract the first word of "$ac_prog", so it can be a program name with args.
4914 set dummy
$ac_prog; ac_word
=$2
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4916 $as_echo_n "checking for $ac_word... " >&6; }
4917 if ${ac_cv_prog_RSVG+:} false
; then :
4918 $as_echo_n "(cached) " >&6
4920 if test -n "$RSVG"; then
4921 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4923 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4927 test -z "$as_dir" && as_dir
=.
4928 for ac_exec_ext
in '' $ac_executable_extensions; do
4929 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4930 ac_cv_prog_RSVG
="$ac_prog"
4931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4940 RSVG
=$ac_cv_prog_RSVG
4941 if test -n "$RSVG"; then
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4943 $as_echo "$RSVG" >&6; }
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4946 $as_echo "no" >&6; }
4950 test -n "$RSVG" && break
4952 test -n "$RSVG" || RSVG
="false"
4954 for ac_prog
in convert
4956 # Extract the first word of "$ac_prog", so it can be a program name with args.
4957 set dummy
$ac_prog; ac_word
=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_CONVERT+:} false
; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$CONVERT"; then
4964 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
4966 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir
=.
4971 for ac_exec_ext
in '' $ac_executable_extensions; do
4972 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4973 ac_cv_prog_CONVERT
="$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4983 CONVERT
=$ac_cv_prog_CONVERT
4984 if test -n "$CONVERT"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
4986 $as_echo "$CONVERT" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$CONVERT" && break
4995 test -n "$CONVERT" || CONVERT
="false"
4997 for ac_prog
in icotool
4999 # Extract the first word of "$ac_prog", so it can be a program name with args.
5000 set dummy
$ac_prog; ac_word
=$2
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5002 $as_echo_n "checking for $ac_word... " >&6; }
5003 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5004 $as_echo_n "(cached) " >&6
5006 if test -n "$ICOTOOL"; then
5007 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5009 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5013 test -z "$as_dir" && as_dir
=.
5014 for ac_exec_ext
in '' $ac_executable_extensions; do
5015 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5016 ac_cv_prog_ICOTOOL
="$ac_prog"
5017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5026 ICOTOOL
=$ac_cv_prog_ICOTOOL
5027 if test -n "$ICOTOOL"; then
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5029 $as_echo "$ICOTOOL" >&6; }
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5032 $as_echo "no" >&6; }
5036 test -n "$ICOTOOL" && break
5038 test -n "$ICOTOOL" || ICOTOOL
="false"
5040 for ac_prog
in msgfmt
5042 # Extract the first word of "$ac_prog", so it can be a program name with args.
5043 set dummy
$ac_prog; ac_word
=$2
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5045 $as_echo_n "checking for $ac_word... " >&6; }
5046 if ${ac_cv_prog_MSGFMT+:} false
; then :
5047 $as_echo_n "(cached) " >&6
5049 if test -n "$MSGFMT"; then
5050 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5056 test -z "$as_dir" && as_dir
=.
5057 for ac_exec_ext
in '' $ac_executable_extensions; do
5058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5059 ac_cv_prog_MSGFMT
="$ac_prog"
5060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5069 MSGFMT
=$ac_cv_prog_MSGFMT
5070 if test -n "$MSGFMT"; then
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5072 $as_echo "$MSGFMT" >&6; }
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5075 $as_echo "no" >&6; }
5079 test -n "$MSGFMT" && break
5081 test -n "$MSGFMT" || MSGFMT
="false"
5084 if test "x$enable_maintainer_mode" != "xyes"
5089 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5090 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5092 if test "$CONVERT" = false
5094 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5097 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5098 convert_version
=`convert --version | head -n1`
5099 if test "x$convert_version" != "x"
5101 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5102 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5103 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5108 if test "$CONVERT" = false
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5111 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5112 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5115 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5119 if test "$ICOTOOL" = false
5121 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5124 $as_echo_n "checking for recent enough icotool... " >&6; }
5125 icotool_version
=`icotool --version | head -n1`
5126 if test "x$icotool_version" != "x"
5128 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5129 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5130 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5133 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5136 if test "$ICOTOOL" = false
5138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5139 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5140 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5143 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5149 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5152 test "x$with_gettext" != xno || MSGFMT
=false
5153 if test "$MSGFMT" = false
; then :
5154 case "x$with_gettext" in
5155 x
) as_fn_append wine_warnings
"|gettext tools not found, translations won't be built." ;;
5157 *) as_fn_error $?
"gettext tools not found, translations won't be built.
5158 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5164 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5165 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5166 $as_echo_n "(cached) " >&6
5168 ac_check_lib_save_LIBS
=$LIBS
5170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5171 /* end confdefs.h. */
5173 /* Override any GCC internal prototype to avoid an error.
5174 Use char because int might match the return type of a GCC
5175 builtin and then its argument prototype would still apply. */
5179 char i386_set_ldt ();
5183 return i386_set_ldt ();
5188 if ac_fn_c_try_link
"$LINENO"; then :
5189 ac_cv_lib_i386_i386_set_ldt
=yes
5191 ac_cv_lib_i386_i386_set_ldt
=no
5193 rm -f core conftest.err conftest.
$ac_objext \
5194 conftest
$ac_exeext conftest.
$ac_ext
5195 LIBS
=$ac_check_lib_save_LIBS
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5198 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5199 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5200 cat >>confdefs.h
<<_ACEOF
5201 #define HAVE_LIBI386 1
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5209 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5210 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5211 $as_echo_n "(cached) " >&6
5213 ac_check_lib_save_LIBS
=$LIBS
5214 LIBS
="-lossaudio $LIBS"
5215 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5216 /* end confdefs.h. */
5218 /* Override any GCC internal prototype to avoid an error.
5219 Use char because int might match the return type of a GCC
5220 builtin and then its argument prototype would still apply. */
5228 return _oss_ioctl ();
5233 if ac_fn_c_try_link
"$LINENO"; then :
5234 ac_cv_lib_ossaudio__oss_ioctl
=yes
5236 ac_cv_lib_ossaudio__oss_ioctl
=no
5238 rm -f core conftest.err conftest.
$ac_objext \
5239 conftest
$ac_exeext conftest.
$ac_ext
5240 LIBS
=$ac_check_lib_save_LIBS
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5243 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5244 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5245 cat >>confdefs.h
<<_ACEOF
5246 #define HAVE_LIBOSSAUDIO 1
5249 LIBS
="-lossaudio $LIBS"
5260 # Check whether --enable-largefile was given.
5261 if test "${enable_largefile+set}" = set; then :
5262 enableval
=$enable_largefile;
5265 if test "$enable_largefile" != no
; then
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5268 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5269 if ${ac_cv_sys_largefile_CC+:} false
; then :
5270 $as_echo_n "(cached) " >&6
5272 ac_cv_sys_largefile_CC
=no
5273 if test "$GCC" != yes; then
5276 # IRIX 6.2 and later do not support large files by default,
5277 # so use the C compiler's -n32 option if that helps.
5278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5280 #include <sys/types.h>
5281 /* Check that off_t can represent 2**63 - 1 correctly.
5282 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5283 since some C++ compilers masquerading as C compilers
5284 incorrectly reject 9223372036854775807. */
5285 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5286 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5287 && LARGE_OFF_T % 2147483647 == 1)
5297 if ac_fn_c_try_compile
"$LINENO"; then :
5300 rm -f core conftest.err conftest.
$ac_objext
5302 if ac_fn_c_try_compile
"$LINENO"; then :
5303 ac_cv_sys_largefile_CC
=' -n32'; break
5305 rm -f core conftest.err conftest.
$ac_objext
5309 rm -f conftest.
$ac_ext
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5313 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5314 if test "$ac_cv_sys_largefile_CC" != no
; then
5315 CC
=$CC$ac_cv_sys_largefile_CC
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5319 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5320 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5325 /* end confdefs.h. */
5326 #include <sys/types.h>
5327 /* Check that off_t can represent 2**63 - 1 correctly.
5328 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5329 since some C++ compilers masquerading as C compilers
5330 incorrectly reject 9223372036854775807. */
5331 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5332 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5333 && LARGE_OFF_T % 2147483647 == 1)
5343 if ac_fn_c_try_compile
"$LINENO"; then :
5344 ac_cv_sys_file_offset_bits
=no
; break
5346 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5348 /* end confdefs.h. */
5349 #define _FILE_OFFSET_BITS 64
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
=64; break
5370 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5371 ac_cv_sys_file_offset_bits
=unknown
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5376 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5377 case $ac_cv_sys_file_offset_bits in #(
5380 cat >>confdefs.h
<<_ACEOF
5381 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5386 if test $ac_cv_sys_file_offset_bits = unknown
; then
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5388 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5389 if ${ac_cv_sys_large_files+:} false
; then :
5390 $as_echo_n "(cached) " >&6
5393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5394 /* end confdefs.h. */
5395 #include <sys/types.h>
5396 /* Check that off_t can represent 2**63 - 1 correctly.
5397 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5398 since some C++ compilers masquerading as C compilers
5399 incorrectly reject 9223372036854775807. */
5400 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5401 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5402 && LARGE_OFF_T % 2147483647 == 1)
5412 if ac_fn_c_try_compile
"$LINENO"; then :
5413 ac_cv_sys_large_files
=no
; break
5415 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5417 /* end confdefs.h. */
5418 #define _LARGE_FILES 1
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
=1; break
5439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5440 ac_cv_sys_large_files
=unknown
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5445 $as_echo "$ac_cv_sys_large_files" >&6; }
5446 case $ac_cv_sys_large_files in #(
5449 cat >>confdefs.h
<<_ACEOF
5450 #define _LARGE_FILES $ac_cv_sys_large_files
5460 ac_cpp
='$CPP $CPPFLAGS'
5461 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5462 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5463 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5465 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5466 # On Suns, sometimes $CPP names a directory.
5467 if test -n "$CPP" && test -d "$CPP"; then
5470 if test -z "$CPP"; then
5471 if ${ac_cv_prog_CPP+:} false
; then :
5472 $as_echo_n "(cached) " >&6
5474 # Double quotes because CPP needs to be expanded
5475 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5478 for ac_c_preproc_warn_flag
in '' yes
5480 # Use a header file that comes with gcc, so configuring glibc
5481 # with a fresh cross-compiler works.
5482 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5483 # <limits.h> exists even on freestanding compilers.
5484 # On the NeXT, cc -E runs the code through the compiler's parser,
5485 # not just through cpp. "Syntax error" is here to catch this case.
5486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5489 # include <limits.h>
5491 # include <assert.h>
5495 if ac_fn_c_try_cpp
"$LINENO"; then :
5498 # Broken: fails on valid input.
5501 rm -f conftest.err conftest.i conftest.
$ac_ext
5503 # OK, works on sane cases. Now check whether nonexistent headers
5504 # can be detected and how.
5505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5506 /* end confdefs.h. */
5507 #include <ac_nonexistent.h>
5509 if ac_fn_c_try_cpp
"$LINENO"; then :
5510 # Broken: success on invalid input.
5513 # Passes both tests.
5517 rm -f conftest.err conftest.i conftest.
$ac_ext
5520 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5521 rm -f conftest.i conftest.err conftest.
$ac_ext
5522 if $ac_preproc_ok; then :
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5535 $as_echo "$CPP" >&6; }
5537 for ac_c_preproc_warn_flag
in '' yes
5539 # Use a header file that comes with gcc, so configuring glibc
5540 # with a fresh cross-compiler works.
5541 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5542 # <limits.h> exists even on freestanding compilers.
5543 # On the NeXT, cc -E runs the code through the compiler's parser,
5544 # not just through cpp. "Syntax error" is here to catch this case.
5545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5546 /* end confdefs.h. */
5548 # include <limits.h>
5550 # include <assert.h>
5554 if ac_fn_c_try_cpp
"$LINENO"; then :
5557 # Broken: fails on valid input.
5560 rm -f conftest.err conftest.i conftest.
$ac_ext
5562 # OK, works on sane cases. Now check whether nonexistent headers
5563 # can be detected and how.
5564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5566 #include <ac_nonexistent.h>
5568 if ac_fn_c_try_cpp
"$LINENO"; then :
5569 # Broken: success on invalid input.
5572 # Passes both tests.
5576 rm -f conftest.err conftest.i conftest.
$ac_ext
5579 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5580 rm -f conftest.i conftest.err conftest.
$ac_ext
5581 if $ac_preproc_ok; then :
5584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5586 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5587 See \`config.log' for more details" "$LINENO" 5; }
5591 ac_cpp
='$CPP $CPPFLAGS'
5592 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5593 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5594 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5598 $as_echo_n "checking for ANSI C header files... " >&6; }
5599 if ${ac_cv_header_stdc+:} false
; then :
5600 $as_echo_n "(cached) " >&6
5602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5617 if ac_fn_c_try_compile
"$LINENO"; then :
5618 ac_cv_header_stdc
=yes
5620 ac_cv_header_stdc
=no
5622 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5624 if test $ac_cv_header_stdc = yes; then
5625 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5632 $EGREP "memchr" >/dev
/null
2>&1; then :
5635 ac_cv_header_stdc
=no
5641 if test $ac_cv_header_stdc = yes; then
5642 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5643 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5644 /* end confdefs.h. */
5648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5649 $EGREP "free" >/dev
/null
2>&1; then :
5652 ac_cv_header_stdc
=no
5658 if test $ac_cv_header_stdc = yes; then
5659 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5660 if test "$cross_compiling" = yes; then :
5663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5664 /* end confdefs.h. */
5667 #if ((' ' & 0x0FF) == 0x020)
5668 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5669 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5671 # define ISLOWER(c) \
5672 (('a' <= (c) && (c) <= 'i') \
5673 || ('j' <= (c) && (c) <= 'r') \
5674 || ('s' <= (c) && (c) <= 'z'))
5675 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5678 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5683 for (i = 0; i < 256; i++)
5684 if (XOR (islower (i), ISLOWER (i))
5685 || toupper (i) != TOUPPER (i))
5690 if ac_fn_c_try_run
"$LINENO"; then :
5693 ac_cv_header_stdc
=no
5695 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5696 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5702 $as_echo "$ac_cv_header_stdc" >&6; }
5703 if test $ac_cv_header_stdc = yes; then
5705 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5709 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5710 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5711 inttypes.h stdint.h unistd.h
5713 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5714 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5716 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5717 cat >>confdefs.h
<<_ACEOF
5718 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5728 ApplicationServices
/ApplicationServices.h \
5729 AudioToolbox
/AudioConverter.h \
5730 AudioUnit
/AudioUnit.h \
5731 AudioUnit
/AudioComponent.h \
5734 CoreAudio
/CoreAudio.h \
5735 DiskArbitration
/DiskArbitration.h \
5737 IOKit
/hid
/IOHIDLib.h \
5740 QuickTime
/ImageCompression.h \
5741 Security
/Security.h \
5755 fontconfig
/fontconfig.h \
5794 netinet
/in_systm.h \
5859 valgrind
/memcheck.h \
5860 valgrind
/valgrind.h \
5864 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5865 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5866 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5867 cat >>confdefs.h
<<_ACEOF
5868 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5876 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5877 if ${ac_cv_header_stat_broken+:} false
; then :
5878 $as_echo_n "(cached) " >&6
5880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5881 /* end confdefs.h. */
5882 #include <sys/types.h>
5883 #include <sys/stat.h>
5885 #if defined S_ISBLK && defined S_IFDIR
5886 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5889 #if defined S_ISBLK && defined S_IFCHR
5890 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5893 #if defined S_ISLNK && defined S_IFREG
5894 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5897 #if defined S_ISSOCK && defined S_IFREG
5898 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5902 if ac_fn_c_try_compile
"$LINENO"; then :
5903 ac_cv_header_stat_broken
=no
5905 ac_cv_header_stat_broken
=yes
5907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5910 $as_echo "$ac_cv_header_stat_broken" >&6; }
5911 if test $ac_cv_header_stat_broken = yes; then
5913 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5919 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5921 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5922 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5923 #ifdef HAVE_SYS_PARAM_H
5924 # include <sys/param.h>
5927 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5928 cat >>confdefs.h
<<_ACEOF
5929 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5944 netinet
/if_ether.h \
5945 netinet
/if_inarp.h \
5953 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5954 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5955 #ifdef HAVE_SYS_SOCKET_H
5956 # include <sys/socket.h>
5958 #ifdef HAVE_SYS_SOCKETVAR_H
5959 # include <sys/socketvar.h>
5961 #ifdef HAVE_NET_ROUTE_H
5962 # include <net/route.h>
5964 #ifdef HAVE_NETINET_IN_H
5965 # include <netinet/in.h>
5967 #ifdef HAVE_NETINET_IN_SYSTM_H
5968 # include <netinet/in_systm.h>
5970 #ifdef HAVE_NET_IF_H
5971 # include <net/if.h>
5973 #ifdef HAVE_NETINET_IP_H
5974 # include <netinet/ip.h>
5977 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5978 cat >>confdefs.h
<<_ACEOF
5979 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5987 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
5989 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5990 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5994 #ifdef HAVE_SYS_SOCKET_H
5995 # include <sys/socket.h>
5997 #ifdef HAVE_SYS_SOCKETVAR_H
5998 # include <sys/socketvar.h>
6000 #ifdef HAVE_SYS_TIMEOUT_H
6001 # include <sys/timeout.h>
6003 #ifdef HAVE_NETINET_IN_H
6004 # include <netinet/in.h>
6006 #ifdef HAVE_NETINET_IN_SYSTM_H
6007 # include <netinet/in_systm.h>
6009 #ifdef HAVE_NETINET_IP_H
6010 # include <netinet/ip.h>
6012 #ifdef HAVE_NETINET_IP_VAR_H
6013 # include <netinet/ip_var.h>
6015 #ifdef HAVE_NETINET_IP_ICMP_H
6016 # include <netinet/ip_icmp.h>
6018 #ifdef HAVE_NETINET_UDP_H
6019 # include <netinet/udp.h>
6021 #ifdef HAVE_NETINET_TCP_H
6022 # include <netinet/tcp.h>
6024 #ifdef HAVE_NETINET_TCP_TIMER_H
6025 #include <netinet/tcp_timer.h>
6028 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6029 cat >>confdefs.h
<<_ACEOF
6030 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6038 for ac_header
in linux
/ipx.h linux
/irda.h
6040 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6041 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6042 #ifdef HAVE_ASM_TYPES_H
6043 # include <asm/types.h>
6045 #ifdef HAVE_SYS_SOCKET_H
6046 # include <sys/socket.h>
6048 #ifdef HAVE_LINUX_TYPES_H
6049 # include <linux/types.h>
6052 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6053 cat >>confdefs.h
<<_ACEOF
6054 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6062 for ac_header
in mach-o
/dyld_images.h
6064 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6065 # include <stdbool.h>
6067 #ifdef HAVE_STDINT_H
6068 # include <stdint.h>
6071 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6072 cat >>confdefs.h
<<_ACEOF
6073 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6081 for ac_header
in resolv.h
6083 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6084 #ifdef HAVE_SYS_SOCKET_H
6085 # include <sys/socket.h>
6087 #ifdef HAVE_NETINET_IN_H
6088 # include <netinet/in.h>
6090 #ifdef HAVE_ARPA_NAMESER_H
6091 # include <arpa/nameser.h>
6094 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6095 cat >>confdefs.h
<<_ACEOF
6096 #define HAVE_RESOLV_H 1
6104 for ac_header
in ifaddrs.h
6106 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6108 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6109 cat >>confdefs.h
<<_ACEOF
6110 #define HAVE_IFADDRS_H 1
6118 for ac_header
in ucontext.h
6120 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6122 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6123 cat >>confdefs.h
<<_ACEOF
6124 #define HAVE_UCONTEXT_H 1
6132 for ac_header
in sys
/thr.h
6134 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6135 #ifdef HAVE_UCONTEXT_H
6136 #include <ucontext.h>
6139 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6140 cat >>confdefs.h
<<_ACEOF
6141 #define HAVE_SYS_THR_H 1
6149 for ac_header
in pthread_np.h
6151 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6152 #include <pthread.h>
6155 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6156 cat >>confdefs.h
<<_ACEOF
6157 #define HAVE_PTHREAD_NP_H 1
6165 for ac_header
in linux
/videodev.h linux
/videodev2.h
6167 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6168 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6169 #include <sys/time.h>
6171 #include <sys/types.h>
6172 #ifdef HAVE_ASM_TYPES_H
6173 #include <asm/types.h>
6176 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6177 cat >>confdefs.h
<<_ACEOF
6178 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6186 for ac_header
in linux
/capi.h
6188 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6190 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6191 cat >>confdefs.h
<<_ACEOF
6192 #define HAVE_LINUX_CAPI_H 1
6203 DLLFLAGS
="-D_REENTRANT"
6217 STATIC_IMPLIBEXT
="def.a"
6218 # Extract the first word of "ldd", so it can be a program name with args.
6219 set dummy ldd
; ac_word
=$2
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6221 $as_echo_n "checking for $ac_word... " >&6; }
6222 if ${ac_cv_path_LDD+:} false
; then :
6223 $as_echo_n "(cached) " >&6
6227 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6230 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6231 as_dummy
="/sbin:/usr/sbin:$PATH"
6232 for as_dir
in $as_dummy
6235 test -z "$as_dir" && as_dir
=.
6236 for ac_exec_ext
in '' $ac_executable_extensions; do
6237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6238 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6246 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6251 if test -n "$LDD"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6253 $as_echo "$LDD" >&6; }
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6263 if test -n "$ac_tool_prefix"; then
6264 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6265 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6267 $as_echo_n "checking for $ac_word... " >&6; }
6268 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6269 $as_echo_n "(cached) " >&6
6271 if test -n "$DLLTOOL"; then
6272 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6274 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6278 test -z "$as_dir" && as_dir
=.
6279 for ac_exec_ext
in '' $ac_executable_extensions; do
6280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6281 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6291 DLLTOOL
=$ac_cv_prog_DLLTOOL
6292 if test -n "$DLLTOOL"; then
6293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6294 $as_echo "$DLLTOOL" >&6; }
6296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6297 $as_echo "no" >&6; }
6302 if test -z "$ac_cv_prog_DLLTOOL"; then
6303 ac_ct_DLLTOOL
=$DLLTOOL
6304 # Extract the first word of "dlltool", so it can be a program name with args.
6305 set dummy dlltool
; ac_word
=$2
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6307 $as_echo_n "checking for $ac_word... " >&6; }
6308 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6309 $as_echo_n "(cached) " >&6
6311 if test -n "$ac_ct_DLLTOOL"; then
6312 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6318 test -z "$as_dir" && as_dir
=.
6319 for ac_exec_ext
in '' $ac_executable_extensions; do
6320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6321 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6332 if test -n "$ac_ct_DLLTOOL"; then
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6334 $as_echo "$ac_ct_DLLTOOL" >&6; }
6336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6337 $as_echo "no" >&6; }
6340 if test "x$ac_ct_DLLTOOL" = x
; then
6343 case $cross_compiling:$ac_tool_warned in
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6346 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6347 ac_tool_warned
=yes ;;
6349 DLLTOOL
=$ac_ct_DLLTOOL
6352 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6355 if test -n "$ac_tool_prefix"; then
6356 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6357 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6359 $as_echo_n "checking for $ac_word... " >&6; }
6360 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6361 $as_echo_n "(cached) " >&6
6363 if test -n "$DLLWRAP"; then
6364 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6370 test -z "$as_dir" && as_dir
=.
6371 for ac_exec_ext
in '' $ac_executable_extensions; do
6372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6373 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6374 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6383 DLLWRAP
=$ac_cv_prog_DLLWRAP
6384 if test -n "$DLLWRAP"; then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6386 $as_echo "$DLLWRAP" >&6; }
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6389 $as_echo "no" >&6; }
6394 if test -z "$ac_cv_prog_DLLWRAP"; then
6395 ac_ct_DLLWRAP
=$DLLWRAP
6396 # Extract the first word of "dllwrap", so it can be a program name with args.
6397 set dummy dllwrap
; ac_word
=$2
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6399 $as_echo_n "checking for $ac_word... " >&6; }
6400 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6401 $as_echo_n "(cached) " >&6
6403 if test -n "$ac_ct_DLLWRAP"; then
6404 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6406 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6410 test -z "$as_dir" && as_dir
=.
6411 for ac_exec_ext
in '' $ac_executable_extensions; do
6412 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6413 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6423 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6424 if test -n "$ac_ct_DLLWRAP"; then
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6426 $as_echo "$ac_ct_DLLWRAP" >&6; }
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6429 $as_echo "no" >&6; }
6432 if test "x$ac_ct_DLLWRAP" = x
; then
6435 case $cross_compiling:$ac_tool_warned in
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6438 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6439 ac_tool_warned
=yes ;;
6441 DLLWRAP
=$ac_ct_DLLWRAP
6444 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6447 if test "$DLLWRAP" = "false"; then
6453 STATIC_IMPLIBEXT
="a"
6454 enable_iphlpapi
=${enable_iphlpapi:-no}
6455 enable_kernel32
=${enable_kernel32:-no}
6456 enable_msvcrt
=${enable_msvcrt:-no}
6457 enable_ntdll
=${enable_ntdll:-no}
6458 enable_ws2_32
=${enable_ws2_32:-no}
6459 enable_loader
=${enable_loader:-no}
6460 enable_server
=${enable_server:-no}
6461 with_x
=${with_x:-no}
6462 with_pthread
=${with_pthread:-no}
6467 DLLFLAGS
="$DLLFLAGS -fPIC"
6468 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6469 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6470 LDSHARED
="\$(CC) -dynamiclib"
6471 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6472 COREFOUNDATIONLIB
="-framework CoreFoundation"
6474 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6476 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6480 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6483 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6486 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6488 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6491 if test "$ac_cv_header_Security_Security_h" = "yes"
6493 SECURITYLIB
="-framework Security -framework CoreFoundation"
6495 ac_save_LIBS
="$LIBS"
6496 LIBS
="$LIBS $SECURITYLIB"
6497 for ac_func
in SSLCopyPeerCertificates
6499 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6500 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6501 cat >>confdefs.h
<<_ACEOF
6502 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6508 LIBS
="$ac_save_LIBS"
6509 with_gnutls
=${with_gnutls:-no}
6511 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6513 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6515 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6518 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6521 ac_save_LIBS
="$LIBS"
6522 LIBS
="$LIBS $COREAUDIO"
6523 for ac_func
in AUGraphAddNode
6525 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6526 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6527 cat >>confdefs.h
<<_ACEOF
6528 #define HAVE_AUGRAPHADDNODE 1
6534 LIBS
="$ac_save_LIBS"
6536 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6538 FRAMEWORK_OPENAL
="-framework OpenAL"
6541 cat >>confdefs.h
<<_ACEOF
6542 #define HAVE_OPENAL 1
6545 ac_cv_lib_openal
=yes
6547 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6549 LIBOPENCL
="-framework OpenCL"
6551 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6553 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6555 ac_save_LIBS
="$LIBS"
6556 LIBS
="$LIBS $IOKITLIB"
6557 for ac_func
in IOHIDManagerCreate
6559 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6560 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6561 cat >>confdefs.h
<<_ACEOF
6562 #define HAVE_IOHIDMANAGERCREATE 1
6568 LIBS
="$ac_save_LIBS"
6572 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6574 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6576 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6578 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6580 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6582 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6584 CARBONLIB
="-framework Carbon"
6586 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6588 if test "x$enable_win16" = "xyes"
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6591 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6592 if test "$cross_compiling" = yes; then :
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6594 $as_echo "cross-compiling, assuming yes" >&6; }
6596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6597 /* end confdefs.h. */
6600 "good:\tnop;nop\n\t"
6601 ".globl _testfunc\n"
6602 "_testfunc:\tcallw good");
6603 extern void testfunc();
6607 unsigned short *p = (unsigned short *)testfunc;
6608 return p[0] != 0xe866 || p[1] != 0xfffa
6613 if ac_fn_c_try_run
"$LINENO"; then :
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6615 $as_echo "yes" >&6; }
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6618 $as_echo "no" >&6; }
6619 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
6621 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6622 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6628 DLLFLAGS
="$DLLFLAGS -fPIC"
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6631 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6632 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6633 $as_echo_n "(cached) " >&6
6635 ac_wine_try_cflags_saved
=$CFLAGS
6636 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6641 if ac_fn_c_try_link
"$LINENO"; then :
6642 ac_cv_c_dll_gnuelf
="yes"
6644 ac_cv_c_dll_gnuelf
="no"
6646 rm -f core conftest.err conftest.
$ac_objext \
6647 conftest
$ac_exeext conftest.
$ac_ext
6648 CFLAGS
=$ac_wine_try_cflags_saved
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6651 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6652 if test "$ac_cv_c_dll_gnuelf" = "yes"
6654 LDSHARED
="\$(CC) -shared"
6655 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6657 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6658 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6659 $as_echo_n "(cached) " >&6
6661 ac_wine_try_cflags_saved
=$CFLAGS
6662 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6663 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6664 /* end confdefs.h. */
6665 int main(int argc, char **argv) { return 0; }
6667 if ac_fn_c_try_link
"$LINENO"; then :
6668 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6670 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6672 rm -f core conftest.err conftest.
$ac_objext \
6673 conftest
$ac_exeext conftest.
$ac_ext
6674 CFLAGS
=$ac_wine_try_cflags_saved
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6677 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6678 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6679 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6682 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6683 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6684 $as_echo_n "(cached) " >&6
6686 ac_wine_try_cflags_saved
=$CFLAGS
6687 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6689 /* end confdefs.h. */
6690 int main(int argc, char **argv) { return 0; }
6692 if ac_fn_c_try_link
"$LINENO"; then :
6693 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6695 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6697 rm -f core conftest.err conftest.
$ac_objext \
6698 conftest
$ac_exeext conftest.
$ac_ext
6699 CFLAGS
=$ac_wine_try_cflags_saved
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6702 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6703 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6704 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6709 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6710 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6711 $as_echo_n "(cached) " >&6
6713 ac_wine_try_cflags_saved
=$CFLAGS
6714 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
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__Bsymbolic__z_defs
=yes
6722 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=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__Bsymbolic__z_defs" >&5
6729 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6730 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6731 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6734 { $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
6735 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6736 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6737 $as_echo_n "(cached) " >&6
6739 ac_wine_try_cflags_saved
=$CFLAGS
6740 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6742 /* end confdefs.h. */
6743 int main(int argc, char **argv) { return 0; }
6745 if ac_fn_c_try_link
"$LINENO"; then :
6746 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6748 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6750 rm -f core conftest.err conftest.
$ac_objext \
6751 conftest
$ac_exeext conftest.
$ac_ext
6752 CFLAGS
=$ac_wine_try_cflags_saved
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6755 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6756 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6757 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6760 echo '{ global: *; };' >conftest.map
6761 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6763 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6764 if eval \
${$as_ac_var+:} false
; then :
6765 $as_echo_n "(cached) " >&6
6767 ac_wine_try_cflags_saved
=$CFLAGS
6768 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6769 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6770 /* end confdefs.h. */
6771 int main(int argc, char **argv) { return 0; }
6773 if ac_fn_c_try_link
"$LINENO"; then :
6774 eval "$as_ac_var=yes"
6776 eval "$as_ac_var=no"
6778 rm -f core conftest.err conftest.
$ac_objext \
6779 conftest
$ac_exeext conftest.
$ac_ext
6780 CFLAGS
=$ac_wine_try_cflags_saved
6782 eval ac_res
=\$
$as_ac_var
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6784 $as_echo "$ac_res" >&6; }
6785 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6786 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6791 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6792 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6793 $as_echo_n "(cached) " >&6
6795 ac_wine_try_cflags_saved
=$CFLAGS
6796 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6799 int main(int argc, char **argv) { return 0; }
6801 if ac_fn_c_try_link
"$LINENO"; then :
6802 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6804 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6806 rm -f core conftest.err conftest.
$ac_objext \
6807 conftest
$ac_exeext conftest.
$ac_ext
6808 CFLAGS
=$ac_wine_try_cflags_saved
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6811 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6812 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6813 LDEXECFLAGS
="-Wl,--export-dynamic"
6817 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6819 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6820 if eval \
${$as_ac_var+:} false
; then :
6821 $as_echo_n "(cached) " >&6
6823 ac_wine_try_cflags_saved
=$CFLAGS
6824 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6826 /* end confdefs.h. */
6827 int main(int argc, char **argv) { return 0; }
6829 if ac_fn_c_try_link
"$LINENO"; then :
6830 eval "$as_ac_var=yes"
6832 eval "$as_ac_var=no"
6834 rm -f core conftest.err conftest.
$ac_objext \
6835 conftest
$ac_exeext conftest.
$ac_ext
6836 CFLAGS
=$ac_wine_try_cflags_saved
6838 eval ac_res
=\$
$as_ac_var
6839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6840 $as_echo "$ac_res" >&6; }
6841 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6842 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6843 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6845 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6847 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6848 if eval \
${$as_ac_var+:} false
; then :
6849 $as_echo_n "(cached) " >&6
6851 ac_wine_try_cflags_saved
=$CFLAGS
6852 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6855 int main(int argc, char **argv) { return 0; }
6857 if ac_fn_c_try_link
"$LINENO"; then :
6858 eval "$as_ac_var=yes"
6860 eval "$as_ac_var=no"
6862 rm -f core conftest.err conftest.
$ac_objext \
6863 conftest
$ac_exeext conftest.
$ac_ext
6864 CFLAGS
=$ac_wine_try_cflags_saved
6866 eval ac_res
=\$
$as_ac_var
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6868 $as_echo "$ac_res" >&6; }
6869 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6870 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6871 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6876 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6877 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6878 $as_echo_n "(cached) " >&6
6880 ac_wine_try_cflags_saved
=$CFLAGS
6881 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6883 /* end confdefs.h. */
6884 int main(int argc, char **argv) { return 0; }
6886 if ac_fn_c_try_link
"$LINENO"; then :
6887 ac_cv_cflags__Wl___enable_new_dtags
=yes
6889 ac_cv_cflags__Wl___enable_new_dtags
=no
6891 rm -f core conftest.err conftest.
$ac_objext \
6892 conftest
$ac_exeext conftest.
$ac_ext
6893 CFLAGS
=$ac_wine_try_cflags_saved
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6896 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6897 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6898 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6902 *i
[3456789]86* | x86_64
)
6903 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6905 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6906 if eval \
${$as_ac_var+:} false
; then :
6907 $as_echo_n "(cached) " >&6
6909 ac_wine_try_cflags_saved
=$CFLAGS
6910 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 int main(int argc, char **argv) { return 0; }
6915 if ac_fn_c_try_link
"$LINENO"; then :
6916 eval "$as_ac_var=yes"
6918 eval "$as_ac_var=no"
6920 rm -f core conftest.err conftest.
$ac_objext \
6921 conftest
$ac_exeext conftest.
$ac_ext
6922 CFLAGS
=$ac_wine_try_cflags_saved
6924 eval ac_res
=\$
$as_ac_var
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6926 $as_echo "$ac_res" >&6; }
6927 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6929 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6930 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6934 # Extract the first word of "prelink", so it can be a program name with args.
6935 set dummy prelink
; ac_word
=$2
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6937 $as_echo_n "checking for $ac_word... " >&6; }
6938 if ${ac_cv_path_PRELINK+:} false
; then :
6939 $as_echo_n "(cached) " >&6
6943 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6947 for as_dir
in /sbin
/usr
/sbin
$PATH
6950 test -z "$as_dir" && as_dir
=.
6951 for ac_exec_ext
in '' $ac_executable_extensions; do
6952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6961 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6965 PRELINK
=$ac_cv_path_PRELINK
6966 if test -n "$PRELINK"; then
6967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6968 $as_echo "$PRELINK" >&6; }
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6971 $as_echo "no" >&6; }
6975 if test "x$PRELINK" = xfalse
6977 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6984 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6985 if ${ac_cv_c_dll_unixware+:} false
; then :
6986 $as_echo_n "(cached) " >&6
6988 ac_wine_try_cflags_saved
=$CFLAGS
6989 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6991 /* end confdefs.h. */
6994 if ac_fn_c_try_link
"$LINENO"; then :
6995 ac_cv_c_dll_unixware
="yes"
6997 ac_cv_c_dll_unixware
="no"
6999 rm -f core conftest.err conftest.
$ac_objext \
7000 conftest
$ac_exeext conftest.
$ac_ext
7001 CFLAGS
=$ac_wine_try_cflags_saved
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7004 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7005 if test "$ac_cv_c_dll_unixware" = "yes"
7007 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7008 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7012 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7013 if ${ac_cv_c_dll_hpux+:} false
; then :
7014 $as_echo_n "(cached) " >&6
7016 ac_wine_try_cflags_saved
=$CFLAGS
7017 CFLAGS
="$CFLAGS -shared"
7018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7019 /* end confdefs.h. */
7022 if ac_fn_c_try_link
"$LINENO"; then :
7023 ac_cv_c_dll_hpux
="yes"
7025 ac_cv_c_dll_hpux
="no"
7027 rm -f core conftest.err conftest.
$ac_objext \
7028 conftest
$ac_exeext conftest.
$ac_ext
7029 CFLAGS
=$ac_wine_try_cflags_saved
7031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7032 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7033 if test "$ac_cv_c_dll_hpux" = "yes"
7037 LDDLLFLAGS
="-shared -fPIC"
7038 LDSHARED
="\$(CC) -shared"
7045 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7046 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7048 if test "$LIBEXT" = "a"; then
7049 as_fn_error $?
"could not find a way to build shared libraries.
7050 It is currently not possible to build Wine without shared library
7051 (.so) support to allow transparent switch between .so and .dll files.
7052 If you are using Linux, you will need a newer binutils.
7056 CROSSTEST_DISABLE
=\
#
7058 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7062 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 " ;;
7064 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 " ;;
7066 ac_prefix_list
="" ;;
7068 for ac_prog
in $ac_prefix_list
7070 # Extract the first word of "$ac_prog", so it can be a program name with args.
7071 set dummy
$ac_prog; ac_word
=$2
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7073 $as_echo_n "checking for $ac_word... " >&6; }
7074 if ${ac_cv_prog_CROSSCC+:} false
; then :
7075 $as_echo_n "(cached) " >&6
7077 if test -n "$CROSSCC"; then
7078 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7084 test -z "$as_dir" && as_dir
=.
7085 for ac_exec_ext
in '' $ac_executable_extensions; do
7086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7087 ac_cv_prog_CROSSCC
="$ac_prog"
7088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 CROSSCC
=$ac_cv_prog_CROSSCC
7098 if test -n "$CROSSCC"; then
7099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7100 $as_echo "$CROSSCC" >&6; }
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7103 $as_echo "no" >&6; }
7107 test -n "$CROSSCC" && break
7109 test -n "$CROSSCC" || CROSSCC
="false"
7111 if test "$CROSSCC" != "false"
7115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7116 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7117 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7128 if ac_fn_c_try_compile
"$LINENO"; then :
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7130 $as_echo "yes" >&6; }
7137 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7141 if test -n "$target"
7143 CROSSTEST_DISABLE
=""
7144 CROSSTARGET
="$target"
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 $as_echo "no" >&6; }
7151 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7157 if test "$ac_cv_header_pthread_h" = "yes"
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7160 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7161 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7162 $as_echo_n "(cached) " >&6
7164 ac_check_lib_save_LIBS
=$LIBS
7165 LIBS
="-lpthread $LIBS"
7166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7167 /* end confdefs.h. */
7169 /* Override any GCC internal prototype to avoid an error.
7170 Use char because int might match the return type of a GCC
7171 builtin and then its argument prototype would still apply. */
7175 char pthread_create ();
7179 return pthread_create ();
7184 if ac_fn_c_try_link
"$LINENO"; then :
7185 ac_cv_lib_pthread_pthread_create
=yes
7187 ac_cv_lib_pthread_pthread_create
=no
7189 rm -f core conftest.err conftest.
$ac_objext \
7190 conftest
$ac_exeext conftest.
$ac_ext
7191 LIBS
=$ac_check_lib_save_LIBS
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7194 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7195 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7196 LIBPTHREAD
="-lpthread"
7201 if test "x$LIBPTHREAD" = "x"; then :
7202 case "x$with_pthread" in
7204 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7205 Wine cannot support threads without libpthread.
7206 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7212 $as_echo_n "checking for X... " >&6; }
7215 # Check whether --with-x was given.
7216 if test "${with_x+set}" = set; then :
7220 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7221 if test "x$with_x" = xno
; then
7222 # The user explicitly disabled X.
7225 case $x_includes,$x_libraries in #(
7226 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7227 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7228 $as_echo_n "(cached) " >&6
7230 # One or both of the vars are not set, and there is no cached value.
7231 ac_x_includes
=no ac_x_libraries
=no
7232 rm -f -r conftest.dir
7233 if mkdir conftest.dir
; then
7235 cat >Imakefile
<<'_ACEOF'
7237 @echo incroot='${INCROOT}'
7239 @echo usrlibdir='${USRLIBDIR}'
7241 @echo libdir='${LIBDIR}'
7243 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7244 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7245 for ac_var
in incroot usrlibdir libdir
; do
7246 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7248 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7249 for ac_extension
in a so sl dylib la dll
; do
7250 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7251 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7252 ac_im_usrlibdir
=$ac_im_libdir; break
7255 # Screen out bogus values from the imake configuration. They are
7256 # bogus both because they are the default anyway, and because
7257 # using them would break gcc on systems where it needs fixed includes.
7258 case $ac_im_incroot in
7259 /usr
/include
) ac_x_includes
= ;;
7260 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7262 case $ac_im_usrlibdir in
7263 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7264 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7268 rm -f -r conftest.dir
7271 # Standard set of common directories for X headers.
7272 # Check X11 before X11Rn because it is often a symlink to the current release.
7286 /usr/local/X11/include
7287 /usr/local/X11R7/include
7288 /usr/local/X11R6/include
7289 /usr/local/X11R5/include
7290 /usr/local/X11R4/include
7292 /usr/local/include/X11
7293 /usr/local/include/X11R7
7294 /usr/local/include/X11R6
7295 /usr/local/include/X11R5
7296 /usr/local/include/X11R4
7300 /usr/XFree86/include/X11
7304 /usr/unsupported/include
7306 /usr/local/x11r5/include
7307 /usr/lpp/Xamples/include
7309 /usr/openwin/include
7310 /usr/openwin/share/include'
7312 if test "$ac_x_includes" = no
; then
7313 # Guess where to find include files, by looking for Xlib.h.
7314 # First, try using that file with no special directory specified.
7315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7316 /* end confdefs.h. */
7317 #include <X11/Xlib.h>
7319 if ac_fn_c_try_cpp
"$LINENO"; then :
7320 # We can compile using X headers with no special include directory.
7323 for ac_dir
in $ac_x_header_dirs; do
7324 if test -r "$ac_dir/X11/Xlib.h"; then
7325 ac_x_includes
=$ac_dir
7330 rm -f conftest.err conftest.i conftest.
$ac_ext
7331 fi # $ac_x_includes = no
7333 if test "$ac_x_libraries" = no
; then
7334 # Check for the libraries.
7335 # See if we find them without any special options.
7336 # Don't add to $LIBS permanently.
7339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7340 /* end confdefs.h. */
7341 #include <X11/Xlib.h>
7350 if ac_fn_c_try_link
"$LINENO"; then :
7352 # We can link X programs with no special library path.
7356 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7358 # Don't even attempt the hair of trying to link an X program!
7359 for ac_extension
in a so sl dylib la dll
; do
7360 if test -r "$ac_dir/libX11.$ac_extension"; then
7361 ac_x_libraries
=$ac_dir
7367 rm -f core conftest.err conftest.
$ac_objext \
7368 conftest
$ac_exeext conftest.
$ac_ext
7369 fi # $ac_x_libraries = no
7371 case $ac_x_includes,$ac_x_libraries in #(
7373 # Didn't find X, or a directory has "'" in its name.
7374 ac_cv_have_x
="have_x=no";; #(
7376 # Record where we found X for the cache.
7377 ac_cv_have_x
="have_x=yes\
7378 ac_x_includes='$ac_x_includes'\
7379 ac_x_libraries='$ac_x_libraries'"
7385 eval "$ac_cv_have_x"
7388 if test "$have_x" != yes; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7390 $as_echo "$have_x" >&6; }
7393 # If each of the values was on the command line, it overrides each guess.
7394 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7395 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7396 # Update the cache value to reflect the command line values.
7397 ac_cv_have_x
="have_x=yes\
7398 ac_x_includes='$x_includes'\
7399 ac_x_libraries='$x_libraries'"
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7401 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7404 if test "$no_x" = yes; then
7405 # Not all programs may use this symbol, but it does not hurt to define it.
7407 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7409 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7411 if test -n "$x_includes"; then
7412 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7415 # It would also be nice to do this for all -L options, not just this one.
7416 if test -n "$x_libraries"; then
7417 X_LIBS
="$X_LIBS -L$x_libraries"
7418 # For Solaris; some versions of Sun CC require a space after -R and
7419 # others require no space. Words are not sufficient . . . .
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7421 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7422 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7423 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7424 ac_c_werror_flag
=yes
7425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7436 if ac_fn_c_try_link
"$LINENO"; then :
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7438 $as_echo "no" >&6; }
7439 X_LIBS
="$X_LIBS -R$x_libraries"
7441 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7443 /* end confdefs.h. */
7453 if ac_fn_c_try_link
"$LINENO"; then :
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7455 $as_echo "yes" >&6; }
7456 X_LIBS
="$X_LIBS -R $x_libraries"
7458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7459 $as_echo "neither works" >&6; }
7461 rm -f core conftest.err conftest.
$ac_objext \
7462 conftest
$ac_exeext conftest.
$ac_ext
7464 rm -f core conftest.err conftest.
$ac_objext \
7465 conftest
$ac_exeext conftest.
$ac_ext
7466 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7470 # Check for system-dependent libraries X programs must link with.
7471 # Do this before checking for the system-independent R6 libraries
7472 # (-lICE), since we may need -lsocket or whatever for X linking.
7474 if test "$ISC" = yes; then
7475 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7477 # Martyn Johnson says this is needed for Ultrix, if the X
7478 # libraries were built with DECnet support. And Karl Berry says
7479 # the Alpha needs dnet_stub (dnet does not exist).
7480 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7482 /* end confdefs.h. */
7484 /* Override any GCC internal prototype to avoid an error.
7485 Use char because int might match the return type of a GCC
7486 builtin and then its argument prototype would still apply. */
7490 char XOpenDisplay ();
7494 return XOpenDisplay ();
7499 if ac_fn_c_try_link
"$LINENO"; then :
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7503 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7504 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7505 $as_echo_n "(cached) " >&6
7507 ac_check_lib_save_LIBS
=$LIBS
7509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7512 /* Override any GCC internal prototype to avoid an error.
7513 Use char because int might match the return type of a GCC
7514 builtin and then its argument prototype would still apply. */
7522 return dnet_ntoa ();
7527 if ac_fn_c_try_link
"$LINENO"; then :
7528 ac_cv_lib_dnet_dnet_ntoa
=yes
7530 ac_cv_lib_dnet_dnet_ntoa
=no
7532 rm -f core conftest.err conftest.
$ac_objext \
7533 conftest
$ac_exeext conftest.
$ac_ext
7534 LIBS
=$ac_check_lib_save_LIBS
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7537 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7538 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7539 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7542 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7544 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7545 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7546 $as_echo_n "(cached) " >&6
7548 ac_check_lib_save_LIBS
=$LIBS
7549 LIBS
="-ldnet_stub $LIBS"
7550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7551 /* end confdefs.h. */
7553 /* Override any GCC internal prototype to avoid an error.
7554 Use char because int might match the return type of a GCC
7555 builtin and then its argument prototype would still apply. */
7563 return dnet_ntoa ();
7568 if ac_fn_c_try_link
"$LINENO"; then :
7569 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7571 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7573 rm -f core conftest.err conftest.
$ac_objext \
7574 conftest
$ac_exeext conftest.
$ac_ext
7575 LIBS
=$ac_check_lib_save_LIBS
7577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7578 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7579 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7580 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7585 rm -f core conftest.err conftest.
$ac_objext \
7586 conftest
$ac_exeext conftest.
$ac_ext
7587 LIBS
="$ac_xsave_LIBS"
7589 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7590 # to get the SysV transport functions.
7591 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7593 # The nsl library prevents programs from opening the X display
7594 # on Irix 5.2, according to T.E. Dickey.
7595 # The functions gethostbyname, getservbyname, and inet_addr are
7596 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7597 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7598 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7602 if test $ac_cv_func_gethostbyname = no
; then
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7604 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7605 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7606 $as_echo_n "(cached) " >&6
7608 ac_check_lib_save_LIBS
=$LIBS
7610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7611 /* end confdefs.h. */
7613 /* Override any GCC internal prototype to avoid an error.
7614 Use char because int might match the return type of a GCC
7615 builtin and then its argument prototype would still apply. */
7619 char gethostbyname ();
7623 return gethostbyname ();
7628 if ac_fn_c_try_link
"$LINENO"; then :
7629 ac_cv_lib_nsl_gethostbyname
=yes
7631 ac_cv_lib_nsl_gethostbyname
=no
7633 rm -f core conftest.err conftest.
$ac_objext \
7634 conftest
$ac_exeext conftest.
$ac_ext
7635 LIBS
=$ac_check_lib_save_LIBS
7637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7638 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7639 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7640 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7643 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7645 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7646 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7647 $as_echo_n "(cached) " >&6
7649 ac_check_lib_save_LIBS
=$LIBS
7651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7652 /* end confdefs.h. */
7654 /* Override any GCC internal prototype to avoid an error.
7655 Use char because int might match the return type of a GCC
7656 builtin and then its argument prototype would still apply. */
7660 char gethostbyname ();
7664 return gethostbyname ();
7669 if ac_fn_c_try_link
"$LINENO"; then :
7670 ac_cv_lib_bsd_gethostbyname
=yes
7672 ac_cv_lib_bsd_gethostbyname
=no
7674 rm -f core conftest.err conftest.
$ac_objext \
7675 conftest
$ac_exeext conftest.
$ac_ext
7676 LIBS
=$ac_check_lib_save_LIBS
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7679 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7680 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7681 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7687 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7688 # socket/setsockopt and other routines are undefined under SCO ODT
7689 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7690 # on later versions), says Simon Leinen: it contains gethostby*
7691 # variants that don't use the name server (or something). -lsocket
7692 # must be given before -lnsl if both are needed. We assume that
7693 # if connect needs -lnsl, so does gethostbyname.
7694 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7695 if test "x$ac_cv_func_connect" = xyes
; then :
7699 if test $ac_cv_func_connect = no
; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7701 $as_echo_n "checking for connect in -lsocket... " >&6; }
7702 if ${ac_cv_lib_socket_connect+:} false
; then :
7703 $as_echo_n "(cached) " >&6
7705 ac_check_lib_save_LIBS
=$LIBS
7706 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7708 /* end confdefs.h. */
7710 /* Override any GCC internal prototype to avoid an error.
7711 Use char because int might match the return type of a GCC
7712 builtin and then its argument prototype would still apply. */
7725 if ac_fn_c_try_link
"$LINENO"; then :
7726 ac_cv_lib_socket_connect
=yes
7728 ac_cv_lib_socket_connect
=no
7730 rm -f core conftest.err conftest.
$ac_objext \
7731 conftest
$ac_exeext conftest.
$ac_ext
7732 LIBS
=$ac_check_lib_save_LIBS
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7735 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7736 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7737 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7742 # Guillermo Gomez says -lposix is necessary on A/UX.
7743 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7744 if test "x$ac_cv_func_remove" = xyes
; then :
7748 if test $ac_cv_func_remove = no
; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7750 $as_echo_n "checking for remove in -lposix... " >&6; }
7751 if ${ac_cv_lib_posix_remove+:} false
; then :
7752 $as_echo_n "(cached) " >&6
7754 ac_check_lib_save_LIBS
=$LIBS
7755 LIBS
="-lposix $LIBS"
7756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7759 /* Override any GCC internal prototype to avoid an error.
7760 Use char because int might match the return type of a GCC
7761 builtin and then its argument prototype would still apply. */
7774 if ac_fn_c_try_link
"$LINENO"; then :
7775 ac_cv_lib_posix_remove
=yes
7777 ac_cv_lib_posix_remove
=no
7779 rm -f core conftest.err conftest.
$ac_objext \
7780 conftest
$ac_exeext conftest.
$ac_ext
7781 LIBS
=$ac_check_lib_save_LIBS
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7784 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7785 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7786 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7791 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7792 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7793 if test "x$ac_cv_func_shmat" = xyes
; then :
7797 if test $ac_cv_func_shmat = no
; then
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7799 $as_echo_n "checking for shmat in -lipc... " >&6; }
7800 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7801 $as_echo_n "(cached) " >&6
7803 ac_check_lib_save_LIBS
=$LIBS
7805 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7808 /* Override any GCC internal prototype to avoid an error.
7809 Use char because int might match the return type of a GCC
7810 builtin and then its argument prototype would still apply. */
7823 if ac_fn_c_try_link
"$LINENO"; then :
7824 ac_cv_lib_ipc_shmat
=yes
7826 ac_cv_lib_ipc_shmat
=no
7828 rm -f core conftest.err conftest.
$ac_objext \
7829 conftest
$ac_exeext conftest.
$ac_ext
7830 LIBS
=$ac_check_lib_save_LIBS
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7833 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7834 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7835 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7841 # Check for libraries that X11R6 Xt/Xaw programs need.
7842 ac_save_LDFLAGS
=$LDFLAGS
7843 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7844 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7845 # check for ICE first), but we must link in the order -lSM -lICE or
7846 # we get undefined symbols. So assume we have SM if we have ICE.
7847 # These have to be linked with before -lX11, unlike the other
7848 # libraries we check for below, so use a different variable.
7849 # John Interrante, Karl Berry
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7851 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7852 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7853 $as_echo_n "(cached) " >&6
7855 ac_check_lib_save_LIBS
=$LIBS
7856 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7860 /* Override any GCC internal prototype to avoid an error.
7861 Use char because int might match the return type of a GCC
7862 builtin and then its argument prototype would still apply. */
7866 char IceConnectionNumber ();
7870 return IceConnectionNumber ();
7875 if ac_fn_c_try_link
"$LINENO"; then :
7876 ac_cv_lib_ICE_IceConnectionNumber
=yes
7878 ac_cv_lib_ICE_IceConnectionNumber
=no
7880 rm -f core conftest.err conftest.
$ac_objext \
7881 conftest
$ac_exeext conftest.
$ac_ext
7882 LIBS
=$ac_check_lib_save_LIBS
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7885 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7886 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7887 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7890 LDFLAGS
=$ac_save_LDFLAGS
7895 if test "$have_x" = "yes"
7898 ac_save_CPPFLAGS
="$CPPFLAGS"
7899 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7902 $as_echo_n "checking for -lX11... " >&6; }
7903 if ${ac_cv_lib_soname_X11+:} false
; then :
7904 $as_echo_n "(cached) " >&6
7906 ac_check_soname_save_LIBS
=$LIBS
7907 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7909 /* end confdefs.h. */
7911 /* Override any GCC internal prototype to avoid an error.
7912 Use char because int might match the return type of a GCC
7913 builtin and then its argument prototype would still apply. */
7917 char XCreateWindow ();
7921 return XCreateWindow ();
7926 if ac_fn_c_try_link
"$LINENO"; then :
7928 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7929 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'` ;;
7930 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7933 rm -f core conftest.err conftest.
$ac_objext \
7934 conftest
$ac_exeext conftest.
$ac_ext
7935 LIBS
=$ac_check_soname_save_LIBS
7937 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7939 $as_echo "not found" >&6; }
7942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7943 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7945 cat >>confdefs.h
<<_ACEOF
7946 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7952 $as_echo_n "checking for -lXext... " >&6; }
7953 if ${ac_cv_lib_soname_Xext+:} false
; then :
7954 $as_echo_n "(cached) " >&6
7956 ac_check_soname_save_LIBS
=$LIBS
7957 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7959 /* end confdefs.h. */
7961 /* Override any GCC internal prototype to avoid an error.
7962 Use char because int might match the return type of a GCC
7963 builtin and then its argument prototype would still apply. */
7967 char XextCreateExtension ();
7971 return XextCreateExtension ();
7976 if ac_fn_c_try_link
"$LINENO"; then :
7978 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7979 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'` ;;
7980 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7983 rm -f core conftest.err conftest.
$ac_objext \
7984 conftest
$ac_exeext conftest.
$ac_ext
7985 LIBS
=$ac_check_soname_save_LIBS
7987 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7989 $as_echo "not found" >&6; }
7992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7993 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7995 cat >>confdefs.h
<<_ACEOF
7996 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8002 for ac_header
in X11
/Xlib.h \
8005 X11
/Xcursor
/Xcursor.h \
8006 X11
/extensions
/shape.h \
8007 X11
/extensions
/XInput.h \
8008 X11
/extensions
/XInput2.h \
8009 X11
/extensions
/Xcomposite.h \
8010 X11
/extensions
/Xinerama.h \
8011 X11
/extensions
/Xrandr.h \
8012 X11
/extensions
/Xrender.h \
8013 X11
/extensions
/xf86vmode.h \
8014 X11
/extensions
/xf86vmproto.h
8016 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8017 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8018 # include <X11/Xlib.h>
8020 #ifdef HAVE_X11_XUTIL_H
8021 # include <X11/Xutil.h>
8024 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8025 cat >>confdefs.h
<<_ACEOF
8026 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8034 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8037 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8038 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8039 $as_echo_n "(cached) " >&6
8041 ac_check_lib_save_LIBS
=$LIBS
8042 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8044 /* end confdefs.h. */
8046 /* Override any GCC internal prototype to avoid an error.
8047 Use char because int might match the return type of a GCC
8048 builtin and then its argument prototype would still apply. */
8052 char XkbQueryExtension ();
8056 return XkbQueryExtension ();
8061 if ac_fn_c_try_link
"$LINENO"; then :
8062 ac_cv_lib_X11_XkbQueryExtension
=yes
8064 ac_cv_lib_X11_XkbQueryExtension
=no
8066 rm -f core conftest.err conftest.
$ac_objext \
8067 conftest
$ac_exeext conftest.
$ac_ext
8068 LIBS
=$ac_check_lib_save_LIBS
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8071 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8072 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8074 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8080 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8083 $as_echo_n "checking for -lXcursor... " >&6; }
8084 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8085 $as_echo_n "(cached) " >&6
8087 ac_check_soname_save_LIBS
=$LIBS
8088 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8090 /* end confdefs.h. */
8092 /* Override any GCC internal prototype to avoid an error.
8093 Use char because int might match the return type of a GCC
8094 builtin and then its argument prototype would still apply. */
8098 char XcursorImageLoadCursor ();
8102 return XcursorImageLoadCursor ();
8107 if ac_fn_c_try_link
"$LINENO"; then :
8109 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8110 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'` ;;
8111 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8114 rm -f core conftest.err conftest.
$ac_objext \
8115 conftest
$ac_exeext conftest.
$ac_ext
8116 LIBS
=$ac_check_soname_save_LIBS
8118 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8120 $as_echo "not found" >&6; }
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8124 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8126 cat >>confdefs.h
<<_ACEOF
8127 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8133 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8134 case "x$with_xcursor" in
8135 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8137 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8138 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8142 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8145 $as_echo_n "checking for -lXi... " >&6; }
8146 if ${ac_cv_lib_soname_Xi+:} false
; then :
8147 $as_echo_n "(cached) " >&6
8149 ac_check_soname_save_LIBS
=$LIBS
8150 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8151 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8152 /* end confdefs.h. */
8154 /* Override any GCC internal prototype to avoid an error.
8155 Use char because int might match the return type of a GCC
8156 builtin and then its argument prototype would still apply. */
8160 char XOpenDevice ();
8164 return XOpenDevice ();
8169 if ac_fn_c_try_link
"$LINENO"; then :
8171 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8172 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'` ;;
8173 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8176 rm -f core conftest.err conftest.
$ac_objext \
8177 conftest
$ac_exeext conftest.
$ac_ext
8178 LIBS
=$ac_check_soname_save_LIBS
8180 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8182 $as_echo "not found" >&6; }
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8186 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8188 cat >>confdefs.h
<<_ACEOF
8189 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8195 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8196 case "x$with_xinput" in
8197 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8199 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8200 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8204 if test "x$ac_cv_lib_soname_Xi" != x
8206 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8207 case "x$with_xinput2" in
8208 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8210 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8211 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8216 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8219 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8220 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8221 $as_echo_n "(cached) " >&6
8223 ac_check_lib_save_LIBS
=$LIBS
8224 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8226 /* end confdefs.h. */
8228 /* Override any GCC internal prototype to avoid an error.
8229 Use char because int might match the return type of a GCC
8230 builtin and then its argument prototype would still apply. */
8234 char XShapeQueryExtension ();
8238 return XShapeQueryExtension ();
8243 if ac_fn_c_try_link
"$LINENO"; then :
8244 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8246 ac_cv_lib_Xext_XShapeQueryExtension
=no
8248 rm -f core conftest.err conftest.
$ac_objext \
8249 conftest
$ac_exeext conftest.
$ac_ext
8250 LIBS
=$ac_check_lib_save_LIBS
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8253 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8254 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8256 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8261 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8262 case "x$with_xshape" in
8263 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8265 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8266 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8270 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8273 $as_echo_n "checking for -lXxf86vm... " >&6; }
8274 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8275 $as_echo_n "(cached) " >&6
8277 ac_check_soname_save_LIBS
=$LIBS
8278 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8280 /* end confdefs.h. */
8282 /* Override any GCC internal prototype to avoid an error.
8283 Use char because int might match the return type of a GCC
8284 builtin and then its argument prototype would still apply. */
8288 char XF86VidModeQueryExtension ();
8292 return XF86VidModeQueryExtension ();
8297 if ac_fn_c_try_link
"$LINENO"; then :
8299 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8300 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'` ;;
8301 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8304 rm -f core conftest.err conftest.
$ac_objext \
8305 conftest
$ac_exeext conftest.
$ac_ext
8306 LIBS
=$ac_check_soname_save_LIBS
8308 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8310 $as_echo "not found" >&6; }
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8314 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8316 cat >>confdefs.h
<<_ACEOF
8317 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8323 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8324 case "x$with_xxf86vm" in
8325 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8327 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8328 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8332 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"
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8335 $as_echo_n "checking for -lXrender... " >&6; }
8336 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8337 $as_echo_n "(cached) " >&6
8339 ac_check_soname_save_LIBS
=$LIBS
8340 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8342 /* end confdefs.h. */
8344 /* Override any GCC internal prototype to avoid an error.
8345 Use char because int might match the return type of a GCC
8346 builtin and then its argument prototype would still apply. */
8350 char XRenderQueryExtension ();
8354 return XRenderQueryExtension ();
8359 if ac_fn_c_try_link
"$LINENO"; then :
8361 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8362 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'` ;;
8363 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8366 rm -f core conftest.err conftest.
$ac_objext \
8367 conftest
$ac_exeext conftest.
$ac_ext
8368 LIBS
=$ac_check_soname_save_LIBS
8370 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8372 $as_echo "not found" >&6; }
8375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8376 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8378 cat >>confdefs.h
<<_ACEOF
8379 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8383 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8384 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8385 $as_echo_n "(cached) " >&6
8387 ac_check_lib_save_LIBS
=$LIBS
8388 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8392 /* Override any GCC internal prototype to avoid an error.
8393 Use char because int might match the return type of a GCC
8394 builtin and then its argument prototype would still apply. */
8398 char XRenderSetPictureTransform ();
8402 return XRenderSetPictureTransform ();
8407 if ac_fn_c_try_link
"$LINENO"; then :
8408 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8410 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8412 rm -f core conftest.err conftest.
$ac_objext \
8413 conftest
$ac_exeext conftest.
$ac_ext
8414 LIBS
=$ac_check_lib_save_LIBS
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8417 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8418 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8420 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8425 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8426 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8427 $as_echo_n "(cached) " >&6
8429 ac_check_lib_save_LIBS
=$LIBS
8430 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8434 /* Override any GCC internal prototype to avoid an error.
8435 Use char because int might match the return type of a GCC
8436 builtin and then its argument prototype would still apply. */
8440 char XRenderCreateLinearGradient ();
8444 return XRenderCreateLinearGradient ();
8449 if ac_fn_c_try_link
"$LINENO"; then :
8450 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8452 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8454 rm -f core conftest.err conftest.
$ac_objext \
8455 conftest
$ac_exeext conftest.
$ac_ext
8456 LIBS
=$ac_check_lib_save_LIBS
8458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8459 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8460 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8462 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8469 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8470 case "x$with_xrender" in
8471 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8473 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8474 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8478 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8481 /* end confdefs.h. */
8482 #include <X11/Xlib.h>
8483 #include <X11/extensions/Xrandr.h>
8487 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8492 if ac_fn_c_try_compile
"$LINENO"; then :
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8494 $as_echo_n "checking for -lXrandr... " >&6; }
8495 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 ac_check_soname_save_LIBS
=$LIBS
8499 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8509 char XRRQueryExtension ();
8513 return XRRQueryExtension ();
8518 if ac_fn_c_try_link
"$LINENO"; then :
8520 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8521 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'` ;;
8522 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8525 rm -f core conftest.err conftest.
$ac_objext \
8526 conftest
$ac_exeext conftest.
$ac_ext
8527 LIBS
=$ac_check_soname_save_LIBS
8529 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8531 $as_echo "not found" >&6; }
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8535 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8537 cat >>confdefs.h
<<_ACEOF
8538 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8544 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8546 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8547 case "x$with_xrandr" in
8548 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8550 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8551 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8555 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8557 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8558 /* end confdefs.h. */
8559 #include <X11/Xlib.h>
8560 #include <X11/extensions/Xinerama.h>
8564 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8569 if ac_fn_c_try_compile
"$LINENO"; then :
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8571 $as_echo_n "checking for -lXinerama... " >&6; }
8572 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8573 $as_echo_n "(cached) " >&6
8575 ac_check_soname_save_LIBS
=$LIBS
8576 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8580 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */
8586 char XineramaQueryScreens ();
8590 return XineramaQueryScreens ();
8595 if ac_fn_c_try_link
"$LINENO"; then :
8597 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8598 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'` ;;
8599 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8602 rm -f core conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 LIBS
=$ac_check_soname_save_LIBS
8606 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8608 $as_echo "not found" >&6; }
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8612 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8614 cat >>confdefs.h
<<_ACEOF
8615 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8621 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8623 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8624 case "x$with_xinerama" in
8625 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8627 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8628 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8632 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8635 $as_echo_n "checking for -lXcomposite... " >&6; }
8636 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8637 $as_echo_n "(cached) " >&6
8639 ac_check_soname_save_LIBS
=$LIBS
8640 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8644 /* Override any GCC internal prototype to avoid an error.
8645 Use char because int might match the return type of a GCC
8646 builtin and then its argument prototype would still apply. */
8650 char XCompositeRedirectWindow ();
8654 return XCompositeRedirectWindow ();
8659 if ac_fn_c_try_link
"$LINENO"; then :
8661 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8662 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'` ;;
8663 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8666 rm -f core conftest.err conftest.
$ac_objext \
8667 conftest
$ac_exeext conftest.
$ac_ext
8668 LIBS
=$ac_check_soname_save_LIBS
8670 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8672 $as_echo "not found" >&6; }
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8676 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8678 cat >>confdefs.h
<<_ACEOF
8679 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8685 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8686 case "x$with_xcomposite" in
8687 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8689 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8690 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8694 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8695 #include <X11/Xlib.h>
8698 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8700 cat >>confdefs.h
<<_ACEOF
8701 #define HAVE_XICCALLBACK_CALLBACK 1
8706 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8707 #include <X11/Xlib.h>
8710 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8712 cat >>confdefs.h
<<_ACEOF
8713 #define HAVE_XEVENT_XCOOKIE 1
8722 if test "x$with_opengl" != "xno"
8724 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8726 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8727 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8728 # include <GL/glx.h>
8731 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8732 cat >>confdefs.h
<<_ACEOF
8733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8740 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8743 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8744 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8745 $as_echo_n "(cached) " >&6
8747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8748 /* end confdefs.h. */
8753 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8758 if ac_fn_c_try_compile
"$LINENO"; then :
8759 wine_cv_opengl_header_version_OK
="yes"
8761 wine_cv_opengl_header_version_OK
="no"
8763 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8766 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8768 if test "$wine_cv_opengl_header_version_OK" = "yes"
8770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8771 $as_echo_n "checking for -lGL... " >&6; }
8772 if ${ac_cv_lib_soname_GL+:} false
; then :
8773 $as_echo_n "(cached) " >&6
8775 ac_check_soname_save_LIBS
=$LIBS
8776 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8778 /* end confdefs.h. */
8780 /* Override any GCC internal prototype to avoid an error.
8781 Use char because int might match the return type of a GCC
8782 builtin and then its argument prototype would still apply. */
8786 char glXCreateContext ();
8790 return glXCreateContext ();
8795 if ac_fn_c_try_link
"$LINENO"; then :
8797 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8798 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'` ;;
8799 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8802 rm -f core conftest.err conftest.
$ac_objext \
8803 conftest
$ac_exeext conftest.
$ac_ext
8804 LIBS
=$ac_check_soname_save_LIBS
8806 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8808 $as_echo "not found" >&6; }
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8810 $as_echo_n "checking for -lGL... " >&6; }
8811 if ${ac_cv_lib_soname_GL+:} false
; then :
8812 $as_echo_n "(cached) " >&6
8814 ac_check_soname_save_LIBS
=$LIBS
8815 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"
8816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8817 /* end confdefs.h. */
8819 /* Override any GCC internal prototype to avoid an error.
8820 Use char because int might match the return type of a GCC
8821 builtin and then its argument prototype would still apply. */
8825 char glXCreateContext ();
8829 return glXCreateContext ();
8834 if ac_fn_c_try_link
"$LINENO"; then :
8836 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8837 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'` ;;
8838 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8841 rm -f core conftest.err conftest.
$ac_objext \
8842 conftest
$ac_exeext conftest.
$ac_ext
8843 LIBS
=$ac_check_soname_save_LIBS
8845 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8847 $as_echo "not found" >&6; }
8848 if test -f /usr
/X11R
6/lib
/libGL.a
8850 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8851 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8853 opengl_msg
="No OpenGL library found on this system."
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8857 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8859 cat >>confdefs.h
<<_ACEOF
8860 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8863 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"
8865 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8870 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8872 cat >>confdefs.h
<<_ACEOF
8873 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8878 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8881 if test "$ac_cv_header_GL_glu_h" = "yes"
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8884 $as_echo_n "checking for -lGLU... " >&6; }
8885 if ${ac_cv_lib_soname_GLU+:} false
; then :
8886 $as_echo_n "(cached) " >&6
8888 ac_check_soname_save_LIBS
=$LIBS
8889 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8891 /* end confdefs.h. */
8893 /* Override any GCC internal prototype to avoid an error.
8894 Use char because int might match the return type of a GCC
8895 builtin and then its argument prototype would still apply. */
8903 return gluLookAt ();
8908 if ac_fn_c_try_link
"$LINENO"; then :
8910 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8911 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'` ;;
8912 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8915 rm -f core conftest.err conftest.
$ac_objext \
8916 conftest
$ac_exeext conftest.
$ac_ext
8917 LIBS
=$ac_check_soname_save_LIBS
8919 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8921 $as_echo "not found" >&6; }
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8925 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8927 cat >>confdefs.h
<<_ACEOF
8928 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8934 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8935 case "x$with_glu" in
8936 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8938 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8939 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8943 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8946 opengl_msg
="OpenGL development headers not found."
8948 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8949 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8951 enable_opengl32
=${enable_opengl32:-no}
8952 enable_glu32
=${enable_glu32:-no}
8954 if test -n "$opengl_msg"; then :
8955 case "x$with_opengl" in
8956 x
) as_fn_append wine_warnings
"|$opengl_msg
8957 OpenGL and Direct3D won't be supported." ;;
8959 *) as_fn_error $?
"$opengl_msg
8960 OpenGL and Direct3D won't be supported.
8961 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8965 CPPFLAGS
="$ac_save_CPPFLAGS"
8970 enable_winex11_drv
=${enable_winex11_drv:-no}
8971 enable_opengl32
=${enable_opengl32:-no}
8972 enable_glu32
=${enable_glu32:-no}
8974 if test "x$XLIB" = "x"; then :
8977 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
8978 without X support, which probably isn't what you want. You will need
8979 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8980 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8984 if test "$ac_cv_header_CL_cl_h" = "yes"
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
8987 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
8988 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
8989 $as_echo_n "(cached) " >&6
8991 ac_check_lib_save_LIBS
=$LIBS
8992 LIBS
="-lOpenCL $LIBS"
8993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8994 /* end confdefs.h. */
8996 /* Override any GCC internal prototype to avoid an error.
8997 Use char because int might match the return type of a GCC
8998 builtin and then its argument prototype would still apply. */
9002 char clGetPlatformInfo ();
9006 return clGetPlatformInfo ();
9011 if ac_fn_c_try_link
"$LINENO"; then :
9012 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9014 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9016 rm -f core conftest.err conftest.
$ac_objext \
9017 conftest
$ac_exeext conftest.
$ac_ext
9018 LIBS
=$ac_check_lib_save_LIBS
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9021 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9022 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9023 LIBOPENCL
="-lOpenCL"
9028 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9029 case "x$with_opencl" in
9030 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9032 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9033 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9036 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9045 if test "x$with_xml" != "xno"
9047 ac_save_CPPFLAGS
="$CPPFLAGS"
9048 if test "$PKG_CONFIG" != "false"
9050 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9051 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9053 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9054 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9056 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9057 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9059 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9060 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9061 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9062 cat >>confdefs.h
<<_ACEOF
9063 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9070 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"
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9073 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9074 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9075 $as_echo_n "(cached) " >&6
9077 ac_check_lib_save_LIBS
=$LIBS
9078 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9082 /* Override any GCC internal prototype to avoid an error.
9083 Use char because int might match the return type of a GCC
9084 builtin and then its argument prototype would still apply. */
9088 char xmlParseMemory ();
9092 return xmlParseMemory ();
9097 if ac_fn_c_try_link
"$LINENO"; then :
9098 ac_cv_lib_xml2_xmlParseMemory
=yes
9100 ac_cv_lib_xml2_xmlParseMemory
=no
9102 rm -f core conftest.err conftest.
$ac_objext \
9103 conftest
$ac_exeext conftest.
$ac_ext
9104 LIBS
=$ac_check_lib_save_LIBS
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9107 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9108 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9110 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9112 XML2LIBS
="$ac_xml_libs"
9113 XML2INCL
="$ac_xml_cflags"
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9117 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9118 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9119 $as_echo_n "(cached) " >&6
9121 ac_check_lib_save_LIBS
=$LIBS
9122 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9124 /* end confdefs.h. */
9126 /* Override any GCC internal prototype to avoid an error.
9127 Use char because int might match the return type of a GCC
9128 builtin and then its argument prototype would still apply. */
9132 char xmlReadMemory ();
9136 return xmlReadMemory ();
9141 if ac_fn_c_try_link
"$LINENO"; then :
9142 ac_cv_lib_xml2_xmlReadMemory
=yes
9144 ac_cv_lib_xml2_xmlReadMemory
=no
9146 rm -f core conftest.err conftest.
$ac_objext \
9147 conftest
$ac_exeext conftest.
$ac_ext
9148 LIBS
=$ac_check_lib_save_LIBS
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9151 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9152 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9154 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9159 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9160 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9161 $as_echo_n "(cached) " >&6
9163 ac_check_lib_save_LIBS
=$LIBS
9164 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9166 /* end confdefs.h. */
9168 /* Override any GCC internal prototype to avoid an error.
9169 Use char because int might match the return type of a GCC
9170 builtin and then its argument prototype would still apply. */
9174 char xmlNewDocPI ();
9178 return xmlNewDocPI ();
9183 if ac_fn_c_try_link
"$LINENO"; then :
9184 ac_cv_lib_xml2_xmlNewDocPI
=yes
9186 ac_cv_lib_xml2_xmlNewDocPI
=no
9188 rm -f core conftest.err conftest.
$ac_objext \
9189 conftest
$ac_exeext conftest.
$ac_ext
9190 LIBS
=$ac_check_lib_save_LIBS
9192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9193 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9194 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9196 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9201 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9202 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9203 $as_echo_n "(cached) " >&6
9205 ac_check_lib_save_LIBS
=$LIBS
9206 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9208 /* end confdefs.h. */
9210 /* Override any GCC internal prototype to avoid an error.
9211 Use char because int might match the return type of a GCC
9212 builtin and then its argument prototype would still apply. */
9216 char xmlSchemaSetParserStructuredErrors ();
9220 return xmlSchemaSetParserStructuredErrors ();
9225 if ac_fn_c_try_link
"$LINENO"; then :
9226 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9228 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9230 rm -f core conftest.err conftest.
$ac_objext \
9231 conftest
$ac_exeext conftest.
$ac_ext
9232 LIBS
=$ac_check_lib_save_LIBS
9234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9235 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9236 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9238 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9243 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9244 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9245 $as_echo_n "(cached) " >&6
9247 ac_check_lib_save_LIBS
=$LIBS
9248 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9258 char xmlSchemaSetValidStructuredErrors ();
9262 return xmlSchemaSetValidStructuredErrors ();
9267 if ac_fn_c_try_link
"$LINENO"; then :
9268 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9270 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9272 rm -f core conftest.err conftest.
$ac_objext \
9273 conftest
$ac_exeext conftest.
$ac_ext
9274 LIBS
=$ac_check_lib_save_LIBS
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9277 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9278 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9280 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9285 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9286 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9287 $as_echo_n "(cached) " >&6
9289 ac_check_lib_save_LIBS
=$LIBS
9290 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9291 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9292 /* end confdefs.h. */
9294 /* Override any GCC internal prototype to avoid an error.
9295 Use char because int might match the return type of a GCC
9296 builtin and then its argument prototype would still apply. */
9300 char xmlFirstElementChild ();
9304 return xmlFirstElementChild ();
9309 if ac_fn_c_try_link
"$LINENO"; then :
9310 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9312 ac_cv_lib_xml2_xmlFirstElementChild
=no
9314 rm -f core conftest.err conftest.
$ac_objext \
9315 conftest
$ac_exeext conftest.
$ac_ext
9316 LIBS
=$ac_check_lib_save_LIBS
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9319 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9320 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9322 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9326 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9328 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9330 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9335 CPPFLAGS
="$ac_save_CPPFLAGS"
9337 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9338 case "x$with_xml" in
9339 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9341 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9342 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9346 if test "x$with_xslt" != "xno"
9348 if test "$PKG_CONFIG" != "false"
9350 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9351 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9353 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9354 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9356 ac_save_CPPFLAGS
="$CPPFLAGS"
9357 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9358 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9360 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9361 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9362 # include <libxslt/pattern.h>
9365 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9366 cat >>confdefs.h
<<_ACEOF
9367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9374 CPPFLAGS
="$ac_save_CPPFLAGS"
9375 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9378 $as_echo_n "checking for -lxslt... " >&6; }
9379 if ${ac_cv_lib_soname_xslt+:} false
; then :
9380 $as_echo_n "(cached) " >&6
9382 ac_check_soname_save_LIBS
=$LIBS
9383 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9387 /* Override any GCC internal prototype to avoid an error.
9388 Use char because int might match the return type of a GCC
9389 builtin and then its argument prototype would still apply. */
9393 char xsltCompilePattern ();
9397 return xsltCompilePattern ();
9402 if ac_fn_c_try_link
"$LINENO"; then :
9404 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9405 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'` ;;
9406 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9409 rm -f core conftest.err conftest.
$ac_objext \
9410 conftest
$ac_exeext conftest.
$ac_ext
9411 LIBS
=$ac_check_soname_save_LIBS
9413 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9415 $as_echo "not found" >&6; }
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9419 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9421 cat >>confdefs.h
<<_ACEOF
9422 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9425 XSLTINCL
="$ac_xslt_cflags"
9429 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9430 case "x$with_xslt" in
9431 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9433 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9434 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9438 if test "x$with_dbus" != "xno"
9440 ac_save_CPPFLAGS
="$CPPFLAGS"
9441 if test "$PKG_CONFIG" != "false"
9443 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9444 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9445 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9447 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9448 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9450 $as_echo_n "checking for -ldbus-1... " >&6; }
9451 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9452 $as_echo_n "(cached) " >&6
9454 ac_check_soname_save_LIBS
=$LIBS
9455 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9459 /* Override any GCC internal prototype to avoid an error.
9460 Use char because int might match the return type of a GCC
9461 builtin and then its argument prototype would still apply. */
9465 char dbus_connection_close ();
9469 return dbus_connection_close ();
9474 if ac_fn_c_try_link
"$LINENO"; then :
9476 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9477 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'` ;;
9478 *) 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'` ;;
9481 rm -f core conftest.err conftest.
$ac_objext \
9482 conftest
$ac_exeext conftest.
$ac_ext
9483 LIBS
=$ac_check_soname_save_LIBS
9485 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9487 $as_echo "not found" >&6; }
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9491 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9493 cat >>confdefs.h
<<_ACEOF
9494 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9497 DBUSINCL
="$ac_dbus_cflags"
9503 CPPFLAGS
="$ac_save_CPPFLAGS"
9505 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9506 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9507 case "x$with_dbus" in
9508 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9510 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9511 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9515 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9517 ac_save_CPPFLAGS
="$CPPFLAGS"
9518 if test "$PKG_CONFIG" != "false"
9520 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9521 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9522 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9524 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9525 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9527 $as_echo_n "checking for -lhal... " >&6; }
9528 if ${ac_cv_lib_soname_hal+:} false
; then :
9529 $as_echo_n "(cached) " >&6
9531 ac_check_soname_save_LIBS
=$LIBS
9532 LIBS
="-lhal $ac_hal_libs $LIBS"
9533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9534 /* end confdefs.h. */
9536 /* Override any GCC internal prototype to avoid an error.
9537 Use char because int might match the return type of a GCC
9538 builtin and then its argument prototype would still apply. */
9542 char libhal_ctx_new ();
9546 return libhal_ctx_new ();
9551 if ac_fn_c_try_link
"$LINENO"; then :
9553 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9554 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'` ;;
9555 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9558 rm -f core conftest.err conftest.
$ac_objext \
9559 conftest
$ac_exeext conftest.
$ac_ext
9560 LIBS
=$ac_check_soname_save_LIBS
9562 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9564 $as_echo "not found" >&6; }
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9568 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9570 cat >>confdefs.h
<<_ACEOF
9571 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9574 HALINCL
="$ac_hal_cflags"
9580 CPPFLAGS
="$ac_save_CPPFLAGS"
9581 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9582 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9583 case "x$with_hal" in
9584 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9586 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9587 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9592 if test "x$with_gnutls" != "xno"
9594 ac_save_CPPFLAGS
="$CPPFLAGS"
9595 if test "$PKG_CONFIG" != "false"
9597 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9598 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9599 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9601 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9602 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9603 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9604 /* end confdefs.h. */
9605 #include <gnutls/gnutls.h>
9609 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9614 if ac_fn_c_try_compile
"$LINENO"; then :
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9616 $as_echo_n "checking for -lgnutls... " >&6; }
9617 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9618 $as_echo_n "(cached) " >&6
9620 ac_check_soname_save_LIBS
=$LIBS
9621 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9623 /* end confdefs.h. */
9625 /* Override any GCC internal prototype to avoid an error.
9626 Use char because int might match the return type of a GCC
9627 builtin and then its argument prototype would still apply. */
9631 char gnutls_global_init ();
9635 return gnutls_global_init ();
9640 if ac_fn_c_try_link
"$LINENO"; then :
9642 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9643 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'` ;;
9644 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9647 rm -f core conftest.err conftest.
$ac_objext \
9648 conftest
$ac_exeext conftest.
$ac_ext
9649 LIBS
=$ac_check_soname_save_LIBS
9651 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9653 $as_echo "not found" >&6; }
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9657 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9659 cat >>confdefs.h
<<_ACEOF
9660 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9663 GNUTLSINCL
="$ac_gnutls_cflags"
9667 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9671 CPPFLAGS
="$ac_save_CPPFLAGS"
9673 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9674 case "x$with_gnutls" in
9675 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9677 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9678 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9683 if test "$ac_cv_header_ncurses_h" = "yes"
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9686 $as_echo_n "checking for -lncurses... " >&6; }
9687 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9688 $as_echo_n "(cached) " >&6
9690 ac_check_soname_save_LIBS
=$LIBS
9691 LIBS
="-lncurses $LIBS"
9692 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9693 /* end confdefs.h. */
9695 /* Override any GCC internal prototype to avoid an error.
9696 Use char because int might match the return type of a GCC
9697 builtin and then its argument prototype would still apply. */
9710 if ac_fn_c_try_link
"$LINENO"; then :
9712 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9713 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'` ;;
9714 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9717 rm -f core conftest.err conftest.
$ac_objext \
9718 conftest
$ac_exeext conftest.
$ac_ext
9719 LIBS
=$ac_check_soname_save_LIBS
9721 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9723 $as_echo "not found" >&6; }
9726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9727 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9729 cat >>confdefs.h
<<_ACEOF
9730 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9733 CURSESLIBS
="-lncurses"
9735 elif test "$ac_cv_header_curses_h" = "yes"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9738 $as_echo_n "checking for -lcurses... " >&6; }
9739 if ${ac_cv_lib_soname_curses+:} false
; then :
9740 $as_echo_n "(cached) " >&6
9742 ac_check_soname_save_LIBS
=$LIBS
9743 LIBS
="-lcurses $LIBS"
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9762 if ac_fn_c_try_link
"$LINENO"; then :
9764 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9765 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'` ;;
9766 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9769 rm -f core conftest.err conftest.
$ac_objext \
9770 conftest
$ac_exeext conftest.
$ac_ext
9771 LIBS
=$ac_check_soname_save_LIBS
9773 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9775 $as_echo "not found" >&6; }
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9779 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9781 cat >>confdefs.h
<<_ACEOF
9782 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9785 CURSESLIBS
="-lcurses"
9788 ac_save_LIBS
="$LIBS"
9789 LIBS
="$LIBS $CURSESLIBS"
9790 for ac_func
in mousemask
9792 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9793 if test "x$ac_cv_func_mousemask" = xyes
; then :
9794 cat >>confdefs.h
<<_ACEOF
9795 #define HAVE_MOUSEMASK 1
9801 LIBS
="$ac_save_LIBS"
9802 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9803 case "x$with_curses" in
9804 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9806 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9807 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9811 if test "x$with_sane" != "xno"
9813 ac_save_CPPFLAGS
="$CPPFLAGS"
9814 # Extract the first word of "sane-config", so it can be a program name with args.
9815 set dummy sane-config
; ac_word
=$2
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9817 $as_echo_n "checking for $ac_word... " >&6; }
9818 if ${ac_cv_prog_sane_devel+:} false
; then :
9819 $as_echo_n "(cached) " >&6
9821 if test -n "$sane_devel"; then
9822 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9824 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9828 test -z "$as_dir" && as_dir
=.
9829 for ac_exec_ext
in '' $ac_executable_extensions; do
9830 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9831 ac_cv_prog_sane_devel
="sane-config"
9832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9839 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9842 sane_devel
=$ac_cv_prog_sane_devel
9843 if test -n "$sane_devel"; then
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9845 $as_echo "$sane_devel" >&6; }
9847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9848 $as_echo "no" >&6; }
9852 if test "$sane_devel" != "no"
9854 ac_sane_incl
="`$sane_devel --cflags`"
9855 ac_sane_libs
="`$sane_devel --ldflags`"
9856 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9858 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9859 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
9860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9861 $as_echo_n "checking for -lsane... " >&6; }
9862 if ${ac_cv_lib_soname_sane+:} false
; then :
9863 $as_echo_n "(cached) " >&6
9865 ac_check_soname_save_LIBS
=$LIBS
9866 LIBS
="-lsane $ac_sane_libs $LIBS"
9867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9868 /* end confdefs.h. */
9870 /* Override any GCC internal prototype to avoid an error.
9871 Use char because int might match the return type of a GCC
9872 builtin and then its argument prototype would still apply. */
9880 return sane_init ();
9885 if ac_fn_c_try_link
"$LINENO"; then :
9887 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9888 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'` ;;
9889 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9892 rm -f core conftest.err conftest.
$ac_objext \
9893 conftest
$ac_exeext conftest.
$ac_ext
9894 LIBS
=$ac_check_soname_save_LIBS
9896 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9898 $as_echo "not found" >&6; }
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9902 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9904 cat >>confdefs.h
<<_ACEOF
9905 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9908 SANEINCL
="$ac_sane_incl"
9914 CPPFLAGS
="$ac_save_CPPFLAGS"
9916 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9917 case "x$with_sane" in
9918 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9920 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9921 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9925 if test "x$with_v4l" != "xno"
9927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9928 $as_echo_n "checking for -lv4l1... " >&6; }
9929 if ${ac_cv_lib_soname_v4l1+:} false
; then :
9930 $as_echo_n "(cached) " >&6
9932 ac_check_soname_save_LIBS
=$LIBS
9934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9935 /* end confdefs.h. */
9937 /* Override any GCC internal prototype to avoid an error.
9938 Use char because int might match the return type of a GCC
9939 builtin and then its argument prototype would still apply. */
9947 return v4l1_open ();
9952 if ac_fn_c_try_link
"$LINENO"; then :
9954 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9955 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'` ;;
9956 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9959 rm -f core conftest.err conftest.
$ac_objext \
9960 conftest
$ac_exeext conftest.
$ac_ext
9961 LIBS
=$ac_check_soname_save_LIBS
9963 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9965 $as_echo "not found" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9969 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9971 cat >>confdefs.h
<<_ACEOF
9972 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9978 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9979 case "x$with_v4l" in
9980 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9982 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
9983 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9987 if test "x$with_gphoto" != "xno"
9989 ac_save_CPPFLAGS
="$CPPFLAGS"
9990 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9991 set dummy gphoto2-config
; ac_word
=$2
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9993 $as_echo_n "checking for $ac_word... " >&6; }
9994 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
9995 $as_echo_n "(cached) " >&6
9997 if test -n "$gphoto2_devel"; then
9998 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10000 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10001 for as_dir
in $PATH
10004 test -z "$as_dir" && as_dir
=.
10005 for ac_exec_ext
in '' $ac_executable_extensions; do
10006 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10007 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10008 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10015 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10018 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10019 if test -n "$gphoto2_devel"; then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10021 $as_echo "$gphoto2_devel" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10024 $as_echo "no" >&6; }
10028 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10029 set dummy gphoto2-port-config
; ac_word
=$2
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10031 $as_echo_n "checking for $ac_word... " >&6; }
10032 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10033 $as_echo_n "(cached) " >&6
10035 if test -n "$gphoto2port_devel"; then
10036 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10039 for as_dir
in $PATH
10042 test -z "$as_dir" && as_dir
=.
10043 for ac_exec_ext
in '' $ac_executable_extensions; do
10044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10045 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10053 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10056 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10057 if test -n "$gphoto2port_devel"; then
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10059 $as_echo "$gphoto2port_devel" >&6; }
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10062 $as_echo "no" >&6; }
10066 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10068 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10070 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10073 -L/usr
/lib|
-L/usr
/lib64
) ;;
10074 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10077 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10079 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10080 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10081 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10083 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10084 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10085 $as_echo_n "(cached) " >&6
10087 ac_check_lib_save_LIBS
=$LIBS
10088 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10090 /* end confdefs.h. */
10092 /* Override any GCC internal prototype to avoid an error.
10093 Use char because int might match the return type of a GCC
10094 builtin and then its argument prototype would still apply. */
10098 char gp_camera_new ();
10102 return gp_camera_new ();
10107 if ac_fn_c_try_link
"$LINENO"; then :
10108 ac_cv_lib_gphoto2_gp_camera_new
=yes
10110 ac_cv_lib_gphoto2_gp_camera_new
=no
10112 rm -f core conftest.err conftest.
$ac_objext \
10113 conftest
$ac_exeext conftest.
$ac_ext
10114 LIBS
=$ac_check_lib_save_LIBS
10116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10117 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10118 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10120 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10122 GPHOTO2LIBS
="$ac_gphoto2_libs"
10124 GPHOTO2INCL
="$ac_gphoto2_incl"
10131 CPPFLAGS
="$ac_save_CPPFLAGS"
10133 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10134 case "x$with_gphoto" in
10135 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10137 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10138 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10143 if test "$ac_cv_header_resolv_h" = "yes"
10145 ac_save_LIBS
="$LIBS"
10146 for lib
in '' -lresolv
10148 LIBS
="$lib $ac_save_LIBS"
10149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10150 /* end confdefs.h. */
10151 #ifdef HAVE_NETINET_IN_H
10152 #include <netinet/in.h>
10154 #include <resolv.h>
10158 res_query("foo",ns_c_in,0,0,0);
10163 if ac_fn_c_try_link
"$LINENO"; then :
10165 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10170 rm -f core conftest.err conftest.
$ac_objext \
10171 conftest
$ac_exeext conftest.
$ac_ext
10172 if test "${RESOLVLIBS+set}" = set; then
10176 LIBS
="$ac_save_LIBS"
10181 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10184 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10185 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10186 $as_echo_n "(cached) " >&6
10188 ac_check_lib_save_LIBS
=$LIBS
10189 LIBS
="-llcms $LIBS"
10190 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10191 /* end confdefs.h. */
10193 /* Override any GCC internal prototype to avoid an error.
10194 Use char because int might match the return type of a GCC
10195 builtin and then its argument prototype would still apply. */
10199 char cmsOpenProfileFromFile ();
10203 return cmsOpenProfileFromFile ();
10208 if ac_fn_c_try_link
"$LINENO"; then :
10209 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10211 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10213 rm -f core conftest.err conftest.
$ac_objext \
10214 conftest
$ac_exeext conftest.
$ac_ext
10215 LIBS
=$ac_check_lib_save_LIBS
10217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10218 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10219 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10221 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10227 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10228 case "x$with_cms" in
10229 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10231 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10232 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10236 if test "x$with_freetype" != "xno"
10238 for ac_prog
in freetype-config freetype2-config
10240 # Extract the first word of "$ac_prog", so it can be a program name with args.
10241 set dummy
$ac_prog; ac_word
=$2
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10243 $as_echo_n "checking for $ac_word... " >&6; }
10244 if ${ac_cv_prog_ft_devel+:} false
; then :
10245 $as_echo_n "(cached) " >&6
10247 if test -n "$ft_devel"; then
10248 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10250 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10251 for as_dir
in $PATH
10254 test -z "$as_dir" && as_dir
=.
10255 for ac_exec_ext
in '' $ac_executable_extensions; do
10256 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10257 ac_cv_prog_ft_devel
="$ac_prog"
10258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10267 ft_devel
=$ac_cv_prog_ft_devel
10268 if test -n "$ft_devel"; then
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10270 $as_echo "$ft_devel" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10273 $as_echo "no" >&6; }
10277 test -n "$ft_devel" && break
10279 test -n "$ft_devel" || ft_devel
="no"
10281 if test "$ft_devel" != "no"
10283 ac_freetype_incl
=`$ft_devel --cflags`
10284 ac_freetype_libs
=`$ft_devel --libs`
10286 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10288 $as_echo_n "checking for -lfreetype... " >&6; }
10289 if ${ac_cv_lib_soname_freetype+:} false
; then :
10290 $as_echo_n "(cached) " >&6
10292 ac_check_soname_save_LIBS
=$LIBS
10293 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10294 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10295 /* end confdefs.h. */
10297 /* Override any GCC internal prototype to avoid an error.
10298 Use char because int might match the return type of a GCC
10299 builtin and then its argument prototype would still apply. */
10303 char FT_Init_FreeType ();
10307 return FT_Init_FreeType ();
10312 if ac_fn_c_try_link
"$LINENO"; then :
10314 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10315 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'` ;;
10316 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10319 rm -f core conftest.err conftest.
$ac_objext \
10320 conftest
$ac_exeext conftest.
$ac_ext
10321 LIBS
=$ac_check_soname_save_LIBS
10323 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10325 $as_echo "not found" >&6; }
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10329 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10331 cat >>confdefs.h
<<_ACEOF
10332 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10337 if test "$ft_lib" = "yes"
10339 ac_save_CPPFLAGS
="$CPPFLAGS"
10340 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10341 for ac_header
in ft2build.h \
10342 freetype
/freetype.h \
10343 freetype
/ftglyph.h \
10344 freetype
/fttypes.h \
10345 freetype
/tttables.h \
10346 freetype
/ftsnames.h \
10347 freetype
/ttnameid.h \
10348 freetype
/ftoutln.h \
10349 freetype
/ftwinfnt.h \
10350 freetype
/ftmodapi.h \
10351 freetype
/ftlcdfil.h
10353 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10354 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10355 # include <ft2build.h>
10358 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10359 cat >>confdefs.h
<<_ACEOF
10360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10368 /* end confdefs.h. */
10369 #include <ft2build.h>
10370 #include <freetype/fttrigon.h>
10372 if ac_fn_c_try_cpp
"$LINENO"; then :
10374 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10376 wine_cv_fttrigon
=yes
10378 wine_cv_fttrigon
=no
10380 rm -f conftest.err conftest.i conftest.
$ac_ext
10381 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10383 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10385 cat >>confdefs.h
<<_ACEOF
10386 #define HAVE_FT_TRUETYPEENGINETYPE 1
10392 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10395 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10397 FREETYPELIBS
="$ac_freetype_libs"
10399 FREETYPEINCL
="$ac_freetype_incl"
10404 if test "x$FREETYPELIBS" = "x"; then :
10405 case "x$with_freetype" in
10407 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10408 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10411 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10414 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10415 if ${ac_cv_c_ppdev+:} false
; then :
10416 $as_echo_n "(cached) " >&6
10418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 #ifdef HAVE_SYS_IOCTL_H
10421 # include <sys/ioctl.h>
10423 #include <linux/ppdev.h>
10427 ioctl (1,PPCLAIM,0)
10432 if ac_fn_c_try_compile
"$LINENO"; then :
10433 ac_cv_c_ppdev
="yes"
10437 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10440 $as_echo "$ac_cv_c_ppdev" >&6; }
10441 if test "$ac_cv_c_ppdev" = "yes"
10444 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10448 ac_wine_check_funcs_save_LIBS
="$LIBS"
10449 LIBS
="$LIBS $LIBPTHREAD"
10451 pthread_attr_get_np \
10452 pthread_getattr_np \
10453 pthread_get_stackaddr_np \
10454 pthread_get_stacksize_np
10456 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10457 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10458 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10459 cat >>confdefs.h
<<_ACEOF
10460 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10466 LIBS
="$ac_wine_check_funcs_save_LIBS"
10468 if test "$ac_cv_header_zlib_h" = "yes"
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10471 $as_echo_n "checking for inflate in -lz... " >&6; }
10472 if ${ac_cv_lib_z_inflate+:} false
; then :
10473 $as_echo_n "(cached) " >&6
10475 ac_check_lib_save_LIBS
=$LIBS
10477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10478 /* end confdefs.h. */
10480 /* Override any GCC internal prototype to avoid an error.
10481 Use char because int might match the return type of a GCC
10482 builtin and then its argument prototype would still apply. */
10495 if ac_fn_c_try_link
"$LINENO"; then :
10496 ac_cv_lib_z_inflate
=yes
10498 ac_cv_lib_z_inflate
=no
10500 rm -f core conftest.err conftest.
$ac_objext \
10501 conftest
$ac_exeext conftest.
$ac_ext
10502 LIBS
=$ac_check_lib_save_LIBS
10504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10505 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10506 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10508 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10515 if test "x$ZLIB" = "x"; then :
10516 case "x$with_zlib" in
10517 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10519 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10520 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10524 if test "x$enable_tools" != xno
10526 if test "$ac_cv_header_gettext_po_h" = "yes"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10529 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10530 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 ac_check_lib_save_LIBS
=$LIBS
10534 LIBS
="-lgettextpo $LIBS"
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10544 char po_message_msgctxt ();
10548 return po_message_msgctxt ();
10553 if ac_fn_c_try_link
"$LINENO"; then :
10554 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10556 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10558 rm -f core conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_lib_save_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10563 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10564 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10566 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10568 LIBGETTEXTPO
="-lgettextpo"
10573 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10574 case "x$with_gettextpo" in
10575 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10577 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10578 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10583 if test "x$with_gstreamer" != "xno"
10585 ac_save_CPPFLAGS
="$CPPFLAGS"
10586 if test "$PKG_CONFIG" != "false"; then
10588 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10591 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10594 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10595 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10596 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10597 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10598 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10599 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10601 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10603 /* end confdefs.h. */
10604 #include <gst/app/gstappsink.h>
10608 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10613 if ac_fn_c_try_compile
"$LINENO"; then :
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10615 $as_echo "yes" >&6; }
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10617 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10618 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10619 $as_echo_n "(cached) " >&6
10621 ac_check_lib_save_LIBS
=$LIBS
10622 LIBS
="-lgstreamer-0.10 $LIBS"
10623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10632 char gst_pad_get_caps_reffed ();
10636 return gst_pad_get_caps_reffed ();
10641 if ac_fn_c_try_link
"$LINENO"; then :
10642 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10644 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10646 rm -f core conftest.err conftest.
$ac_objext \
10647 conftest
$ac_exeext conftest.
$ac_ext
10648 LIBS
=$ac_check_lib_save_LIBS
10650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10651 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10652 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10654 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10655 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 ac_check_lib_save_LIBS
=$LIBS
10659 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10669 char gst_app_buffer_new ();
10673 return gst_app_buffer_new ();
10678 if ac_fn_c_try_link
"$LINENO"; then :
10679 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10681 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10683 rm -f core conftest.err conftest.
$ac_objext \
10684 conftest
$ac_exeext conftest.
$ac_ext
10685 LIBS
=$ac_check_lib_save_LIBS
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10688 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10689 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10690 GSTREAMER_LIBS
="$ac_gst_libs"
10692 GSTREAMER_INCL
="$ac_gst_incl"
10699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10700 $as_echo "no" >&6; }
10702 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10710 CPPFLAGS
="$ac_save_CPPFLAGS"
10712 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10713 case "x$with_gstreamer" in
10714 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10716 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10717 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10720 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10724 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10727 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10728 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10729 $as_echo_n "(cached) " >&6
10731 ac_check_lib_save_LIBS
=$LIBS
10732 LIBS
="-lasound $LIBS"
10733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10734 /* end confdefs.h. */
10736 /* Override any GCC internal prototype to avoid an error.
10737 Use char because int might match the return type of a GCC
10738 builtin and then its argument prototype would still apply. */
10742 char snd_pcm_hw_params_get_access_mask ();
10746 return snd_pcm_hw_params_get_access_mask ();
10751 if ac_fn_c_try_link
"$LINENO"; then :
10752 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10754 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10756 rm -f core conftest.err conftest.
$ac_objext \
10757 conftest
$ac_exeext conftest.
$ac_ext
10758 LIBS
=$ac_check_lib_save_LIBS
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10761 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10762 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10763 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10764 /* end confdefs.h. */
10765 #ifdef HAVE_ALSA_ASOUNDLIB_H
10766 #include <alsa/asoundlib.h>
10767 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10768 #include <sys/asoundlib.h>
10773 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10778 if ac_fn_c_try_compile
"$LINENO"; then :
10779 ALSALIBS
="-lasound"
10781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10786 if test "x$with_oss" != xno
10788 ac_save_CPPFLAGS
="$CPPFLAGS"
10789 if test -f /etc
/oss.conf
10793 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10794 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10795 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10796 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10797 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10799 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10801 cat >>confdefs.h
<<_ACEOF
10802 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10805 OSS4INCL
="$ac_oss_incl"
10812 CPPFLAGS
="$ac_save_CPPFLAGS"
10813 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10815 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10820 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10823 $as_echo_n "checking for -lcapi20... " >&6; }
10824 if ${ac_cv_lib_soname_capi20+:} false
; then :
10825 $as_echo_n "(cached) " >&6
10827 ac_check_soname_save_LIBS
=$LIBS
10828 LIBS
="-lcapi20 $LIBS"
10829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10830 /* end confdefs.h. */
10832 /* Override any GCC internal prototype to avoid an error.
10833 Use char because int might match the return type of a GCC
10834 builtin and then its argument prototype would still apply. */
10838 char capi20_register ();
10842 return capi20_register ();
10847 if ac_fn_c_try_link
"$LINENO"; then :
10849 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10850 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'` ;;
10851 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10854 rm -f core conftest.err conftest.
$ac_objext \
10855 conftest
$ac_exeext conftest.
$ac_ext
10856 LIBS
=$ac_check_soname_save_LIBS
10858 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10860 $as_echo "not found" >&6; }
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10864 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10866 cat >>confdefs.h
<<_ACEOF
10867 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10873 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10874 case "x$with_capi" in
10875 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10877 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10878 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10884 if test "x$with_cups" != "xno"
10886 ac_save_CPPFLAGS
="$CPPFLAGS"
10887 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10888 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10889 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10890 for ac_header
in cups
/cups.h
10892 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10893 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
10894 cat >>confdefs.h
<<_ACEOF
10895 #define HAVE_CUPS_CUPS_H 1
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10898 $as_echo_n "checking for -lcups... " >&6; }
10899 if ${ac_cv_lib_soname_cups+:} false
; then :
10900 $as_echo_n "(cached) " >&6
10902 ac_check_soname_save_LIBS
=$LIBS
10903 LIBS
="-lcups $ac_cups_libs $LIBS"
10904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10905 /* end confdefs.h. */
10907 /* Override any GCC internal prototype to avoid an error.
10908 Use char because int might match the return type of a GCC
10909 builtin and then its argument prototype would still apply. */
10913 char cupsGetDefault ();
10917 return cupsGetDefault ();
10922 if ac_fn_c_try_link
"$LINENO"; then :
10924 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10925 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'` ;;
10926 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10929 rm -f core conftest.err conftest.
$ac_objext \
10930 conftest
$ac_exeext conftest.
$ac_ext
10931 LIBS
=$ac_check_soname_save_LIBS
10933 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10935 $as_echo "not found" >&6; }
10938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10939 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10941 cat >>confdefs.h
<<_ACEOF
10942 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10945 CUPSINCL
="$ac_cups_cflags"
10951 CPPFLAGS
="$ac_save_CPPFLAGS"
10953 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10954 case "x$with_cups" in
10955 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10957 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10958 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10962 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10965 $as_echo_n "checking for -lfontconfig... " >&6; }
10966 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
10967 $as_echo_n "(cached) " >&6
10969 ac_check_soname_save_LIBS
=$LIBS
10970 LIBS
="-lfontconfig $LIBS"
10971 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10972 /* end confdefs.h. */
10974 /* Override any GCC internal prototype to avoid an error.
10975 Use char because int might match the return type of a GCC
10976 builtin and then its argument prototype would still apply. */
10989 if ac_fn_c_try_link
"$LINENO"; then :
10991 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10992 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'` ;;
10993 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10996 rm -f core conftest.err conftest.
$ac_objext \
10997 conftest
$ac_exeext conftest.
$ac_ext
10998 LIBS
=$ac_check_soname_save_LIBS
11000 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11002 $as_echo "not found" >&6; }
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11006 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11008 cat >>confdefs.h
<<_ACEOF
11009 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11014 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11016 ac_save_CPPFLAGS
="$CPPFLAGS"
11017 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11018 $as_unset ac_cv_header_fontconfig_fontconfig_h
11019 for ac_header
in fontconfig
/fontconfig.h
11021 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11022 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11023 cat >>confdefs.h
<<_ACEOF
11024 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11031 CPPFLAGS
="$ac_save_CPPFLAGS"
11032 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11034 FONTCONFIGINCL
="$X_CFLAGS"
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11037 $as_echo_n "checking for -lfontconfig... " >&6; }
11038 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11039 $as_echo_n "(cached) " >&6
11041 ac_check_soname_save_LIBS
=$LIBS
11042 LIBS
="-lfontconfig $X_LIBS $LIBS"
11043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11061 if ac_fn_c_try_link
"$LINENO"; then :
11063 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11064 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'` ;;
11065 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11068 rm -f core conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LIBS
=$ac_check_soname_save_LIBS
11072 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11074 $as_echo "not found" >&6; }
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11078 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11080 cat >>confdefs.h
<<_ACEOF
11081 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11088 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11089 case "x$with_fontconfig" in
11090 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11092 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11093 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11097 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11100 $as_echo_n "checking for -lssl... " >&6; }
11101 if ${ac_cv_lib_soname_ssl+:} false
; then :
11102 $as_echo_n "(cached) " >&6
11104 ac_check_soname_save_LIBS
=$LIBS
11106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11107 /* end confdefs.h. */
11109 /* Override any GCC internal prototype to avoid an error.
11110 Use char because int might match the return type of a GCC
11111 builtin and then its argument prototype would still apply. */
11115 char SSL_library_init ();
11119 return SSL_library_init ();
11124 if ac_fn_c_try_link
"$LINENO"; then :
11126 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11127 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'` ;;
11128 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11131 rm -f core conftest.err conftest.
$ac_objext \
11132 conftest
$ac_exeext conftest.
$ac_ext
11133 LIBS
=$ac_check_soname_save_LIBS
11135 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11137 $as_echo "not found" >&6; }
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11141 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11143 cat >>confdefs.h
<<_ACEOF
11144 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11150 $as_echo_n "checking for -lcrypto... " >&6; }
11151 if ${ac_cv_lib_soname_crypto+:} false
; then :
11152 $as_echo_n "(cached) " >&6
11154 ac_check_soname_save_LIBS
=$LIBS
11155 LIBS
="-lcrypto $LIBS"
11156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11165 char BIO_new_socket ();
11169 return BIO_new_socket ();
11174 if ac_fn_c_try_link
"$LINENO"; then :
11176 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11177 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'` ;;
11178 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11181 rm -f core conftest.err conftest.
$ac_objext \
11182 conftest
$ac_exeext conftest.
$ac_ext
11183 LIBS
=$ac_check_soname_save_LIBS
11185 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11187 $as_echo "not found" >&6; }
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11191 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11193 cat >>confdefs.h
<<_ACEOF
11194 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11200 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11201 case "x$with_openssl" in
11202 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11204 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11205 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11209 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11212 $as_echo_n "checking for -lgsm... " >&6; }
11213 if ${ac_cv_lib_soname_gsm+:} false
; then :
11214 $as_echo_n "(cached) " >&6
11216 ac_check_soname_save_LIBS
=$LIBS
11218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11219 /* end confdefs.h. */
11221 /* Override any GCC internal prototype to avoid an error.
11222 Use char because int might match the return type of a GCC
11223 builtin and then its argument prototype would still apply. */
11227 char gsm_create ();
11231 return gsm_create ();
11236 if ac_fn_c_try_link
"$LINENO"; then :
11238 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11239 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'` ;;
11240 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11243 rm -f core conftest.err conftest.
$ac_objext \
11244 conftest
$ac_exeext conftest.
$ac_ext
11245 LIBS
=$ac_check_soname_save_LIBS
11247 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11249 $as_echo "not found" >&6; }
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11253 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11255 cat >>confdefs.h
<<_ACEOF
11256 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11262 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11263 case "x$with_gsm" in
11264 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11266 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11267 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11271 if test "$ac_cv_header_jpeglib_h" = "yes"
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11274 $as_echo_n "checking for -ljpeg... " >&6; }
11275 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11276 $as_echo_n "(cached) " >&6
11278 ac_check_soname_save_LIBS
=$LIBS
11279 LIBS
="-ljpeg $LIBS"
11280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11289 char jpeg_start_decompress ();
11293 return jpeg_start_decompress ();
11298 if ac_fn_c_try_link
"$LINENO"; then :
11300 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11301 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'` ;;
11302 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11305 rm -f core conftest.err conftest.
$ac_objext \
11306 conftest
$ac_exeext conftest.
$ac_ext
11307 LIBS
=$ac_check_soname_save_LIBS
11309 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11311 $as_echo "not found" >&6; }
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11315 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11317 cat >>confdefs.h
<<_ACEOF
11318 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11324 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11325 case "x$with_jpeg" in
11326 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11328 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11329 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11333 if test "$ac_cv_header_png_h" = "yes"
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11336 $as_echo_n "checking for -lpng... " >&6; }
11337 if ${ac_cv_lib_soname_png+:} false
; then :
11338 $as_echo_n "(cached) " >&6
11340 ac_check_soname_save_LIBS
=$LIBS
11341 LIBS
="-lpng -lm -lz $LIBS"
11342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11343 /* end confdefs.h. */
11345 /* Override any GCC internal prototype to avoid an error.
11346 Use char because int might match the return type of a GCC
11347 builtin and then its argument prototype would still apply. */
11351 char png_create_read_struct ();
11355 return png_create_read_struct ();
11360 if ac_fn_c_try_link
"$LINENO"; then :
11362 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11363 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'` ;;
11364 *) 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'` ;;
11367 rm -f core conftest.err conftest.
$ac_objext \
11368 conftest
$ac_exeext conftest.
$ac_ext
11369 LIBS
=$ac_check_soname_save_LIBS
11371 if test "x$ac_cv_lib_soname_png" = "x"; then :
11372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11373 $as_echo "not found" >&6; }
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11377 $as_echo "$ac_cv_lib_soname_png" >&6; }
11379 cat >>confdefs.h
<<_ACEOF
11380 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11386 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11387 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11388 $as_echo_n "(cached) " >&6
11390 ac_check_lib_save_LIBS
=$LIBS
11391 LIBS
="-lpng -lm -lz $LIBS"
11392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11393 /* end confdefs.h. */
11395 /* Override any GCC internal prototype to avoid an error.
11396 Use char because int might match the return type of a GCC
11397 builtin and then its argument prototype would still apply. */
11401 char png_set_expand_gray_1_2_4_to_8 ();
11405 return png_set_expand_gray_1_2_4_to_8 ();
11410 if ac_fn_c_try_link
"$LINENO"; then :
11411 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11413 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11415 rm -f core conftest.err conftest.
$ac_objext \
11416 conftest
$ac_exeext conftest.
$ac_ext
11417 LIBS
=$ac_check_lib_save_LIBS
11419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11420 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11421 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11423 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11428 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11430 ac_save_CPPFLAGS
="$CPPFLAGS"
11431 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11432 $as_unset ac_cv_header_png_h
11433 for ac_header
in png.h
11435 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11436 if test "x$ac_cv_header_png_h" = xyes
; then :
11437 cat >>confdefs.h
<<_ACEOF
11438 #define HAVE_PNG_H 1
11445 CPPFLAGS
="$ac_save_CPPFLAGS"
11446 if test "$ac_cv_header_png_h" = "yes"
11448 PNGINCL
="$X_CFLAGS"
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11451 $as_echo_n "checking for -lpng... " >&6; }
11452 if ${ac_cv_lib_soname_png+:} false
; then :
11453 $as_echo_n "(cached) " >&6
11455 ac_check_soname_save_LIBS
=$LIBS
11456 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11466 char png_create_read_struct ();
11470 return png_create_read_struct ();
11475 if ac_fn_c_try_link
"$LINENO"; then :
11477 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11478 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'` ;;
11479 *) 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'` ;;
11482 rm -f core conftest.err conftest.
$ac_objext \
11483 conftest
$ac_exeext conftest.
$ac_ext
11484 LIBS
=$ac_check_soname_save_LIBS
11486 if test "x$ac_cv_lib_soname_png" = "x"; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11492 $as_echo "$ac_cv_lib_soname_png" >&6; }
11494 cat >>confdefs.h
<<_ACEOF
11495 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11501 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11502 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11503 $as_echo_n "(cached) " >&6
11505 ac_check_lib_save_LIBS
=$LIBS
11506 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11508 /* end confdefs.h. */
11510 /* Override any GCC internal prototype to avoid an error.
11511 Use char because int might match the return type of a GCC
11512 builtin and then its argument prototype would still apply. */
11516 char png_set_expand_gray_1_2_4_to_8 ();
11520 return png_set_expand_gray_1_2_4_to_8 ();
11525 if ac_fn_c_try_link
"$LINENO"; then :
11526 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11528 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11530 rm -f core conftest.err conftest.
$ac_objext \
11531 conftest
$ac_exeext conftest.
$ac_ext
11532 LIBS
=$ac_check_lib_save_LIBS
11534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11535 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11536 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11537 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11543 if test "x$ac_cv_lib_soname_png" = "x"; then :
11544 case "x$with_png" in
11545 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11547 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11548 This is an error since --with-png was requested." "$LINENO" 5 ;;
11552 if test "$ac_cv_header_tiffio_h" = "yes"
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11555 $as_echo_n "checking for -ltiff... " >&6; }
11556 if ${ac_cv_lib_soname_tiff+:} false
; then :
11557 $as_echo_n "(cached) " >&6
11559 ac_check_soname_save_LIBS
=$LIBS
11560 LIBS
="-ltiff $LIBS"
11561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11562 /* end confdefs.h. */
11564 /* Override any GCC internal prototype to avoid an error.
11565 Use char because int might match the return type of a GCC
11566 builtin and then its argument prototype would still apply. */
11570 char TIFFClientOpen ();
11574 return TIFFClientOpen ();
11579 if ac_fn_c_try_link
"$LINENO"; then :
11581 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11582 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'` ;;
11583 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11586 rm -f core conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 LIBS
=$ac_check_soname_save_LIBS
11590 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11592 $as_echo "not found" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11596 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11598 cat >>confdefs.h
<<_ACEOF
11599 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11605 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11606 case "x$with_tiff" in
11607 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11609 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11610 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11614 if test "$ac_cv_header_mpg123_h" = "yes"
11616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11617 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11618 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11619 $as_echo_n "(cached) " >&6
11621 ac_check_lib_save_LIBS
=$LIBS
11622 LIBS
="-lmpg123 $LIBS"
11623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11624 /* end confdefs.h. */
11626 /* Override any GCC internal prototype to avoid an error.
11627 Use char because int might match the return type of a GCC
11628 builtin and then its argument prototype would still apply. */
11632 char mpg123_feed ();
11636 return mpg123_feed ();
11641 if ac_fn_c_try_link
"$LINENO"; then :
11642 ac_cv_lib_mpg123_mpg123_feed
=yes
11644 ac_cv_lib_mpg123_mpg123_feed
=no
11646 rm -f core conftest.err conftest.
$ac_objext \
11647 conftest
$ac_exeext conftest.
$ac_ext
11648 LIBS
=$ac_check_lib_save_LIBS
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11651 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11652 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11653 LIBMPG123
="-lmpg123"
11658 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11659 case "x$with_mpg123" in
11660 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11662 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11663 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11666 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}
11668 if test "$ac_cv_header_AL_al_h" = "yes"
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11671 $as_echo_n "checking for -lopenal... " >&6; }
11672 if ${ac_cv_lib_soname_openal+:} false
; then :
11673 $as_echo_n "(cached) " >&6
11675 ac_check_soname_save_LIBS
=$LIBS
11676 LIBS
="-lopenal $LIBS"
11677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11678 /* end confdefs.h. */
11680 /* Override any GCC internal prototype to avoid an error.
11681 Use char because int might match the return type of a GCC
11682 builtin and then its argument prototype would still apply. */
11686 char alGetSource3i ();
11690 return alGetSource3i ();
11695 if ac_fn_c_try_link
"$LINENO"; then :
11697 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11698 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'` ;;
11699 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11702 rm -f core conftest.err conftest.
$ac_objext \
11703 conftest
$ac_exeext conftest.
$ac_ext
11704 LIBS
=$ac_check_soname_save_LIBS
11706 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11708 $as_echo "not found" >&6; }
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11712 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11714 cat >>confdefs.h
<<_ACEOF
11715 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11718 LIBOPENAL
="-lopenal"
11720 ac_cv_lib_openal
=yes
11722 cat >>confdefs.h
<<_ACEOF
11723 #define HAVE_OPENAL 1
11728 if test "x$ac_cv_lib_openal" != xyes
; then :
11729 case "x$with_openal" in
11730 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11732 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11733 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11736 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11738 if test "$ac_cv_header_kstat_h" = "yes"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11741 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11742 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11743 $as_echo_n "(cached) " >&6
11745 ac_check_lib_save_LIBS
=$LIBS
11746 LIBS
="-lkstat $LIBS"
11747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11748 /* end confdefs.h. */
11750 /* Override any GCC internal prototype to avoid an error.
11751 Use char because int might match the return type of a GCC
11752 builtin and then its argument prototype would still apply. */
11756 char kstat_open ();
11760 return kstat_open ();
11765 if ac_fn_c_try_link
"$LINENO"; then :
11766 ac_cv_lib_kstat_kstat_open
=yes
11768 ac_cv_lib_kstat_kstat_open
=no
11770 rm -f core conftest.err conftest.
$ac_objext \
11771 conftest
$ac_exeext conftest.
$ac_ext
11772 LIBS
=$ac_check_lib_save_LIBS
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11775 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11776 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11778 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11787 $as_echo_n "checking for -lodbc... " >&6; }
11788 if ${ac_cv_lib_soname_odbc+:} false
; then :
11789 $as_echo_n "(cached) " >&6
11791 ac_check_soname_save_LIBS
=$LIBS
11792 LIBS
="-lodbc $LIBS"
11793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11794 /* end confdefs.h. */
11796 /* Override any GCC internal prototype to avoid an error.
11797 Use char because int might match the return type of a GCC
11798 builtin and then its argument prototype would still apply. */
11802 char SQLConnect ();
11806 return SQLConnect ();
11811 if ac_fn_c_try_link
"$LINENO"; then :
11813 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11814 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'` ;;
11815 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11818 rm -f core conftest.err conftest.
$ac_objext \
11819 conftest
$ac_exeext conftest.
$ac_ext
11820 LIBS
=$ac_check_soname_save_LIBS
11822 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11824 $as_echo "not found" >&6; }
11825 cat >>confdefs.h
<<_ACEOF
11826 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11831 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11833 cat >>confdefs.h
<<_ACEOF
11834 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11840 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
11841 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
11842 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
11843 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
11845 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
11846 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
11847 "x$with_alsa$with_coreaudio$with_oss" != xnonono
11849 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11855 if test "x${GCC}" = "xyes"
11857 EXTRACFLAGS
="-Wall -pipe"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11860 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11861 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
11862 $as_echo_n "(cached) " >&6
11864 if test "$cross_compiling" = yes; then :
11865 ac_cv_c_gcc_strength_bug
="yes"
11867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11869 int L[4] = {0,1,2,3};
11873 static int Array[3];
11874 unsigned int B = 3;
11876 for(i=0; i<B; i++) Array[i] = i - 3;
11877 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11879 return (Array[1] != -2 || L[2] != 3)
11884 if ac_fn_c_try_run
"$LINENO"; then :
11885 ac_cv_c_gcc_strength_bug
="no"
11887 ac_cv_c_gcc_strength_bug
="yes"
11889 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11890 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11895 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11896 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11898 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11902 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11903 if ${ac_cv_cflags__fno_builtin+:} false
; then :
11904 $as_echo_n "(cached) " >&6
11906 ac_wine_try_cflags_saved
=$CFLAGS
11907 CFLAGS
="$CFLAGS -fno-builtin"
11908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 int main(int argc, char **argv) { return 0; }
11912 if ac_fn_c_try_link
"$LINENO"; then :
11913 ac_cv_cflags__fno_builtin
=yes
11915 ac_cv_cflags__fno_builtin
=no
11917 rm -f core conftest.err conftest.
$ac_objext \
11918 conftest
$ac_exeext conftest.
$ac_ext
11919 CFLAGS
=$ac_wine_try_cflags_saved
11921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11922 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11923 if test $ac_cv_cflags__fno_builtin = yes; then :
11924 BUILTINFLAG
="-fno-builtin"
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11928 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11929 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
11930 $as_echo_n "(cached) " >&6
11932 ac_wine_try_cflags_saved
=$CFLAGS
11933 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 int main(int argc, char **argv) { return 0; }
11938 if ac_fn_c_try_link
"$LINENO"; then :
11939 ac_cv_cflags__fno_strict_aliasing
=yes
11941 ac_cv_cflags__fno_strict_aliasing
=no
11943 rm -f core conftest.err conftest.
$ac_objext \
11944 conftest
$ac_exeext conftest.
$ac_ext
11945 CFLAGS
=$ac_wine_try_cflags_saved
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11948 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11949 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11950 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11953 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11954 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
11955 $as_echo_n "(cached) " >&6
11957 ac_wine_try_cflags_saved
=$CFLAGS
11958 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11961 int main(int argc, char **argv) { return 0; }
11963 if ac_fn_c_try_link
"$LINENO"; then :
11964 ac_cv_cflags__Wdeclaration_after_statement
=yes
11966 ac_cv_cflags__Wdeclaration_after_statement
=no
11968 rm -f core conftest.err conftest.
$ac_objext \
11969 conftest
$ac_exeext conftest.
$ac_ext
11970 CFLAGS
=$ac_wine_try_cflags_saved
11972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11973 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11974 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11975 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
11978 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
11979 if ${ac_cv_cflags__Wempty_body+:} false
; then :
11980 $as_echo_n "(cached) " >&6
11982 ac_wine_try_cflags_saved
=$CFLAGS
11983 CFLAGS
="$CFLAGS -Wempty-body"
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 int main(int argc, char **argv) { return 0; }
11988 if ac_fn_c_try_link
"$LINENO"; then :
11989 ac_cv_cflags__Wempty_body
=yes
11991 ac_cv_cflags__Wempty_body
=no
11993 rm -f core conftest.err conftest.
$ac_objext \
11994 conftest
$ac_exeext conftest.
$ac_ext
11995 CFLAGS
=$ac_wine_try_cflags_saved
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
11998 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
11999 if test $ac_cv_cflags__Wempty_body = yes; then :
12000 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12003 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12004 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12005 $as_echo_n "(cached) " >&6
12007 ac_wine_try_cflags_saved
=$CFLAGS
12008 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12010 /* end confdefs.h. */
12011 int main(int argc, char **argv) { return 0; }
12013 if ac_fn_c_try_link
"$LINENO"; then :
12014 ac_cv_cflags__Wignored_qualifiers
=yes
12016 ac_cv_cflags__Wignored_qualifiers
=no
12018 rm -f core conftest.err conftest.
$ac_objext \
12019 conftest
$ac_exeext conftest.
$ac_ext
12020 CFLAGS
=$ac_wine_try_cflags_saved
12022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12023 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12024 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12025 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12028 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12029 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12030 $as_echo_n "(cached) " >&6
12032 ac_wine_try_cflags_saved
=$CFLAGS
12033 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12035 /* end confdefs.h. */
12036 int main(int argc, char **argv) { return 0; }
12038 if ac_fn_c_try_link
"$LINENO"; then :
12039 ac_cv_cflags__Wstrict_prototypes
=yes
12041 ac_cv_cflags__Wstrict_prototypes
=no
12043 rm -f core conftest.err conftest.
$ac_objext \
12044 conftest
$ac_exeext conftest.
$ac_ext
12045 CFLAGS
=$ac_wine_try_cflags_saved
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12048 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12049 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12050 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12053 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12054 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12055 $as_echo_n "(cached) " >&6
12057 ac_wine_try_cflags_saved
=$CFLAGS
12058 CFLAGS
="$CFLAGS -Wtype-limits"
12059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12061 int main(int argc, char **argv) { return 0; }
12063 if ac_fn_c_try_link
"$LINENO"; then :
12064 ac_cv_cflags__Wtype_limits
=yes
12066 ac_cv_cflags__Wtype_limits
=no
12068 rm -f core conftest.err conftest.
$ac_objext \
12069 conftest
$ac_exeext conftest.
$ac_ext
12070 CFLAGS
=$ac_wine_try_cflags_saved
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12073 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12074 if test $ac_cv_cflags__Wtype_limits = yes; then :
12075 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12078 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12079 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12080 $as_echo_n "(cached) " >&6
12082 ac_wine_try_cflags_saved
=$CFLAGS
12083 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12084 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12085 /* end confdefs.h. */
12086 int main(int argc, char **argv) { return 0; }
12088 if ac_fn_c_try_link
"$LINENO"; then :
12089 ac_cv_cflags__Wunused_but_set_parameter
=yes
12091 ac_cv_cflags__Wunused_but_set_parameter
=no
12093 rm -f core conftest.err conftest.
$ac_objext \
12094 conftest
$ac_exeext conftest.
$ac_ext
12095 CFLAGS
=$ac_wine_try_cflags_saved
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12098 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12099 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12100 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12103 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12104 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12105 $as_echo_n "(cached) " >&6
12107 ac_wine_try_cflags_saved
=$CFLAGS
12108 CFLAGS
="$CFLAGS -Wwrite-strings"
12109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12110 /* end confdefs.h. */
12111 int main(int argc, char **argv) { return 0; }
12113 if ac_fn_c_try_link
"$LINENO"; then :
12114 ac_cv_cflags__Wwrite_strings
=yes
12116 ac_cv_cflags__Wwrite_strings
=no
12118 rm -f core conftest.err conftest.
$ac_objext \
12119 conftest
$ac_exeext conftest.
$ac_ext
12120 CFLAGS
=$ac_wine_try_cflags_saved
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12123 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12124 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12125 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12129 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12130 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12131 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12132 $as_echo_n "(cached) " >&6
12134 ac_wine_try_cflags_saved
=$CFLAGS
12135 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12138 int main(int argc, char **argv) { return 0; }
12140 if ac_fn_c_try_link
"$LINENO"; then :
12141 ac_cv_cflags__fno_omit_frame_pointer
=yes
12143 ac_cv_cflags__fno_omit_frame_pointer
=no
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 CFLAGS
=$ac_wine_try_cflags_saved
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12150 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12151 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12152 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12157 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12158 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12159 if ${ac_cv_cflags__Wno_format+:} false
; then :
12160 $as_echo_n "(cached) " >&6
12162 ac_wine_try_cflags_saved
=$CFLAGS
12163 CFLAGS
="$CFLAGS -Wno-format"
12164 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12166 int main(int argc, char **argv) { return 0; }
12168 if ac_fn_c_try_link
"$LINENO"; then :
12169 ac_cv_cflags__Wno_format
=yes
12171 ac_cv_cflags__Wno_format
=no
12173 rm -f core conftest.err conftest.
$ac_objext \
12174 conftest
$ac_exeext conftest.
$ac_ext
12175 CFLAGS
=$ac_wine_try_cflags_saved
12177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12178 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12179 if test $ac_cv_cflags__Wno_format = yes; then :
12180 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12184 saved_CFLAGS
="$CFLAGS"
12185 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12187 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12188 if ${ac_cv_c_string_h_warnings+:} false
; then :
12189 $as_echo_n "(cached) " >&6
12191 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12192 /* end confdefs.h. */
12193 #include <string.h>
12202 if ac_fn_c_try_compile
"$LINENO"; then :
12203 ac_cv_c_string_h_warnings
=no
12205 ac_cv_c_string_h_warnings
=yes
12207 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12210 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12211 CFLAGS
="$saved_CFLAGS"
12212 if test "$ac_cv_c_string_h_warnings" = "no"
12214 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12217 saved_CFLAGS
="$CFLAGS"
12218 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12220 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12221 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12222 $as_echo_n "(cached) " >&6
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 #include <string.h>
12230 char*f(const char *h,char n) {return strchr(h,n);}
12235 if ac_fn_c_try_compile
"$LINENO"; then :
12236 ac_cv_c_logicalop_noisy
=no
12238 ac_cv_c_logicalop_noisy
=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_logicalop_noisy" >&5
12243 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12244 CFLAGS
="$saved_CFLAGS"
12245 if test "$ac_cv_c_logicalop_noisy" = "no"
12247 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12250 if test "x$enable_maintainer_mode" = "xyes"
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12253 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12254 if ${ac_cv_cflags__Werror+:} false
; then :
12255 $as_echo_n "(cached) " >&6
12257 ac_wine_try_cflags_saved
=$CFLAGS
12258 CFLAGS
="$CFLAGS -Werror"
12259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12261 int main(int argc, char **argv) { return 0; }
12263 if ac_fn_c_try_link
"$LINENO"; then :
12264 ac_cv_cflags__Werror
=yes
12266 ac_cv_cflags__Werror
=no
12268 rm -f core conftest.err conftest.
$ac_objext \
12269 conftest
$ac_exeext conftest.
$ac_ext
12270 CFLAGS
=$ac_wine_try_cflags_saved
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12273 $as_echo "$ac_cv_cflags__Werror" >&6; }
12274 if test $ac_cv_cflags__Werror = yes; then :
12275 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12279 saved_CFLAGS
="$CFLAGS"
12280 CFLAGS
="$CFLAGS -Werror"
12281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12282 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12283 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12284 $as_echo_n "(cached) " >&6
12286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12287 /* end confdefs.h. */
12288 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12297 if ac_fn_c_try_compile
"$LINENO"; then :
12298 ac_cv_have_ms_hook_prologue
="yes"
12300 ac_cv_have_ms_hook_prologue
="no"
12302 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12305 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12306 CFLAGS
="$saved_CFLAGS"
12307 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12310 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12313 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12320 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12321 if ${ac_cv_c_fortify_enabled+:} false
; then :
12322 $as_echo_n "(cached) " >&6
12324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12325 /* end confdefs.h. */
12326 #include <string.h>
12330 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12331 #error Fortify enabled
12337 if ac_fn_c_try_compile
"$LINENO"; then :
12338 ac_cv_c_fortify_enabled
=no
12340 ac_cv_c_fortify_enabled
=yes
12342 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12345 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12346 if test "$ac_cv_c_fortify_enabled" = yes
12348 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12353 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12354 if ${ac_cv_c_extern_prefix+:} false
; then :
12355 $as_echo_n "(cached) " >&6
12357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12359 extern int ac_test;
12363 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12368 if ac_fn_c_try_link
"$LINENO"; then :
12369 ac_cv_c_extern_prefix
="yes"
12371 ac_cv_c_extern_prefix
="no"
12373 rm -f core conftest.err conftest.
$ac_objext \
12374 conftest
$ac_exeext conftest.
$ac_ext
12376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12377 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12382 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12383 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12384 $as_echo_n "(cached) " >&6
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 #define __stdcall __attribute__((__stdcall__))
12391 int __stdcall ac_test(int i) { return i; }
12395 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12400 if ac_fn_c_try_link
"$LINENO"; then :
12401 ac_cv_c_stdcall_suffix
="yes"
12403 ac_cv_c_stdcall_suffix
="no"
12405 rm -f core conftest.err conftest.
$ac_objext \
12406 conftest
$ac_exeext conftest.
$ac_ext
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12409 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12410 *) ac_cv_c_stdcall_suffix
="no" ;;
12414 if test "$ac_cv_c_extern_prefix" = "yes"
12416 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12418 asm_name_prefix
="_"
12420 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12426 if test "$ac_cv_c_stdcall_suffix" = "yes"
12428 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12431 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12437 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12438 if ${ac_cv_asm_func_def+:} false
; then :
12439 $as_echo_n "(cached) " >&6
12441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12442 /* end confdefs.h. */
12447 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12452 if ac_fn_c_try_link
"$LINENO"; then :
12453 ac_cv_asm_func_def
=".def"
12455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12456 /* end confdefs.h. */
12461 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12466 if ac_fn_c_try_link
"$LINENO"; then :
12467 ac_cv_asm_func_def
=".type @function"
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12475 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12480 if ac_fn_c_try_link
"$LINENO"; then :
12481 ac_cv_asm_func_def
=".type 2"
12483 ac_cv_asm_func_def
="unknown"
12485 rm -f core conftest.err conftest.
$ac_objext \
12486 conftest
$ac_exeext conftest.
$ac_ext
12488 rm -f core conftest.err conftest.
$ac_objext \
12489 conftest
$ac_exeext conftest.
$ac_ext
12491 rm -f core conftest.err conftest.
$ac_objext \
12492 conftest
$ac_exeext conftest.
$ac_ext
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12495 $as_echo "$ac_cv_asm_func_def" >&6; }
12498 case "$ac_cv_asm_func_def" in
12500 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12502 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12504 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12506 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12508 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12510 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12512 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12514 asm_func_header
="" ;;
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12518 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12519 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12520 $as_echo_n "(cached) " >&6
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12524 asm(".text\n\t.long 0");
12533 if ac_fn_c_try_compile
"$LINENO"; then :
12534 ac_cv_c_asm_outside_funcs
="yes"
12536 ac_cv_c_asm_outside_funcs
="no"
12538 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12541 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12544 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12545 if ${ac_cv_c_dot_previous+:} false
; then :
12546 $as_echo_n "(cached) " >&6
12548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12549 /* end confdefs.h. */
12554 asm(".text\nac_test:\t.long 0\n\t.previous");
12559 if ac_fn_c_try_link
"$LINENO"; then :
12560 ac_cv_c_dot_previous
="yes"
12562 ac_cv_c_dot_previous
="no"
12564 rm -f core conftest.err conftest.
$ac_objext \
12565 conftest
$ac_exeext conftest.
$ac_ext
12567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12568 $as_echo "$ac_cv_c_dot_previous" >&6; }
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12571 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12572 if ${ac_cv_c_cfi_support+:} false
; then :
12573 $as_echo_n "(cached) " >&6
12575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12577 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12586 if ac_fn_c_try_compile
"$LINENO"; then :
12587 ac_cv_c_cfi_support
="yes"
12589 ac_cv_c_cfi_support
="no"
12591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12594 $as_echo "$ac_cv_c_cfi_support" >&6; }
12596 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12597 asm_func_trailer
=""
12598 if test "$ac_cv_c_dot_previous" = "yes"
12600 asm_func_trailer
="\\n\\t.previous"
12602 if test "$ac_cv_c_cfi_support" = "yes"
12604 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12605 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12607 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12609 UNWINDFLAGS
=-fasynchronous-unwind-tables
12612 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12616 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12619 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12621 cat >>confdefs.h
<<_ACEOF
12622 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12626 cat >>confdefs.h
<<_ACEOF
12627 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12632 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12635 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12645 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12650 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12658 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12665 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12670 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12672 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12679 ac_save_CFLAGS
="$CFLAGS"
12680 CFLAGS
="$CFLAGS $BUILTINFLAG"
12757 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12758 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12759 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12760 cat >>confdefs.h
<<_ACEOF
12761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12767 CFLAGS
="$ac_save_CFLAGS"
12769 if test "$ac_cv_func_dlopen" = no
12771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12772 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12773 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12774 $as_echo_n "(cached) " >&6
12776 ac_check_lib_save_LIBS
=$LIBS
12778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12779 /* end confdefs.h. */
12781 /* Override any GCC internal prototype to avoid an error.
12782 Use char because int might match the return type of a GCC
12783 builtin and then its argument prototype would still apply. */
12796 if ac_fn_c_try_link
"$LINENO"; then :
12797 ac_cv_lib_dl_dlopen
=yes
12799 ac_cv_lib_dl_dlopen
=no
12801 rm -f core conftest.err conftest.
$ac_objext \
12802 conftest
$ac_exeext conftest.
$ac_ext
12803 LIBS
=$ac_check_lib_save_LIBS
12805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12806 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12807 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12808 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12814 ac_wine_check_funcs_save_LIBS
="$LIBS"
12815 LIBS
="$LIBS $LIBDL"
12816 for ac_func
in dladdr
12818 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12819 if test "x$ac_cv_func_dladdr" = xyes
; then :
12820 cat >>confdefs.h
<<_ACEOF
12821 #define HAVE_DLADDR 1
12827 LIBS
="$ac_wine_check_funcs_save_LIBS"
12829 if test "$ac_cv_func_poll" = no
12831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12832 $as_echo_n "checking for poll in -lpoll... " >&6; }
12833 if ${ac_cv_lib_poll_poll+:} false
; then :
12834 $as_echo_n "(cached) " >&6
12836 ac_check_lib_save_LIBS
=$LIBS
12837 LIBS
="-lpoll $LIBS"
12838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12839 /* end confdefs.h. */
12841 /* Override any GCC internal prototype to avoid an error.
12842 Use char because int might match the return type of a GCC
12843 builtin and then its argument prototype would still apply. */
12856 if ac_fn_c_try_link
"$LINENO"; then :
12857 ac_cv_lib_poll_poll
=yes
12859 ac_cv_lib_poll_poll
=no
12861 rm -f core conftest.err conftest.
$ac_objext \
12862 conftest
$ac_exeext conftest.
$ac_ext
12863 LIBS
=$ac_check_lib_save_LIBS
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12866 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12867 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
12868 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12876 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12877 if ${ac_cv_search_gethostbyname+:} false
; then :
12878 $as_echo_n "(cached) " >&6
12880 ac_func_search_save_LIBS
=$LIBS
12881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12882 /* end confdefs.h. */
12884 /* Override any GCC internal prototype to avoid an error.
12885 Use char because int might match the return type of a GCC
12886 builtin and then its argument prototype would still apply. */
12890 char gethostbyname ();
12894 return gethostbyname ();
12899 for ac_lib
in '' nsl
; do
12900 if test -z "$ac_lib"; then
12901 ac_res
="none required"
12904 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12906 if ac_fn_c_try_link
"$LINENO"; then :
12907 ac_cv_search_gethostbyname
=$ac_res
12909 rm -f core conftest.err conftest.
$ac_objext \
12911 if ${ac_cv_search_gethostbyname+:} false
; then :
12915 if ${ac_cv_search_gethostbyname+:} false
; then :
12918 ac_cv_search_gethostbyname
=no
12920 rm conftest.
$ac_ext
12921 LIBS
=$ac_func_search_save_LIBS
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12924 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12925 ac_res
=$ac_cv_search_gethostbyname
12926 if test "$ac_res" != no
; then :
12927 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12933 $as_echo_n "checking for library containing connect... " >&6; }
12934 if ${ac_cv_search_connect+:} false
; then :
12935 $as_echo_n "(cached) " >&6
12937 ac_func_search_save_LIBS
=$LIBS
12938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12939 /* end confdefs.h. */
12941 /* Override any GCC internal prototype to avoid an error.
12942 Use char because int might match the return type of a GCC
12943 builtin and then its argument prototype would still apply. */
12956 for ac_lib
in '' socket
; do
12957 if test -z "$ac_lib"; then
12958 ac_res
="none required"
12961 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12963 if ac_fn_c_try_link
"$LINENO"; then :
12964 ac_cv_search_connect
=$ac_res
12966 rm -f core conftest.err conftest.
$ac_objext \
12968 if ${ac_cv_search_connect+:} false
; then :
12972 if ${ac_cv_search_connect+:} false
; then :
12975 ac_cv_search_connect
=no
12977 rm conftest.
$ac_ext
12978 LIBS
=$ac_func_search_save_LIBS
12980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12981 $as_echo "$ac_cv_search_connect" >&6; }
12982 ac_res
=$ac_cv_search_connect
12983 if test "$ac_res" != no
; then :
12984 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12990 $as_echo_n "checking for library containing inet_aton... " >&6; }
12991 if ${ac_cv_search_inet_aton+:} false
; then :
12992 $as_echo_n "(cached) " >&6
12994 ac_func_search_save_LIBS
=$LIBS
12995 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12996 /* end confdefs.h. */
12998 /* Override any GCC internal prototype to avoid an error.
12999 Use char because int might match the return type of a GCC
13000 builtin and then its argument prototype would still apply. */
13008 return inet_aton ();
13013 for ac_lib
in '' resolv
; do
13014 if test -z "$ac_lib"; then
13015 ac_res
="none required"
13018 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13020 if ac_fn_c_try_link
"$LINENO"; then :
13021 ac_cv_search_inet_aton
=$ac_res
13023 rm -f core conftest.err conftest.
$ac_objext \
13025 if ${ac_cv_search_inet_aton+:} false
; then :
13029 if ${ac_cv_search_inet_aton+:} false
; then :
13032 ac_cv_search_inet_aton
=no
13034 rm conftest.
$ac_ext
13035 LIBS
=$ac_func_search_save_LIBS
13037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13038 $as_echo "$ac_cv_search_inet_aton" >&6; }
13039 ac_res
=$ac_cv_search_inet_aton
13040 if test "$ac_res" != no
; then :
13041 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13060 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13061 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13062 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13063 cat >>confdefs.h
<<_ACEOF
13064 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13073 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13075 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13077 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13079 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13080 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13081 $as_echo_n "(cached) " >&6
13083 ac_check_lib_save_LIBS
=$LIBS
13084 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13086 /* end confdefs.h. */
13088 /* Override any GCC internal prototype to avoid an error.
13089 Use char because int might match the return type of a GCC
13090 builtin and then its argument prototype would still apply. */
13094 char ldap_initialize ();
13098 return ldap_initialize ();
13103 if ac_fn_c_try_link
"$LINENO"; then :
13104 ac_cv_lib_ldap_r_ldap_initialize
=yes
13106 ac_cv_lib_ldap_r_ldap_initialize
=no
13108 rm -f core conftest.err conftest.
$ac_objext \
13109 conftest
$ac_exeext conftest.
$ac_ext
13110 LIBS
=$ac_check_lib_save_LIBS
13112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13113 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13114 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13116 $as_echo_n "checking for ber_init in -llber... " >&6; }
13117 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13118 $as_echo_n "(cached) " >&6
13120 ac_check_lib_save_LIBS
=$LIBS
13121 LIBS
="-llber $LIBPTHREAD $LIBS"
13122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13123 /* end confdefs.h. */
13125 /* Override any GCC internal prototype to avoid an error.
13126 Use char because int might match the return type of a GCC
13127 builtin and then its argument prototype would still apply. */
13135 return ber_init ();
13140 if ac_fn_c_try_link
"$LINENO"; then :
13141 ac_cv_lib_lber_ber_init
=yes
13143 ac_cv_lib_lber_ber_init
=no
13145 rm -f core conftest.err conftest.
$ac_objext \
13146 conftest
$ac_exeext conftest.
$ac_ext
13147 LIBS
=$ac_check_lib_save_LIBS
13149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13150 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13151 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13153 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13155 LDAPLIBS
="-lldap_r -llber"
13162 ac_wine_check_funcs_save_LIBS
="$LIBS"
13163 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13165 ldap_count_references \
13166 ldap_first_reference \
13167 ldap_next_reference \
13168 ldap_parse_reference \
13169 ldap_parse_sort_control \
13170 ldap_parse_sortresponse_control \
13171 ldap_parse_vlv_control \
13172 ldap_parse_vlvresponse_control
13174 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13175 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13176 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13177 cat >>confdefs.h
<<_ACEOF
13178 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13184 LIBS
="$ac_wine_check_funcs_save_LIBS"
13186 if test "x$LDAPLIBS" = "x"; then :
13187 case "x$with_ldap" in
13188 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13190 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13191 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13196 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13197 if ${wine_cv_one_arg_mkdir+:} false
; then :
13198 $as_echo_n "(cached) " >&6
13200 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13201 /* end confdefs.h. */
13202 #include <sys/stat.h>
13211 if ac_fn_c_try_compile
"$LINENO"; then :
13212 wine_cv_one_arg_mkdir
=yes
13214 wine_cv_one_arg_mkdir
=no
13216 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13219 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13220 if test "$wine_cv_one_arg_mkdir" = "yes"
13223 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13228 $as_echo_n "checking for sched_setaffinity... " >&6; }
13229 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13230 $as_echo_n "(cached) " >&6
13232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13233 /* end confdefs.h. */
13234 #define _GNU_SOURCE
13239 sched_setaffinity(0, 0, 0);
13244 if ac_fn_c_try_link
"$LINENO"; then :
13245 wine_cv_have_sched_setaffinity
=yes
13247 wine_cv_have_sched_setaffinity
=no
13249 rm -f core conftest.err conftest.
$ac_objext \
13250 conftest
$ac_exeext conftest.
$ac_ext
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13253 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13254 if test "$wine_cv_have_sched_setaffinity" = "yes"
13257 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13263 $as_echo_n "checking for inline... " >&6; }
13264 if ${ac_cv_c_inline+:} false
; then :
13265 $as_echo_n "(cached) " >&6
13268 for ac_kw
in inline __inline__ __inline
; do
13269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13271 #ifndef __cplusplus
13273 static $ac_kw foo_t static_foo () {return 0; }
13274 $ac_kw foo_t foo () {return 0; }
13278 if ac_fn_c_try_compile
"$LINENO"; then :
13279 ac_cv_c_inline
=$ac_kw
13281 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13282 test "$ac_cv_c_inline" != no
&& break
13286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13287 $as_echo "$ac_cv_c_inline" >&6; }
13289 case $ac_cv_c_inline in
13292 case $ac_cv_c_inline in
13294 *) ac_val
=$ac_cv_c_inline;;
13296 cat >>confdefs.h
<<_ACEOF
13297 #ifndef __cplusplus
13298 #define inline $ac_val
13304 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13305 if test "x$ac_cv_type_mode_t" = xyes
; then :
13307 cat >>confdefs.h
<<_ACEOF
13308 #define HAVE_MODE_T 1
13313 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13314 if test "x$ac_cv_type_off_t" = xyes
; then :
13316 cat >>confdefs.h
<<_ACEOF
13317 #define HAVE_OFF_T 1
13322 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13323 if test "x$ac_cv_type_pid_t" = xyes
; then :
13325 cat >>confdefs.h
<<_ACEOF
13326 #define HAVE_PID_T 1
13331 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13332 if test "x$ac_cv_type_size_t" = xyes
; then :
13334 cat >>confdefs.h
<<_ACEOF
13335 #define HAVE_SIZE_T 1
13340 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13341 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13343 cat >>confdefs.h
<<_ACEOF
13344 #define HAVE_SSIZE_T 1
13349 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13350 if test "x$ac_cv_type_long_long" = xyes
; then :
13352 cat >>confdefs.h
<<_ACEOF
13353 #define HAVE_LONG_LONG 1
13358 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13359 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13361 cat >>confdefs.h
<<_ACEOF
13362 #define HAVE_FSBLKCNT_T 1
13367 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13368 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13370 cat >>confdefs.h
<<_ACEOF
13371 #define HAVE_FSFILCNT_T 1
13377 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13378 #include <signal.h>
13380 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13382 cat >>confdefs.h
<<_ACEOF
13383 #define HAVE_SIGSET_T 1
13389 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13391 if test "x$ac_cv_type_request_sense" = xyes
; then :
13393 cat >>confdefs.h
<<_ACEOF
13394 #define HAVE_REQUEST_SENSE 1
13401 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13402 #ifdef HAVE_SYS_SOCKET_H
13403 #include <sys/socket.h>
13405 #ifdef HAVE_SYS_SOCKETVAR_H
13406 #include <sys/socketvar.h>
13408 #ifdef HAVE_NET_ROUTE_H
13409 #include <net/route.h>
13411 #ifdef HAVE_NETINET_IN_H
13412 #include <netinet/in.h>
13414 #ifdef HAVE_NETINET_IN_SYSTM_H
13415 #include <netinet/in_systm.h>
13417 #ifdef HAVE_NETINET_IP_H
13418 #include <netinet/ip.h>
13420 #ifdef HAVE_NETINET_IN_PCB_H
13421 #include <netinet/in_pcb.h>
13424 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13426 cat >>confdefs.h
<<_ACEOF
13427 #define HAVE_STRUCT_XINPGEN 1
13434 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13435 #include <linux/input.h>
13438 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13440 cat >>confdefs.h
<<_ACEOF
13441 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13449 $as_echo_n "checking for sigaddset... " >&6; }
13450 if ${wine_cv_have_sigaddset+:} false
; then :
13451 $as_echo_n "(cached) " >&6
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 #include <signal.h>
13459 sigset_t set; sigaddset(&set,SIGTERM);
13464 if ac_fn_c_try_link
"$LINENO"; then :
13465 wine_cv_have_sigaddset
=yes
13467 wine_cv_have_sigaddset
=no
13469 rm -f core conftest.err conftest.
$ac_objext \
13470 conftest
$ac_exeext conftest.
$ac_ext
13472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13473 $as_echo "$wine_cv_have_sigaddset" >&6; }
13474 if test "$wine_cv_have_sigaddset" = "yes"
13477 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13483 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13484 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13485 $as_echo_n "(cached) " >&6
13487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13488 /* end confdefs.h. */
13496 struct hostent *result;
13503 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13504 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13510 if ac_fn_c_try_link
"$LINENO"; then :
13511 wine_cv_linux_gethostbyname_r_6
=yes
13513 wine_cv_linux_gethostbyname_r_6
=no
13516 rm -f core conftest.err conftest.
$ac_objext \
13517 conftest
$ac_exeext conftest.
$ac_ext
13520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13521 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13522 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13525 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13529 if test "$ac_cv_header_linux_joystick_h" = "yes"
13531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13532 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13533 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13534 $as_echo_n "(cached) " >&6
13536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 #include <sys/ioctl.h>
13540 #include <sys/types.h>
13541 #include <linux/joystick.h>
13543 struct js_event blub;
13544 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13545 #error "no 2.2 header"
13556 if ac_fn_c_try_compile
"$LINENO"; then :
13557 wine_cv_linux_joystick_22_api
=yes
13559 wine_cv_linux_joystick_22_api
=no
13561 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13565 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13566 if test "$wine_cv_linux_joystick_22_api" = "yes"
13569 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13575 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13576 #ifdef HAVE_SYS_PARAM_H
13577 # include <sys/param.h>
13579 #ifdef HAVE_SYS_MOUNT_H
13580 # include <sys/mount.h>
13582 #ifdef HAVE_SYS_VFS_H
13583 # include <sys/vfs.h>
13585 #ifdef HAVE_SYS_STATFS_H
13586 # include <sys/statfs.h>
13589 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13591 cat >>confdefs.h
<<_ACEOF
13592 #define HAVE_STRUCT_STATFS_F_BFREE 1
13597 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13598 #ifdef HAVE_SYS_PARAM_H
13599 # include <sys/param.h>
13601 #ifdef HAVE_SYS_MOUNT_H
13602 # include <sys/mount.h>
13604 #ifdef HAVE_SYS_VFS_H
13605 # include <sys/vfs.h>
13607 #ifdef HAVE_SYS_STATFS_H
13608 # include <sys/statfs.h>
13611 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13613 cat >>confdefs.h
<<_ACEOF
13614 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13619 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13620 #ifdef HAVE_SYS_PARAM_H
13621 # include <sys/param.h>
13623 #ifdef HAVE_SYS_MOUNT_H
13624 # include <sys/mount.h>
13626 #ifdef HAVE_SYS_VFS_H
13627 # include <sys/vfs.h>
13629 #ifdef HAVE_SYS_STATFS_H
13630 # include <sys/statfs.h>
13633 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13635 cat >>confdefs.h
<<_ACEOF
13636 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13641 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13642 #ifdef HAVE_SYS_PARAM_H
13643 # include <sys/param.h>
13645 #ifdef HAVE_SYS_MOUNT_H
13646 # include <sys/mount.h>
13648 #ifdef HAVE_SYS_VFS_H
13649 # include <sys/vfs.h>
13651 #ifdef HAVE_SYS_STATFS_H
13652 # include <sys/statfs.h>
13655 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13657 cat >>confdefs.h
<<_ACEOF
13658 #define HAVE_STRUCT_STATFS_F_FFREE 1
13663 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13664 #ifdef HAVE_SYS_PARAM_H
13665 # include <sys/param.h>
13667 #ifdef HAVE_SYS_MOUNT_H
13668 # include <sys/mount.h>
13670 #ifdef HAVE_SYS_VFS_H
13671 # include <sys/vfs.h>
13673 #ifdef HAVE_SYS_STATFS_H
13674 # include <sys/statfs.h>
13677 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13679 cat >>confdefs.h
<<_ACEOF
13680 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13685 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13686 #ifdef HAVE_SYS_PARAM_H
13687 # include <sys/param.h>
13689 #ifdef HAVE_SYS_MOUNT_H
13690 # include <sys/mount.h>
13692 #ifdef HAVE_SYS_VFS_H
13693 # include <sys/vfs.h>
13695 #ifdef HAVE_SYS_STATFS_H
13696 # include <sys/statfs.h>
13699 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13701 cat >>confdefs.h
<<_ACEOF
13702 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13709 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13710 #include <sys/statvfs.h>
13713 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13715 cat >>confdefs.h
<<_ACEOF
13716 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13723 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13724 #ifdef HAVE_SYS_SOCKET_H
13725 # include <sys/socket.h>
13727 #ifdef HAVE_SYS_UN_H
13728 # include <sys/un.h>
13731 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13733 cat >>confdefs.h
<<_ACEOF
13734 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13739 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13740 #ifdef HAVE_SYS_SOCKET_H
13741 # include <sys/socket.h>
13743 #ifdef HAVE_SYS_UN_H
13744 # include <sys/un.h>
13747 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13749 cat >>confdefs.h
<<_ACEOF
13750 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13755 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13756 #ifdef HAVE_SYS_SOCKET_H
13757 # include <sys/socket.h>
13759 #ifdef HAVE_SYS_UN_H
13760 # include <sys/un.h>
13763 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13765 cat >>confdefs.h
<<_ACEOF
13766 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13773 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13774 #ifdef HAVE_SCSI_SG_H
13775 #include <scsi/sg.h>
13778 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
13780 cat >>confdefs.h
<<_ACEOF
13781 #define HAVE_SCSIREQ_T_CMD 1
13786 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>
13787 #ifdef HAVE_SCSI_SG_H
13788 #include <scsi/sg.h>
13791 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
13793 cat >>confdefs.h
<<_ACEOF
13794 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13801 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13803 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
13805 cat >>confdefs.h
<<_ACEOF
13806 #define HAVE_SIGINFO_T_SI_FD 1
13813 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13814 #ifdef HAVE_SYS_MTIO_H
13815 #include <sys/mtio.h>
13818 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
13820 cat >>confdefs.h
<<_ACEOF
13821 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13826 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13827 #ifdef HAVE_SYS_MTIO_H
13828 #include <sys/mtio.h>
13831 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
13833 cat >>confdefs.h
<<_ACEOF
13834 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13839 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13840 #ifdef HAVE_SYS_MTIO_H
13841 #include <sys/mtio.h>
13844 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
13846 cat >>confdefs.h
<<_ACEOF
13847 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13854 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13855 #include <getopt.h>
13858 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
13860 cat >>confdefs.h
<<_ACEOF
13861 #define HAVE_STRUCT_OPTION_NAME 1
13868 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13869 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
13871 cat >>confdefs.h
<<_ACEOF
13872 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13877 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13878 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
13880 cat >>confdefs.h
<<_ACEOF
13881 #define HAVE_STRUCT_STAT_ST_MTIM 1
13886 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13887 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
13889 cat >>confdefs.h
<<_ACEOF
13890 #define HAVE_STRUCT_STAT_ST_CTIM 1
13895 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13896 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
13898 cat >>confdefs.h
<<_ACEOF
13899 #define HAVE_STRUCT_STAT_ST_ATIM 1
13906 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
13907 #include <sys/types.h>
13909 #ifdef HAVE_NETINET_IN_H
13910 #include <netinet/in.h>
13913 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
13915 cat >>confdefs.h
<<_ACEOF
13916 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13923 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13924 #include <sys/types.h>
13926 #ifdef HAVE_NETINET_IN_H
13927 # include <netinet/in.h>
13929 #ifdef HAVE_ARPA_NAMESER_H
13930 # include <arpa/nameser.h>
13933 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
13935 cat >>confdefs.h
<<_ACEOF
13936 #define HAVE_NS_MSG__MSG_PTR 1
13943 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13944 #include <sys/types.h>
13946 #ifdef HAVE_ALIAS_H
13949 #ifdef HAVE_SYS_SOCKET_H
13950 #include <sys/socket.h>
13952 #ifdef HAVE_SYS_SOCKETVAR_H
13953 #include <sys/socketvar.h>
13955 #ifdef HAVE_SYS_TIMEOUT_H
13956 #include <sys/timeout.h>
13958 #ifdef HAVE_NETINET_IN_H
13959 #include <netinet/in.h>
13961 #ifdef HAVE_NETINET_IN_SYSTM_H
13962 #include <netinet/in_systm.h>
13964 #ifdef HAVE_NETINET_IP_H
13965 #include <netinet/ip.h>
13967 #ifdef HAVE_NETINET_IP_VAR_H
13968 #include <netinet/ip_var.h>
13970 #ifdef HAVE_NETINET_IP_ICMP_H
13971 #include <netinet/ip_icmp.h>
13973 #ifdef HAVE_NETINET_ICMP_VAR
13974 #include <netinet/icmp_var.h>
13977 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
13979 cat >>confdefs.h
<<_ACEOF
13980 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13987 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13988 #include <sys/types.h>
13990 #ifdef HAVE_NET_IF_H
13991 # include <net/if.h>
13994 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
13996 cat >>confdefs.h
<<_ACEOF
13997 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14005 $as_echo_n "checking for timezone variable... " >&6; }
14006 if ${ac_cv_have_timezone+:} false
; then :
14007 $as_echo_n "(cached) " >&6
14009 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14010 /* end confdefs.h. */
14020 if ac_fn_c_try_link
"$LINENO"; then :
14021 ac_cv_have_timezone
="yes"
14023 ac_cv_have_timezone
="no"
14025 rm -f core conftest.err conftest.
$ac_objext \
14026 conftest
$ac_exeext conftest.
$ac_ext
14028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14029 $as_echo "$ac_cv_have_timezone" >&6; }
14030 if test "$ac_cv_have_timezone" = "yes"
14033 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14037 $as_echo_n "checking for daylight variable... " >&6; }
14038 if ${ac_cv_have_daylight+:} false
; then :
14039 $as_echo_n "(cached) " >&6
14041 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14052 if ac_fn_c_try_link
"$LINENO"; then :
14053 ac_cv_have_daylight
="yes"
14055 ac_cv_have_daylight
="no"
14057 rm -f core conftest.err conftest.
$ac_objext \
14058 conftest
$ac_exeext conftest.
$ac_ext
14060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14061 $as_echo "$ac_cv_have_daylight" >&6; }
14062 if test "$ac_cv_have_daylight" = "yes"
14065 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14069 ac_save_LIBS
="$LIBS"
14071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14072 $as_echo_n "checking for isinf... " >&6; }
14073 if ${ac_cv_have_isinf+:} false
; then :
14074 $as_echo_n "(cached) " >&6
14076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14077 /* end confdefs.h. */
14082 float f = 0.0; return isinf(f)
14087 if ac_fn_c_try_link
"$LINENO"; then :
14088 ac_cv_have_isinf
="yes"
14090 ac_cv_have_isinf
="no"
14092 rm -f core conftest.err conftest.
$ac_objext \
14093 conftest
$ac_exeext conftest.
$ac_ext
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14096 $as_echo "$ac_cv_have_isinf" >&6; }
14097 if test "$ac_cv_have_isinf" = "yes"
14100 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14105 $as_echo_n "checking for isnan... " >&6; }
14106 if ${ac_cv_have_isnan+:} 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 isnan(f)
14120 if ac_fn_c_try_link
"$LINENO"; then :
14121 ac_cv_have_isnan
="yes"
14123 ac_cv_have_isnan
="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_isnan" >&5
14129 $as_echo "$ac_cv_have_isnan" >&6; }
14130 if test "$ac_cv_have_isnan" = "yes"
14133 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14136 LIBS
="$ac_save_LIBS"
14140 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14141 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14142 if ${ac_cv_cpp_def___i386__+:} false
; then :
14143 $as_echo_n "(cached) " >&6
14145 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14146 /* end confdefs.h. */
14151 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14152 $EGREP "yes" >/dev
/null
2>&1; then :
14153 ac_cv_cpp_def___i386__
=yes
14155 ac_cv_cpp_def___i386__
=no
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14161 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14162 if test $ac_cv_cpp_def___i386__ = yes; then :
14163 CFLAGS
="$CFLAGS -D__i386__"
14164 LINTFLAGS
="$LINTFLAGS -D__i386__"
14166 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14167 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14168 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14169 $as_echo_n "(cached) " >&6
14171 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14172 /* end confdefs.h. */
14177 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14178 $EGREP "yes" >/dev
/null
2>&1; then :
14179 ac_cv_cpp_def___x86_64__
=yes
14181 ac_cv_cpp_def___x86_64__
=no
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14187 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14188 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14189 CFLAGS
="$CFLAGS -D__x86_64__"
14190 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14192 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14193 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14194 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14195 $as_echo_n "(cached) " >&6
14197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14198 /* end confdefs.h. */
14199 #ifndef __sparc64__
14203 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14204 $EGREP "yes" >/dev
/null
2>&1; then :
14205 ac_cv_cpp_def___sparc64__
=yes
14207 ac_cv_cpp_def___sparc64__
=no
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14213 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14214 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14215 CFLAGS
="$CFLAGS -D__sparc64__"
14216 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14218 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14219 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14220 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14221 $as_echo_n "(cached) " >&6
14223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14224 /* end confdefs.h. */
14229 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14230 $EGREP "yes" >/dev
/null
2>&1; then :
14231 ac_cv_cpp_def___sparc__
=yes
14233 ac_cv_cpp_def___sparc__
=no
14238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14239 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14240 if test $ac_cv_cpp_def___sparc__ = yes; then :
14241 CFLAGS
="$CFLAGS -D__sparc__"
14242 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14244 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14245 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14246 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
14247 $as_echo_n "(cached) " >&6
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14251 #ifndef __powerpc64__
14255 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14256 $EGREP "yes" >/dev
/null
2>&1; then :
14257 ac_cv_cpp_def___powerpc64__
=yes
14259 ac_cv_cpp_def___powerpc64__
=no
14264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14265 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14266 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14267 CFLAGS
="$CFLAGS -D__powerpc64__"
14268 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
14270 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14271 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14272 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14273 $as_echo_n "(cached) " >&6
14275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14276 /* end confdefs.h. */
14277 #ifndef __powerpc__
14281 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14282 $EGREP "yes" >/dev
/null
2>&1; then :
14283 ac_cv_cpp_def___powerpc__
=yes
14285 ac_cv_cpp_def___powerpc__
=no
14290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14291 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14292 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14293 CFLAGS
="$CFLAGS -D__powerpc__"
14294 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14296 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14297 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14298 if ${ac_cv_cpp_def___arm__+:} false
; then :
14299 $as_echo_n "(cached) " >&6
14301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14302 /* end confdefs.h. */
14307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14308 $EGREP "yes" >/dev
/null
2>&1; then :
14309 ac_cv_cpp_def___arm__
=yes
14311 ac_cv_cpp_def___arm__
=no
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14317 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14318 if test $ac_cv_cpp_def___arm__ = yes; then :
14319 CFLAGS
="$CFLAGS -D__arm__"
14320 LINTFLAGS
="$LINTFLAGS -D__arm__"
14324 case $host_vendor in
14325 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14326 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14327 if ${ac_cv_cpp_def___sun__+:} false
; then :
14328 $as_echo_n "(cached) " >&6
14330 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14331 /* end confdefs.h. */
14336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14337 $EGREP "yes" >/dev
/null
2>&1; then :
14338 ac_cv_cpp_def___sun__
=yes
14340 ac_cv_cpp_def___sun__
=no
14345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14346 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14347 if test $ac_cv_cpp_def___sun__ = yes; then :
14348 CFLAGS
="$CFLAGS -D__sun__"
14349 LINTFLAGS
="$LINTFLAGS -D__sun__"
14357 ac_config_commands
="$ac_config_commands include/stamp-h"
14360 ALL_MAKEFILE_DEPENDS
="
14361 # Rules automatically generated by configure
14366 Makefile: Makefile.in Make.vars.in Make.rules config.status
14367 @./config.status Make.tmp Makefile"
14370 ALL_TEST_RESOURCES
=""
14373 wine_fn_append_file
()
14375 as_fn_append
$1 " \\$as_nl $2"
14378 wine_fn_append_rule
()
14380 as_fn_append
$1 "$as_nl$2"
14383 wine_fn_has_flag
()
14385 expr ",$2," : ".*,$1,.*" >/dev
/null
14388 wine_fn_all_dir_rules
()
14392 ac_makedep
="\$(MAKEDEP)"
14393 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14394 if test $ac_dir != tools
14396 ac_alldeps
="$2 $ac_makedep"
14399 *.
in) ac_input
=$ac_input:$2 ;;
14400 *) ac_makedep
="$2 $ac_makedep" ;;
14403 wine_fn_append_file ALL_DIRS
$ac_dir
14404 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14405 "__clean__: $ac_dir/__clean__
14406 .PHONY: $ac_dir/__clean__
14407 $ac_dir/__clean__: $ac_dir/Makefile
14408 @cd $ac_dir && \$(MAKE) clean
14409 \$(RM) $ac_dir/Makefile
14410 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14411 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14412 depend: $ac_dir/__depend__
14413 .PHONY: $ac_dir/__depend__
14414 $ac_dir/__depend__: $ac_makedep dummy
14415 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14418 wine_fn_pot_rules
()
14423 test "x$with_gettextpo" = xyes ||
return
14425 if wine_fn_has_flag mc
$ac_flags
14427 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14428 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14429 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14430 @cd $ac_dir && \$(MAKE) msg.pot
14431 $ac_dir/msg.pot: tools/wmc include"
14433 if wine_fn_has_flag po
$ac_flags
14435 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14436 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14437 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14438 @cd $ac_dir && \$(MAKE) rsrc.pot
14439 $ac_dir/rsrc.pot: tools/wrc include"
14443 wine_fn_config_makefile
()
14449 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14453 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14454 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14457 $ac_dir: $ac_dir/Makefile dummy
14458 @cd $ac_dir && \$(MAKE)"
14460 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14462 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14463 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14464 $ac_dir/__install__:: $ac_dir
14465 @cd $ac_dir && \$(MAKE) install
14466 $ac_dir/__uninstall__:: $ac_dir/Makefile
14467 @cd $ac_dir && \$(MAKE) uninstall
14468 install:: $ac_dir/__install__
14469 __uninstall__: $ac_dir/__uninstall__"
14471 if wine_fn_has_flag install-lib
$ac_flags
14473 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14474 ".PHONY: $ac_dir/__install-lib__
14475 $ac_dir/__install-lib__:: $ac_dir
14476 @cd $ac_dir && \$(MAKE) install-lib
14477 install-lib:: $ac_dir/__install-lib__"
14480 if wine_fn_has_flag install-dev
$ac_flags
14482 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14483 ".PHONY: $ac_dir/__install-dev
14484 $ac_dir/__install-dev__:: $ac_dir
14485 @cd $ac_dir && \$(MAKE) install-dev
14486 install-dev:: $ac_dir/__install-dev__"
14490 wine_fn_config_lib
()
14494 ac_dir
=dlls
/$ac_name
14495 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14497 if wine_fn_has_flag install-dev
$ac_flags
14500 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14501 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14502 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14503 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14504 $ac_dir/__uninstall__::
14505 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14506 install install-dev:: $ac_dir/__install__
14507 __uninstall__: $ac_dir/__uninstall__"
14510 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14511 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14514 wine_fn_config_dll
()
14517 ac_dir
=dlls
/$ac_name
14520 ac_implib
=${4:-$ac_name}
14521 ac_file
=$ac_dir/lib
$ac_implib
14523 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14527 *16) ac_implibflags
=" -m16" ;;
14529 *) ac_dll
=$ac_dll.dll
;;
14532 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14534 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14535 test "$ac_enable" != enable_win16 ||
return 0
14536 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14538 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14539 "$ac_dir: __builddeps__
14540 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14541 @cd $ac_dir && \$(MAKE) \$@"
14543 if wine_fn_has_flag install-lib
$ac_flags
14546 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14547 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14548 install install-lib:: $ac_dir/__install-lib__
14549 __uninstall__: $ac_dir/__uninstall__"
14550 if test -n "$DLLEXT"
14552 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14553 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14554 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14555 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14556 $ac_dir/__uninstall__::
14557 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14559 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14560 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14561 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14562 $ac_dir/__uninstall__::
14563 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14567 wine_fn_pot_rules
$ac_dir $ac_flags
14570 if wine_fn_has_flag staticimplib
$ac_flags
14572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14573 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14574 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14575 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14576 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14577 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14578 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14579 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14580 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14581 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14582 $ac_dir/__uninstall__::
14583 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14584 install install-dev:: $ac_dir/__install-dev__
14585 __uninstall__: $ac_dir/__uninstall__"
14587 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14589 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14590 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14591 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14592 $ac_dir/__uninstall__::
14593 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14596 if test "x$CROSSTEST_DISABLE" = x
14598 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14599 "__builddeps__: $ac_file.cross.a
14600 $ac_file.cross.a: $ac_dir/Makefile dummy
14601 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14604 elif wine_fn_has_flag implib
$ac_flags
14606 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14607 "__builddeps__: $ac_file.$IMPLIBEXT
14608 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14609 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14610 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14611 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
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__"
14619 if test "x$CROSSTEST_DISABLE" = x
14621 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14622 "__builddeps__: $ac_file.cross.a
14623 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14624 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14627 if test "$ac_name" != "$ac_implib"
14629 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14630 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14631 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14632 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14634 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14635 if test "x$CROSSTEST_DISABLE" = x
14637 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14638 "__builddeps__: dlls/lib$ac_implib.cross.a
14639 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14640 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14646 wine_fn_config_program
()
14649 ac_dir
=programs
/$ac_name
14652 ac_program
=$ac_name
14656 *) ac_program
=$ac_program.exe
;;
14659 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14661 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14664 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14665 "$ac_dir: __builddeps__"
14667 wine_fn_pot_rules
$ac_dir $ac_flags
14669 wine_fn_has_flag
install $ac_flags ||
return
14670 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14671 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14672 install install-lib:: $ac_dir/__install__
14673 __uninstall__: $ac_dir/__uninstall__"
14675 if test -n "$DLLEXT"
14677 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14678 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14679 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14680 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14681 $ac_dir/__uninstall__::
14682 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14684 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14686 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14687 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14688 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14689 $ac_dir/__uninstall__::
14690 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14693 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14694 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14695 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14696 $ac_dir/__uninstall__::
14697 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14700 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
14702 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14703 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14704 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14705 $ac_dir/__uninstall__::
14706 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14711 wine_fn_config_test
()
14716 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
14717 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14719 if test "x$enable_tests" = xno
; then :
14722 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14725 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14726 @cd $ac_dir && \$(MAKE)
14727 programs/winetest: $ac_dir
14728 check test: $ac_dir/__test__
14729 .PHONY: $ac_dir/__test__
14730 $ac_dir/__test__: dummy
14731 @cd $ac_dir && \$(MAKE) test
14733 \$(RM) $ac_dir/*.ok"
14735 if test "x$CROSSTEST_DISABLE" = x
14737 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14738 "crosstest: $ac_dir/__crosstest__
14739 .PHONY: $ac_dir/__crosstest__
14740 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14741 @cd $ac_dir && \$(MAKE) crosstest"
14746 wine_fn_config_tool
()
14750 if test "x$enable_tools" = xno
; then :
14754 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
14756 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
14757 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
14759 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14763 wine_fn_config_makerules
()
14767 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14768 "$ac_rules: $ac_rules.in $ac_deps config.status
14769 @./config.status $ac_rules
14774 wine_fn_config_symlink
()
14777 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14779 @./config.status $ac_link
14784 if test "x$CROSSTEST_DISABLE" != x
14786 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14788 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14790 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14791 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14792 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14793 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14794 if test "x$enable_fonts" != xno
; then
14795 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14796 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14798 if test "x$enable_fonts" != xno
; then
14799 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14800 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14802 if test "x$enable_fonts" != xno
; then
14803 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14804 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14806 if test "x$enable_fonts" != xno
; then
14807 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14808 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14810 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
14811 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
14812 if test "x$enable_tools" != xno
; then
14813 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14814 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14816 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14817 wine_fn_config_symlink wine
14818 if test "x$enable_win64" != xno
; then
14819 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
14820 wine_fn_config_symlink wine64
14823 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
14825 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14827 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14829 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14831 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14833 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14835 ac_config_commands
="$ac_config_commands include/wine"
14838 wine_fn_config_makerules Make.rules
14839 MAKE_RULES
=Make.rules
14840 ac_config_files
="$ac_config_files Make.rules"
14842 wine_fn_config_makerules Maketest.rules Make.rules
14843 MAKE_TEST_RULES
=Maketest.rules
14844 ac_config_files
="$ac_config_files Maketest.rules"
14846 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14847 MAKE_DLL_RULES
=dlls
/Makedll.rules
14848 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14850 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14851 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14852 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14854 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14855 MAKE_PROG_RULES
=programs
/Makeprog.rules
14856 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14859 wine_fn_config_dll acledit enable_acledit
14860 wine_fn_config_dll aclui enable_aclui implib
14861 wine_fn_config_dll activeds enable_activeds implib
14862 wine_fn_config_dll actxprxy enable_actxprxy
14863 wine_fn_config_lib adsiid
14864 wine_fn_config_dll advapi32 enable_advapi32 implib
14865 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14866 wine_fn_config_dll advpack enable_advpack implib
14867 wine_fn_config_test dlls
/advpack
/tests advpack_test
14868 wine_fn_config_dll amstream enable_amstream
14869 wine_fn_config_test dlls
/amstream
/tests amstream_test
14870 wine_fn_config_dll apphelp enable_apphelp
14871 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14872 wine_fn_config_dll atl enable_atl implib
14873 wine_fn_config_test dlls
/atl
/tests atl_test
14874 wine_fn_config_dll authz enable_authz
14875 wine_fn_config_dll avicap32 enable_avicap32 implib
14876 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
14877 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14878 wine_fn_config_dll avifile.dll16 enable_win16
14879 wine_fn_config_dll avrt enable_avrt implib
14880 wine_fn_config_dll bcrypt enable_bcrypt
14881 wine_fn_config_dll browseui enable_browseui po
14882 wine_fn_config_test dlls
/browseui
/tests browseui_test
14883 wine_fn_config_dll cabinet enable_cabinet implib
14884 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14885 wine_fn_config_dll capi2032 enable_capi2032 implib
14886 wine_fn_config_dll cards enable_cards implib
14887 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14888 wine_fn_config_dll clusapi enable_clusapi implib
14889 wine_fn_config_dll comcat enable_comcat
14890 wine_fn_config_test dlls
/comcat
/tests comcat_test
14891 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
14892 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14893 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
14894 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14895 wine_fn_config_dll
comm.drv16 enable_win16
14896 wine_fn_config_dll commdlg.dll16 enable_win16
14897 wine_fn_config_dll compobj.dll16 enable_win16
14898 wine_fn_config_dll compstui enable_compstui implib
14899 wine_fn_config_dll credui enable_credui implib
,po
14900 wine_fn_config_test dlls
/credui
/tests credui_test
14901 wine_fn_config_dll crtdll enable_crtdll implib
14902 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
14903 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14904 wine_fn_config_dll cryptdlg enable_cryptdlg po
14905 wine_fn_config_dll cryptdll enable_cryptdll implib
14906 wine_fn_config_dll cryptnet enable_cryptnet implib
14907 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14908 wine_fn_config_dll cryptui enable_cryptui implib
,po
14909 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14910 wine_fn_config_dll ctapi32 enable_ctapi32
14911 wine_fn_config_dll ctl3d.dll16 enable_win16
14912 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14913 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14914 wine_fn_config_dll d3d10 enable_d3d10 implib
14915 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14916 wine_fn_config_dll d3d10core enable_d3d10core implib
14917 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14918 wine_fn_config_dll d3d8 enable_d3d8 implib
14919 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14920 wine_fn_config_dll d3d9 enable_d3d9 implib
14921 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14922 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14923 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14924 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14925 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14926 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14927 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14928 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14929 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14930 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14931 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14932 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14933 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14934 wine_fn_config_dll d3dim enable_d3dim implib
14935 wine_fn_config_dll d3drm enable_d3drm implib
14936 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14937 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14938 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14939 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14940 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14941 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14942 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14943 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14944 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14945 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14946 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14947 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14948 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14949 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14950 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14951 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14952 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14953 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14954 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14955 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14956 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14957 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14958 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14959 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14960 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14961 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14962 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14963 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14964 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14965 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14966 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14967 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14968 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14969 wine_fn_config_dll d3dxof enable_d3dxof implib
14970 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14971 wine_fn_config_dll dbgeng enable_dbgeng implib
14972 wine_fn_config_dll dbghelp enable_dbghelp implib
14973 wine_fn_config_dll dciman32 enable_dciman32 implib
14974 wine_fn_config_dll ddeml.dll16 enable_win16
14975 wine_fn_config_dll ddraw enable_ddraw implib
14976 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14977 wine_fn_config_dll ddrawex enable_ddrawex
14978 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14979 wine_fn_config_dll devenum enable_devenum po
14980 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
14981 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
14982 wine_fn_config_test dlls
/dinput
/tests dinput_test
14983 wine_fn_config_dll dinput8 enable_dinput8 implib
14984 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
14985 wine_fn_config_dll dispdib.dll16 enable_win16
14986 wine_fn_config_dll dispex enable_dispex
14987 wine_fn_config_test dlls
/dispex
/tests dispex_test
14988 wine_fn_config_dll display.drv16 enable_win16
14989 wine_fn_config_dll dmband enable_dmband
14990 wine_fn_config_dll dmcompos enable_dmcompos
14991 wine_fn_config_dll dmime enable_dmime
14992 wine_fn_config_test dlls
/dmime
/tests dmime_test
14993 wine_fn_config_dll dmloader enable_dmloader
14994 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14995 wine_fn_config_dll dmscript enable_dmscript
14996 wine_fn_config_dll dmstyle enable_dmstyle
14997 wine_fn_config_dll dmsynth enable_dmsynth
14998 wine_fn_config_dll dmusic enable_dmusic
14999 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15000 wine_fn_config_dll dnsapi enable_dnsapi implib
15001 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15002 wine_fn_config_dll dplay enable_dplay implib
15003 wine_fn_config_dll dplayx enable_dplayx implib
15004 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15005 wine_fn_config_dll dpnaddr enable_dpnaddr
15006 wine_fn_config_dll dpnet enable_dpnet implib
15007 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15008 wine_fn_config_dll dpnhpast enable_dpnhpast
15009 wine_fn_config_dll dpnlobby enable_dpnlobby
15010 wine_fn_config_dll dpwsockx enable_dpwsockx
15011 wine_fn_config_dll drmclien enable_drmclien
15012 wine_fn_config_dll dsound enable_dsound implib
15013 wine_fn_config_test dlls
/dsound
/tests dsound_test
15014 wine_fn_config_dll dssenh enable_dssenh
15015 wine_fn_config_dll dswave enable_dswave
15016 wine_fn_config_dll dwmapi enable_dwmapi implib
15017 wine_fn_config_dll dxdiagn enable_dxdiagn po
15018 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15019 wine_fn_config_lib dxerr8
15020 wine_fn_config_lib dxerr9
15021 wine_fn_config_dll dxgi enable_dxgi implib
15022 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15023 wine_fn_config_lib dxguid
15024 wine_fn_config_dll explorerframe enable_explorerframe
15025 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15026 wine_fn_config_dll faultrep enable_faultrep implib
15027 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15028 wine_fn_config_dll fltlib enable_fltlib
15029 wine_fn_config_dll fusion enable_fusion
15030 wine_fn_config_test dlls
/fusion
/tests fusion_test
15031 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15032 wine_fn_config_dll gameux enable_gameux
15033 wine_fn_config_test dlls
/gameux
/tests gameux_test
15034 wine_fn_config_dll gdi.exe16 enable_win16
15035 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15036 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15037 wine_fn_config_dll gdiplus enable_gdiplus implib
15038 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15039 wine_fn_config_dll glu32 enable_glu32 implib
15040 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15041 wine_fn_config_dll gpkcsp enable_gpkcsp
15042 wine_fn_config_dll hal enable_hal
15043 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15044 wine_fn_config_dll hid enable_hid implib
15045 wine_fn_config_dll hlink enable_hlink implib
15046 wine_fn_config_test dlls
/hlink
/tests hlink_test
15047 wine_fn_config_dll hnetcfg enable_hnetcfg
15048 wine_fn_config_dll httpapi enable_httpapi
15049 wine_fn_config_dll iccvid enable_iccvid po
15050 wine_fn_config_dll icmp enable_icmp
15051 wine_fn_config_dll ieframe enable_ieframe implib
,po
15052 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15053 wine_fn_config_dll ifsmgr.vxd enable_win16
15054 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15055 wine_fn_config_dll imagehlp enable_imagehlp implib
15056 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15057 wine_fn_config_dll imm.dll16 enable_win16
15058 wine_fn_config_dll imm32 enable_imm32 implib
15059 wine_fn_config_test dlls
/imm32
/tests imm32_test
15060 wine_fn_config_dll inetcomm enable_inetcomm implib
15061 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15062 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15063 wine_fn_config_dll inetmib1 enable_inetmib1
15064 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15065 wine_fn_config_dll infosoft enable_infosoft
15066 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15067 wine_fn_config_dll initpki enable_initpki
15068 wine_fn_config_dll inkobj enable_inkobj
15069 wine_fn_config_dll inseng enable_inseng
15070 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15071 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15072 wine_fn_config_dll itircl enable_itircl
15073 wine_fn_config_dll itss enable_itss
15074 wine_fn_config_test dlls
/itss
/tests itss_test
15075 wine_fn_config_dll jscript enable_jscript po
15076 wine_fn_config_test dlls
/jscript
/tests jscript_test
15077 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15078 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15079 wine_fn_config_dll keyboard.drv16 enable_win16
15080 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15081 wine_fn_config_dll ktmw32 enable_ktmw32
15082 wine_fn_config_dll loadperf enable_loadperf implib
15083 wine_fn_config_dll localspl enable_localspl po
15084 wine_fn_config_test dlls
/localspl
/tests localspl_test
15085 wine_fn_config_dll localui enable_localui po
15086 wine_fn_config_test dlls
/localui
/tests localui_test
15087 wine_fn_config_dll lz32 enable_lz32 implib
15088 wine_fn_config_test dlls
/lz32
/tests lz32_test
15089 wine_fn_config_dll lzexpand.dll16 enable_win16
15090 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15091 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15092 wine_fn_config_dll mapistub enable_mapistub
15093 wine_fn_config_dll mciavi32 enable_mciavi32
15094 wine_fn_config_dll mcicda enable_mcicda
15095 wine_fn_config_dll mciqtz32 enable_mciqtz32
15096 wine_fn_config_dll mciseq enable_mciseq
15097 wine_fn_config_dll mciwave enable_mciwave
15098 wine_fn_config_dll midimap enable_midimap
15099 wine_fn_config_dll mlang enable_mlang implib
15100 wine_fn_config_test dlls
/mlang
/tests mlang_test
15101 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15102 wine_fn_config_dll mmdevapi enable_mmdevapi
15103 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15104 wine_fn_config_dll mmdevldr.vxd enable_win16
15105 wine_fn_config_dll mmsystem.dll16 enable_win16
15106 wine_fn_config_dll monodebg.vxd enable_win16
15107 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15108 wine_fn_config_dll mouse.drv16 enable_win16
15109 wine_fn_config_dll mpr enable_mpr implib
,po
15110 wine_fn_config_dll mprapi enable_mprapi implib
15111 wine_fn_config_dll msacm.dll16 enable_win16
15112 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15113 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15114 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15115 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15116 wine_fn_config_dll mscat32 enable_mscat32
15117 wine_fn_config_dll mscms enable_mscms implib
15118 wine_fn_config_test dlls
/mscms
/tests mscms_test
15119 wine_fn_config_dll mscoree enable_mscoree
15120 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15121 wine_fn_config_dll msctf enable_msctf
15122 wine_fn_config_test dlls
/msctf
/tests msctf_test
15123 wine_fn_config_dll msdaps enable_msdaps
15124 wine_fn_config_dll msdmo enable_msdmo implib
15125 wine_fn_config_dll msftedit enable_msftedit
15126 wine_fn_config_dll msg711.acm enable_msg711_acm
15127 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15128 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15129 wine_fn_config_dll mshtml enable_mshtml implib
,po
15130 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15131 wine_fn_config_dll msi enable_msi implib
,po
15132 wine_fn_config_test dlls
/msi
/tests msi_test
15133 wine_fn_config_dll msimg32 enable_msimg32 implib
15134 wine_fn_config_dll msimsg enable_msimsg
15135 wine_fn_config_dll msimtf enable_msimtf
15136 wine_fn_config_dll msisip enable_msisip
15137 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15138 wine_fn_config_dll msnet32 enable_msnet32
15139 wine_fn_config_dll mspatcha enable_mspatcha
15140 wine_fn_config_dll msrle32 enable_msrle32 po
15141 wine_fn_config_dll mssign32 enable_mssign32
15142 wine_fn_config_dll mssip32 enable_mssip32
15143 wine_fn_config_dll mstask enable_mstask
15144 wine_fn_config_test dlls
/mstask
/tests mstask_test
15145 wine_fn_config_dll msvcirt enable_msvcirt
15146 wine_fn_config_dll msvcp100 enable_msvcp100
15147 wine_fn_config_dll msvcp60 enable_msvcp60
15148 wine_fn_config_dll msvcp70 enable_msvcp70
15149 wine_fn_config_dll msvcp71 enable_msvcp71
15150 wine_fn_config_dll msvcp80 enable_msvcp80
15151 wine_fn_config_dll msvcp90 enable_msvcp90
15152 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15153 wine_fn_config_dll msvcr100 enable_msvcr100
15154 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15155 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15156 wine_fn_config_dll msvcr80 enable_msvcr80
15157 wine_fn_config_dll msvcr90 enable_msvcr90
15158 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15159 wine_fn_config_dll msvcrt enable_msvcrt implib
15160 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15161 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15162 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15163 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15164 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15165 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15166 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15167 wine_fn_config_dll msvidc32 enable_msvidc32 po
15168 wine_fn_config_dll msvideo.dll16 enable_win16
15169 wine_fn_config_dll mswsock enable_mswsock implib
15170 wine_fn_config_dll msxml enable_msxml
15171 wine_fn_config_dll msxml2 enable_msxml2
15172 wine_fn_config_dll msxml3 enable_msxml3
15173 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15174 wine_fn_config_dll msxml4 enable_msxml4
15175 wine_fn_config_dll msxml6 enable_msxml6
15176 wine_fn_config_dll nddeapi enable_nddeapi implib
15177 wine_fn_config_dll netapi32 enable_netapi32 implib
15178 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15179 wine_fn_config_dll newdev enable_newdev implib
15180 wine_fn_config_dll normaliz enable_normaliz implib
15181 wine_fn_config_dll npmshtml enable_npmshtml
15182 wine_fn_config_dll ntdll enable_ntdll implib
15183 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15184 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15185 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15186 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15187 wine_fn_config_dll ntprint enable_ntprint
15188 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15189 wine_fn_config_dll objsel enable_objsel
15190 wine_fn_config_dll odbc32 enable_odbc32 implib
15191 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15192 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15193 wine_fn_config_dll ole2.dll16 enable_win16
15194 wine_fn_config_dll ole2conv.dll16 enable_win16
15195 wine_fn_config_dll ole2disp.dll16 enable_win16
15196 wine_fn_config_dll ole2nls.dll16 enable_win16
15197 wine_fn_config_dll ole2prox.dll16 enable_win16
15198 wine_fn_config_dll ole2thk.dll16 enable_win16
15199 wine_fn_config_dll ole32 enable_ole32 implib
15200 wine_fn_config_test dlls
/ole32
/tests ole32_test
15201 wine_fn_config_dll oleacc enable_oleacc implib
,po
15202 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15203 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15204 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15205 wine_fn_config_dll olecli.dll16 enable_win16
15206 wine_fn_config_dll olecli32 enable_olecli32 implib
15207 wine_fn_config_dll oledb32 enable_oledb32
15208 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15209 wine_fn_config_dll oledlg enable_oledlg implib
,po
15210 wine_fn_config_dll olepro32 enable_olepro32 implib
15211 wine_fn_config_dll olesvr.dll16 enable_win16
15212 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15213 wine_fn_config_dll olethk32 enable_olethk32
15214 wine_fn_config_dll openal32 enable_openal32
15215 wine_fn_config_dll opencl enable_opencl
15216 wine_fn_config_dll opengl32 enable_opengl32 implib
15217 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15218 wine_fn_config_dll pdh enable_pdh implib
15219 wine_fn_config_test dlls
/pdh
/tests pdh_test
15220 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15221 wine_fn_config_dll pidgen enable_pidgen
15222 wine_fn_config_dll powrprof enable_powrprof implib
15223 wine_fn_config_dll printui enable_printui
15224 wine_fn_config_dll propsys enable_propsys implib
15225 wine_fn_config_test dlls
/propsys
/tests propsys_test
15226 wine_fn_config_dll psapi enable_psapi implib
15227 wine_fn_config_test dlls
/psapi
/tests psapi_test
15228 wine_fn_config_dll pstorec enable_pstorec
15229 wine_fn_config_dll qcap enable_qcap
15230 wine_fn_config_dll qedit enable_qedit
15231 wine_fn_config_test dlls
/qedit
/tests qedit_test
15232 wine_fn_config_dll qmgr enable_qmgr
15233 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15234 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15235 wine_fn_config_dll quartz enable_quartz implib
15236 wine_fn_config_test dlls
/quartz
/tests quartz_test
15237 wine_fn_config_dll query enable_query
15238 wine_fn_config_dll rasapi16.dll16 enable_win16
15239 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15240 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15241 wine_fn_config_dll rasdlg enable_rasdlg implib
15242 wine_fn_config_dll regapi enable_regapi
15243 wine_fn_config_dll resutils enable_resutils implib
15244 wine_fn_config_dll riched20 enable_riched20 implib
15245 wine_fn_config_test dlls
/riched20
/tests riched20_test
15246 wine_fn_config_dll riched32 enable_riched32
15247 wine_fn_config_test dlls
/riched32
/tests riched32_test
15248 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15249 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15250 wine_fn_config_dll rsabase enable_rsabase
15251 wine_fn_config_dll rsaenh enable_rsaenh implib
15252 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15253 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15254 wine_fn_config_dll rtutils enable_rtutils implib
15255 wine_fn_config_dll samlib enable_samlib
15256 wine_fn_config_dll sane.ds enable_sane_ds po
15257 wine_fn_config_dll scarddlg enable_scarddlg
15258 wine_fn_config_dll sccbase enable_sccbase
15259 wine_fn_config_dll schannel enable_schannel
15260 wine_fn_config_test dlls
/schannel
/tests schannel_test
15261 wine_fn_config_dll scrrun enable_scrrun
15262 wine_fn_config_dll secur32 enable_secur32 implib
15263 wine_fn_config_test dlls
/secur32
/tests secur32_test
15264 wine_fn_config_dll security enable_security
15265 wine_fn_config_dll sensapi enable_sensapi implib
15266 wine_fn_config_dll serialui enable_serialui implib
,po
15267 wine_fn_config_test dlls
/serialui
/tests serialui_test
15268 wine_fn_config_dll setupapi enable_setupapi implib
,po
15269 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15270 wine_fn_config_dll setupx.dll16 enable_win16
15271 wine_fn_config_dll sfc enable_sfc implib
15272 wine_fn_config_dll sfc_os enable_sfc_os implib
15273 wine_fn_config_dll shdoclc enable_shdoclc po
15274 wine_fn_config_dll shdocvw enable_shdocvw implib
15275 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15276 wine_fn_config_dll shell.dll16 enable_win16
15277 wine_fn_config_dll shell32 enable_shell32 implib
,po
15278 wine_fn_config_test dlls
/shell32
/tests shell32_test
15279 wine_fn_config_dll shfolder enable_shfolder implib
15280 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15281 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15282 wine_fn_config_dll slbcsp enable_slbcsp
15283 wine_fn_config_dll slc enable_slc implib
15284 wine_fn_config_dll snmpapi enable_snmpapi implib
15285 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15286 wine_fn_config_dll softpub enable_softpub
15287 wine_fn_config_dll sound.drv16 enable_win16
15288 wine_fn_config_dll spoolss enable_spoolss implib
15289 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15290 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15291 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15292 wine_fn_config_dll sti enable_sti implib
15293 wine_fn_config_test dlls
/sti
/tests sti_test
15294 wine_fn_config_dll storage.dll16 enable_win16
15295 wine_fn_config_dll stress.dll16 enable_win16
15296 wine_fn_config_lib strmbase
15297 wine_fn_config_lib strmiids
15298 wine_fn_config_dll svrapi enable_svrapi
15299 wine_fn_config_dll sxs enable_sxs
15300 wine_fn_config_dll system.drv16 enable_win16
15301 wine_fn_config_dll t2embed enable_t2embed
15302 wine_fn_config_dll tapi32 enable_tapi32 implib
15303 wine_fn_config_dll toolhelp.dll16 enable_win16
15304 wine_fn_config_dll traffic enable_traffic
15305 wine_fn_config_dll twain.dll16 enable_win16
15306 wine_fn_config_dll twain_32 enable_twain_32
15307 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15308 wine_fn_config_dll typelib.dll16 enable_win16
15309 wine_fn_config_dll unicows enable_unicows implib
15310 wine_fn_config_dll updspapi enable_updspapi
15311 wine_fn_config_dll url enable_url implib
15312 wine_fn_config_dll urlmon enable_urlmon implib
15313 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15314 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15315 wine_fn_config_dll user.exe16 enable_win16
15316 wine_fn_config_dll user32 enable_user32 implib
,po
15317 wine_fn_config_test dlls
/user32
/tests user32_test
15318 wine_fn_config_dll userenv enable_userenv implib
15319 wine_fn_config_test dlls
/userenv
/tests userenv_test
15320 wine_fn_config_dll usp10 enable_usp10 implib
15321 wine_fn_config_test dlls
/usp10
/tests usp10_test
15322 wine_fn_config_lib uuid
15323 wine_fn_config_dll uxtheme enable_uxtheme implib
15324 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15325 wine_fn_config_dll vbscript enable_vbscript
15326 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15327 wine_fn_config_dll vcomp enable_vcomp
15328 wine_fn_config_dll vdhcp.vxd enable_win16
15329 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15330 wine_fn_config_dll ver.dll16 enable_win16
15331 wine_fn_config_dll version enable_version implib
15332 wine_fn_config_test dlls
/version
/tests version_test
15333 wine_fn_config_dll vmm.vxd enable_win16
15334 wine_fn_config_dll vnbt.vxd enable_win16
15335 wine_fn_config_dll vnetbios.vxd enable_win16
15336 wine_fn_config_dll vtdapi.vxd enable_win16
15337 wine_fn_config_dll vwin32.vxd enable_win16
15338 wine_fn_config_dll w32skrnl enable_win16
15339 wine_fn_config_dll w32sys.dll16 enable_win16
15340 wine_fn_config_dll wbemprox enable_wbemprox
15341 wine_fn_config_dll wer enable_wer implib
15342 wine_fn_config_test dlls
/wer
/tests wer_test
15343 wine_fn_config_dll wiaservc enable_wiaservc
15344 wine_fn_config_dll win32s16.dll16 enable_win16
15345 wine_fn_config_dll win87em.dll16 enable_win16
15346 wine_fn_config_dll winaspi.dll16 enable_win16
15347 wine_fn_config_dll windebug.dll16 enable_win16
15348 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15349 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15350 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15351 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15352 wine_fn_config_lib winecrt0
15353 wine_fn_config_dll wined3d enable_wined3d implib
15354 wine_fn_config_dll winegstreamer enable_winegstreamer
15355 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15356 wine_fn_config_dll winemapi enable_winemapi
15357 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15358 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15359 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15360 wine_fn_config_dll wineps16.drv16 enable_win16
15361 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15362 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15363 wine_fn_config_dll winex11.drv enable_winex11_drv
15364 wine_fn_config_dll wing.dll16 enable_win16
15365 wine_fn_config_dll wing32 enable_wing32
15366 wine_fn_config_dll winhttp enable_winhttp implib
15367 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15368 wine_fn_config_dll wininet enable_wininet implib
,po
15369 wine_fn_config_test dlls
/wininet
/tests wininet_test
15370 wine_fn_config_dll winmm enable_winmm implib
,po
15371 wine_fn_config_test dlls
/winmm
/tests winmm_test
15372 wine_fn_config_dll winnls.dll16 enable_win16
15373 wine_fn_config_dll winnls32 enable_winnls32 implib
15374 wine_fn_config_dll winscard enable_winscard implib
15375 wine_fn_config_dll winsock.dll16 enable_win16
15376 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15377 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15378 wine_fn_config_dll winsta enable_winsta
15379 wine_fn_config_dll wintab.dll16 enable_win16
15380 wine_fn_config_dll wintab32 enable_wintab32 implib
15381 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15382 wine_fn_config_dll wintrust enable_wintrust implib
15383 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15384 wine_fn_config_dll wlanapi enable_wlanapi
15385 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15386 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15387 wine_fn_config_dll wmi enable_wmi
15388 wine_fn_config_dll wmiutils enable_wmiutils
15389 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15390 wine_fn_config_dll wow32 enable_win16 implib
15391 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15392 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15393 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15394 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15395 wine_fn_config_dll wsock32 enable_wsock32 implib
15396 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15397 wine_fn_config_dll wuapi enable_wuapi
15398 wine_fn_config_dll wuaueng enable_wuaueng
15399 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15400 wine_fn_config_dll xinput1_1 enable_xinput1_1
15401 wine_fn_config_dll xinput1_2 enable_xinput1_2
15402 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15403 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15404 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15405 wine_fn_config_dll xmllite enable_xmllite
15406 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15407 wine_fn_config_dll xolehlp enable_xolehlp
15408 wine_fn_config_dll xpsprint enable_xpsprint
15409 wine_fn_config_makefile documentation enable_documentation
15410 wine_fn_config_makefile fonts enable_fonts install-lib
15411 wine_fn_config_makefile include enable_include install-dev
15412 wine_fn_config_makefile libs
/port enable_libs_port
15413 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15414 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15415 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15416 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15417 wine_fn_config_program attrib enable_attrib
install,po
15418 wine_fn_config_program cabarc enable_cabarc
install
15419 wine_fn_config_program cacls enable_cacls
install
15420 wine_fn_config_program
clock enable_clock
install,po
15421 wine_fn_config_program cmd enable_cmd
install,po
15422 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15423 wine_fn_config_program control enable_control
install
15424 wine_fn_config_program cscript enable_cscript
install
15425 wine_fn_config_program dxdiag enable_dxdiag
install,po
15426 wine_fn_config_program eject enable_eject
install
15427 wine_fn_config_program
expand enable_expand
install
15428 wine_fn_config_program explorer enable_explorer
install,po
15429 wine_fn_config_program extrac32 enable_extrac32
install
15430 wine_fn_config_program hh enable_hh
install
15431 wine_fn_config_program hostname enable_hostname
install,po
15432 wine_fn_config_program icinfo enable_icinfo
install
15433 wine_fn_config_program iexplore enable_iexplore
install
15434 wine_fn_config_program ipconfig enable_ipconfig
install,po
15435 wine_fn_config_program lodctr enable_lodctr
install
15436 wine_fn_config_program mofcomp enable_mofcomp
install
15437 wine_fn_config_program mshta enable_mshta
install
15438 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15439 wine_fn_config_program net enable_net
install,po
15440 wine_fn_config_program netsh enable_netsh
install
15441 wine_fn_config_program ngen enable_ngen
install
15442 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15443 wine_fn_config_program oleview enable_oleview
install,po
15444 wine_fn_config_program
ping enable_ping
install
15445 wine_fn_config_program plugplay enable_plugplay
install
15446 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15447 wine_fn_config_program progman enable_progman
install,po
15448 wine_fn_config_program reg enable_reg
install,po
15449 wine_fn_config_program regasm enable_regasm
install
15450 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15451 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15452 wine_fn_config_program regsvcs enable_regsvcs
install
15453 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15454 wine_fn_config_program rpcss enable_rpcss
install
15455 wine_fn_config_program rundll.exe16 enable_win16
install
15456 wine_fn_config_program rundll32 enable_rundll32
install
15457 wine_fn_config_program sc enable_sc
install
15458 wine_fn_config_program secedit enable_secedit
install
15459 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15460 wine_fn_config_program services enable_services
install
15461 wine_fn_config_program spoolsv enable_spoolsv
install
15462 wine_fn_config_program start enable_start
install,po
15463 wine_fn_config_program svchost enable_svchost
install
15464 wine_fn_config_program taskkill enable_taskkill
install,po
15465 wine_fn_config_program taskmgr enable_taskmgr
install,po
15466 wine_fn_config_program termsv enable_termsv
install
15467 wine_fn_config_program uninstaller enable_uninstaller
install,po
15468 wine_fn_config_program unlodctr enable_unlodctr
install
15469 wine_fn_config_program view enable_view
install,po
15470 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
15471 wine_fn_config_program winebrowser enable_winebrowser
install
15472 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15473 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15474 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15475 wine_fn_config_program winedevice enable_winedevice
install
15476 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15477 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15478 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15479 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15480 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15481 wine_fn_config_program winetest enable_winetest
15482 wine_fn_config_program winevdm enable_win16
install
15483 wine_fn_config_program winhelp.exe16 enable_win16
install
15484 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15485 wine_fn_config_program winoldap.mod16 enable_win16
install
15486 wine_fn_config_program winver enable_winver
install
15487 wine_fn_config_program wmic enable_wmic
install
15488 wine_fn_config_program wordpad enable_wordpad
install,po
15489 wine_fn_config_program
write enable_write
install,po
15490 wine_fn_config_program wscript enable_wscript
install
15491 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15492 wine_fn_config_program xcopy enable_xcopy
install,po
15493 wine_fn_config_makefile server enable_server install-lib
,manpage
15494 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15495 wine_fn_config_tool tools
/widl install-dev
,manpage
15496 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15497 wine_fn_config_tool tools
/winedump install-dev
,manpage
15498 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15499 wine_fn_config_tool tools
/wmc install-dev
,manpage
15500 wine_fn_config_tool tools
/wrc install-dev
,manpage
15550 ac_config_commands
="$ac_config_commands Makefile"
15553 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15557 if test "x$enable_maintainer_mode" = xyes
15559 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15560 cd \$(srcdir) && autoconf --warnings=all
15561 \$(srcdir)/include/config.h.in: include/stamp-h.in
15562 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15563 cd \$(srcdir) && autoheader --warnings=all
15564 @echo timestamp > \$@"
15567 if test "x$with_gettextpo" = xyes
15569 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15570 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15571 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15572 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15573 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15574 msgcat -o \$@ \$(ALL_POT_FILES)"
15577 if test "$MSGFMT" != false
15579 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15581 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15586 if test "x$enable_tools" != xno
15588 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15590 \$(RM) tools/makedep\$(EXEEXT)"
15593 if test -n "$with_wine64"
15595 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15596 fonts server tools:
15597 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15598 $with_wine64/loader/wine:
15599 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15600 $with_wine64/loader/wine-preloader:
15601 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15603 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15606 cat >confcache
<<\_ACEOF
15607 # This file is a shell script that caches the results of configure
15608 # tests run on this system so they can be shared between configure
15609 # scripts and configure runs, see configure's option --config-cache.
15610 # It is not useful on other systems. If it contains results you don't
15611 # want to keep, you may remove or edit it.
15613 # config.status only pays attention to the cache file if you give it
15614 # the --recheck option to rerun configure.
15616 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15617 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15618 # following values.
15622 # The following way of writing the cache mishandles newlines in values,
15623 # but we know of no workaround that is simple, portable, and efficient.
15624 # So, we kill variables containing newlines.
15625 # Ultrix sh set writes to stderr and can't be redirected directly,
15626 # and sets the high bit in the cache file unless we assign to the vars.
15628 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15629 eval ac_val
=\$
$ac_var
15633 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15634 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15637 _ | IFS | as_nl
) ;; #(
15638 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15639 *) { eval $ac_var=; unset $ac_var;} ;;
15645 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15646 *${as_nl}ac_space
=\
*)
15647 # `set' does not quote correctly, so add quotes: double-quote
15648 # substitution turns \\\\ into \\, and sed turns \\ into \.
15651 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15654 # `set' quotes correctly as required by POSIX, so do not add quotes.
15655 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15664 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15666 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15668 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15669 if test -w "$cache_file"; then
15670 if test "x$cache_file" != "x/dev/null"; then
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15672 $as_echo "$as_me: updating cache $cache_file" >&6;}
15673 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15674 cat confcache
>"$cache_file"
15676 case $cache_file in #(
15678 mv -f confcache
"$cache_file"$$
&&
15679 mv -f "$cache_file"$$
"$cache_file" ;; #(
15681 mv -f confcache
"$cache_file" ;;
15686 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15687 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15692 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15693 # Let make expand exec_prefix.
15694 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15696 DEFS
=-DHAVE_CONFIG_H
15701 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15702 # 1. Remove the extension, and $U if already installed.
15703 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15704 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15705 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15706 # will be set to the directory where LIBOBJS objects are built.
15707 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15708 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15710 LIBOBJS
=$ac_libobjs
15712 LTLIBOBJS
=$ac_ltlibobjs
15716 : "${CONFIG_STATUS=./config.status}"
15718 ac_clean_files_save
=$ac_clean_files
15719 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15720 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15721 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15723 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15725 # Generated by $as_me.
15726 # Run this file to recreate the current configuration.
15727 # Compiler output produced by configure, useful for debugging
15728 # configure, is in config.log if it exists.
15731 ac_cs_recheck=false
15734 SHELL=\${CONFIG_SHELL-$SHELL}
15737 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15738 ## -------------------- ##
15739 ## M4sh Initialization. ##
15740 ## -------------------- ##
15742 # Be more Bourne compatible
15743 DUALCASE
=1; export DUALCASE
# for MKS sh
15744 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15747 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15748 # is contrary to our usage. Disable this feature.
15749 alias -g '${1+"$@"}'='"$@"'
15750 setopt NO_GLOB_SUBST
15752 case `(set -o) 2>/dev/null` in #(
15764 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15765 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15766 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15767 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15768 # Prefer a ksh shell builtin over an external printf program on Solaris,
15769 # but without wasting forks for bash or zsh.
15770 if test -z "$BASH_VERSION$ZSH_VERSION" \
15771 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15772 as_echo='print
-r --'
15773 as_echo_n='print
-rn --'
15774 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15775 as_echo='printf %s
\n'
15776 as_echo_n='printf %s
'
15778 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15779 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15780 as_echo_n='/usr
/ucb
/echo -n'
15782 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15783 as_echo_n_body='eval
15787 expr "X$arg" : "X\\(.*\\)$as_nl";
15788 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15790 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15792 export as_echo_n_body
15793 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15795 export as_echo_body
15796 as_echo='sh
-c $as_echo_body as_echo
'
15799 # The user is always right.
15800 if test "${PATH_SEPARATOR+set}" != set; then
15802 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15803 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15810 # We need space, tab and new line, in precisely that order. Quoting is
15811 # there to prevent editors from complaining about space-tab.
15812 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15813 # splitting by setting IFS to empty value.)
15816 # Find who we are. Look in the path if we contain no directory separator.
15819 *[\\/]* ) as_myself=$0 ;;
15820 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15821 for as_dir in $PATH
15824 test -z "$as_dir" && as_dir=.
15825 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15831 # We did not find ourselves, most probably we were run as `sh COMMAND'
15832 # in which case we are not to be found in the path.
15833 if test "x$as_myself" = x
; then
15836 if test ! -f "$as_myself"; then
15837 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15841 # Unset variables that we do not need and which cause bugs (e.g. in
15842 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15843 # suppresses any "Segmentation fault" message there. '((' could
15844 # trigger a bug in pdksh 5.2.14.
15845 for as_var
in BASH_ENV ENV MAIL MAILPATH
15846 do eval test x\
${$as_var+set} = xset \
15847 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15860 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15863 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15864 # ----------------------------------------
15865 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15866 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15867 # script with STATUS, using 1 if that was 0.
15870 as_status
=$1; test $as_status -eq 0 && as_status
=1
15872 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15873 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15875 $as_echo "$as_me: error: $2" >&2
15876 as_fn_exit
$as_status
15880 # as_fn_set_status STATUS
15881 # -----------------------
15882 # Set $? to STATUS, without forking.
15883 as_fn_set_status
()
15886 } # as_fn_set_status
15888 # as_fn_exit STATUS
15889 # -----------------
15890 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15894 as_fn_set_status
$1
15900 # Portably unset VAR.
15903 { eval $1=; unset $1;}
15905 as_unset
=as_fn_unset
15906 # as_fn_append VAR VALUE
15907 # ----------------------
15908 # Append the text in VALUE to the end of the definition contained in VAR. Take
15909 # advantage of any shell optimizations that allow amortized linear growth over
15910 # repeated appends, instead of the typical quadratic growth present in naive
15912 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15913 eval 'as_fn_append ()
15924 # as_fn_arith ARG...
15925 # ------------------
15926 # Perform arithmetic evaluation on the ARGs, and store the result in the
15927 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15928 # must be portable across $(()) and expr.
15929 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15930 eval 'as_fn_arith ()
15937 as_val
=`expr "$@" || test $? -eq 1`
15942 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15943 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15949 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15950 as_basename
=basename
15955 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15961 as_me
=`$as_basename -- "$0" ||
15962 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15963 X"$0" : 'X\(//\)$' \| \
15964 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15966 sed '/^.*\/\([^/][^/]*\)\/*$/{
15980 # Avoid depending upon Character Ranges.
15981 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15982 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15983 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15984 as_cr_digits
='0123456789'
15985 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15987 ECHO_C
= ECHO_N
= ECHO_T
=
15988 case `echo -n x` in #(((((
15990 case `echo 'xy\c'` in
15991 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15993 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16000 rm -f conf$$ conf$$.exe conf$$.
file
16001 if test -d conf$$.dir
; then
16002 rm -f conf$$.dir
/conf$$.
file
16005 mkdir conf$$.dir
2>/dev
/null
16007 if (echo >conf$$.
file) 2>/dev
/null
; then
16008 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16010 # ... but there are two gotchas:
16011 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16012 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16013 # In both cases, we have to default to `cp -p'.
16014 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16016 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16024 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16025 rmdir conf$$.dir
2>/dev
/null
16030 # Create "$as_dir" as a directory, including parents if necessary.
16035 -*) as_dir
=.
/$as_dir;;
16037 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16041 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16042 *) as_qdir
=$as_dir;;
16044 as_dirs
="'$as_qdir' $as_dirs"
16045 as_dir
=`$as_dirname -- "$as_dir" ||
16046 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16047 X"$as_dir" : 'X\(//\)[^/]' \| \
16048 X"$as_dir" : 'X\(//\)$' \| \
16049 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16050 $as_echo X"$as_dir" |
16051 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16055 /^X\(\/\/\)[^/].*/{
16068 test -d "$as_dir" && break
16070 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16071 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16075 if mkdir
-p .
2>/dev
/null
; then
16076 as_mkdir_p
='mkdir -p "$as_dir"'
16078 test -d .
/-p && rmdir .
/-p
16082 if test -x / >/dev
/null
2>&1; then
16083 as_test_x
='test -x'
16085 if ls -dL / >/dev
/null
2>&1; then
16092 if test -d "$1"; then
16098 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
16099 ???[sx]*):;;*)false;;esac;fi
16103 as_executable_p
=$as_test_x
16105 # Sed expression to map a string onto a valid CPP name.
16106 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16108 # Sed expression to map a string onto a valid variable name.
16109 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16113 ## ----------------------------------- ##
16114 ## Main body of $CONFIG_STATUS script. ##
16115 ## ----------------------------------- ##
16117 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16119 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16120 # Save the log message, to keep $0 and so on meaningful, and to
16121 # report actual input values of CONFIG_FILES etc. instead of their
16122 # values after options handling.
16124 This file was extended by Wine $as_me 1.3.37, which was
16125 generated by GNU Autoconf 2.68. Invocation command line was
16127 CONFIG_FILES = $CONFIG_FILES
16128 CONFIG_HEADERS = $CONFIG_HEADERS
16129 CONFIG_LINKS = $CONFIG_LINKS
16130 CONFIG_COMMANDS = $CONFIG_COMMANDS
16133 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16138 case $ac_config_files in *"
16139 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16142 case $ac_config_headers in *"
16143 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16148 # Files that config.status was made for.
16149 config_files="$ac_config_files"
16150 config_headers="$ac_config_headers"
16151 config_links="$ac_config_links"
16152 config_commands="$ac_config_commands"
16156 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16158 \`$as_me' instantiates files and other configuration actions
16159 from templates according to the current configuration. Unless the files
16160 and actions are specified as TAGs, all are instantiated by default.
16162 Usage: $0 [OPTION]... [TAG]...
16164 -h, --help print this help, then exit
16165 -V, --version print version number and configuration settings, then exit
16166 --config print configuration, then exit
16167 -q, --quiet, --silent
16168 do not print progress messages
16169 -d, --debug don't remove temporary files
16170 --recheck update $as_me by reconfiguring in the same conditions
16171 --file=FILE[:TEMPLATE]
16172 instantiate the configuration file FILE
16173 --header=FILE[:TEMPLATE]
16174 instantiate the configuration header FILE
16176 Configuration files:
16179 Configuration headers:
16182 Configuration links:
16185 Configuration commands:
16188 Report bugs to <wine-devel@winehq.org>.
16189 Wine home page: <http://www.winehq.org>."
16192 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16193 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16195 Wine config.status 1.3.37
16196 configured by $0, generated by GNU Autoconf 2.68,
16197 with options \\"\$ac_cs_config\\"
16199 Copyright (C) 2010 Free Software Foundation, Inc.
16200 This config.status script is free software; the Free Software Foundation
16201 gives unlimited permission to copy, distribute and modify it."
16206 test -n "\$AWK" || AWK=awk
16209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16210 # The default lists apply if the user does not specify any file.
16216 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16217 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16221 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16233 # Handling of the options.
16234 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16236 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16237 $as_echo "$ac_cs_version"; exit ;;
16238 --config |
--confi |
--conf |
--con |
--co |
--c )
16239 $as_echo "$ac_cs_config"; exit ;;
16240 --debug |
--debu |
--deb |
--de |
--d |
-d )
16242 --file |
--fil |
--fi |
--f )
16245 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16246 '') as_fn_error $?
"missing file argument" ;;
16248 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16249 ac_need_defaults
=false
;;
16250 --header |
--heade |
--head |
--hea )
16253 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16255 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16256 ac_need_defaults
=false
;;
16258 # Conflict between --help and --header
16259 as_fn_error $?
"ambiguous option: \`$1'
16260 Try \`$0 --help' for more information.";;
16261 --help |
--hel |
-h )
16262 $as_echo "$ac_cs_usage"; exit ;;
16263 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16264 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16267 # This is an error.
16268 -*) as_fn_error $?
"unrecognized option: \`$1'
16269 Try \`$0 --help' for more information." ;;
16271 *) as_fn_append ac_config_targets
" $1"
16272 ac_need_defaults
=false
;;
16278 ac_configure_extra_args
=
16280 if $ac_cs_silent; then
16282 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16286 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16287 if \$ac_cs_recheck; then
16288 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16290 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16291 CONFIG_SHELL='$SHELL'
16292 export CONFIG_SHELL
16297 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16301 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16302 ## Running $as_me. ##
16308 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16312 wine_fn_output_makefile ()
16314 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16315 $ALL_MAKEFILE_DEPENDS
16317 as_fn_error $? "could not create Makefile" "$LINENO" 5
16322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16324 # Handling of arguments.
16325 for ac_config_target
in $ac_config_targets
16327 case $ac_config_target in
16328 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16329 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16330 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16331 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16332 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16333 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16334 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16335 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16336 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16337 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16338 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16339 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16340 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16341 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16342 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16343 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16344 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16345 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16346 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16347 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16348 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16349 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16350 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16351 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16352 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16353 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16355 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16360 # If the user did not use the arguments to specify the items to instantiate,
16361 # then the envvar interface is used. Set only those that are not.
16362 # We use the long form for the default assignment because of an extremely
16363 # bizarre bug on SunOS 4.1.3.
16364 if $ac_need_defaults; then
16365 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16366 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16367 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16368 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16371 # Have a temporary directory for convenience. Make it in the build tree
16372 # simply because there is no reason against having it here, and in addition,
16373 # creating and moving files from /tmp can sometimes cause problems.
16374 # Hook for its removal unless debugging.
16375 # Note that there is a small window in which the directory will not be cleaned:
16376 # after its creation but before its name has been assigned to `$tmp'.
16380 trap 'exit_status=$?
16381 : "${ac_tmp:=$tmp}"
16382 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16384 trap 'as_fn_exit 1' 1 2 13 15
16386 # Create a (secure) tmp directory for tmp files.
16389 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16393 tmp
=.
/conf$$
-$RANDOM
16394 (umask 077 && mkdir
"$tmp")
16395 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16398 # Set up the scripts for CONFIG_FILES section.
16399 # No need to generate them if there are no CONFIG_FILES.
16400 # This happens for instance with `./config.status config.h'.
16401 if test -n "$CONFIG_FILES"; then
16403 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16404 ac_cs_awk_getline
=:
16405 ac_cs_awk_pipe_init
=
16406 ac_cs_awk_read_file
='
16407 while ((getline aline < (F[key])) > 0)
16410 ac_cs_awk_pipe_fini
=
16412 ac_cs_awk_getline
=false
16413 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16414 ac_cs_awk_read_file
='
16416 print "cat " F[key] " &&"
16417 '$ac_cs_awk_pipe_init
16418 # The final `:' finishes the AND list.
16419 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16421 ac_cr
=`echo X | tr X '\015'`
16422 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16423 # But we know of no other shell where ac_cr would be empty at this
16424 # point, so we can use a bashism as a fallback.
16425 if test "x$ac_cr" = x
; then
16426 eval ac_cr
=\$
\'\\r
\'
16428 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16429 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16432 ac_cs_awk_cr
=$ac_cr
16435 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16438 # Create commands to substitute file output variables.
16440 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16441 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16442 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16445 } >conf$
$files.sh
&&
16446 . .
/conf$
$files.sh ||
16447 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16448 rm -f conf$
$files.sh
16451 echo "cat >conf$$subs.awk <<_ACEOF" &&
16452 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16454 } >conf$$subs.sh ||
16455 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16456 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16458 for ac_last_try in false false false false false :; do
16459 . ./conf$$subs.sh ||
16460 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16462 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16463 if test $ac_delim_n = $ac_delim_num; then
16465 elif $ac_last_try; then
16466 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16468 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16471 rm -f conf$$subs.sh
16473 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16474 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16478 s/^/S["/; s
/!.
*/"]=/
16488 s/\(.\{148\}\)..*/\1/
16490 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16495 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16502 s/\(.\{148\}\)..*/\1/
16504 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16508 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16513 ' <conf$$subs.awk | sed '
16518 ' >>$CONFIG_STATUS || ac_write_fail=1
16519 rm -f conf$$subs.awk
16520 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16522 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16523 for (key in S) S_is_set[key] = 1
16525 \$ac_cs_awk_pipe_init
16529 nfields = split(line, field, "@
")
16531 len = length(field[1])
16532 for (i = 2; i < nfields; i++) {
16534 keylen = length(key)
16535 if (S_is_set[key]) {
16537 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16538 len += length(value) + length(field[++i])
16543 if (nfields == 3 && !substed) {
16545 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16546 \$ac_cs_awk_read_file
16552 \$ac_cs_awk_pipe_fini
16555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16556 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16557 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16560 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16561 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16564 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16565 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16566 # trailing colons and then remove the whole line if VPATH becomes empty
16567 # (actually we leave an empty line to preserve line numbers).
16568 if test "x
$srcdir" = x.; then
16569 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16588 fi # test -n "$CONFIG_FILES"
16590 # Set up the scripts for CONFIG_HEADERS section.
16591 # No need to generate them if there are no CONFIG_HEADERS.
16592 # This happens for instance with `./config.status Makefile'.
16593 if test -n "$CONFIG_HEADERS"; then
16594 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16598 # Transform confdefs.h into an awk script `defines.awk', embedded as
16599 # here-document in config.status, that substitutes the proper values into
16600 # config.h.in to produce config.h.
16602 # Create a delimiter string that does not exist in confdefs.h, to ease
16603 # handling of long lines.
16605 for ac_last_try in false false :; do
16606 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16607 if test -z "$ac_tt"; then
16609 elif $ac_last_try; then
16610 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16612 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16616 # For the awk script, D is an array of macro values keyed by name,
16617 # likewise P contains macro parameters if any. Preserve backslash
16618 # newline sequences.
16620 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16622 s/.\{148\}/&'"$ac_delim"'/g
16625 s/^[ ]*#[ ]*define[ ][ ]*/ /
16632 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16634 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16638 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16639 D["\
1"]=" \
3\\\\\\n
"\\/p
16641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16646 s/.\{148\}/&'"$ac_delim"'/g
16651 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16654 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16656 ' <confdefs.h | sed '
16657 s/'"$ac_delim"'/"\\\
16658 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16661 for (key in D) D_is_set[key] = 1
16664 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16666 split(line, arg, " ")
16667 if (arg[1] == "#") {
16671 defundef
= substr
(arg
[1], 2)
16674 split(mac1
, mac2
, "(") #)
16676 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16677 if (D_is_set
[macro
]) {
16678 # Preserve the white space surrounding the "#".
16679 print prefix
"define", macro P
[macro
] D
[macro
]
16682 # Replace #undef with comments. This is necessary, for example,
16683 # in the case of _POSIX_SOURCE, which is predefined and required
16684 # on some systems where configure will not decide to define it.
16685 if (defundef
== "undef") {
16686 print
"/*", prefix defundef
, macro
, "*/"
16694 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16695 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16696 fi # test -n "$CONFIG_HEADERS"
16699 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16704 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16706 case $ac_mode$ac_tag in
16708 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16709 :[FH
]-) ac_tag
=-:-;;
16710 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16727 -) ac_f
="$ac_tmp/stdin";;
16728 *) # Look for the file first in the build tree, then in the source tree
16729 # (if the path is not absolute). The absolute path cannot be DOS-style,
16730 # because $ac_f cannot contain `:'.
16734 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16736 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16738 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16739 as_fn_append ac_file_inputs
" '$ac_f'"
16742 # Let's still pretend it is `configure' which instantiates (i.e., don't
16743 # use $as_me), people would be surprised to read:
16744 # /* config.h. Generated by config.status. */
16745 configure_input
='Generated from '`
16746 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16748 if test x
"$ac_file" != x-
; then
16749 configure_input
="$ac_file. $configure_input"
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16751 $as_echo "$as_me: creating $ac_file" >&6;}
16753 # Neutralize special characters interpreted by sed in replacement strings.
16754 case $configure_input in #(
16755 *\
&* |
*\|
* |
*\\* )
16756 ac_sed_conf_input
=`$as_echo "$configure_input" |
16757 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16758 *) ac_sed_conf_input
=$configure_input;;
16762 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16763 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16768 ac_dir
=`$as_dirname -- "$ac_file" ||
16769 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16770 X"$ac_file" : 'X\(//\)[^/]' \| \
16771 X"$ac_file" : 'X\(//\)$' \| \
16772 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16773 $as_echo X"$ac_file" |
16774 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16778 /^X\(\/\/\)[^/].*/{
16791 as_dir
="$ac_dir"; as_fn_mkdir_p
16795 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16797 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16798 # A ".." for each directory in $ac_dir_suffix.
16799 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16800 case $ac_top_builddir_sub in
16801 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16802 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16805 ac_abs_top_builddir
=$ac_pwd
16806 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16807 # for backward compatibility:
16808 ac_top_builddir
=$ac_top_build_prefix
16811 .
) # We are building in place.
16813 ac_top_srcdir
=$ac_top_builddir_sub
16814 ac_abs_top_srcdir
=$ac_pwd ;;
16815 [\\/]* | ?
:[\\/]* ) # Absolute name.
16816 ac_srcdir
=$srcdir$ac_dir_suffix;
16817 ac_top_srcdir
=$srcdir
16818 ac_abs_top_srcdir
=$srcdir ;;
16819 *) # Relative name.
16820 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16821 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16822 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16824 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16834 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16835 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16839 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16840 # If the template does not know about datarootdir, expand it.
16841 # FIXME: This hack should be removed a few years after 2.60.
16842 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16853 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16854 *datarootdir
*) ac_datarootdir_seen
=yes;;
16855 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16857 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16859 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16860 ac_datarootdir_hack='
16861 s&@datadir@&$datadir&g
16862 s&@docdir@&$docdir&g
16863 s&@infodir@&$infodir&g
16864 s&@localedir@&$localedir&g
16865 s&@mandir@&$mandir&g
16866 s&\\\${datarootdir}&$datarootdir&g' ;;
16870 # Neutralize VPATH when `$srcdir' = `.'.
16871 # Shell code in configure.ac might set extrasub.
16872 # FIXME: do we really want to maintain this feature?
16873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16874 ac_sed_extra="$ac_vpsub
16877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16879 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16880 s|@configure_input@|
$ac_sed_conf_input|
;t t
16881 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16882 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16883 s
&@srcdir@
&$ac_srcdir&;t t
16884 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16885 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16886 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16887 s
&@builddir@
&$ac_builddir&;t t
16888 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16889 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16890 s
&@INSTALL@
&$ac_INSTALL&;t t
16891 $ac_datarootdir_hack
16893 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16894 if $ac_cs_awk_getline; then
16895 $AWK -f "$ac_tmp/subs.
awk"
16897 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
16899 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16901 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16902 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
16903 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
16904 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
16905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16906 which seems to be undefined. Please make sure it is defined" >&5
16907 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16908 which seems to be undefined. Please make sure it is defined" >&2;}
16910 rm -f "$ac_tmp/stdin"
16912 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
16913 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
16915 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16921 if test x"$ac_file" != x-; then
16923 $as_echo "/* $configure_input */" \
16924 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
16925 } >"$ac_tmp/config.h" \
16926 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16927 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
16928 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16929 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16932 mv "$ac_tmp/config.h" "$ac_file" \
16933 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16936 $as_echo "/* $configure_input */" \
16937 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
16938 || as_fn_error $? "could not create -" "$LINENO" 5
16946 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16949 # Prefer the file from the source tree if names are identical.
16950 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16951 ac_source=$srcdir/$ac_source
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16955 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16957 if test ! -r "$ac_source"; then
16958 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16962 # Try a relative symlink, then a hard link, then a copy.
16964 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16965 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16967 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16968 ln "$ac_source" "$ac_file" 2>/dev/null ||
16969 cp -p "$ac_source" "$ac_file" ||
16970 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16973 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16974 $as_echo "$as_me: executing $ac_file commands" >&6;}
16979 case $ac_file$ac_mode in
16980 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16981 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
16982 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
16983 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16984 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16985 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16986 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16987 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16988 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16989 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16990 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16991 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16992 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16993 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16994 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16995 "Makefile":C) wine_fn_output_makefile Makefile ;;
17003 ac_clean_files=$ac_clean_files_save
17005 test $ac_write_fail = 0 ||
17006 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17009 # configure is writing to config.log, and then calls config.status.
17010 # config.status does its own redirection, appending to config.log.
17011 # Unfortunately, on DOS this fails, as config.log is still kept open
17012 # by configure, so config.status won't be able to
write to it
; its
17013 # output is simply discarded. So we exec the FD to /dev/null,
17014 # effectively closing config.log, so it can be properly (re)opened and
17015 # appended to by config.status. When coming back to configure, we
17016 # need to make the FD available again.
17017 if test "$no_create" != yes; then
17019 ac_config_status_args
=
17020 test "$silent" = yes &&
17021 ac_config_status_args
="$ac_config_status_args --quiet"
17023 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17025 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17026 # would make configure fail if this is the last instruction.
17027 $ac_cs_success || as_fn_exit
1
17029 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17031 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17035 if test "$no_create" = "yes"
17041 if test "x$wine_notices != "x
; then
17044 for msg
in $wine_notices; do
17046 if test -n "$msg"; then
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17048 $as_echo "$as_me: $msg" >&6;}
17053 for msg
in $wine_warnings; do
17055 if test -n "$msg"; then
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17058 $as_echo "$as_me: WARNING: $msg" >&2;}
17064 $as_me: Finished. Do '${ac_make}' to compile Wine.