2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Wine 1.3.8.
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.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: wine-devel@winehq.org about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error STATUS ERROR [LINENO LOG_FD]
363 # ----------------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with STATUS, using 1 if that was 0.
369 as_status
=$1; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
374 $as_echo "$as_me: error: $2" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='wine'
555 PACKAGE_VERSION
='1.3.8'
556 PACKAGE_STRING
='Wine 1.3.8'
557 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
558 PACKAGE_URL
='http://www.winehq.org'
560 ac_unique_file
="server/atom.c"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars
='LTLIBOBJS
748 program_transform_name
759 ac_subst_files
='MAKE_RULES
765 enable_option_checking
769 enable_maintainer_mode
817 ac_precious_vars
='build_alias
832 # Initialize some variables set by options.
834 ac_init_version
=false
835 ac_unrecognized_opts
=
837 # The variables have the same names as the options, with
838 # dashes changed to underlines.
846 program_transform_name
=s
,x
,x
,
854 # Installation directory options.
855 # These are left unexpanded so users can "make install exec_prefix=/foo"
856 # and all the variables that are supposed to be based on exec_prefix
857 # by default will actually change.
858 # Use braces instead of parens because sh, perl, etc. also accept them.
859 # (The list follows the same order as the GNU Coding Standards.)
860 bindir
='${exec_prefix}/bin'
861 sbindir
='${exec_prefix}/sbin'
862 libexecdir
='${exec_prefix}/libexec'
863 datarootdir
='${prefix}/share'
864 datadir
='${datarootdir}'
865 sysconfdir
='${prefix}/etc'
866 sharedstatedir
='${prefix}/com'
867 localstatedir
='${prefix}/var'
868 includedir
='${prefix}/include'
869 oldincludedir
='/usr/include'
870 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
871 infodir
='${datarootdir}/info'
876 libdir
='${exec_prefix}/lib'
877 localedir
='${datarootdir}/locale'
878 mandir
='${datarootdir}/man'
884 # If the previous option needs an argument, assign it.
885 if test -n "$ac_prev"; then
886 eval $ac_prev=\
$ac_option
892 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
897 # Accept the important Cygnus configure options, so we can diagnose typos.
899 case $ac_dashdash$ac_option in
903 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
905 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
908 -build |
--build |
--buil |
--bui |
--bu)
909 ac_prev
=build_alias
;;
910 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
911 build_alias
=$ac_optarg ;;
913 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
914 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
915 ac_prev
=cache_file
;;
916 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
917 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
918 cache_file
=$ac_optarg ;;
921 cache_file
=config.cache
;;
923 -datadir |
--datadir |
--datadi |
--datad)
925 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
926 datadir
=$ac_optarg ;;
928 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
929 |
--dataroo |
--dataro |
--datar)
930 ac_prev
=datarootdir
;;
931 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
932 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
933 datarootdir
=$ac_optarg ;;
935 -disable-* |
--disable-*)
936 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
939 as_fn_error $?
"invalid feature name: $ac_useropt"
940 ac_useropt_orig
=$ac_useropt
941 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
947 ac_unrecognized_sep
=', ';;
949 eval enable_
$ac_useropt=no
;;
951 -docdir |
--docdir |
--docdi |
--doc |
--do)
953 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
956 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
958 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
961 -enable-* |
--enable-*)
962 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
963 # Reject names that are not valid shell variable names.
964 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
965 as_fn_error $?
"invalid feature name: $ac_useropt"
966 ac_useropt_orig
=$ac_useropt
967 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
968 case $ac_user_opts in
972 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
973 ac_unrecognized_sep
=', ';;
975 eval enable_
$ac_useropt=\
$ac_optarg ;;
977 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
978 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
979 |
--exec |
--exe |
--ex)
980 ac_prev
=exec_prefix
;;
981 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
982 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
983 |
--exec=* |
--exe=* |
--ex=*)
984 exec_prefix
=$ac_optarg ;;
986 -gas |
--gas |
--ga |
--g)
987 # Obsolete; use --with-gas.
990 -help |
--help |
--hel |
--he |
-h)
992 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
993 ac_init_help
=recursive
;;
994 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
995 ac_init_help
=short
;;
997 -host |
--host |
--hos |
--ho)
998 ac_prev
=host_alias
;;
999 -host=* |
--host=* |
--hos=* |
--ho=*)
1000 host_alias
=$ac_optarg ;;
1002 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1004 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1006 htmldir
=$ac_optarg ;;
1008 -includedir |
--includedir |
--includedi |
--included |
--include \
1009 |
--includ |
--inclu |
--incl |
--inc)
1010 ac_prev
=includedir
;;
1011 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1012 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1013 includedir
=$ac_optarg ;;
1015 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1017 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1018 infodir
=$ac_optarg ;;
1020 -libdir |
--libdir |
--libdi |
--libd)
1022 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1023 libdir
=$ac_optarg ;;
1025 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1026 |
--libexe |
--libex |
--libe)
1027 ac_prev
=libexecdir
;;
1028 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1029 |
--libexe=* |
--libex=* |
--libe=*)
1030 libexecdir
=$ac_optarg ;;
1032 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1033 ac_prev
=localedir
;;
1034 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1035 localedir
=$ac_optarg ;;
1037 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1038 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1039 ac_prev
=localstatedir
;;
1040 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1041 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1042 localstatedir
=$ac_optarg ;;
1044 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1046 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1047 mandir
=$ac_optarg ;;
1049 -nfp |
--nfp |
--nf)
1050 # Obsolete; use --without-fp.
1053 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1054 |
--no-cr |
--no-c |
-n)
1057 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1058 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1061 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1062 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1063 |
--oldin |
--oldi |
--old |
--ol |
--o)
1064 ac_prev
=oldincludedir
;;
1065 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1066 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1067 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1068 oldincludedir
=$ac_optarg ;;
1070 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1072 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1073 prefix
=$ac_optarg ;;
1075 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1076 |
--program-pre |
--program-pr |
--program-p)
1077 ac_prev
=program_prefix
;;
1078 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1079 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1080 program_prefix
=$ac_optarg ;;
1082 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1083 |
--program-suf |
--program-su |
--program-s)
1084 ac_prev
=program_suffix
;;
1085 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1086 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1087 program_suffix
=$ac_optarg ;;
1089 -program-transform-name |
--program-transform-name \
1090 |
--program-transform-nam |
--program-transform-na \
1091 |
--program-transform-n |
--program-transform- \
1092 |
--program-transform |
--program-transfor \
1093 |
--program-transfo |
--program-transf \
1094 |
--program-trans |
--program-tran \
1095 |
--progr-tra |
--program-tr |
--program-t)
1096 ac_prev
=program_transform_name
;;
1097 -program-transform-name=* |
--program-transform-name=* \
1098 |
--program-transform-nam=* |
--program-transform-na=* \
1099 |
--program-transform-n=* |
--program-transform-=* \
1100 |
--program-transform=* |
--program-transfor=* \
1101 |
--program-transfo=* |
--program-transf=* \
1102 |
--program-trans=* |
--program-tran=* \
1103 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1104 program_transform_name
=$ac_optarg ;;
1106 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1108 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1109 pdfdir
=$ac_optarg ;;
1111 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1113 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1116 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1117 |
-silent |
--silent |
--silen |
--sile |
--sil)
1120 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1122 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1124 sbindir
=$ac_optarg ;;
1126 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1127 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1128 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1130 ac_prev
=sharedstatedir
;;
1131 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1132 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1133 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1135 sharedstatedir
=$ac_optarg ;;
1137 -site |
--site |
--sit)
1139 -site=* |
--site=* |
--sit=*)
1142 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1144 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1145 srcdir
=$ac_optarg ;;
1147 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1148 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1149 ac_prev
=sysconfdir
;;
1150 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1151 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1152 sysconfdir
=$ac_optarg ;;
1154 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1155 ac_prev
=target_alias
;;
1156 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1157 target_alias
=$ac_optarg ;;
1159 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1162 -version |
--version |
--versio |
--versi |
--vers |
-V)
1163 ac_init_version
=: ;;
1166 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1167 # Reject names that are not valid shell variable names.
1168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1169 as_fn_error $?
"invalid package name: $ac_useropt"
1170 ac_useropt_orig
=$ac_useropt
1171 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1172 case $ac_user_opts in
1176 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1177 ac_unrecognized_sep
=', ';;
1179 eval with_
$ac_useropt=\
$ac_optarg ;;
1181 -without-* |
--without-*)
1182 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1183 # Reject names that are not valid shell variable names.
1184 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1185 as_fn_error $?
"invalid package name: $ac_useropt"
1186 ac_useropt_orig
=$ac_useropt
1187 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1188 case $ac_user_opts in
1192 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1193 ac_unrecognized_sep
=', ';;
1195 eval with_
$ac_useropt=no
;;
1198 # Obsolete; use --with-x.
1201 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1202 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1203 ac_prev
=x_includes
;;
1204 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1205 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1206 x_includes
=$ac_optarg ;;
1208 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1209 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1210 ac_prev
=x_libraries
;;
1211 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1212 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1213 x_libraries
=$ac_optarg ;;
1215 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1216 Try \`$0 --help' for more information"
1220 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1221 # Reject names that are not valid shell variable names.
1222 case $ac_envvar in #(
1223 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1224 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1226 eval $ac_envvar=\
$ac_optarg
1227 export $ac_envvar ;;
1230 # FIXME: should be removed in autoconf 3.0.
1231 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1232 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1233 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1234 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1240 if test -n "$ac_prev"; then
1241 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1242 as_fn_error $?
"missing argument to $ac_option"
1245 if test -n "$ac_unrecognized_opts"; then
1246 case $enable_option_checking in
1248 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1249 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1253 # Check all directory arguments for consistency.
1254 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1255 datadir sysconfdir sharedstatedir localstatedir includedir \
1256 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1257 libdir localedir mandir
1259 eval ac_val
=\$
$ac_var
1260 # Remove trailing slashes.
1263 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1264 eval $ac_var=\
$ac_val;;
1266 # Be sure to have absolute directory names.
1268 [\\/$
]* | ?
:[\\/]* ) continue;;
1269 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1271 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1274 # There might be people who depend on the old broken behavior: `$host'
1275 # used to hold the argument of --host etc.
1276 # FIXME: To remove some day.
1279 target
=$target_alias
1281 # FIXME: To remove some day.
1282 if test "x$host_alias" != x
; then
1283 if test "x$build_alias" = x
; then
1284 cross_compiling
=maybe
1285 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1286 If a cross compiler is detected then cross compile mode will be used" >&2
1287 elif test "x$build_alias" != "x$host_alias"; then
1293 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1295 test "$silent" = yes && exec 6>/dev
/null
1298 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1299 ac_ls_di
=`ls -di .` &&
1300 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1301 as_fn_error $?
"working directory cannot be determined"
1302 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1303 as_fn_error $?
"pwd does not report name of working directory"
1306 # Find the source files, if location was not specified.
1307 if test -z "$srcdir"; then
1308 ac_srcdir_defaulted
=yes
1309 # Try the directory containing this script, then the parent directory.
1310 ac_confdir
=`$as_dirname -- "$as_myself" ||
1311 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1312 X"$as_myself" : 'X\(//\)[^/]' \| \
1313 X"$as_myself" : 'X\(//\)$' \| \
1314 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1315 $as_echo X"$as_myself" |
1316 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1334 if test ! -r "$srcdir/$ac_unique_file"; then
1338 ac_srcdir_defaulted
=no
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1341 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1342 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1344 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1346 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1348 # When building in place, set srcdir=.
1349 if test "$ac_abs_confdir" = "$ac_pwd"; then
1352 # Remove unnecessary trailing slashes from srcdir.
1353 # Double slashes in file names in object file debugging info
1354 # mess up M-x gdb in Emacs.
1356 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1358 for ac_var
in $ac_precious_vars; do
1359 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1360 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1361 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1362 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1366 # Report the --help message.
1368 if test "$ac_init_help" = "long"; then
1369 # Omit some internal or obsolete options to make the list less imposing.
1370 # This message is too long to be a string in the A/UX 3.1 sh.
1372 \`configure' configures Wine 1.3.8 to adapt to many kinds of systems.
1374 Usage: $0 [OPTION]... [VAR=VALUE]...
1376 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1377 VAR=VALUE. See below for descriptions of some of the useful variables.
1379 Defaults for the options are specified in brackets.
1382 -h, --help display this help and exit
1383 --help=short display options specific to this package
1384 --help=recursive display the short help of all the included packages
1385 -V, --version display version information and exit
1386 -q, --quiet, --silent do not print \`checking ...' messages
1387 --cache-file=FILE cache test results in FILE [disabled]
1388 -C, --config-cache alias for \`--cache-file=config.cache'
1389 -n, --no-create do not create output files
1390 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1392 Installation directories:
1393 --prefix=PREFIX install architecture-independent files in PREFIX
1394 [$ac_default_prefix]
1395 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1398 By default, \`make install' will install all the files in
1399 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1400 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1401 for instance \`--prefix=\$HOME'.
1403 For better control, use the options below.
1405 Fine tuning of the installation directories:
1406 --bindir=DIR user executables [EPREFIX/bin]
1407 --sbindir=DIR system admin executables [EPREFIX/sbin]
1408 --libexecdir=DIR program executables [EPREFIX/libexec]
1409 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1410 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1411 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1412 --libdir=DIR object code libraries [EPREFIX/lib]
1413 --includedir=DIR C header files [PREFIX/include]
1414 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1415 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1416 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1417 --infodir=DIR info documentation [DATAROOTDIR/info]
1418 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1419 --mandir=DIR man documentation [DATAROOTDIR/man]
1420 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1421 --htmldir=DIR html documentation [DOCDIR]
1422 --dvidir=DIR dvi documentation [DOCDIR]
1423 --pdfdir=DIR pdf documentation [DOCDIR]
1424 --psdir=DIR ps documentation [DOCDIR]
1430 --x-includes=DIR X include files are
in DIR
1431 --x-libraries=DIR X library files are
in DIR
1434 --build=BUILD configure
for building on BUILD
[guessed
]
1435 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1439 if test -n "$ac_init_help"; then
1440 case $ac_init_help in
1441 short | recursive
) echo "Configuration of Wine 1.3.8:";;
1446 --disable-option-checking ignore unrecognized
--enable/--with options
1447 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1448 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1449 --disable-win16 do not include Win16 support
1450 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1452 --disable-tests do not build the regression tests
1453 --enable-maintainer-mode
1454 enable maintainer-specific build rules
1455 --disable-largefile omit support for large files
1458 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1459 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1460 --without-alsa do not use the Alsa sound support
1461 --without-audioio do not use the AudioIO sound support
1462 --without-capi do not use CAPI (ISDN support)
1463 --without-cms do not use CMS (color management support)
1464 --without-coreaudio do not use the CoreAudio sound support
1465 --without-cups do not use CUPS
1466 --without-curses do not use (n)curses
1467 --without-esd do not use the EsounD sound support
1468 --without-fontconfig do not use fontconfig
1469 --without-freetype do not use the FreeType library
1470 --without-gphoto do not use gphoto (Digital Camera support)
1471 --without-glu do not use the GLU library
1472 --without-gnutls do not use GnuTLS (schannel support)
1473 --without-gsm do not use libgsm (GSM 06.10 codec support)
1474 --without-gstreamer do not use GStreamer (codecs support)
1475 --without-hal do not use HAL (dynamic device support)
1476 --without-icns do not use ICNS icon support
1477 --without-jack do not use the Jack sound support
1478 --without-jpeg do not use JPEG
1479 --without-ldap do not use LDAP
1480 --without-mpg123 do not use the mpg123 library
1481 --without-nas do not use the NAS sound support
1482 --without-openal do not use OpenAL
1483 --without-opengl do not use OpenGL
1484 --without-openssl do not use OpenSSL
1485 --without-oss do not use the OSS sound support
1486 --without-png do not use PNG
1487 --without-pthread do not use the pthread library
1488 --without-sane do not use SANE (scanner support)
1489 --without-tiff do not use TIFF
1490 --without-v4l do not use v4l1 (v4l support)
1491 --without-xcomposite do not use the Xcomposite extension
1492 --without-xcursor do not use the Xcursor extension
1493 --without-xinerama do not use Xinerama (multi-monitor support)
1494 --without-xinput do not use the Xinput extension
1495 --without-xml do not use XML
1496 --without-xrandr do not use Xrandr (resolution changes)
1497 --without-xrender do not use the Xrender extension
1498 --without-xshape do not use the Xshape extension
1499 --without-xshm do not use XShm (shared memory extension)
1500 --without-xslt do not use XSLT
1501 --without-xxf86vm do not use XFree video mode extension
1502 --with-wine-tools=DIR use Wine tools from directory DIR
1503 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1504 --with-x use the X Window System
1506 Some influential environment variables:
1507 CC C compiler command
1508 CFLAGS C compiler flags
1509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1510 nonstandard directory <lib dir>
1511 LIBS libraries to pass to the linker, e.g. -l<library>
1512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1513 you have headers in a nonstandard directory <include dir>
1514 CXX C++ compiler command
1515 CXXFLAGS C++ compiler flags
1517 XMKMF Path to xmkmf, Makefile generator for X Window System
1519 Use these variables to override the choices made by `configure' or to
help
1520 it to
find libraries and programs with nonstandard names
/locations.
1522 Report bugs to
<wine-devel@winehq.org
>.
1523 Wine home page
: <http
://www.winehq.org
>.
1528 if test "$ac_init_help" = "recursive"; then
1529 # If there are subdirs, report their specific --help.
1530 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1531 test -d "$ac_dir" ||
1532 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1537 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1539 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1540 # A ".." for each directory in $ac_dir_suffix.
1541 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1542 case $ac_top_builddir_sub in
1543 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1544 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1547 ac_abs_top_builddir
=$ac_pwd
1548 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1549 # for backward compatibility:
1550 ac_top_builddir
=$ac_top_build_prefix
1553 .
) # We are building in place.
1555 ac_top_srcdir
=$ac_top_builddir_sub
1556 ac_abs_top_srcdir
=$ac_pwd ;;
1557 [\\/]* | ?
:[\\/]* ) # Absolute name.
1558 ac_srcdir
=$srcdir$ac_dir_suffix;
1559 ac_top_srcdir
=$srcdir
1560 ac_abs_top_srcdir
=$srcdir ;;
1562 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1563 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1564 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1566 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1568 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1569 # Check for guested configure.
1570 if test -f "$ac_srcdir/configure.gnu"; then
1572 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1573 elif test -f "$ac_srcdir/configure"; then
1575 $SHELL "$ac_srcdir/configure" --help=recursive
1577 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1579 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1583 test -n "$ac_init_help" && exit $ac_status
1584 if $ac_init_version; then
1586 Wine configure
1.3.8
1587 generated by GNU Autoconf
2.67
1589 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1590 This configure
script is free software
; the Free Software Foundation
1591 gives unlimited permission to copy
, distribute and modify it.
1596 ## ------------------------ ##
1597 ## Autoconf initialization. ##
1598 ## ------------------------ ##
1600 # ac_fn_c_try_compile LINENO
1601 # --------------------------
1602 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1603 ac_fn_c_try_compile
()
1605 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1606 rm -f conftest.
$ac_objext
1607 if { { ac_try
="$ac_compile"
1609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1610 *) ac_try_echo=$ac_try;;
1612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1613 $as_echo "$ac_try_echo"; } >&5
1614 (eval "$ac_compile") 2>conftest.err
1616 if test -s conftest.err; then
1617 grep -v '^ *+' conftest.err >conftest.er1
1618 cat conftest.er1 >&5
1619 mv -f conftest.er1 conftest.err
1621 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1622 test $ac_status = 0; } && {
1623 test -z "$ac_c_werror_flag" ||
1624 test ! -s conftest.err
1625 } && test -s conftest.$ac_objext; then :
1628 $as_echo "$as_me: failed program was:" >&5
1629 sed 's/^/| /' conftest.$ac_ext >&5
1633 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1634 as_fn_set_status $ac_retval
1636 } # ac_fn_c_try_compile
1638 # ac_fn_cxx_try_compile LINENO
1639 # ----------------------------
1640 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1641 ac_fn_cxx_try_compile ()
1643 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1644 rm -f conftest.$ac_objext
1645 if { { ac_try="$ac_compile"
1647 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1648 *) ac_try_echo
=$ac_try;;
1650 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_compile") 2>conftest.err
1654 if test -s conftest.err
; then
1655 grep -v '^ *+' conftest.err
>conftest.er1
1656 cat conftest.er1
>&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } && {
1661 test -z "$ac_cxx_werror_flag" ||
1662 test ! -s conftest.err
1663 } && test -s conftest.
$ac_objext; then :
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.
$ac_ext >&5
1671 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1672 as_fn_set_status
$ac_retval
1674 } # ac_fn_cxx_try_compile
1676 # ac_fn_c_try_link LINENO
1677 # -----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
1681 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1682 rm -f conftest.
$ac_objext conftest
$ac_exeext
1683 if { { ac_try
="$ac_link"
1685 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>conftest.err
1692 if test -s conftest.err; then
1693 grep -v '^ *+' conftest.err >conftest.er1
1694 cat conftest.er1 >&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest$ac_exeext && {
1702 test "$cross_compiling" = yes ||
1703 $as_test_x conftest$ac_exeext
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.$ac_ext >&5
1712 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714 # interfere with the next link command; also delete a directory that is
1715 # left behind by Apple's compiler. We do this before executing the actions.
1716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 as_fn_set_status $ac_retval
1720 } # ac_fn_c_try_link
1722 # ac_fn_c_try_cpp LINENO
1723 # ----------------------
1724 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 if { { ac_try="$ac_cpp conftest.$ac_ext"
1730 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1731 *) ac_try_echo
=$ac_try;;
1733 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1734 $as_echo "$ac_try_echo"; } >&5
1735 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1737 if test -s conftest.err
; then
1738 grep -v '^ *+' conftest.err
>conftest.er1
1739 cat conftest.er1
>&5
1740 mv -f conftest.er1 conftest.err
1742 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1743 test $ac_status = 0; } > conftest.i
&& {
1744 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1745 test ! -s conftest.err
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.
$ac_ext >&5
1754 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1755 as_fn_set_status
$ac_retval
1759 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1760 # -------------------------------------------------------
1761 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1762 # the include files in INCLUDES and setting the cache variable VAR
1764 ac_fn_c_check_header_mongrel
()
1766 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1767 if eval "test \"\${$3+set}\"" = set; then :
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1769 $as_echo_n "checking for $2... " >&6; }
1770 if eval "test \"\${$3+set}\"" = set; then :
1771 $as_echo_n "(cached) " >&6
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1775 $as_echo "$ac_res" >&6; }
1777 # Is the header compilable?
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1779 $as_echo_n "checking $2 usability... " >&6; }
1780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1781 /* end confdefs.h. */
1785 if ac_fn_c_try_compile
"$LINENO"; then :
1786 ac_header_compiler
=yes
1788 ac_header_compiler
=no
1790 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1792 $as_echo "$ac_header_compiler" >&6; }
1794 # Is the header present?
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1796 $as_echo_n "checking $2 presence... " >&6; }
1797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1798 /* end confdefs.h. */
1801 if ac_fn_c_try_cpp
"$LINENO"; then :
1802 ac_header_preproc
=yes
1804 ac_header_preproc
=no
1806 rm -f conftest.err conftest.i conftest.
$ac_ext
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1808 $as_echo "$ac_header_preproc" >&6; }
1810 # So? What about this header?
1811 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1814 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1816 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1820 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1822 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1824 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1826 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1828 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1829 ( $as_echo "## ------------------------------------ ##
1830 ## Report this to wine-devel@winehq.org ##
1831 ## ------------------------------------ ##"
1832 ) |
sed "s/^/$as_me: WARNING: /" >&2
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1836 $as_echo_n "checking for $2... " >&6; }
1837 if eval "test \"\${$3+set}\"" = set; then :
1838 $as_echo_n "(cached) " >&6
1840 eval "$3=\$ac_header_compiler"
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1844 $as_echo "$ac_res" >&6; }
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1848 } # ac_fn_c_check_header_mongrel
1850 # ac_fn_c_try_run LINENO
1851 # ----------------------
1852 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1853 # that executables *can* be run.
1856 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1857 if { { ac_try
="$ac_link"
1859 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1860 *) ac_try_echo=$ac_try;;
1862 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1863 $as_echo "$ac_try_echo"; } >&5
1864 (eval "$ac_link") 2>&5
1866 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1867 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1868 { { case "(($ac_try" in
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_try") 2>&5
1876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1877 test $ac_status = 0; }; }; then :
1880 $as_echo "$as_me: program exited with status $ac_status" >&5
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.
$ac_ext >&5
1884 ac_retval
=$ac_status
1886 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1887 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1888 as_fn_set_status
$ac_retval
1892 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1893 # -------------------------------------------------------
1894 # Tests whether HEADER exists and can be compiled using the include files in
1895 # INCLUDES, setting the cache variable VAR accordingly.
1896 ac_fn_c_check_header_compile
()
1898 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1900 $as_echo_n "checking for $2... " >&6; }
1901 if eval "test \"\${$3+set}\"" = set; then :
1902 $as_echo_n "(cached) " >&6
1904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1905 /* end confdefs.h. */
1909 if ac_fn_c_try_compile
"$LINENO"; then :
1914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1918 $as_echo "$ac_res" >&6; }
1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1921 } # ac_fn_c_check_header_compile
1923 # ac_fn_c_check_func LINENO FUNC VAR
1924 # ----------------------------------
1925 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1926 ac_fn_c_check_func
()
1928 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1930 $as_echo_n "checking for $2... " >&6; }
1931 if eval "test \"\${$3+set}\"" = set; then :
1932 $as_echo_n "(cached) " >&6
1934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1935 /* end confdefs.h. */
1936 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1938 #define $2 innocuous_$2
1940 /* System header to define __stub macros and hopefully few prototypes,
1941 which can conflict with char $2 (); below.
1942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1943 <limits.h> exists even on freestanding compilers. */
1946 # include <limits.h>
1948 # include <assert.h>
1953 /* Override any GCC internal prototype to avoid an error.
1954 Use char because int might match the return type of a GCC
1955 builtin and then its argument prototype would still apply. */
1960 /* The GNU C library defines this for functions which it implements
1961 to always fail with ENOSYS. Some functions are actually named
1962 something starting with __ and the normal name is an alias. */
1963 #if defined __stub_$2 || defined __stub___$2
1975 if ac_fn_c_try_link
"$LINENO"; then :
1980 rm -f core conftest.err conftest.
$ac_objext \
1981 conftest
$ac_exeext conftest.
$ac_ext
1984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1985 $as_echo "$ac_res" >&6; }
1986 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1988 } # ac_fn_c_check_func
1990 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1991 # ----------------------------------------------------
1992 # Tries to find if the field MEMBER exists in type AGGR, after including
1993 # INCLUDES, setting cache variable VAR accordingly.
1994 ac_fn_c_check_member
()
1996 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1998 $as_echo_n "checking for $2.$3... " >&6; }
1999 if eval "test \"\${$4+set}\"" = set; then :
2000 $as_echo_n "(cached) " >&6
2002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2015 if ac_fn_c_try_compile
"$LINENO"; then :
2018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2019 /* end confdefs.h. */
2025 if (sizeof ac_aggr.$3)
2031 if ac_fn_c_try_compile
"$LINENO"; then :
2036 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2038 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2042 $as_echo "$ac_res" >&6; }
2043 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2045 } # ac_fn_c_check_member
2047 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2048 # -------------------------------------------
2049 # Tests whether TYPE exists after having included INCLUDES, setting cache
2050 # variable VAR accordingly.
2051 ac_fn_c_check_type
()
2053 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2055 $as_echo_n "checking for $2... " >&6; }
2056 if eval "test \"\${$3+set}\"" = set; then :
2057 $as_echo_n "(cached) " >&6
2060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2072 if ac_fn_c_try_compile
"$LINENO"; then :
2073 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2074 /* end confdefs.h. */
2085 if ac_fn_c_try_compile
"$LINENO"; then :
2090 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2092 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096 $as_echo "$ac_res" >&6; }
2097 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2099 } # ac_fn_c_check_type
2100 cat >config.log
<<_ACEOF
2101 This file contains any messages produced by compilers while
2102 running configure, to aid debugging if configure makes a mistake.
2104 It was created by Wine $as_me 1.3.8, which was
2105 generated by GNU Autoconf 2.67. Invocation command line was
2117 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2118 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2119 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2120 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2121 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2123 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2124 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2126 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2127 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2128 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2129 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2130 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2131 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2132 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2136 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2140 test -z "$as_dir" && as_dir
=.
2141 $as_echo "PATH: $as_dir"
2157 # Keep a trace of the command line.
2158 # Strip out --no-create and --no-recursion so they do not pile up.
2159 # Strip out --silent because we don't want to record it for future runs.
2160 # Also quote any args containing shell meta-characters.
2161 # Make two passes to allow for proper duplicate-argument suppression.
2165 ac_must_keep_next
=false
2171 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2172 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2173 |
-silent |
--silent |
--silen |
--sile |
--sil)
2176 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2179 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2181 as_fn_append ac_configure_args1
" '$ac_arg'"
2182 if test $ac_must_keep_next = true
; then
2183 ac_must_keep_next
=false
# Got value, back to normal.
2186 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2187 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2188 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2189 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2190 case "$ac_configure_args0 " in
2191 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2194 -* ) ac_must_keep_next
=true
;;
2197 as_fn_append ac_configure_args
" '$ac_arg'"
2202 { ac_configure_args0
=; unset ac_configure_args0
;}
2203 { ac_configure_args1
=; unset ac_configure_args1
;}
2205 # When interrupted or exit'd, cleanup temporary files, and complete
2206 # config.log. We remove comments because anyway the quotes in there
2207 # would cause problems or look ugly.
2208 # WARNING: Use '\'' to represent an apostrophe within the trap.
2209 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2210 trap 'exit_status=$?
2211 # Save into config.log some information that might help in debugging.
2215 $as_echo "## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##"
2219 # The following way of writing the cache mishandles newlines in values,
2221 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2222 eval ac_val=\$$ac_var
2226 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2227 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2230 _ | IFS | as_nl) ;; #(
2231 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2232 *) { eval $ac_var=; unset $ac_var;} ;;
2237 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2238 *${as_nl}ac_space=\ *)
2240 "s/'\''/'\''\\\\'\'''\''/g;
2241 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2244 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2251 $as_echo "## ----------------- ##
2252 ## Output variables. ##
2253 ## ----------------- ##"
2255 for ac_var in $ac_subst_vars
2257 eval ac_val=\$$ac_var
2259 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2261 $as_echo "$ac_var='\''$ac_val'\''"
2265 if test -n "$ac_subst_files"; then
2266 $as_echo "## ------------------- ##
2267 ## File substitutions. ##
2268 ## ------------------- ##"
2270 for ac_var
in $ac_subst_files
2272 eval ac_val
=\$
$ac_var
2274 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2276 $as_echo "$ac_var='\''$ac_val'\''"
2281 if test -s confdefs.h; then
2282 $as_echo "## ----------- ##
2289 test "$ac_signal" != 0 &&
2290 $as_echo "$as_me: caught signal $ac_signal"
2291 $as_echo "$as_me: exit $exit_status"
2293 rm -f core *.core core.conftest.* &&
2294 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2297 for ac_signal
in 1 2 13 15; do
2298 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2302 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2303 rm -f -r conftest
* confdefs.h
2305 $as_echo "/* confdefs.h */" > confdefs.h
2307 # Predefined preprocessor variables.
2309 cat >>confdefs.h
<<_ACEOF
2310 #define PACKAGE_NAME "$PACKAGE_NAME"
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2317 cat >>confdefs.h
<<_ACEOF
2318 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define PACKAGE_STRING "$PACKAGE_STRING"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_URL "$PACKAGE_URL"
2334 # Let the site file select an alternate cache file if it wants to.
2335 # Prefer an explicitly selected file to automatically selected ones.
2338 if test -n "$CONFIG_SITE"; then
2339 # We do not want a PATH search for config.site.
2340 case $CONFIG_SITE in #((
2341 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2342 */*) ac_site_file1
=$CONFIG_SITE;;
2343 *) ac_site_file1
=.
/$CONFIG_SITE;;
2345 elif test "x$prefix" != xNONE
; then
2346 ac_site_file1
=$prefix/share
/config.site
2347 ac_site_file2
=$prefix/etc
/config.site
2349 ac_site_file1
=$ac_default_prefix/share
/config.site
2350 ac_site_file2
=$ac_default_prefix/etc
/config.site
2352 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2354 test "x$ac_site_file" = xNONE
&& continue
2355 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2357 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2358 sed 's/^/| /' "$ac_site_file" >&5
2360 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362 as_fn_error $?
"failed to load site script $ac_site_file
2363 See \`config.log' for more details" "$LINENO" 5 ; }
2367 if test -r "$cache_file"; then
2368 # Some versions of bash will fail to source /dev/null (special files
2369 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2370 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2371 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2372 $as_echo "$as_me: loading cache $cache_file" >&6;}
2374 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2375 *) .
"./$cache_file";;
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2380 $as_echo "$as_me: creating cache $cache_file" >&6;}
2384 # Check that the precious variables saved in the cache have kept the same
2386 ac_cache_corrupted
=false
2387 for ac_var
in $ac_precious_vars; do
2388 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2389 eval ac_new_set
=\
$ac_env_${ac_var}_set
2390 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2391 eval ac_new_val
=\
$ac_env_${ac_var}_value
2392 case $ac_old_set,$ac_new_set in
2394 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2395 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2396 ac_cache_corrupted
=: ;;
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2399 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2400 ac_cache_corrupted
=: ;;
2403 if test "x$ac_old_val" != "x$ac_new_val"; then
2404 # differences in whitespace do not lead to failure.
2405 ac_old_val_w
=`echo x $ac_old_val`
2406 ac_new_val_w
=`echo x $ac_new_val`
2407 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2408 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2409 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2410 ac_cache_corrupted
=:
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2413 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2414 eval $ac_var=\
$ac_old_val
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2417 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2419 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2422 # Pass precious variables to config.status.
2423 if test "$ac_new_set" = set; then
2425 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2426 *) ac_arg
=$ac_var=$ac_new_val ;;
2428 case " $ac_configure_args " in
2429 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2430 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2434 if $ac_cache_corrupted; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2436 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2438 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2439 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2441 ## -------------------- ##
2442 ## Main body of script. ##
2443 ## -------------------- ##
2446 ac_cpp
='$CPP $CPPFLAGS'
2447 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2448 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2449 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2453 ac_config_headers
="$ac_config_headers include/config.h"
2456 for ac_dir
in tools
"$srcdir"/tools
; do
2457 if test -f "$ac_dir/install-sh"; then
2459 ac_install_sh
="$ac_aux_dir/install-sh -c"
2461 elif test -f "$ac_dir/install.sh"; then
2463 ac_install_sh
="$ac_aux_dir/install.sh -c"
2465 elif test -f "$ac_dir/shtool"; then
2467 ac_install_sh
="$ac_aux_dir/shtool install -c"
2471 if test -z "$ac_aux_dir"; then
2472 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2475 # These three variables are undocumented and unsupported,
2476 # and are intended to be withdrawn in a future Autoconf release.
2477 # They can cause serious problems if a builder's source tree is in a directory
2478 # whose full name contains unusual characters.
2479 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2480 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2481 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2487 # Check whether --enable-win16 was given.
2488 if test "${enable_win16+set}" = set; then :
2489 enableval
=$enable_win16;
2492 # Check whether --enable-win64 was given.
2493 if test "${enable_win64+set}" = set; then :
2494 enableval
=$enable_win64;
2497 # Check whether --enable-tests was given.
2498 if test "${enable_tests+set}" = set; then :
2499 enableval
=$enable_tests;
2502 # Check whether --enable-maintainer-mode was given.
2503 if test "${enable_maintainer_mode+set}" = set; then :
2504 enableval
=$enable_maintainer_mode;
2509 # Check whether --with-alsa was given.
2510 if test "${with_alsa+set}" = set; then :
2511 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2515 # Check whether --with-audioio was given.
2516 if test "${with_audioio+set}" = set; then :
2517 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
2521 # Check whether --with-capi was given.
2522 if test "${with_capi+set}" = set; then :
2523 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2527 # Check whether --with-cms was given.
2528 if test "${with_cms+set}" = set; then :
2529 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2533 # Check whether --with-coreaudio was given.
2534 if test "${with_coreaudio+set}" = set; then :
2535 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2539 # Check whether --with-cups was given.
2540 if test "${with_cups+set}" = set; then :
2545 # Check whether --with-curses was given.
2546 if test "${with_curses+set}" = set; then :
2547 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2551 # Check whether --with-esd was given.
2552 if test "${with_esd+set}" = set; then :
2557 # Check whether --with-fontconfig was given.
2558 if test "${with_fontconfig+set}" = set; then :
2559 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2563 # Check whether --with-freetype was given.
2564 if test "${with_freetype+set}" = set; then :
2565 withval
=$with_freetype;
2569 # Check whether --with-gphoto was given.
2570 if test "${with_gphoto+set}" = set; then :
2571 withval
=$with_gphoto;
2575 # Check whether --with-glu was given.
2576 if test "${with_glu+set}" = set; then :
2577 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2581 # Check whether --with-gnutls was given.
2582 if test "${with_gnutls+set}" = set; then :
2583 withval
=$with_gnutls;
2587 # Check whether --with-gsm was given.
2588 if test "${with_gsm+set}" = set; then :
2589 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2593 # Check whether --with-gstreamer was given.
2594 if test "${with_gstreamer+set}" = set; then :
2595 withval
=$with_gstreamer;
2599 # Check whether --with-hal was given.
2600 if test "${with_hal+set}" = set; then :
2605 # Check whether --with-icns was given.
2606 if test "${with_icns+set}" = set; then :
2607 withval
=$with_icns; if test "x$withval" = "xno"; then ac_cv_header_icns_h
=no
; fi
2611 # Check whether --with-jack was given.
2612 if test "${with_jack+set}" = set; then :
2613 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2617 # Check whether --with-jpeg was given.
2618 if test "${with_jpeg+set}" = set; then :
2619 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2623 # Check whether --with-ldap was given.
2624 if test "${with_ldap+set}" = set; then :
2625 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2629 # Check whether --with-mpg123 was given.
2630 if test "${with_mpg123+set}" = set; then :
2631 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2635 # Check whether --with-nas was given.
2636 if test "${with_nas+set}" = set; then :
2637 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2641 # Check whether --with-openal was given.
2642 if test "${with_openal+set}" = set; then :
2643 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2647 # Check whether --with-opengl was given.
2648 if test "${with_opengl+set}" = set; then :
2649 withval
=$with_opengl;
2653 # Check whether --with-openssl was given.
2654 if test "${with_openssl+set}" = set; then :
2655 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2659 # Check whether --with-oss was given.
2660 if test "${with_oss+set}" = set; then :
2661 withval
=$with_oss; if test "x$withval" = "xno"; then ac_cv_header_soundcard_h
=no
; ac_cv_header_sys_soundcard_h
=no
; ac_cv_header_machine_soundcard_h
=no
; fi
2665 # Check whether --with-png was given.
2666 if test "${with_png+set}" = set; then :
2667 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2671 # Check whether --with-pthread was given.
2672 if test "${with_pthread+set}" = set; then :
2673 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2677 # Check whether --with-sane was given.
2678 if test "${with_sane+set}" = set; then :
2683 # Check whether --with-tiff was given.
2684 if test "${with_tiff+set}" = set; then :
2685 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2689 # Check whether --with-v4l was given.
2690 if test "${with_v4l+set}" = set; then :
2695 # Check whether --with-xcomposite was given.
2696 if test "${with_xcomposite+set}" = set; then :
2697 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2701 # Check whether --with-xcursor was given.
2702 if test "${with_xcursor+set}" = set; then :
2703 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2707 # Check whether --with-xinerama was given.
2708 if test "${with_xinerama+set}" = set; then :
2709 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2713 # Check whether --with-xinput was given.
2714 if test "${with_xinput+set}" = set; then :
2715 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2719 # Check whether --with-xml was given.
2720 if test "${with_xml+set}" = set; then :
2725 # Check whether --with-xrandr was given.
2726 if test "${with_xrandr+set}" = set; then :
2727 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2731 # Check whether --with-xrender was given.
2732 if test "${with_xrender+set}" = set; then :
2733 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2737 # Check whether --with-xshape was given.
2738 if test "${with_xshape+set}" = set; then :
2739 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2743 # Check whether --with-xshm was given.
2744 if test "${with_xshm+set}" = set; then :
2745 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2749 # Check whether --with-xslt was given.
2750 if test "${with_xslt+set}" = set; then :
2755 # Check whether --with-xxf86vm was given.
2756 if test "${with_xxf86vm+set}" = set; then :
2757 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
2762 # Check whether --with-wine-tools was given.
2763 if test "${with_wine_tools+set}" = set; then :
2764 withval
=$with_wine_tools;
2768 # Check whether --with-wine64 was given.
2769 if test "${with_wine64+set}" = set; then :
2770 withval
=$with_wine64;
2774 # Make sure we can run config.sub.
2775 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2776 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2779 $as_echo_n "checking build system type... " >&6; }
2780 if test "${ac_cv_build+set}" = set; then :
2781 $as_echo_n "(cached) " >&6
2783 ac_build_alias
=$build_alias
2784 test "x$ac_build_alias" = x
&&
2785 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2786 test "x$ac_build_alias" = x
&&
2787 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2788 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2789 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2793 $as_echo "$ac_cv_build" >&6; }
2794 case $ac_cv_build in
2796 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2799 ac_save_IFS
=$IFS; IFS
='-'
2805 # Remember, the first character of IFS is used to create $*,
2806 # except with old shells:
2809 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2813 $as_echo_n "checking host system type... " >&6; }
2814 if test "${ac_cv_host+set}" = set; then :
2815 $as_echo_n "(cached) " >&6
2817 if test "x$host_alias" = x
; then
2818 ac_cv_host
=$ac_cv_build
2820 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2821 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2826 $as_echo "$ac_cv_host" >&6; }
2829 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2832 ac_save_IFS
=$IFS; IFS
='-'
2838 # Remember, the first character of IFS is used to create $*,
2839 # except with old shells:
2842 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2848 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2849 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2850 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2856 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2858 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2859 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2860 $as_echo_n "(cached) " >&6
2862 cat >conftest.
make <<\_ACEOF
2865 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2867 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2868 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2870 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2872 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2876 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2878 $as_echo "yes" >&6; }
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2882 $as_echo "no" >&6; }
2883 SET_MAKE
="MAKE=${MAKE-make}"
2887 ac_cpp
='$CPP $CPPFLAGS'
2888 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2889 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2890 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2891 if test -n "$ac_tool_prefix"; then
2892 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2893 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2895 $as_echo_n "checking for $ac_word... " >&6; }
2896 if test "${ac_cv_prog_CC+set}" = set; then :
2897 $as_echo_n "(cached) " >&6
2899 if test -n "$CC"; then
2900 ac_cv_prog_CC
="$CC" # Let the user override the test.
2902 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2906 test -z "$as_dir" && as_dir
=.
2907 for ac_exec_ext
in '' $ac_executable_extensions; do
2908 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2909 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2910 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2920 if test -n "$CC"; then
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2922 $as_echo "$CC" >&6; }
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2925 $as_echo "no" >&6; }
2930 if test -z "$ac_cv_prog_CC"; then
2932 # Extract the first word of "gcc", so it can be a program name with args.
2933 set dummy gcc
; ac_word
=$2
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2935 $as_echo_n "checking for $ac_word... " >&6; }
2936 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2937 $as_echo_n "(cached) " >&6
2939 if test -n "$ac_ct_CC"; then
2940 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2946 test -z "$as_dir" && as_dir
=.
2947 for ac_exec_ext
in '' $ac_executable_extensions; do
2948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2949 ac_cv_prog_ac_ct_CC
="gcc"
2950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2960 if test -n "$ac_ct_CC"; then
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2962 $as_echo "$ac_ct_CC" >&6; }
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2965 $as_echo "no" >&6; }
2968 if test "x$ac_ct_CC" = x
; then
2971 case $cross_compiling:$ac_tool_warned in
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2974 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2975 ac_tool_warned
=yes ;;
2983 if test -z "$CC"; then
2984 if test -n "$ac_tool_prefix"; then
2985 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2986 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2988 $as_echo_n "checking for $ac_word... " >&6; }
2989 if test "${ac_cv_prog_CC+set}" = set; then :
2990 $as_echo_n "(cached) " >&6
2992 if test -n "$CC"; then
2993 ac_cv_prog_CC
="$CC" # Let the user override the test.
2995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2999 test -z "$as_dir" && as_dir
=.
3000 for ac_exec_ext
in '' $ac_executable_extensions; do
3001 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3002 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3013 if test -n "$CC"; then
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3015 $as_echo "$CC" >&6; }
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 $as_echo "no" >&6; }
3024 if test -z "$CC"; then
3025 # Extract the first word of "cc", so it can be a program name with args.
3026 set dummy cc
; ac_word
=$2
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3028 $as_echo_n "checking for $ac_word... " >&6; }
3029 if test "${ac_cv_prog_CC+set}" = set; then :
3030 $as_echo_n "(cached) " >&6
3032 if test -n "$CC"; then
3033 ac_cv_prog_CC
="$CC" # Let the user override the test.
3036 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3040 test -z "$as_dir" && as_dir
=.
3041 for ac_exec_ext
in '' $ac_executable_extensions; do
3042 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3043 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3044 ac_prog_rejected
=yes
3048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3055 if test $ac_prog_rejected = yes; then
3056 # We found a bogon in the path, so make sure we never use it.
3057 set dummy
$ac_cv_prog_CC
3059 if test $# != 0; then
3060 # We chose a different compiler from the bogus one.
3061 # However, it has the same basename, so the bogon will be chosen
3062 # first if we set CC to just the basename; use the full file name.
3064 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3070 if test -n "$CC"; then
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3072 $as_echo "$CC" >&6; }
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3075 $as_echo "no" >&6; }
3080 if test -z "$CC"; then
3081 if test -n "$ac_tool_prefix"; then
3082 for ac_prog
in cl.exe
3084 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3085 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3087 $as_echo_n "checking for $ac_word... " >&6; }
3088 if test "${ac_cv_prog_CC+set}" = set; then :
3089 $as_echo_n "(cached) " >&6
3091 if test -n "$CC"; then
3092 ac_cv_prog_CC
="$CC" # Let the user override the test.
3094 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3098 test -z "$as_dir" && as_dir
=.
3099 for ac_exec_ext
in '' $ac_executable_extensions; do
3100 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3101 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3102 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3112 if test -n "$CC"; then
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3114 $as_echo "$CC" >&6; }
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3117 $as_echo "no" >&6; }
3121 test -n "$CC" && break
3124 if test -z "$CC"; then
3126 for ac_prog
in cl.exe
3128 # Extract the first word of "$ac_prog", so it can be a program name with args.
3129 set dummy
$ac_prog; ac_word
=$2
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3131 $as_echo_n "checking for $ac_word... " >&6; }
3132 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3133 $as_echo_n "(cached) " >&6
3135 if test -n "$ac_ct_CC"; then
3136 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3138 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3142 test -z "$as_dir" && as_dir
=.
3143 for ac_exec_ext
in '' $ac_executable_extensions; do
3144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3145 ac_cv_prog_ac_ct_CC
="$ac_prog"
3146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3155 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3156 if test -n "$ac_ct_CC"; then
3157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3158 $as_echo "$ac_ct_CC" >&6; }
3160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3161 $as_echo "no" >&6; }
3165 test -n "$ac_ct_CC" && break
3168 if test "x$ac_ct_CC" = x
; then
3171 case $cross_compiling:$ac_tool_warned in
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3174 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3175 ac_tool_warned
=yes ;;
3184 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3185 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3186 as_fn_error $?
"no acceptable C compiler found in \$PATH
3187 See \`config.log' for more details" "$LINENO" 5 ; }
3189 # Provide some information about the compiler.
3190 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3193 for ac_option
in --version -v -V -qversion; do
3194 { { ac_try
="$ac_compiler $ac_option >&5"
3196 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3203 if test -s conftest.err; then
3205 ... rest of stderr output deleted ...
3206 10q' conftest.err >conftest.er1
3207 cat conftest.er1 >&5
3209 rm -f conftest.er1 conftest.err
3210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3211 test $ac_status = 0; }
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3225 ac_clean_files_save=$ac_clean_files
3226 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3227 # Try to create an executable without -o first, disregard a.out.
3228 # It will help us diagnose broken compilers, and finding out an intuition
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3231 $as_echo_n "checking whether the C compiler works... " >&6; }
3232 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3234 # The possible output files:
3235 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3238 for ac_file in $ac_files
3241 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3242 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3247 if { { ac_try="$ac_link_default"
3249 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3250 *) ac_try_echo
=$ac_try;;
3252 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3253 $as_echo "$ac_try_echo"; } >&5
3254 (eval "$ac_link_default") 2>&5
3256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3257 test $ac_status = 0; }; then :
3258 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3259 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3260 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3261 # so that the user can short-circuit this test for compilers unknown to
3263 for ac_file
in $ac_files ''
3265 test -f "$ac_file" ||
continue
3267 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3270 # We found the default executable, but exeext='' is most
3274 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3276 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3278 # We set ac_cv_exeext here because the later test for it is not
3279 # safe: cross compilers may not add the suffix if given an `-o'
3280 # argument, so we may need to know it at that point already.
3281 # Even if this section looks crufty: it has the advantage of
3288 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3293 if test -z "$ac_file"; then :
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3295 $as_echo "no" >&6; }
3296 $as_echo "$as_me: failed program was:" >&5
3297 sed 's/^/| /' conftest.
$ac_ext >&5
3299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3301 as_fn_error
77 "C compiler cannot create executables
3302 See \`config.log' for more details" "$LINENO" 5 ; }
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3305 $as_echo "yes" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3308 $as_echo_n "checking for C compiler default output file name... " >&6; }
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3310 $as_echo "$ac_file" >&6; }
3311 ac_exeext
=$ac_cv_exeext
3313 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3314 ac_clean_files
=$ac_clean_files_save
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3316 $as_echo_n "checking for suffix of executables... " >&6; }
3317 if { { ac_try
="$ac_link"
3319 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3320 *) ac_try_echo=$ac_try;;
3322 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3323 $as_echo "$ac_try_echo"; } >&5
3324 (eval "$ac_link") 2>&5
3326 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3327 test $ac_status = 0; }; then :
3328 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3329 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3330 # work properly (i.e., refer to `conftest.exe'), while it won't with
3332 for ac_file
in conftest.exe conftest conftest.
*; do
3333 test -f "$ac_file" ||
continue
3335 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3336 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3342 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3343 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3344 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3345 See \`config.log' for more details" "$LINENO" 5 ; }
3347 rm -f conftest conftest
$ac_cv_exeext
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3349 $as_echo "$ac_cv_exeext" >&6; }
3351 rm -f conftest.
$ac_ext
3352 EXEEXT
=$ac_cv_exeext
3354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3355 /* end confdefs.h. */
3360 FILE *f = fopen ("conftest.out", "w");
3361 return ferror (f) || fclose (f) != 0;
3367 ac_clean_files
="$ac_clean_files conftest.out"
3368 # Check that the compiler produces executables we can run. If not, either
3369 # the compiler is broken, or we cross compile.
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3371 $as_echo_n "checking whether we are cross compiling... " >&6; }
3372 if test "$cross_compiling" != yes; then
3373 { { ac_try
="$ac_link"
3375 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3376 *) ac_try_echo=$ac_try;;
3378 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3379 $as_echo "$ac_try_echo"; } >&5
3380 (eval "$ac_link") 2>&5
3382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3383 test $ac_status = 0; }
3384 if { ac_try='./conftest$ac_cv_exeext'
3385 { { case "(($ac_try" in
3386 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3387 *) ac_try_echo
=$ac_try;;
3389 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3390 $as_echo "$ac_try_echo"; } >&5
3391 (eval "$ac_try") 2>&5
3393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3394 test $ac_status = 0; }; }; then
3397 if test "$cross_compiling" = maybe
; then
3400 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3401 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3402 as_fn_error $?
"cannot run C compiled programs.
3403 If you meant to cross compile, use \`--host'.
3404 See \`config.log' for more details" "$LINENO" 5 ; }
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3409 $as_echo "$cross_compiling" >&6; }
3411 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3412 ac_clean_files
=$ac_clean_files_save
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3414 $as_echo_n "checking for suffix of object files... " >&6; }
3415 if test "${ac_cv_objext+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3429 rm -f conftest.o conftest.obj
3430 if { { ac_try
="$ac_compile"
3432 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3433 *) ac_try_echo=$ac_try;;
3435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3436 $as_echo "$ac_try_echo"; } >&5
3437 (eval "$ac_compile") 2>&5
3439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3440 test $ac_status = 0; }; then :
3441 for ac_file in conftest.o conftest.obj conftest.*; do
3442 test -f "$ac_file" || continue;
3444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3445 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3450 $as_echo "$as_me: failed program was:" >&5
3451 sed 's/^/| /' conftest.$ac_ext >&5
3453 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3454 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3455 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3456 See \
`config.log' for more details" "$LINENO" 5 ; }
3458 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3461 $as_echo "$ac_cv_objext" >&6; }
3462 OBJEXT=$ac_cv_objext
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3465 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3466 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3467 $as_echo_n "(cached) " >&6
3469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3470 /* end confdefs.h. */
3483 if ac_fn_c_try_compile "$LINENO"; then :
3488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3489 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3493 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3494 if test $ac_compiler_gnu = yes; then
3499 ac_test_CFLAGS=${CFLAGS+set}
3500 ac_save_CFLAGS=$CFLAGS
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3502 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3503 if test "${ac_cv_prog_cc_g+set}" = set; then :
3504 $as_echo_n "(cached) " >&6
3506 ac_save_c_werror_flag=$ac_c_werror_flag
3507 ac_c_werror_flag=yes
3510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3511 /* end confdefs.h. */
3521 if ac_fn_c_try_compile "$LINENO"; then :
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3536 if ac_fn_c_try_compile "$LINENO"; then :
3539 ac_c_werror_flag=$ac_save_c_werror_flag
3541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3552 if ac_fn_c_try_compile "$LINENO"; then :
3555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 ac_c_werror_flag=$ac_save_c_werror_flag
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3563 $as_echo "$ac_cv_prog_cc_g" >&6; }
3564 if test "$ac_test_CFLAGS" = set; then
3565 CFLAGS=$ac_save_CFLAGS
3566 elif test $ac_cv_prog_cc_g = yes; then
3567 if test "$GCC" = yes; then
3573 if test "$GCC" = yes; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3580 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3581 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3582 $as_echo_n "(cached) " >&6
3584 ac_cv_prog_cc_c89=no
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3590 #include <sys/types.h>
3591 #include <sys/stat.h>
3592 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3593 struct buf { int x; };
3594 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3595 static char *e (p, i)
3601 static char *f (char * (*g) (char **, int), char **p, ...)
3606 s = g (p, va_arg (v,int));
3611 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3612 function prototypes and stuff, but not '\xHH' hex character constants.
3613 These don't provoke an error unfortunately, instead are silently treated
3614 as 'x'. The following induces an error, until -std is added to get
3615 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3616 array size at least. It's necessary to write '\x00'==0 to get something
3617 that's true only with -std. */
3618 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3620 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3621 inside strings and character constants. */
3623 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3625 int test (int i, double x);
3626 struct s1 {int (*f) (int a);};
3627 struct s2 {int (*f) (double a);};
3628 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3634 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3639 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3640 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3642 CC="$ac_save_CC $ac_arg"
3643 if ac_fn_c_try_compile "$LINENO"; then :
3644 ac_cv_prog_cc_c89=$ac_arg
3646 rm -f core conftest.err conftest.$ac_objext
3647 test "x$ac_cv_prog_cc_c89" != "xno" && break
3649 rm -f conftest.$ac_ext
3654 case "x$ac_cv_prog_cc_c89" in
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3657 $as_echo "none needed" >&6; } ;;
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3660 $as_echo "unsupported" >&6; } ;;
3662 CC="$CC $ac_cv_prog_cc_c89"
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3664 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3666 if test "x$ac_cv_prog_cc_c89" != xno; then :
3671 ac_cpp='$CPP $CPPFLAGS'
3672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 ac_cpp='$CXXCPP $CPPFLAGS'
3678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3681 if test -z "$CXX"; then
3682 if test -n "$CCC"; then
3685 if test -n "$ac_tool_prefix"; then
3686 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3688 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3689 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3691 $as_echo_n "checking for $ac_word... " >&6; }
3692 if test "${ac_cv_prog_CXX+set}" = set; then :
3693 $as_echo_n "(cached) " >&6
3695 if test -n "$CXX"; then
3696 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3702 test -z "$as_dir" && as_dir=.
3703 for ac_exec_ext in '' $ac_executable_extensions; do
3704 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3705 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3716 if test -n "$CXX"; then
3717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3718 $as_echo "$CXX" >&6; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3725 test -n "$CXX" && break
3728 if test -z "$CXX"; then
3730 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3732 # Extract the first word of "$ac_prog", so it can be a program name with args.
3733 set dummy $ac_prog; ac_word=$2
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3735 $as_echo_n "checking for $ac_word... " >&6; }
3736 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3737 $as_echo_n "(cached) " >&6
3739 if test -n "$ac_ct_CXX"; then
3740 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3742 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3746 test -z "$as_dir" && as_dir=.
3747 for ac_exec_ext in '' $ac_executable_extensions; do
3748 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3749 ac_cv_prog_ac_ct_CXX="$ac_prog"
3750 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3759 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3760 if test -n "$ac_ct_CXX"; then
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3762 $as_echo "$ac_ct_CXX" >&6; }
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3765 $as_echo "no" >&6; }
3769 test -n "$ac_ct_CXX" && break
3772 if test "x$ac_ct_CXX" = x; then
3775 case $cross_compiling:$ac_tool_warned in
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3778 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3779 ac_tool_warned=yes ;;
3787 # Provide some information about the compiler.
3788 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3791 for ac_option in --version -v -V -qversion; do
3792 { { ac_try="$ac_compiler $ac_option >&5"
3794 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3795 *) ac_try_echo
=$ac_try;;
3797 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3798 $as_echo "$ac_try_echo"; } >&5
3799 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3801 if test -s conftest.err
; then
3803 ... rest of stderr output deleted ...
3804 10q' conftest.err
>conftest.er1
3805 cat conftest.er1
>&5
3807 rm -f conftest.er1 conftest.err
3808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3809 test $ac_status = 0; }
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3813 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3814 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3815 $as_echo_n "(cached) " >&6
3817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3831 if ac_fn_cxx_try_compile
"$LINENO"; then :
3836 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3837 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3841 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3842 if test $ac_compiler_gnu = yes; then
3847 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3848 ac_save_CXXFLAGS
=$CXXFLAGS
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3850 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3851 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3852 $as_echo_n "(cached) " >&6
3854 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3855 ac_cxx_werror_flag
=yes
3858 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3859 /* end confdefs.h. */
3869 if ac_fn_cxx_try_compile
"$LINENO"; then :
3870 ac_cv_prog_cxx_g
=yes
3873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3874 /* end confdefs.h. */
3884 if ac_fn_cxx_try_compile
"$LINENO"; then :
3887 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3889 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3890 /* end confdefs.h. */
3900 if ac_fn_cxx_try_compile
"$LINENO"; then :
3901 ac_cv_prog_cxx_g
=yes
3903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3905 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3908 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3911 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3912 if test "$ac_test_CXXFLAGS" = set; then
3913 CXXFLAGS
=$ac_save_CXXFLAGS
3914 elif test $ac_cv_prog_cxx_g = yes; then
3915 if test "$GXX" = yes; then
3921 if test "$GXX" = yes; then
3928 ac_cpp
='$CPP $CPPFLAGS'
3929 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3930 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3931 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3933 if test -n "$ac_tool_prefix"; then
3934 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3935 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3939 $as_echo_n "(cached) " >&6
3941 if test -n "$CPPBIN"; then
3942 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3944 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3948 test -z "$as_dir" && as_dir
=.
3949 for ac_exec_ext
in '' $ac_executable_extensions; do
3950 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3951 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 CPPBIN
=$ac_cv_prog_CPPBIN
3962 if test -n "$CPPBIN"; then
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3964 $as_echo "$CPPBIN" >&6; }
3966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3967 $as_echo "no" >&6; }
3972 if test -z "$ac_cv_prog_CPPBIN"; then
3973 ac_ct_CPPBIN
=$CPPBIN
3974 # Extract the first word of "cpp", so it can be a program name with args.
3975 set dummy cpp
; ac_word
=$2
3976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3977 $as_echo_n "checking for $ac_word... " >&6; }
3978 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3979 $as_echo_n "(cached) " >&6
3981 if test -n "$ac_ct_CPPBIN"; then
3982 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3984 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3988 test -z "$as_dir" && as_dir
=.
3989 for ac_exec_ext
in '' $ac_executable_extensions; do
3990 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3991 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3992 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4001 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4002 if test -n "$ac_ct_CPPBIN"; then
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4004 $as_echo "$ac_ct_CPPBIN" >&6; }
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4007 $as_echo "no" >&6; }
4010 if test "x$ac_ct_CPPBIN" = x
; then
4013 case $cross_compiling:$ac_tool_warned in
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4016 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4017 ac_tool_warned
=yes ;;
4019 CPPBIN
=$ac_ct_CPPBIN
4022 CPPBIN
="$ac_cv_prog_CPPBIN"
4026 cat >>confdefs.h
<<_ACEOF
4027 #define EXEEXT "$ac_exeext"
4033 if test "x$enable_win64" = "xyes"
4037 LD
="${LD:-ld} -arch x86_64"
4038 AS
="${AS:-as} -arch x86_64"
4040 notice_platform
="64-bit "
4046 LD
="${LD:-ld} -arch i386"
4047 AS
="${AS:-as} -arch i386"
4049 notice_platform
="32-bit "
4052 enable_win16
=${enable_win16:-yes}
4056 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4061 $as_echo_n "checking whether $CC works... " >&6; }
4063 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4064 /* end confdefs.h. */
4074 if ac_fn_c_try_link
"$LINENO"; then :
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4076 $as_echo "yes" >&6; }
4078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4079 $as_echo "no" >&6; }
4080 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4082 rm -f core conftest.err conftest.
$ac_objext \
4083 conftest
$ac_exeext conftest.
$ac_ext
4084 LD
="${LD:-ld} -m elf_i386"
4087 notice_platform
="32-bit "
4090 enable_win16
=${enable_win16:-yes}
4092 if test "x${GCC}" = "xyes"
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4095 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4096 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4102 void func(__builtin_ms_va_list *args);
4107 if ac_fn_c_try_compile
"$LINENO"; then :
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4109 $as_echo "yes" >&6; }
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4112 $as_echo "no" >&6; }
4113 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4115 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4121 *-mingw32*|
*-cygwin*)
4122 enable_win16
=${enable_win16:-no}
4123 CFLAGS
="$CFLAGS -D_WIN32"
4126 enable_win16
=${enable_win16:-yes}
4130 enable_win16
=${enable_win16:-no}
4132 enable_winetest
=${enable_winetest:-$enable_tests}
4134 if test -n "$with_wine64"
4136 if test "x$enable_win64" = "xyes"
4138 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4139 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4143 enable_fonts
=${enable_fonts:-no}
4144 enable_server
=${enable_server:-no}
4145 enable_tools
=${enable_tools:-no}
4146 elif test "x$enable_win64" = "xyes"
4148 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4152 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4153 if test "${wine_cv_toolsdir+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4156 wine_cv_toolsdir
="$with_wine_tools"
4157 if test -z "$with_wine_tools"; then
4158 if test "$cross_compiling" = "yes"; then
4159 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4160 elif test -n "$with_wine64"; then
4161 wine_cv_toolsdir
="$with_wine64"
4164 if test -z "$wine_cv_toolsdir"; then
4165 wine_cv_toolsdir
="\$(top_builddir)"
4166 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4167 case "$wine_cv_toolsdir" in
4169 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4172 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4176 $as_echo "$wine_cv_toolsdir" >&6; }
4177 TOOLSDIR
=$wine_cv_toolsdir
4179 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4181 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4187 # Extract the first word of "$ac_prog", so it can be a program name with args.
4188 set dummy
$ac_prog; ac_word
=$2
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4190 $as_echo_n "checking for $ac_word... " >&6; }
4191 if test "${ac_cv_prog_FLEX+set}" = set; then :
4192 $as_echo_n "(cached) " >&6
4194 if test -n "$FLEX"; then
4195 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4197 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4201 test -z "$as_dir" && as_dir
=.
4202 for ac_exec_ext
in '' $ac_executable_extensions; do
4203 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4204 ac_cv_prog_FLEX
="$ac_prog"
4205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4214 FLEX
=$ac_cv_prog_FLEX
4215 if test -n "$FLEX"; then
4216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4217 $as_echo "$FLEX" >&6; }
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4220 $as_echo "no" >&6; }
4224 test -n "$FLEX" && break
4226 test -n "$FLEX" || FLEX
="none"
4228 if test "$FLEX" = "none"
4230 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4233 $as_echo_n "checking whether flex is recent enough... " >&6; }
4234 cat >conftest.l
<<EOF
4236 #include "prediluvian.h"
4240 if $FLEX -t conftest.l
>/dev
/null
2>&5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4243 $as_echo "yes" >&6; }
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4246 $as_echo "no" >&6; }
4247 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4250 for ac_prog
in bison
4252 # Extract the first word of "$ac_prog", so it can be a program name with args.
4253 set dummy
$ac_prog; ac_word
=$2
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4255 $as_echo_n "checking for $ac_word... " >&6; }
4256 if test "${ac_cv_prog_BISON+set}" = set; then :
4257 $as_echo_n "(cached) " >&6
4259 if test -n "$BISON"; then
4260 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4262 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4266 test -z "$as_dir" && as_dir
=.
4267 for ac_exec_ext
in '' $ac_executable_extensions; do
4268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4269 ac_cv_prog_BISON
="$ac_prog"
4270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4279 BISON
=$ac_cv_prog_BISON
4280 if test -n "$BISON"; then
4281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4282 $as_echo "$BISON" >&6; }
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4285 $as_echo "no" >&6; }
4289 test -n "$BISON" && break
4291 test -n "$BISON" || BISON
="none"
4293 if test "$BISON" = "none"
4295 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4298 if test -n "$ac_tool_prefix"; then
4299 for ac_prog
in ar gar
4301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4302 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4304 $as_echo_n "checking for $ac_word... " >&6; }
4305 if test "${ac_cv_prog_AR+set}" = set; then :
4306 $as_echo_n "(cached) " >&6
4308 if test -n "$AR"; then
4309 ac_cv_prog_AR
="$AR" # Let the user override the test.
4311 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4315 test -z "$as_dir" && as_dir
=.
4316 for ac_exec_ext
in '' $ac_executable_extensions; do
4317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4318 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4329 if test -n "$AR"; then
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4331 $as_echo "$AR" >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4334 $as_echo "no" >&6; }
4338 test -n "$AR" && break
4341 if test -z "$AR"; then
4343 for ac_prog
in ar gar
4345 # Extract the first word of "$ac_prog", so it can be a program name with args.
4346 set dummy
$ac_prog; ac_word
=$2
4347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4348 $as_echo_n "checking for $ac_word... " >&6; }
4349 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4350 $as_echo_n "(cached) " >&6
4352 if test -n "$ac_ct_AR"; then
4353 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4355 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4359 test -z "$as_dir" && as_dir
=.
4360 for ac_exec_ext
in '' $ac_executable_extensions; do
4361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4362 ac_cv_prog_ac_ct_AR
="$ac_prog"
4363 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4372 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4373 if test -n "$ac_ct_AR"; then
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4375 $as_echo "$ac_ct_AR" >&6; }
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4378 $as_echo "no" >&6; }
4382 test -n "$ac_ct_AR" && break
4385 if test "x$ac_ct_AR" = x
; then
4388 case $cross_compiling:$ac_tool_warned in
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4391 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4392 ac_tool_warned
=yes ;;
4400 if test -n "$ac_tool_prefix"; then
4401 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4402 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4404 $as_echo_n "checking for $ac_word... " >&6; }
4405 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -n "$RANLIB"; then
4409 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4411 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4415 test -z "$as_dir" && as_dir
=.
4416 for ac_exec_ext
in '' $ac_executable_extensions; do
4417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4418 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4428 RANLIB
=$ac_cv_prog_RANLIB
4429 if test -n "$RANLIB"; then
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4431 $as_echo "$RANLIB" >&6; }
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4434 $as_echo "no" >&6; }
4439 if test -z "$ac_cv_prog_RANLIB"; then
4440 ac_ct_RANLIB
=$RANLIB
4441 # Extract the first word of "ranlib", so it can be a program name with args.
4442 set dummy ranlib
; ac_word
=$2
4443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4444 $as_echo_n "checking for $ac_word... " >&6; }
4445 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4446 $as_echo_n "(cached) " >&6
4448 if test -n "$ac_ct_RANLIB"; then
4449 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4451 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4455 test -z "$as_dir" && as_dir
=.
4456 for ac_exec_ext
in '' $ac_executable_extensions; do
4457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4458 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4468 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4469 if test -n "$ac_ct_RANLIB"; then
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4471 $as_echo "$ac_ct_RANLIB" >&6; }
4473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4474 $as_echo "no" >&6; }
4477 if test "x$ac_ct_RANLIB" = x
; then
4480 case $cross_compiling:$ac_tool_warned in
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4483 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4484 ac_tool_warned
=yes ;;
4486 RANLIB
=$ac_ct_RANLIB
4489 RANLIB
="$ac_cv_prog_RANLIB"
4492 if test -n "$ac_tool_prefix"; then
4493 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4494 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4496 $as_echo_n "checking for $ac_word... " >&6; }
4497 if test "${ac_cv_prog_STRIP+set}" = set; then :
4498 $as_echo_n "(cached) " >&6
4500 if test -n "$STRIP"; then
4501 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4503 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4507 test -z "$as_dir" && as_dir
=.
4508 for ac_exec_ext
in '' $ac_executable_extensions; do
4509 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4510 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4520 STRIP
=$ac_cv_prog_STRIP
4521 if test -n "$STRIP"; then
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4523 $as_echo "$STRIP" >&6; }
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4526 $as_echo "no" >&6; }
4531 if test -z "$ac_cv_prog_STRIP"; then
4533 # Extract the first word of "strip", so it can be a program name with args.
4534 set dummy strip
; ac_word
=$2
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4536 $as_echo_n "checking for $ac_word... " >&6; }
4537 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4538 $as_echo_n "(cached) " >&6
4540 if test -n "$ac_ct_STRIP"; then
4541 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4543 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4547 test -z "$as_dir" && as_dir
=.
4548 for ac_exec_ext
in '' $ac_executable_extensions; do
4549 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4550 ac_cv_prog_ac_ct_STRIP
="strip"
4551 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4560 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4561 if test -n "$ac_ct_STRIP"; then
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4563 $as_echo "$ac_ct_STRIP" >&6; }
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4566 $as_echo "no" >&6; }
4569 if test "x$ac_ct_STRIP" = x
; then
4572 case $cross_compiling:$ac_tool_warned in
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4575 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4576 ac_tool_warned
=yes ;;
4581 STRIP
="$ac_cv_prog_STRIP"
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4585 $as_echo_n "checking whether ln -s works... " >&6; }
4587 if test "$LN_S" = "ln -s"; then
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4589 $as_echo "yes" >&6; }
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4592 $as_echo "no, using $LN_S" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4596 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4597 if test "${ac_cv_path_GREP+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4600 if test -z "$GREP"; then
4601 ac_path_GREP_found
=false
4602 # Loop through the user's path and test for each of PROGNAME-LIST
4603 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4604 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4607 test -z "$as_dir" && as_dir
=.
4608 for ac_prog
in grep ggrep
; do
4609 for ac_exec_ext
in '' $ac_executable_extensions; do
4610 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4611 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4612 # Check for GNU ac_path_GREP and select it if it is found.
4613 # Check for GNU $ac_path_GREP
4614 case `"$ac_path_GREP" --version 2>&1` in
4616 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4619 $as_echo_n 0123456789 >"conftest.in"
4622 cat "conftest.in" "conftest.in" >"conftest.tmp"
4623 mv "conftest.tmp" "conftest.in"
4624 cp "conftest.in" "conftest.nl"
4625 $as_echo 'GREP' >> "conftest.nl"
4626 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4627 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4628 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4629 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4630 # Best one so far, save it but keep looking for a better one
4631 ac_cv_path_GREP
="$ac_path_GREP"
4632 ac_path_GREP_max
=$ac_count
4634 # 10*(2^10) chars as input seems more than enough
4635 test $ac_count -gt 10 && break
4637 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4640 $ac_path_GREP_found && break 3
4645 if test -z "$ac_cv_path_GREP"; then
4646 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4649 ac_cv_path_GREP
=$GREP
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4654 $as_echo "$ac_cv_path_GREP" >&6; }
4655 GREP
="$ac_cv_path_GREP"
4658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4659 $as_echo_n "checking for egrep... " >&6; }
4660 if test "${ac_cv_path_EGREP+set}" = set; then :
4661 $as_echo_n "(cached) " >&6
4663 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4664 then ac_cv_path_EGREP
="$GREP -E"
4666 if test -z "$EGREP"; then
4667 ac_path_EGREP_found
=false
4668 # Loop through the user's path and test for each of PROGNAME-LIST
4669 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4670 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4673 test -z "$as_dir" && as_dir
=.
4674 for ac_prog
in egrep; do
4675 for ac_exec_ext
in '' $ac_executable_extensions; do
4676 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4677 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4678 # Check for GNU ac_path_EGREP and select it if it is found.
4679 # Check for GNU $ac_path_EGREP
4680 case `"$ac_path_EGREP" --version 2>&1` in
4682 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4685 $as_echo_n 0123456789 >"conftest.in"
4688 cat "conftest.in" "conftest.in" >"conftest.tmp"
4689 mv "conftest.tmp" "conftest.in"
4690 cp "conftest.in" "conftest.nl"
4691 $as_echo 'EGREP' >> "conftest.nl"
4692 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4693 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4694 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4695 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4696 # Best one so far, save it but keep looking for a better one
4697 ac_cv_path_EGREP
="$ac_path_EGREP"
4698 ac_path_EGREP_max
=$ac_count
4700 # 10*(2^10) chars as input seems more than enough
4701 test $ac_count -gt 10 && break
4703 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4706 $ac_path_EGREP_found && break 3
4711 if test -z "$ac_cv_path_EGREP"; then
4712 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4715 ac_cv_path_EGREP
=$EGREP
4720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4721 $as_echo "$ac_cv_path_EGREP" >&6; }
4722 EGREP
="$ac_cv_path_EGREP"
4725 # Extract the first word of "ldconfig", so it can be a program name with args.
4726 set dummy ldconfig
; ac_word
=$2
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4728 $as_echo_n "checking for $ac_word... " >&6; }
4729 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4730 $as_echo_n "(cached) " >&6
4734 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4737 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4738 for as_dir
in /sbin
/usr
/sbin
$PATH
4741 test -z "$as_dir" && as_dir
=.
4742 for ac_exec_ext
in '' $ac_executable_extensions; do
4743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4744 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4752 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4756 LDCONFIG
=$ac_cv_path_LDCONFIG
4757 if test -n "$LDCONFIG"; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4759 $as_echo "$LDCONFIG" >&6; }
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4762 $as_echo "no" >&6; }
4766 # Find a good install program. We prefer a C program (faster),
4767 # so one script is as good as another. But avoid the broken or
4768 # incompatible versions:
4769 # SysV /etc/install, /usr/sbin/install
4770 # SunOS /usr/etc/install
4771 # IRIX /sbin/install
4773 # AmigaOS /C/install, which installs bootblocks on floppy discs
4774 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4775 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4776 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4777 # OS/2's system install, which has a completely different semantic
4778 # ./install, which can be erroneously created by make from ./install.sh.
4779 # Reject install programs that cannot install multiple files.
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4781 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4782 if test -z "$INSTALL"; then
4783 if test "${ac_cv_path_install+set}" = set; then :
4784 $as_echo_n "(cached) " >&6
4786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4790 test -z "$as_dir" && as_dir
=.
4791 # Account for people who put trailing slashes in PATH elements.
4792 case $as_dir/ in #((
4793 .
/ | .
// |
/[cC
]/* | \
4794 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4795 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4798 # OSF1 and SCO ODT 3.0 have their own names for install.
4799 # Don't use installbsd from OSF since it installs stuff as root
4801 for ac_prog
in ginstall scoinst
install; do
4802 for ac_exec_ext
in '' $ac_executable_extensions; do
4803 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4804 if test $ac_prog = install &&
4805 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4806 # AIX install. It has an incompatible calling convention.
4808 elif test $ac_prog = install &&
4809 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4810 # program-specific install script used by HP pwplus--don't use.
4813 rm -rf conftest.one conftest.two conftest.dir
4814 echo one
> conftest.one
4815 echo two
> conftest.two
4817 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4818 test -s conftest.one
&& test -s conftest.two
&&
4819 test -s conftest.dir
/conftest.one
&&
4820 test -s conftest.dir
/conftest.two
4822 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4835 rm -rf conftest.one conftest.two conftest.dir
4838 if test "${ac_cv_path_install+set}" = set; then
4839 INSTALL
=$ac_cv_path_install
4841 # As a last resort, use the slow shell script. Don't cache a
4842 # value for INSTALL within a source directory, because that will
4843 # break other packages using the cache if that directory is
4844 # removed, or if the value is a relative name.
4845 INSTALL
=$ac_install_sh
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4849 $as_echo "$INSTALL" >&6; }
4851 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4852 # It thinks the first close brace ends the variable substitution.
4853 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4855 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4857 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4860 [\\/$
]* | ?
:[\\/]* ) ;;
4861 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4864 for ac_prog
in lclint lint
4866 # Extract the first word of "$ac_prog", so it can be a program name with args.
4867 set dummy
$ac_prog; ac_word
=$2
4868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4869 $as_echo_n "checking for $ac_word... " >&6; }
4870 if test "${ac_cv_prog_LINT+set}" = set; then :
4871 $as_echo_n "(cached) " >&6
4873 if test -n "$LINT"; then
4874 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4880 test -z "$as_dir" && as_dir
=.
4881 for ac_exec_ext
in '' $ac_executable_extensions; do
4882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4883 ac_cv_prog_LINT
="$ac_prog"
4884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4893 LINT
=$ac_cv_prog_LINT
4894 if test -n "$LINT"; then
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4896 $as_echo "$LINT" >&6; }
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 $as_echo "no" >&6; }
4903 test -n "$LINT" && break
4906 if test "$LINT" = "lint"
4908 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4913 for ac_prog
in fontforge
4915 # Extract the first word of "$ac_prog", so it can be a program name with args.
4916 set dummy
$ac_prog; ac_word
=$2
4917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4918 $as_echo_n "checking for $ac_word... " >&6; }
4919 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4920 $as_echo_n "(cached) " >&6
4922 if test -n "$FONTFORGE"; then
4923 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4925 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4929 test -z "$as_dir" && as_dir
=.
4930 for ac_exec_ext
in '' $ac_executable_extensions; do
4931 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4932 ac_cv_prog_FONTFORGE
="$ac_prog"
4933 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4942 FONTFORGE
=$ac_cv_prog_FONTFORGE
4943 if test -n "$FONTFORGE"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4945 $as_echo "$FONTFORGE" >&6; }
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4948 $as_echo "no" >&6; }
4952 test -n "$FONTFORGE" && break
4954 test -n "$FONTFORGE" || FONTFORGE
="false"
4956 for ac_prog
in pkg-config
4958 # Extract the first word of "$ac_prog", so it can be a program name with args.
4959 set dummy
$ac_prog; ac_word
=$2
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4961 $as_echo_n "checking for $ac_word... " >&6; }
4962 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4963 $as_echo_n "(cached) " >&6
4965 if test -n "$PKG_CONFIG"; then
4966 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4968 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4972 test -z "$as_dir" && as_dir
=.
4973 for ac_exec_ext
in '' $ac_executable_extensions; do
4974 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4975 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4976 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4985 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4986 if test -n "$PKG_CONFIG"; then
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4988 $as_echo "$PKG_CONFIG" >&6; }
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4991 $as_echo "no" >&6; }
4995 test -n "$PKG_CONFIG" && break
4997 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
5001 # Extract the first word of "$ac_prog", so it can be a program name with args.
5002 set dummy
$ac_prog; ac_word
=$2
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5004 $as_echo_n "checking for $ac_word... " >&6; }
5005 if test "${ac_cv_prog_RSVG+set}" = set; then :
5006 $as_echo_n "(cached) " >&6
5008 if test -n "$RSVG"; then
5009 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5011 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5015 test -z "$as_dir" && as_dir
=.
5016 for ac_exec_ext
in '' $ac_executable_extensions; do
5017 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5018 ac_cv_prog_RSVG
="$ac_prog"
5019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5028 RSVG
=$ac_cv_prog_RSVG
5029 if test -n "$RSVG"; then
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5031 $as_echo "$RSVG" >&6; }
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 $as_echo "no" >&6; }
5038 test -n "$RSVG" && break
5040 test -n "$RSVG" || RSVG
="false"
5042 for ac_prog
in convert
5044 # Extract the first word of "$ac_prog", so it can be a program name with args.
5045 set dummy
$ac_prog; ac_word
=$2
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5047 $as_echo_n "checking for $ac_word... " >&6; }
5048 if test "${ac_cv_prog_CONVERT+set}" = set; then :
5049 $as_echo_n "(cached) " >&6
5051 if test -n "$CONVERT"; then
5052 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5054 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5058 test -z "$as_dir" && as_dir
=.
5059 for ac_exec_ext
in '' $ac_executable_extensions; do
5060 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5061 ac_cv_prog_CONVERT
="$ac_prog"
5062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 CONVERT
=$ac_cv_prog_CONVERT
5072 if test -n "$CONVERT"; then
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5074 $as_echo "$CONVERT" >&6; }
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5077 $as_echo "no" >&6; }
5081 test -n "$CONVERT" && break
5083 test -n "$CONVERT" || CONVERT
="false"
5085 for ac_prog
in icotool
5087 # Extract the first word of "$ac_prog", so it can be a program name with args.
5088 set dummy
$ac_prog; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5092 $as_echo_n "(cached) " >&6
5094 if test -n "$ICOTOOL"; then
5095 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5097 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5101 test -z "$as_dir" && as_dir
=.
5102 for ac_exec_ext
in '' $ac_executable_extensions; do
5103 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5104 ac_cv_prog_ICOTOOL
="$ac_prog"
5105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 ICOTOOL
=$ac_cv_prog_ICOTOOL
5115 if test -n "$ICOTOOL"; then
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5117 $as_echo "$ICOTOOL" >&6; }
5119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5120 $as_echo "no" >&6; }
5124 test -n "$ICOTOOL" && break
5126 test -n "$ICOTOOL" || ICOTOOL
="false"
5129 if test "x$enable_maintainer_mode" != "xyes"
5134 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5 ; fi
5135 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5 ; fi
5137 if test "$CONVERT" = false
5139 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5142 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5143 convert_version
=`convert --version | head -n1`
5144 if test "x$convert_version" != "x"
5146 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5147 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5148 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5153 if test "$CONVERT" = false
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5156 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5157 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5160 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5164 if test "$ICOTOOL" = false
5166 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5169 $as_echo_n "checking for recent enough icotool... " >&6; }
5170 icotool_version
=`icotool --version | head -n1`
5171 if test "x$icotool_version" != "x"
5173 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5174 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5175 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5178 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5181 if test "$ICOTOOL" = false
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5184 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5185 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5188 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5196 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5197 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5198 $as_echo_n "(cached) " >&6
5200 ac_check_lib_save_LIBS
=$LIBS
5202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5203 /* end confdefs.h. */
5205 /* Override any GCC internal prototype to avoid an error.
5206 Use char because int might match the return type of a GCC
5207 builtin and then its argument prototype would still apply. */
5211 char i386_set_ldt ();
5215 return i386_set_ldt ();
5220 if ac_fn_c_try_link
"$LINENO"; then :
5221 ac_cv_lib_i386_i386_set_ldt
=yes
5223 ac_cv_lib_i386_i386_set_ldt
=no
5225 rm -f core conftest.err conftest.
$ac_objext \
5226 conftest
$ac_exeext conftest.
$ac_ext
5227 LIBS
=$ac_check_lib_save_LIBS
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5230 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5231 if test "x$ac_cv_lib_i386_i386_set_ldt" = x
""yes; then :
5232 cat >>confdefs.h
<<_ACEOF
5233 #define HAVE_LIBI386 1
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5241 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5242 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5243 $as_echo_n "(cached) " >&6
5245 ac_check_lib_save_LIBS
=$LIBS
5246 LIBS
="-lossaudio $LIBS"
5247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5250 /* Override any GCC internal prototype to avoid an error.
5251 Use char because int might match the return type of a GCC
5252 builtin and then its argument prototype would still apply. */
5260 return _oss_ioctl ();
5265 if ac_fn_c_try_link
"$LINENO"; then :
5266 ac_cv_lib_ossaudio__oss_ioctl
=yes
5268 ac_cv_lib_ossaudio__oss_ioctl
=no
5270 rm -f core conftest.err conftest.
$ac_objext \
5271 conftest
$ac_exeext conftest.
$ac_ext
5272 LIBS
=$ac_check_lib_save_LIBS
5274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5275 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5276 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x
""yes; then :
5277 cat >>confdefs.h
<<_ACEOF
5278 #define HAVE_LIBOSSAUDIO 1
5281 LIBS
="-lossaudio $LIBS"
5292 # Check whether --enable-largefile was given.
5293 if test "${enable_largefile+set}" = set; then :
5294 enableval
=$enable_largefile;
5297 if test "$enable_largefile" != no
; then
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5300 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5301 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5302 $as_echo_n "(cached) " >&6
5304 ac_cv_sys_largefile_CC
=no
5305 if test "$GCC" != yes; then
5308 # IRIX 6.2 and later do not support large files by default,
5309 # so use the C compiler's -n32 option if that helps.
5310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5312 #include <sys/types.h>
5313 /* Check that off_t can represent 2**63 - 1 correctly.
5314 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5315 since some C++ compilers masquerading as C compilers
5316 incorrectly reject 9223372036854775807. */
5317 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5319 && LARGE_OFF_T % 2147483647 == 1)
5329 if ac_fn_c_try_compile
"$LINENO"; then :
5332 rm -f core conftest.err conftest.
$ac_objext
5334 if ac_fn_c_try_compile
"$LINENO"; then :
5335 ac_cv_sys_largefile_CC
=' -n32'; break
5337 rm -f core conftest.err conftest.
$ac_objext
5341 rm -f conftest.
$ac_ext
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5345 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5346 if test "$ac_cv_sys_largefile_CC" != no
; then
5347 CC
=$CC$ac_cv_sys_largefile_CC
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5351 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5352 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5353 $as_echo_n "(cached) " >&6
5356 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5357 /* end confdefs.h. */
5358 #include <sys/types.h>
5359 /* Check that off_t can represent 2**63 - 1 correctly.
5360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5361 since some C++ compilers masquerading as C compilers
5362 incorrectly reject 9223372036854775807. */
5363 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5365 && LARGE_OFF_T % 2147483647 == 1)
5375 if ac_fn_c_try_compile
"$LINENO"; then :
5376 ac_cv_sys_file_offset_bits
=no
; break
5378 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5381 #define _FILE_OFFSET_BITS 64
5382 #include <sys/types.h>
5383 /* Check that off_t can represent 2**63 - 1 correctly.
5384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5385 since some C++ compilers masquerading as C compilers
5386 incorrectly reject 9223372036854775807. */
5387 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5389 && LARGE_OFF_T % 2147483647 == 1)
5399 if ac_fn_c_try_compile
"$LINENO"; then :
5400 ac_cv_sys_file_offset_bits
=64; break
5402 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5403 ac_cv_sys_file_offset_bits
=unknown
5407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5408 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5409 case $ac_cv_sys_file_offset_bits in #(
5412 cat >>confdefs.h
<<_ACEOF
5413 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5418 if test $ac_cv_sys_file_offset_bits = unknown
; then
5419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5420 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5421 if test "${ac_cv_sys_large_files+set}" = set; then :
5422 $as_echo_n "(cached) " >&6
5425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5426 /* end confdefs.h. */
5427 #include <sys/types.h>
5428 /* Check that off_t can represent 2**63 - 1 correctly.
5429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5430 since some C++ compilers masquerading as C compilers
5431 incorrectly reject 9223372036854775807. */
5432 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5434 && LARGE_OFF_T % 2147483647 == 1)
5444 if ac_fn_c_try_compile
"$LINENO"; then :
5445 ac_cv_sys_large_files
=no
; break
5447 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5448 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5449 /* end confdefs.h. */
5450 #define _LARGE_FILES 1
5451 #include <sys/types.h>
5452 /* Check that off_t can represent 2**63 - 1 correctly.
5453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5454 since some C++ compilers masquerading as C compilers
5455 incorrectly reject 9223372036854775807. */
5456 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5458 && LARGE_OFF_T % 2147483647 == 1)
5468 if ac_fn_c_try_compile
"$LINENO"; then :
5469 ac_cv_sys_large_files
=1; break
5471 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5472 ac_cv_sys_large_files
=unknown
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5477 $as_echo "$ac_cv_sys_large_files" >&6; }
5478 case $ac_cv_sys_large_files in #(
5481 cat >>confdefs.h
<<_ACEOF
5482 #define _LARGE_FILES $ac_cv_sys_large_files
5492 ac_cpp
='$CPP $CPPFLAGS'
5493 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5494 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5495 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5497 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5498 # On Suns, sometimes $CPP names a directory.
5499 if test -n "$CPP" && test -d "$CPP"; then
5502 if test -z "$CPP"; then
5503 if test "${ac_cv_prog_CPP+set}" = set; then :
5504 $as_echo_n "(cached) " >&6
5506 # Double quotes because CPP needs to be expanded
5507 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5510 for ac_c_preproc_warn_flag
in '' yes
5512 # Use a header file that comes with gcc, so configuring glibc
5513 # with a fresh cross-compiler works.
5514 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5515 # <limits.h> exists even on freestanding compilers.
5516 # On the NeXT, cc -E runs the code through the compiler's parser,
5517 # not just through cpp. "Syntax error" is here to catch this case.
5518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5519 /* end confdefs.h. */
5521 # include <limits.h>
5523 # include <assert.h>
5527 if ac_fn_c_try_cpp
"$LINENO"; then :
5530 # Broken: fails on valid input.
5533 rm -f conftest.err conftest.i conftest.
$ac_ext
5535 # OK, works on sane cases. Now check whether nonexistent headers
5536 # can be detected and how.
5537 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5539 #include <ac_nonexistent.h>
5541 if ac_fn_c_try_cpp
"$LINENO"; then :
5542 # Broken: success on invalid input.
5545 # Passes both tests.
5549 rm -f conftest.err conftest.i conftest.
$ac_ext
5552 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5553 rm -f conftest.i conftest.err conftest.
$ac_ext
5554 if $ac_preproc_ok; then :
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5567 $as_echo "$CPP" >&6; }
5569 for ac_c_preproc_warn_flag
in '' yes
5571 # Use a header file that comes with gcc, so configuring glibc
5572 # with a fresh cross-compiler works.
5573 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5574 # <limits.h> exists even on freestanding compilers.
5575 # On the NeXT, cc -E runs the code through the compiler's parser,
5576 # not just through cpp. "Syntax error" is here to catch this case.
5577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5578 /* end confdefs.h. */
5580 # include <limits.h>
5582 # include <assert.h>
5586 if ac_fn_c_try_cpp
"$LINENO"; then :
5589 # Broken: fails on valid input.
5592 rm -f conftest.err conftest.i conftest.
$ac_ext
5594 # OK, works on sane cases. Now check whether nonexistent headers
5595 # can be detected and how.
5596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5597 /* end confdefs.h. */
5598 #include <ac_nonexistent.h>
5600 if ac_fn_c_try_cpp
"$LINENO"; then :
5601 # Broken: success on invalid input.
5604 # Passes both tests.
5608 rm -f conftest.err conftest.i conftest.
$ac_ext
5611 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5612 rm -f conftest.i conftest.err conftest.
$ac_ext
5613 if $ac_preproc_ok; then :
5616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5618 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5619 See \`config.log' for more details" "$LINENO" 5 ; }
5623 ac_cpp
='$CPP $CPPFLAGS'
5624 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5625 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5626 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5630 $as_echo_n "checking for ANSI C header files... " >&6; }
5631 if test "${ac_cv_header_stdc+set}" = set; then :
5632 $as_echo_n "(cached) " >&6
5634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5635 /* end confdefs.h. */
5649 if ac_fn_c_try_compile
"$LINENO"; then :
5650 ac_cv_header_stdc
=yes
5652 ac_cv_header_stdc
=no
5654 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5656 if test $ac_cv_header_stdc = yes; then
5657 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5658 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5659 /* end confdefs.h. */
5663 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5664 $EGREP "memchr" >/dev
/null
2>&1; then :
5667 ac_cv_header_stdc
=no
5673 if test $ac_cv_header_stdc = yes; then
5674 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5675 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5676 /* end confdefs.h. */
5680 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5681 $EGREP "free" >/dev
/null
2>&1; then :
5684 ac_cv_header_stdc
=no
5690 if test $ac_cv_header_stdc = yes; then
5691 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5692 if test "$cross_compiling" = yes; then :
5695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5699 #if ((' ' & 0x0FF) == 0x020)
5700 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5701 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5703 # define ISLOWER(c) \
5704 (('a' <= (c) && (c) <= 'i') \
5705 || ('j' <= (c) && (c) <= 'r') \
5706 || ('s' <= (c) && (c) <= 'z'))
5707 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5710 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5715 for (i = 0; i < 256; i++)
5716 if (XOR (islower (i), ISLOWER (i))
5717 || toupper (i) != TOUPPER (i))
5722 if ac_fn_c_try_run
"$LINENO"; then :
5725 ac_cv_header_stdc
=no
5727 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5728 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5734 $as_echo "$ac_cv_header_stdc" >&6; }
5735 if test $ac_cv_header_stdc = yes; then
5737 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5741 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5742 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5743 inttypes.h stdint.h unistd.h
5745 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5746 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5748 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5749 cat >>confdefs.h
<<_ACEOF
5750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5760 AudioToolbox
/AudioConverter.h \
5761 AudioUnit
/AudioUnit.h \
5763 CoreAudio
/CoreAudio.h \
5764 DiskArbitration
/DiskArbitration.h \
5766 IOKit
/hid
/IOHIDLib.h \
5781 fontconfig
/fontconfig.h \
5816 machine
/soundcard.h \
5823 netinet
/in_systm.h \
5891 valgrind
/memcheck.h \
5892 valgrind
/valgrind.h \
5896 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5897 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5898 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5899 cat >>confdefs.h
<<_ACEOF
5900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5908 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5909 if test "${ac_cv_header_stat_broken+set}" = set; then :
5910 $as_echo_n "(cached) " >&6
5912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 #include <sys/types.h>
5915 #include <sys/stat.h>
5917 #if defined S_ISBLK && defined S_IFDIR
5918 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5921 #if defined S_ISBLK && defined S_IFCHR
5922 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5925 #if defined S_ISLNK && defined S_IFREG
5926 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5929 #if defined S_ISSOCK && defined S_IFREG
5930 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5934 if ac_fn_c_try_compile
"$LINENO"; then :
5935 ac_cv_header_stat_broken
=no
5937 ac_cv_header_stat_broken
=yes
5939 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5942 $as_echo "$ac_cv_header_stat_broken" >&6; }
5943 if test $ac_cv_header_stat_broken = yes; then
5945 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5951 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.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_PARAM_H
5956 # include <sys/param.h>
5959 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5960 cat >>confdefs.h
<<_ACEOF
5961 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5976 netinet
/if_ether.h \
5977 netinet
/if_inarp.h \
5985 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5986 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5987 #ifdef HAVE_SYS_SOCKET_H
5988 # include <sys/socket.h>
5990 #ifdef HAVE_SYS_SOCKETVAR_H
5991 # include <sys/socketvar.h>
5993 #ifdef HAVE_NET_ROUTE_H
5994 # include <net/route.h>
5996 #ifdef HAVE_NETINET_IN_H
5997 # include <netinet/in.h>
5999 #ifdef HAVE_NETINET_IN_SYSTM_H
6000 # include <netinet/in_systm.h>
6002 #ifdef HAVE_NET_IF_H
6003 # include <net/if.h>
6005 #ifdef HAVE_NETINET_IP_H
6006 # include <netinet/ip.h>
6009 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6010 cat >>confdefs.h
<<_ACEOF
6011 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6019 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6021 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6022 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6026 #ifdef HAVE_SYS_SOCKET_H
6027 # include <sys/socket.h>
6029 #ifdef HAVE_SYS_SOCKETVAR_H
6030 # include <sys/socketvar.h>
6032 #ifdef HAVE_SYS_TIMEOUT_H
6033 # include <sys/timeout.h>
6035 #ifdef HAVE_NETINET_IN_H
6036 # include <netinet/in.h>
6038 #ifdef HAVE_NETINET_IN_SYSTM_H
6039 # include <netinet/in_systm.h>
6041 #ifdef HAVE_NETINET_IP_H
6042 # include <netinet/ip.h>
6044 #ifdef HAVE_NETINET_IP_VAR_H
6045 # include <netinet/ip_var.h>
6047 #ifdef HAVE_NETINET_IP_ICMP_H
6048 # include <netinet/ip_icmp.h>
6050 #ifdef HAVE_NETINET_UDP_H
6051 # include <netinet/udp.h>
6053 #ifdef HAVE_NETINET_TCP_H
6054 # include <netinet/tcp.h>
6056 #ifdef HAVE_NETINET_TCP_TIMER_H
6057 #include <netinet/tcp_timer.h>
6060 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6061 cat >>confdefs.h
<<_ACEOF
6062 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6070 for ac_header
in linux
/ipx.h linux
/irda.h
6072 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6073 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6074 #ifdef HAVE_ASM_TYPES_H
6075 # include <asm/types.h>
6077 #ifdef HAVE_SYS_SOCKET_H
6078 # include <sys/socket.h>
6080 #ifdef HAVE_LINUX_TYPES_H
6081 # include <linux/types.h>
6084 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6085 cat >>confdefs.h
<<_ACEOF
6086 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6094 for ac_header
in mach-o
/dyld_images.h
6096 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6097 # include <stdbool.h>
6099 #ifdef HAVE_STDINT_H
6100 # include <stdint.h>
6103 if test "x$ac_cv_header_mach_o_dyld_images_h" = x
""yes; then :
6104 cat >>confdefs.h
<<_ACEOF
6105 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6113 for ac_header
in resolv.h
6115 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6116 #ifdef HAVE_SYS_SOCKET_H
6117 # include <sys/socket.h>
6119 #ifdef HAVE_NETINET_IN_H
6120 # include <netinet/in.h>
6122 #ifdef HAVE_ARPA_NAMESER_H
6123 # include <arpa/nameser.h>
6126 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
6127 cat >>confdefs.h
<<_ACEOF
6128 #define HAVE_RESOLV_H 1
6136 for ac_header
in ifaddrs.h
6138 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6140 if test "x$ac_cv_header_ifaddrs_h" = x
""yes; then :
6141 cat >>confdefs.h
<<_ACEOF
6142 #define HAVE_IFADDRS_H 1
6150 for ac_header
in ucontext.h
6152 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6154 if test "x$ac_cv_header_ucontext_h" = x
""yes; then :
6155 cat >>confdefs.h
<<_ACEOF
6156 #define HAVE_UCONTEXT_H 1
6164 for ac_header
in sys
/thr.h
6166 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6167 #ifdef HAVE_UCONTEXT_H
6168 #include <ucontext.h>
6171 if test "x$ac_cv_header_sys_thr_h" = x
""yes; then :
6172 cat >>confdefs.h
<<_ACEOF
6173 #define HAVE_SYS_THR_H 1
6181 for ac_header
in pthread_np.h
6183 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6184 #include <pthread.h>
6187 if test "x$ac_cv_header_pthread_np_h" = x
""yes; then :
6188 cat >>confdefs.h
<<_ACEOF
6189 #define HAVE_PTHREAD_NP_H 1
6197 for ac_header
in linux
/videodev.h
6199 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6200 #include <sys/time.h>
6202 #include <sys/types.h>
6203 #ifdef HAVE_ASM_TYPES_H
6204 #include <asm/types.h>
6207 if test "x$ac_cv_header_linux_videodev_h" = x
""yes; then :
6208 cat >>confdefs.h
<<_ACEOF
6209 #define HAVE_LINUX_VIDEODEV_H 1
6217 for ac_header
in linux
/capi.h
6219 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6221 if test "x$ac_cv_header_linux_capi_h" = x
""yes; then :
6222 cat >>confdefs.h
<<_ACEOF
6223 #define HAVE_LINUX_CAPI_H 1
6234 DLLFLAGS
="-D_REENTRANT"
6248 STATIC_IMPLIBEXT
="def.a"
6249 # Extract the first word of "ldd", so it can be a program name with args.
6250 set dummy ldd
; ac_word
=$2
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6252 $as_echo_n "checking for $ac_word... " >&6; }
6253 if test "${ac_cv_path_LDD+set}" = set; then :
6254 $as_echo_n "(cached) " >&6
6258 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6261 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6262 as_dummy
="/sbin:/usr/sbin:$PATH"
6263 for as_dir
in $as_dummy
6266 test -z "$as_dir" && as_dir
=.
6267 for ac_exec_ext
in '' $ac_executable_extensions; do
6268 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6269 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6270 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6277 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6282 if test -n "$LDD"; then
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6284 $as_echo "$LDD" >&6; }
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6287 $as_echo "no" >&6; }
6294 if test -n "$ac_tool_prefix"; then
6295 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6296 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6298 $as_echo_n "checking for $ac_word... " >&6; }
6299 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6300 $as_echo_n "(cached) " >&6
6302 if test -n "$DLLTOOL"; then
6303 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6309 test -z "$as_dir" && as_dir
=.
6310 for ac_exec_ext
in '' $ac_executable_extensions; do
6311 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6312 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6322 DLLTOOL
=$ac_cv_prog_DLLTOOL
6323 if test -n "$DLLTOOL"; then
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6325 $as_echo "$DLLTOOL" >&6; }
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6328 $as_echo "no" >&6; }
6333 if test -z "$ac_cv_prog_DLLTOOL"; then
6334 ac_ct_DLLTOOL
=$DLLTOOL
6335 # Extract the first word of "dlltool", so it can be a program name with args.
6336 set dummy dlltool
; ac_word
=$2
6337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6338 $as_echo_n "checking for $ac_word... " >&6; }
6339 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6340 $as_echo_n "(cached) " >&6
6342 if test -n "$ac_ct_DLLTOOL"; then
6343 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6349 test -z "$as_dir" && as_dir
=.
6350 for ac_exec_ext
in '' $ac_executable_extensions; do
6351 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6352 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6362 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6363 if test -n "$ac_ct_DLLTOOL"; then
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6365 $as_echo "$ac_ct_DLLTOOL" >&6; }
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6368 $as_echo "no" >&6; }
6371 if test "x$ac_ct_DLLTOOL" = x
; then
6374 case $cross_compiling:$ac_tool_warned in
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6378 ac_tool_warned
=yes ;;
6380 DLLTOOL
=$ac_ct_DLLTOOL
6383 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6386 if test -n "$ac_tool_prefix"; then
6387 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6388 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6390 $as_echo_n "checking for $ac_word... " >&6; }
6391 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6392 $as_echo_n "(cached) " >&6
6394 if test -n "$DLLWRAP"; then
6395 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6397 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6401 test -z "$as_dir" && as_dir
=.
6402 for ac_exec_ext
in '' $ac_executable_extensions; do
6403 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6404 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6414 DLLWRAP
=$ac_cv_prog_DLLWRAP
6415 if test -n "$DLLWRAP"; then
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6417 $as_echo "$DLLWRAP" >&6; }
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6420 $as_echo "no" >&6; }
6425 if test -z "$ac_cv_prog_DLLWRAP"; then
6426 ac_ct_DLLWRAP
=$DLLWRAP
6427 # Extract the first word of "dllwrap", so it can be a program name with args.
6428 set dummy dllwrap
; ac_word
=$2
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6430 $as_echo_n "checking for $ac_word... " >&6; }
6431 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6432 $as_echo_n "(cached) " >&6
6434 if test -n "$ac_ct_DLLWRAP"; then
6435 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6437 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6441 test -z "$as_dir" && as_dir
=.
6442 for ac_exec_ext
in '' $ac_executable_extensions; do
6443 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6444 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6454 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6455 if test -n "$ac_ct_DLLWRAP"; then
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6457 $as_echo "$ac_ct_DLLWRAP" >&6; }
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6460 $as_echo "no" >&6; }
6463 if test "x$ac_ct_DLLWRAP" = x
; then
6466 case $cross_compiling:$ac_tool_warned in
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6470 ac_tool_warned
=yes ;;
6472 DLLWRAP
=$ac_ct_DLLWRAP
6475 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6478 if test "$DLLWRAP" = "false"; then
6484 STATIC_IMPLIBEXT
="a"
6485 enable_iphlpapi
=${enable_iphlpapi:-no}
6486 enable_kernel32
=${enable_kernel32:-no}
6487 enable_msvcrt
=${enable_msvcrt:-no}
6488 enable_ntdll
=${enable_ntdll:-no}
6489 enable_ws2_32
=${enable_ws2_32:-no}
6490 enable_loader
=${enable_loader:-no}
6491 enable_server
=${enable_server:-no}
6492 with_x
=${with_x:-no}
6493 with_pthread
=${with_pthread:-no}
6498 DLLFLAGS
="$DLLFLAGS -fPIC"
6499 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6500 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6501 LDSHARED
="\$(CC) -dynamiclib"
6503 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6504 SECURITYLIB
="-framework Security -framework CoreFoundation"
6506 COREFOUNDATIONLIB
="-framework CoreFoundation"
6508 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6510 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6512 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6514 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6517 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6519 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6522 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6524 FRAMEWORK_OPENAL
="-framework OpenAL"
6527 cat >>confdefs.h
<<_ACEOF
6528 #define HAVE_OPENAL 1
6531 ac_cv_lib_openal
=yes
6533 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6535 ac_save_LIBS
="$LIBS"
6536 LIBS
="$LIBS $IOKITLIB"
6537 for ac_func
in IOHIDManagerCreate
6539 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6540 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6541 cat >>confdefs.h
<<_ACEOF
6542 #define HAVE_IOHIDMANAGERCREATE 1
6548 LIBS
="$ac_save_LIBS"
6552 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6554 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6556 CARBONLIB
="-framework Carbon"
6558 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6560 if test "x$enable_win16" = "xyes"
6562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6563 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6564 if test "$cross_compiling" = yes; then :
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6566 $as_echo "cross-compiling, assuming yes" >&6; }
6568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6569 /* end confdefs.h. */
6572 "good:\tnop;nop\n\t"
6573 ".globl _testfunc\n"
6574 "_testfunc:\tcallw good");
6575 extern void testfunc();
6579 unsigned short *p = (unsigned short *)testfunc;
6580 return p[0] != 0xe866 || p[1] != 0xfffa
6585 if ac_fn_c_try_run
"$LINENO"; then :
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6587 $as_echo "yes" >&6; }
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6590 $as_echo "no" >&6; }
6591 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
6593 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6594 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6600 DLLFLAGS
="$DLLFLAGS -fPIC"
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6603 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6604 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6605 $as_echo_n "(cached) " >&6
6607 ac_wine_try_cflags_saved
=$CFLAGS
6608 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6610 /* end confdefs.h. */
6613 if ac_fn_c_try_link
"$LINENO"; then :
6614 ac_cv_c_dll_gnuelf
="yes"
6616 ac_cv_c_dll_gnuelf
="no"
6618 rm -f core conftest.err conftest.
$ac_objext \
6619 conftest
$ac_exeext conftest.
$ac_ext
6620 CFLAGS
=$ac_wine_try_cflags_saved
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6623 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6624 if test "$ac_cv_c_dll_gnuelf" = "yes"
6626 LDSHARED
="\$(CC) -shared"
6627 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6629 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6630 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6631 $as_echo_n "(cached) " >&6
6633 ac_wine_try_cflags_saved
=$CFLAGS
6634 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6636 /* end confdefs.h. */
6637 int main(int argc, char **argv) { return 0; }
6639 if ac_fn_c_try_link
"$LINENO"; then :
6640 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6642 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6644 rm -f core conftest.err conftest.
$ac_objext \
6645 conftest
$ac_exeext conftest.
$ac_ext
6646 CFLAGS
=$ac_wine_try_cflags_saved
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6649 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6650 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6651 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6654 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6655 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6656 $as_echo_n "(cached) " >&6
6658 ac_wine_try_cflags_saved
=$CFLAGS
6659 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6661 /* end confdefs.h. */
6662 int main(int argc, char **argv) { return 0; }
6664 if ac_fn_c_try_link
"$LINENO"; then :
6665 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6667 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6669 rm -f core conftest.err conftest.
$ac_objext \
6670 conftest
$ac_exeext conftest.
$ac_ext
6671 CFLAGS
=$ac_wine_try_cflags_saved
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6674 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6675 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6676 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6681 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6682 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6683 $as_echo_n "(cached) " >&6
6685 ac_wine_try_cflags_saved
=$CFLAGS
6686 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6689 int main(int argc, char **argv) { return 0; }
6691 if ac_fn_c_try_link
"$LINENO"; then :
6692 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6694 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6696 rm -f core conftest.err conftest.
$ac_objext \
6697 conftest
$ac_exeext conftest.
$ac_ext
6698 CFLAGS
=$ac_wine_try_cflags_saved
6700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6701 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6702 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6703 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6706 { $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
6707 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6708 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6711 ac_wine_try_cflags_saved
=$CFLAGS
6712 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6713 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6714 /* end confdefs.h. */
6715 int main(int argc, char **argv) { return 0; }
6717 if ac_fn_c_try_link
"$LINENO"; then :
6718 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6720 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6722 rm -f core conftest.err conftest.
$ac_objext \
6723 conftest
$ac_exeext conftest.
$ac_ext
6724 CFLAGS
=$ac_wine_try_cflags_saved
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6727 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6728 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6729 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6732 echo '{ global: *; };' >conftest.map
6733 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6735 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6736 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6737 $as_echo_n "(cached) " >&6
6739 ac_wine_try_cflags_saved
=$CFLAGS
6740 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
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 eval "$as_ac_var=yes"
6748 eval "$as_ac_var=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 eval ac_res
=\$
$as_ac_var
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6756 $as_echo "$ac_res" >&6; }
6757 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6758 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6763 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6764 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6765 $as_echo_n "(cached) " >&6
6767 ac_wine_try_cflags_saved
=$CFLAGS
6768 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
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 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6776 ac_cv_cflags__fPIC__Wl___export_dynamic
=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 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6783 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6784 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6785 LDEXECFLAGS
="-Wl,--export-dynamic"
6789 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6791 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6792 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6793 $as_echo_n "(cached) " >&6
6795 ac_wine_try_cflags_saved
=$CFLAGS
6796 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
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 eval "$as_ac_var=yes"
6804 eval "$as_ac_var=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 eval ac_res
=\$
$as_ac_var
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6812 $as_echo "$ac_res" >&6; }
6813 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6814 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6815 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6817 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6819 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6820 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6821 $as_echo_n "(cached) " >&6
6823 ac_wine_try_cflags_saved
=$CFLAGS
6824 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$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,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6843 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6848 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6849 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6850 $as_echo_n "(cached) " >&6
6852 ac_wine_try_cflags_saved
=$CFLAGS
6853 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6855 /* end confdefs.h. */
6856 int main(int argc, char **argv) { return 0; }
6858 if ac_fn_c_try_link
"$LINENO"; then :
6859 ac_cv_cflags__Wl___enable_new_dtags
=yes
6861 ac_cv_cflags__Wl___enable_new_dtags
=no
6863 rm -f core conftest.err conftest.
$ac_objext \
6864 conftest
$ac_exeext conftest.
$ac_ext
6865 CFLAGS
=$ac_wine_try_cflags_saved
6867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6868 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6869 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6870 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6874 *i
[3456789]86* | x86_64
)
6875 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6877 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6878 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6879 $as_echo_n "(cached) " >&6
6881 ac_wine_try_cflags_saved
=$CFLAGS
6882 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6884 /* end confdefs.h. */
6885 int main(int argc, char **argv) { return 0; }
6887 if ac_fn_c_try_link
"$LINENO"; then :
6888 eval "$as_ac_var=yes"
6890 eval "$as_ac_var=no"
6892 rm -f core conftest.err conftest.
$ac_objext \
6893 conftest
$ac_exeext conftest.
$ac_ext
6894 CFLAGS
=$ac_wine_try_cflags_saved
6896 eval ac_res
=\$
$as_ac_var
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6898 $as_echo "$ac_res" >&6; }
6899 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6901 freebsd
*) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6902 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6906 # Extract the first word of "prelink", so it can be a program name with args.
6907 set dummy prelink
; ac_word
=$2
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6909 $as_echo_n "checking for $ac_word... " >&6; }
6910 if test "${ac_cv_path_PRELINK+set}" = set; then :
6911 $as_echo_n "(cached) " >&6
6915 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6918 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6919 for as_dir
in /sbin
/usr
/sbin
$PATH
6922 test -z "$as_dir" && as_dir
=.
6923 for ac_exec_ext
in '' $ac_executable_extensions; do
6924 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6925 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6926 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6933 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6937 PRELINK
=$ac_cv_path_PRELINK
6938 if test -n "$PRELINK"; then
6939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6940 $as_echo "$PRELINK" >&6; }
6942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6943 $as_echo "no" >&6; }
6947 if test "x$PRELINK" = xfalse
6949 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6956 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6957 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6958 $as_echo_n "(cached) " >&6
6960 ac_wine_try_cflags_saved
=$CFLAGS
6961 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6966 if ac_fn_c_try_link
"$LINENO"; then :
6967 ac_cv_c_dll_unixware
="yes"
6969 ac_cv_c_dll_unixware
="no"
6971 rm -f core conftest.err conftest.
$ac_objext \
6972 conftest
$ac_exeext conftest.
$ac_ext
6973 CFLAGS
=$ac_wine_try_cflags_saved
6975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6976 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6977 if test "$ac_cv_c_dll_unixware" = "yes"
6979 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6980 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6984 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6985 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6986 $as_echo_n "(cached) " >&6
6988 ac_wine_try_cflags_saved
=$CFLAGS
6989 CFLAGS
="$CFLAGS -shared"
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_hpux
="yes"
6997 ac_cv_c_dll_hpux
="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_hpux" >&5
7004 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7005 if test "$ac_cv_c_dll_hpux" = "yes"
7009 LDDLLFLAGS
="-shared -fPIC"
7010 LDSHARED
="\$(CC) -shared"
7017 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7019 if test "$LIBEXT" = "a"; then
7020 as_fn_error $?
"could not find a way to build shared libraries.
7021 It is currently not possible to build Wine without shared library
7022 (.so) support to allow transparent switch between .so and .dll files.
7023 If you are using Linux, you will need a newer binutils.
7027 CROSSTEST_DISABLE
=\
#
7029 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7033 ac_prefix_list
="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 " ;;
7035 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 " ;;
7037 ac_prefix_list
="" ;;
7039 for ac_prog
in $ac_prefix_list
7041 # Extract the first word of "$ac_prog", so it can be a program name with args.
7042 set dummy
$ac_prog; ac_word
=$2
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7044 $as_echo_n "checking for $ac_word... " >&6; }
7045 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7046 $as_echo_n "(cached) " >&6
7048 if test -n "$CROSSCC"; then
7049 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7051 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7055 test -z "$as_dir" && as_dir
=.
7056 for ac_exec_ext
in '' $ac_executable_extensions; do
7057 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7058 ac_cv_prog_CROSSCC
="$ac_prog"
7059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7068 CROSSCC
=$ac_cv_prog_CROSSCC
7069 if test -n "$CROSSCC"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7071 $as_echo "$CROSSCC" >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7074 $as_echo "no" >&6; }
7078 test -n "$CROSSCC" && break
7080 test -n "$CROSSCC" || CROSSCC
="false"
7082 if test "$CROSSCC" != "false"
7086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7087 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7089 /* end confdefs.h. */
7099 if ac_fn_c_try_compile
"$LINENO"; then :
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7101 $as_echo "yes" >&6; }
7108 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7112 if test -n "$target"
7114 CROSSTEST_DISABLE
=""
7115 CROSSTARGET
="$target"
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7128 if test "$ac_cv_header_pthread_h" = "yes"
7130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7131 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7132 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7133 $as_echo_n "(cached) " >&6
7135 ac_check_lib_save_LIBS
=$LIBS
7136 LIBS
="-lpthread $LIBS"
7137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7138 /* end confdefs.h. */
7140 /* Override any GCC internal prototype to avoid an error.
7141 Use char because int might match the return type of a GCC
7142 builtin and then its argument prototype would still apply. */
7146 char pthread_create ();
7150 return pthread_create ();
7155 if ac_fn_c_try_link
"$LINENO"; then :
7156 ac_cv_lib_pthread_pthread_create
=yes
7158 ac_cv_lib_pthread_pthread_create
=no
7160 rm -f core conftest.err conftest.
$ac_objext \
7161 conftest
$ac_exeext conftest.
$ac_ext
7162 LIBS
=$ac_check_lib_save_LIBS
7164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7165 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7166 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7167 LIBPTHREAD
="-lpthread"
7172 if test "x$LIBPTHREAD" = "x"; then :
7173 case "x$with_pthread" in
7175 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7176 Wine cannot support threads without libpthread.
7177 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7183 $as_echo_n "checking for X... " >&6; }
7186 # Check whether --with-x was given.
7187 if test "${with_x+set}" = set; then :
7191 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7192 if test "x$with_x" = xno
; then
7193 # The user explicitly disabled X.
7196 case $x_includes,$x_libraries in #(
7197 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
7198 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7199 $as_echo_n "(cached) " >&6
7201 # One or both of the vars are not set, and there is no cached value.
7202 ac_x_includes
=no ac_x_libraries
=no
7203 rm -f -r conftest.dir
7204 if mkdir conftest.dir
; then
7206 cat >Imakefile
<<'_ACEOF'
7208 @echo incroot='${INCROOT}'
7210 @echo usrlibdir='${USRLIBDIR}'
7212 @echo libdir='${LIBDIR}'
7214 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7215 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7216 for ac_var
in incroot usrlibdir libdir
; do
7217 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7219 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7220 for ac_extension
in a so sl dylib la dll
; do
7221 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7222 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7223 ac_im_usrlibdir
=$ac_im_libdir; break
7226 # Screen out bogus values from the imake configuration. They are
7227 # bogus both because they are the default anyway, and because
7228 # using them would break gcc on systems where it needs fixed includes.
7229 case $ac_im_incroot in
7230 /usr
/include
) ac_x_includes
= ;;
7231 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7233 case $ac_im_usrlibdir in
7234 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7235 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7239 rm -f -r conftest.dir
7242 # Standard set of common directories for X headers.
7243 # Check X11 before X11Rn because it is often a symlink to the current release.
7257 /usr/local/X11/include
7258 /usr/local/X11R7/include
7259 /usr/local/X11R6/include
7260 /usr/local/X11R5/include
7261 /usr/local/X11R4/include
7263 /usr/local/include/X11
7264 /usr/local/include/X11R7
7265 /usr/local/include/X11R6
7266 /usr/local/include/X11R5
7267 /usr/local/include/X11R4
7271 /usr/XFree86/include/X11
7275 /usr/unsupported/include
7277 /usr/local/x11r5/include
7278 /usr/lpp/Xamples/include
7280 /usr/openwin/include
7281 /usr/openwin/share/include'
7283 if test "$ac_x_includes" = no
; then
7284 # Guess where to find include files, by looking for Xlib.h.
7285 # First, try using that file with no special directory specified.
7286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7287 /* end confdefs.h. */
7288 #include <X11/Xlib.h>
7290 if ac_fn_c_try_cpp
"$LINENO"; then :
7291 # We can compile using X headers with no special include directory.
7294 for ac_dir
in $ac_x_header_dirs; do
7295 if test -r "$ac_dir/X11/Xlib.h"; then
7296 ac_x_includes
=$ac_dir
7301 rm -f conftest.err conftest.i conftest.
$ac_ext
7302 fi # $ac_x_includes = no
7304 if test "$ac_x_libraries" = no
; then
7305 # Check for the libraries.
7306 # See if we find them without any special options.
7307 # Don't add to $LIBS permanently.
7310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7311 /* end confdefs.h. */
7312 #include <X11/Xlib.h>
7321 if ac_fn_c_try_link
"$LINENO"; then :
7323 # We can link X programs with no special library path.
7327 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7329 # Don't even attempt the hair of trying to link an X program!
7330 for ac_extension
in a so sl dylib la dll
; do
7331 if test -r "$ac_dir/libX11.$ac_extension"; then
7332 ac_x_libraries
=$ac_dir
7338 rm -f core conftest.err conftest.
$ac_objext \
7339 conftest
$ac_exeext conftest.
$ac_ext
7340 fi # $ac_x_libraries = no
7342 case $ac_x_includes,$ac_x_libraries in #(
7344 # Didn't find X, or a directory has "'" in its name.
7345 ac_cv_have_x
="have_x=no";; #(
7347 # Record where we found X for the cache.
7348 ac_cv_have_x
="have_x=yes\
7349 ac_x_includes='$ac_x_includes'\
7350 ac_x_libraries='$ac_x_libraries'"
7356 eval "$ac_cv_have_x"
7359 if test "$have_x" != yes; then
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7361 $as_echo "$have_x" >&6; }
7364 # If each of the values was on the command line, it overrides each guess.
7365 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7366 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7367 # Update the cache value to reflect the command line values.
7368 ac_cv_have_x
="have_x=yes\
7369 ac_x_includes='$x_includes'\
7370 ac_x_libraries='$x_libraries'"
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7372 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7375 if test "$no_x" = yes; then
7376 # Not all programs may use this symbol, but it does not hurt to define it.
7378 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7380 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7382 if test -n "$x_includes"; then
7383 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7386 # It would also be nice to do this for all -L options, not just this one.
7387 if test -n "$x_libraries"; then
7388 X_LIBS
="$X_LIBS -L$x_libraries"
7389 # For Solaris; some versions of Sun CC require a space after -R and
7390 # others require no space. Words are not sufficient . . . .
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7392 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7393 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7394 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7395 ac_c_werror_flag
=yes
7396 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7397 /* end confdefs.h. */
7407 if ac_fn_c_try_link
"$LINENO"; then :
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7410 X_LIBS
="$X_LIBS -R$x_libraries"
7412 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7413 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7414 /* end confdefs.h. */
7424 if ac_fn_c_try_link
"$LINENO"; then :
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7426 $as_echo "yes" >&6; }
7427 X_LIBS
="$X_LIBS -R $x_libraries"
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7430 $as_echo "neither works" >&6; }
7432 rm -f core conftest.err conftest.
$ac_objext \
7433 conftest
$ac_exeext conftest.
$ac_ext
7435 rm -f core conftest.err conftest.
$ac_objext \
7436 conftest
$ac_exeext conftest.
$ac_ext
7437 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7441 # Check for system-dependent libraries X programs must link with.
7442 # Do this before checking for the system-independent R6 libraries
7443 # (-lICE), since we may need -lsocket or whatever for X linking.
7445 if test "$ISC" = yes; then
7446 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7448 # Martyn Johnson says this is needed for Ultrix, if the X
7449 # libraries were built with DECnet support. And Karl Berry says
7450 # the Alpha needs dnet_stub (dnet does not exist).
7451 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7453 /* end confdefs.h. */
7455 /* Override any GCC internal prototype to avoid an error.
7456 Use char because int might match the return type of a GCC
7457 builtin and then its argument prototype would still apply. */
7461 char XOpenDisplay ();
7465 return XOpenDisplay ();
7470 if ac_fn_c_try_link
"$LINENO"; then :
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7474 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7475 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7478 ac_check_lib_save_LIBS
=$LIBS
7480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7481 /* end confdefs.h. */
7483 /* Override any GCC internal prototype to avoid an error.
7484 Use char because int might match the return type of a GCC
7485 builtin and then its argument prototype would still apply. */
7493 return dnet_ntoa ();
7498 if ac_fn_c_try_link
"$LINENO"; then :
7499 ac_cv_lib_dnet_dnet_ntoa
=yes
7501 ac_cv_lib_dnet_dnet_ntoa
=no
7503 rm -f core conftest.err conftest.
$ac_objext \
7504 conftest
$ac_exeext conftest.
$ac_ext
7505 LIBS
=$ac_check_lib_save_LIBS
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7508 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7509 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7510 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7513 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7515 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7516 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7517 $as_echo_n "(cached) " >&6
7519 ac_check_lib_save_LIBS
=$LIBS
7520 LIBS
="-ldnet_stub $LIBS"
7521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7522 /* end confdefs.h. */
7524 /* Override any GCC internal prototype to avoid an error.
7525 Use char because int might match the return type of a GCC
7526 builtin and then its argument prototype would still apply. */
7534 return dnet_ntoa ();
7539 if ac_fn_c_try_link
"$LINENO"; then :
7540 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7542 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7544 rm -f core conftest.err conftest.
$ac_objext \
7545 conftest
$ac_exeext conftest.
$ac_ext
7546 LIBS
=$ac_check_lib_save_LIBS
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7549 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7550 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7551 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7556 rm -f core conftest.err conftest.
$ac_objext \
7557 conftest
$ac_exeext conftest.
$ac_ext
7558 LIBS
="$ac_xsave_LIBS"
7560 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7561 # to get the SysV transport functions.
7562 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7564 # The nsl library prevents programs from opening the X display
7565 # on Irix 5.2, according to T.E. Dickey.
7566 # The functions gethostbyname, getservbyname, and inet_addr are
7567 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7568 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7569 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7573 if test $ac_cv_func_gethostbyname = no
; then
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7575 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7576 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7579 ac_check_lib_save_LIBS
=$LIBS
7581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7582 /* end confdefs.h. */
7584 /* Override any GCC internal prototype to avoid an error.
7585 Use char because int might match the return type of a GCC
7586 builtin and then its argument prototype would still apply. */
7590 char gethostbyname ();
7594 return gethostbyname ();
7599 if ac_fn_c_try_link
"$LINENO"; then :
7600 ac_cv_lib_nsl_gethostbyname
=yes
7602 ac_cv_lib_nsl_gethostbyname
=no
7604 rm -f core conftest.err conftest.
$ac_objext \
7605 conftest
$ac_exeext conftest.
$ac_ext
7606 LIBS
=$ac_check_lib_save_LIBS
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7609 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7610 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7611 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7614 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7616 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7617 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7618 $as_echo_n "(cached) " >&6
7620 ac_check_lib_save_LIBS
=$LIBS
7622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7623 /* end confdefs.h. */
7625 /* Override any GCC internal prototype to avoid an error.
7626 Use char because int might match the return type of a GCC
7627 builtin and then its argument prototype would still apply. */
7631 char gethostbyname ();
7635 return gethostbyname ();
7640 if ac_fn_c_try_link
"$LINENO"; then :
7641 ac_cv_lib_bsd_gethostbyname
=yes
7643 ac_cv_lib_bsd_gethostbyname
=no
7645 rm -f core conftest.err conftest.
$ac_objext \
7646 conftest
$ac_exeext conftest.
$ac_ext
7647 LIBS
=$ac_check_lib_save_LIBS
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7650 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7651 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7652 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7658 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7659 # socket/setsockopt and other routines are undefined under SCO ODT
7660 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7661 # on later versions), says Simon Leinen: it contains gethostby*
7662 # variants that don't use the name server (or something). -lsocket
7663 # must be given before -lnsl if both are needed. We assume that
7664 # if connect needs -lnsl, so does gethostbyname.
7665 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7666 if test "x$ac_cv_func_connect" = x
""yes; then :
7670 if test $ac_cv_func_connect = no
; then
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7672 $as_echo_n "checking for connect in -lsocket... " >&6; }
7673 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7674 $as_echo_n "(cached) " >&6
7676 ac_check_lib_save_LIBS
=$LIBS
7677 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7679 /* end confdefs.h. */
7681 /* Override any GCC internal prototype to avoid an error.
7682 Use char because int might match the return type of a GCC
7683 builtin and then its argument prototype would still apply. */
7696 if ac_fn_c_try_link
"$LINENO"; then :
7697 ac_cv_lib_socket_connect
=yes
7699 ac_cv_lib_socket_connect
=no
7701 rm -f core conftest.err conftest.
$ac_objext \
7702 conftest
$ac_exeext conftest.
$ac_ext
7703 LIBS
=$ac_check_lib_save_LIBS
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7706 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7707 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7708 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7713 # Guillermo Gomez says -lposix is necessary on A/UX.
7714 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7715 if test "x$ac_cv_func_remove" = x
""yes; then :
7719 if test $ac_cv_func_remove = no
; then
7720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7721 $as_echo_n "checking for remove in -lposix... " >&6; }
7722 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7723 $as_echo_n "(cached) " >&6
7725 ac_check_lib_save_LIBS
=$LIBS
7726 LIBS
="-lposix $LIBS"
7727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7728 /* end confdefs.h. */
7730 /* Override any GCC internal prototype to avoid an error.
7731 Use char because int might match the return type of a GCC
7732 builtin and then its argument prototype would still apply. */
7745 if ac_fn_c_try_link
"$LINENO"; then :
7746 ac_cv_lib_posix_remove
=yes
7748 ac_cv_lib_posix_remove
=no
7750 rm -f core conftest.err conftest.
$ac_objext \
7751 conftest
$ac_exeext conftest.
$ac_ext
7752 LIBS
=$ac_check_lib_save_LIBS
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7755 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7756 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7757 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7762 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7763 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7764 if test "x$ac_cv_func_shmat" = x
""yes; then :
7768 if test $ac_cv_func_shmat = no
; then
7769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7770 $as_echo_n "checking for shmat in -lipc... " >&6; }
7771 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7772 $as_echo_n "(cached) " >&6
7774 ac_check_lib_save_LIBS
=$LIBS
7776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7777 /* end confdefs.h. */
7779 /* Override any GCC internal prototype to avoid an error.
7780 Use char because int might match the return type of a GCC
7781 builtin and then its argument prototype would still apply. */
7794 if ac_fn_c_try_link
"$LINENO"; then :
7795 ac_cv_lib_ipc_shmat
=yes
7797 ac_cv_lib_ipc_shmat
=no
7799 rm -f core conftest.err conftest.
$ac_objext \
7800 conftest
$ac_exeext conftest.
$ac_ext
7801 LIBS
=$ac_check_lib_save_LIBS
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7804 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7805 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7812 # Check for libraries that X11R6 Xt/Xaw programs need.
7813 ac_save_LDFLAGS
=$LDFLAGS
7814 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7815 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7816 # check for ICE first), but we must link in the order -lSM -lICE or
7817 # we get undefined symbols. So assume we have SM if we have ICE.
7818 # These have to be linked with before -lX11, unlike the other
7819 # libraries we check for below, so use a different variable.
7820 # John Interrante, Karl Berry
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7822 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7823 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7826 ac_check_lib_save_LIBS
=$LIBS
7827 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7829 /* end confdefs.h. */
7831 /* Override any GCC internal prototype to avoid an error.
7832 Use char because int might match the return type of a GCC
7833 builtin and then its argument prototype would still apply. */
7837 char IceConnectionNumber ();
7841 return IceConnectionNumber ();
7846 if ac_fn_c_try_link
"$LINENO"; then :
7847 ac_cv_lib_ICE_IceConnectionNumber
=yes
7849 ac_cv_lib_ICE_IceConnectionNumber
=no
7851 rm -f core conftest.err conftest.
$ac_objext \
7852 conftest
$ac_exeext conftest.
$ac_ext
7853 LIBS
=$ac_check_lib_save_LIBS
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7856 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7857 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7858 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7861 LDFLAGS
=$ac_save_LDFLAGS
7866 if test "$have_x" = "yes"
7869 ac_save_CPPFLAGS
="$CPPFLAGS"
7870 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7873 $as_echo_n "checking for -lX11... " >&6; }
7874 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7875 $as_echo_n "(cached) " >&6
7877 ac_check_soname_save_LIBS
=$LIBS
7878 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7880 /* end confdefs.h. */
7882 /* Override any GCC internal prototype to avoid an error.
7883 Use char because int might match the return type of a GCC
7884 builtin and then its argument prototype would still apply. */
7888 char XCreateWindow ();
7892 return XCreateWindow ();
7897 if ac_fn_c_try_link
"$LINENO"; then :
7899 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7900 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'` ;;
7901 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7904 rm -f core conftest.err conftest.
$ac_objext \
7905 conftest
$ac_exeext conftest.
$ac_ext
7906 LIBS
=$ac_check_soname_save_LIBS
7908 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7910 $as_echo "not found" >&6; }
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7914 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7916 cat >>confdefs.h
<<_ACEOF
7917 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7923 $as_echo_n "checking for -lXext... " >&6; }
7924 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7925 $as_echo_n "(cached) " >&6
7927 ac_check_soname_save_LIBS
=$LIBS
7928 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7930 /* end confdefs.h. */
7932 /* Override any GCC internal prototype to avoid an error.
7933 Use char because int might match the return type of a GCC
7934 builtin and then its argument prototype would still apply. */
7938 char XextCreateExtension ();
7942 return XextCreateExtension ();
7947 if ac_fn_c_try_link
"$LINENO"; then :
7949 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7950 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'` ;;
7951 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7954 rm -f core conftest.err conftest.
$ac_objext \
7955 conftest
$ac_exeext conftest.
$ac_ext
7956 LIBS
=$ac_check_soname_save_LIBS
7958 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7960 $as_echo "not found" >&6; }
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7964 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7966 cat >>confdefs.h
<<_ACEOF
7967 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7973 for ac_header
in X11
/Xlib.h \
7976 X11
/Xcursor
/Xcursor.h \
7977 X11
/extensions
/shape.h \
7978 X11
/extensions
/XInput.h \
7979 X11
/extensions
/XShm.h \
7980 X11
/extensions
/Xcomposite.h \
7981 X11
/extensions
/Xinerama.h \
7982 X11
/extensions
/Xrandr.h \
7983 X11
/extensions
/Xrender.h \
7984 X11
/extensions
/xf86vmode.h \
7985 X11
/extensions
/xf86vmproto.h
7987 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7988 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7989 # include <X11/Xlib.h>
7991 #ifdef HAVE_X11_XUTIL_H
7992 # include <X11/Xutil.h>
7995 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
7996 cat >>confdefs.h
<<_ACEOF
7997 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8008 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8009 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
8010 $as_echo_n "(cached) " >&6
8012 ac_check_lib_save_LIBS
=$LIBS
8013 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8015 /* end confdefs.h. */
8017 /* Override any GCC internal prototype to avoid an error.
8018 Use char because int might match the return type of a GCC
8019 builtin and then its argument prototype would still apply. */
8023 char XkbQueryExtension ();
8027 return XkbQueryExtension ();
8032 if ac_fn_c_try_link
"$LINENO"; then :
8033 ac_cv_lib_X11_XkbQueryExtension
=yes
8035 ac_cv_lib_X11_XkbQueryExtension
=no
8037 rm -f core conftest.err conftest.
$ac_objext \
8038 conftest
$ac_exeext conftest.
$ac_ext
8039 LIBS
=$ac_check_lib_save_LIBS
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8042 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8043 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
8045 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8051 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8054 $as_echo_n "checking for -lXcursor... " >&6; }
8055 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8056 $as_echo_n "(cached) " >&6
8058 ac_check_soname_save_LIBS
=$LIBS
8059 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8063 /* Override any GCC internal prototype to avoid an error.
8064 Use char because int might match the return type of a GCC
8065 builtin and then its argument prototype would still apply. */
8069 char XcursorImageLoadCursor ();
8073 return XcursorImageLoadCursor ();
8078 if ac_fn_c_try_link
"$LINENO"; then :
8080 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8081 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'` ;;
8082 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8085 rm -f core conftest.err conftest.
$ac_objext \
8086 conftest
$ac_exeext conftest.
$ac_ext
8087 LIBS
=$ac_check_soname_save_LIBS
8089 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8091 $as_echo "not found" >&6; }
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8095 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8097 cat >>confdefs.h
<<_ACEOF
8098 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8104 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8105 case "x$with_xcursor" in
8106 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8108 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8109 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8113 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8116 $as_echo_n "checking for -lXi... " >&6; }
8117 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8118 $as_echo_n "(cached) " >&6
8120 ac_check_soname_save_LIBS
=$LIBS
8121 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8123 /* end confdefs.h. */
8125 /* Override any GCC internal prototype to avoid an error.
8126 Use char because int might match the return type of a GCC
8127 builtin and then its argument prototype would still apply. */
8131 char XOpenDevice ();
8135 return XOpenDevice ();
8140 if ac_fn_c_try_link
"$LINENO"; then :
8142 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8143 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'` ;;
8144 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8147 rm -f core conftest.err conftest.
$ac_objext \
8148 conftest
$ac_exeext conftest.
$ac_ext
8149 LIBS
=$ac_check_soname_save_LIBS
8151 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8153 $as_echo "not found" >&6; }
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8157 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8159 cat >>confdefs.h
<<_ACEOF
8160 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8166 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8167 case "x$with_xinput" in
8168 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8170 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8171 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8175 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8178 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8179 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8180 $as_echo_n "(cached) " >&6
8182 ac_check_lib_save_LIBS
=$LIBS
8183 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8185 /* end confdefs.h. */
8187 /* Override any GCC internal prototype to avoid an error.
8188 Use char because int might match the return type of a GCC
8189 builtin and then its argument prototype would still apply. */
8193 char XShmQueryExtension ();
8197 return XShmQueryExtension ();
8202 if ac_fn_c_try_link
"$LINENO"; then :
8203 ac_cv_lib_Xext_XShmQueryExtension
=yes
8205 ac_cv_lib_Xext_XShmQueryExtension
=no
8207 rm -f core conftest.err conftest.
$ac_objext \
8208 conftest
$ac_exeext conftest.
$ac_ext
8209 LIBS
=$ac_check_lib_save_LIBS
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8212 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8213 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8215 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8220 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8221 case "x$with_xshm" in
8222 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8224 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8225 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8229 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8232 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8233 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8234 $as_echo_n "(cached) " >&6
8236 ac_check_lib_save_LIBS
=$LIBS
8237 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8238 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8239 /* end confdefs.h. */
8241 /* Override any GCC internal prototype to avoid an error.
8242 Use char because int might match the return type of a GCC
8243 builtin and then its argument prototype would still apply. */
8247 char XShapeQueryExtension ();
8251 return XShapeQueryExtension ();
8256 if ac_fn_c_try_link
"$LINENO"; then :
8257 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8259 ac_cv_lib_Xext_XShapeQueryExtension
=no
8261 rm -f core conftest.err conftest.
$ac_objext \
8262 conftest
$ac_exeext conftest.
$ac_ext
8263 LIBS
=$ac_check_lib_save_LIBS
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8266 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8267 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8269 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8274 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8275 case "x$with_xshape" in
8276 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8278 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8279 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8283 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8286 $as_echo_n "checking for -lXxf86vm... " >&6; }
8287 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8288 $as_echo_n "(cached) " >&6
8290 ac_check_soname_save_LIBS
=$LIBS
8291 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8293 /* end confdefs.h. */
8295 /* Override any GCC internal prototype to avoid an error.
8296 Use char because int might match the return type of a GCC
8297 builtin and then its argument prototype would still apply. */
8301 char XF86VidModeQueryExtension ();
8305 return XF86VidModeQueryExtension ();
8310 if ac_fn_c_try_link
"$LINENO"; then :
8312 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8313 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'` ;;
8314 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8317 rm -f core conftest.err conftest.
$ac_objext \
8318 conftest
$ac_exeext conftest.
$ac_ext
8319 LIBS
=$ac_check_soname_save_LIBS
8321 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8323 $as_echo "not found" >&6; }
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8327 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8329 cat >>confdefs.h
<<_ACEOF
8330 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8336 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8337 case "x$with_xxf86vm" in
8338 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8340 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8341 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8345 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"
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8348 $as_echo_n "checking for -lXrender... " >&6; }
8349 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8350 $as_echo_n "(cached) " >&6
8352 ac_check_soname_save_LIBS
=$LIBS
8353 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8355 /* end confdefs.h. */
8357 /* Override any GCC internal prototype to avoid an error.
8358 Use char because int might match the return type of a GCC
8359 builtin and then its argument prototype would still apply. */
8363 char XRenderQueryExtension ();
8367 return XRenderQueryExtension ();
8372 if ac_fn_c_try_link
"$LINENO"; then :
8374 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8375 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'` ;;
8376 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8379 rm -f core conftest.err conftest.
$ac_objext \
8380 conftest
$ac_exeext conftest.
$ac_ext
8381 LIBS
=$ac_check_soname_save_LIBS
8383 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8385 $as_echo "not found" >&6; }
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8389 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8391 cat >>confdefs.h
<<_ACEOF
8392 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8396 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8397 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8398 $as_echo_n "(cached) " >&6
8400 ac_check_lib_save_LIBS
=$LIBS
8401 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8405 /* Override any GCC internal prototype to avoid an error.
8406 Use char because int might match the return type of a GCC
8407 builtin and then its argument prototype would still apply. */
8411 char XRenderSetPictureTransform ();
8415 return XRenderSetPictureTransform ();
8420 if ac_fn_c_try_link
"$LINENO"; then :
8421 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8423 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8425 rm -f core conftest.err conftest.
$ac_objext \
8426 conftest
$ac_exeext conftest.
$ac_ext
8427 LIBS
=$ac_check_lib_save_LIBS
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8430 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8431 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8433 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8440 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8441 case "x$with_xrender" in
8442 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8444 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8445 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8449 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8452 /* end confdefs.h. */
8453 #include <X11/Xlib.h>
8454 #include <X11/extensions/Xrandr.h>
8458 static typeof(XRRSetScreenConfigAndRate) * func;
8463 if ac_fn_c_try_compile
"$LINENO"; then :
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8465 $as_echo_n "checking for -lXrandr... " >&6; }
8466 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8467 $as_echo_n "(cached) " >&6
8469 ac_check_soname_save_LIBS
=$LIBS
8470 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8471 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8472 /* end confdefs.h. */
8474 /* Override any GCC internal prototype to avoid an error.
8475 Use char because int might match the return type of a GCC
8476 builtin and then its argument prototype would still apply. */
8480 char XRRQueryExtension ();
8484 return XRRQueryExtension ();
8489 if ac_fn_c_try_link
"$LINENO"; then :
8491 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8492 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'` ;;
8493 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8496 rm -f core conftest.err conftest.
$ac_objext \
8497 conftest
$ac_exeext conftest.
$ac_ext
8498 LIBS
=$ac_check_soname_save_LIBS
8500 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8502 $as_echo "not found" >&6; }
8505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8506 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8508 cat >>confdefs.h
<<_ACEOF
8509 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8517 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8518 case "x$with_xrandr" in
8519 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8521 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8522 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8526 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8528 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 #include <X11/Xlib.h>
8531 #include <X11/extensions/Xinerama.h>
8535 static typeof(XineramaQueryScreens) * func;
8540 if ac_fn_c_try_compile
"$LINENO"; then :
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8542 $as_echo_n "checking for -lXinerama... " >&6; }
8543 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8544 $as_echo_n "(cached) " >&6
8546 ac_check_soname_save_LIBS
=$LIBS
8547 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8548 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8549 /* end confdefs.h. */
8551 /* Override any GCC internal prototype to avoid an error.
8552 Use char because int might match the return type of a GCC
8553 builtin and then its argument prototype would still apply. */
8557 char XineramaQueryScreens ();
8561 return XineramaQueryScreens ();
8566 if ac_fn_c_try_link
"$LINENO"; then :
8568 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8569 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'` ;;
8570 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8573 rm -f core conftest.err conftest.
$ac_objext \
8574 conftest
$ac_exeext conftest.
$ac_ext
8575 LIBS
=$ac_check_soname_save_LIBS
8577 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8579 $as_echo "not found" >&6; }
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8583 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8585 cat >>confdefs.h
<<_ACEOF
8586 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8592 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8594 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8595 case "x$with_xinerama" in
8596 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8598 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8599 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8603 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8606 $as_echo_n "checking for -lXcomposite... " >&6; }
8607 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8608 $as_echo_n "(cached) " >&6
8610 ac_check_soname_save_LIBS
=$LIBS
8611 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8615 /* Override any GCC internal prototype to avoid an error.
8616 Use char because int might match the return type of a GCC
8617 builtin and then its argument prototype would still apply. */
8621 char XCompositeRedirectWindow ();
8625 return XCompositeRedirectWindow ();
8630 if ac_fn_c_try_link
"$LINENO"; then :
8632 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8633 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'` ;;
8634 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8637 rm -f core conftest.err conftest.
$ac_objext \
8638 conftest
$ac_exeext conftest.
$ac_ext
8639 LIBS
=$ac_check_soname_save_LIBS
8641 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8643 $as_echo "not found" >&6; }
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8647 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8649 cat >>confdefs.h
<<_ACEOF
8650 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8656 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8657 case "x$with_xcomposite" in
8658 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8660 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8661 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8665 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8666 #include <X11/Xlib.h>
8669 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8671 cat >>confdefs.h
<<_ACEOF
8672 #define HAVE_XICCALLBACK_CALLBACK 1
8681 if test "x$with_opengl" != "xno"
8683 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8685 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8686 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8687 # include <GL/glx.h>
8690 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8691 cat >>confdefs.h
<<_ACEOF
8692 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8699 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8702 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8703 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8704 $as_echo_n "(cached) " >&6
8706 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8707 /* end confdefs.h. */
8712 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8717 if ac_fn_c_try_compile
"$LINENO"; then :
8718 wine_cv_opengl_header_version_OK
="yes"
8720 wine_cv_opengl_header_version_OK
="no"
8722 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8725 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8727 if test "$wine_cv_opengl_header_version_OK" = "yes"
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8730 $as_echo_n "checking for -lGL... " >&6; }
8731 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8732 $as_echo_n "(cached) " >&6
8734 ac_check_soname_save_LIBS
=$LIBS
8735 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8739 /* Override any GCC internal prototype to avoid an error.
8740 Use char because int might match the return type of a GCC
8741 builtin and then its argument prototype would still apply. */
8745 char glXCreateContext ();
8749 return glXCreateContext ();
8754 if ac_fn_c_try_link
"$LINENO"; then :
8756 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8757 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'` ;;
8758 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8761 rm -f core conftest.err conftest.
$ac_objext \
8762 conftest
$ac_exeext conftest.
$ac_ext
8763 LIBS
=$ac_check_soname_save_LIBS
8765 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8767 $as_echo "not found" >&6; }
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8769 $as_echo_n "checking for -lGL... " >&6; }
8770 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8771 $as_echo_n "(cached) " >&6
8773 ac_check_soname_save_LIBS
=$LIBS
8774 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"
8775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8778 /* Override any GCC internal prototype to avoid an error.
8779 Use char because int might match the return type of a GCC
8780 builtin and then its argument prototype would still apply. */
8784 char glXCreateContext ();
8788 return glXCreateContext ();
8793 if ac_fn_c_try_link
"$LINENO"; then :
8795 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8796 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'` ;;
8797 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8800 rm -f core conftest.err conftest.
$ac_objext \
8801 conftest
$ac_exeext conftest.
$ac_ext
8802 LIBS
=$ac_check_soname_save_LIBS
8804 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8806 $as_echo "not found" >&6; }
8807 if test -f /usr
/X11R
6/lib
/libGL.a
8809 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8810 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8812 opengl_msg
="No OpenGL library found on this system."
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8816 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8818 cat >>confdefs.h
<<_ACEOF
8819 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8822 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"
8824 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8829 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8831 cat >>confdefs.h
<<_ACEOF
8832 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8837 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8840 if test "$ac_cv_header_GL_glu_h" = "yes"
8842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8843 $as_echo_n "checking for -lGLU... " >&6; }
8844 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8845 $as_echo_n "(cached) " >&6
8847 ac_check_soname_save_LIBS
=$LIBS
8848 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8850 /* end confdefs.h. */
8852 /* Override any GCC internal prototype to avoid an error.
8853 Use char because int might match the return type of a GCC
8854 builtin and then its argument prototype would still apply. */
8862 return gluLookAt ();
8867 if ac_fn_c_try_link
"$LINENO"; then :
8869 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8870 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'` ;;
8871 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8874 rm -f core conftest.err conftest.
$ac_objext \
8875 conftest
$ac_exeext conftest.
$ac_ext
8876 LIBS
=$ac_check_soname_save_LIBS
8878 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8880 $as_echo "not found" >&6; }
8883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8884 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8886 cat >>confdefs.h
<<_ACEOF
8887 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8893 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8894 case "x$with_glu" in
8895 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8897 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8898 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8902 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8905 opengl_msg
="OpenGL development headers not found."
8907 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8908 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8910 enable_opengl32
=${enable_opengl32:-no}
8911 enable_glu32
=${enable_glu32:-no}
8913 if test -n "$opengl_msg"; then :
8914 case "x$with_opengl" in
8915 x
) as_fn_append wine_warnings
"|$opengl_msg
8916 OpenGL and Direct3D won't be supported." ;;
8918 *) as_fn_error $?
"$opengl_msg
8919 OpenGL and Direct3D won't be supported.
8920 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8926 for ac_header
in audio
/audiolib.h
8928 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8929 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8930 cat >>confdefs.h
<<_ACEOF
8931 #define HAVE_AUDIO_AUDIOLIB_H 1
8933 for ac_header
in audio
/soundlib.h
8935 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8937 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8938 cat >>confdefs.h
<<_ACEOF
8939 #define HAVE_AUDIO_SOUNDLIB_H 1
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8947 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8948 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8951 ac_check_lib_save_LIBS
=$LIBS
8952 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8954 /* end confdefs.h. */
8956 /* Override any GCC internal prototype to avoid an error.
8957 Use char because int might match the return type of a GCC
8958 builtin and then its argument prototype would still apply. */
8962 char AuCreateFlow ();
8966 return AuCreateFlow ();
8971 if ac_fn_c_try_link
"$LINENO"; then :
8972 ac_cv_lib_audio_AuCreateFlow
=yes
8974 ac_cv_lib_audio_AuCreateFlow
=no
8976 rm -f core conftest.err conftest.
$ac_objext \
8977 conftest
$ac_exeext conftest.
$ac_ext
8978 LIBS
=$ac_check_lib_save_LIBS
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8981 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8982 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
8984 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8987 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8988 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8989 $as_echo_n "(cached) " >&6
8991 ac_check_lib_save_LIBS
=$LIBS
8992 LIBS
="-lXau $X_LIBS $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 XauGetBestAuthByAddr ();
9006 return XauGetBestAuthByAddr ();
9011 if ac_fn_c_try_link
"$LINENO"; then :
9012 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
9014 ac_cv_lib_Xau_XauGetBestAuthByAddr
=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_Xau_XauGetBestAuthByAddr" >&5
9021 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
9022 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
9023 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9025 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9036 CPPFLAGS
="$ac_save_CPPFLAGS"
9041 enable_winex11_drv
=${enable_winex11_drv:-no}
9042 enable_opengl32
=${enable_opengl32:-no}
9043 enable_glu32
=${enable_glu32:-no}
9045 if test "x$XLIB" = "x"; then :
9048 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9049 without X support, which probably isn't what you want. You will need
9050 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9051 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9062 if test "x$with_xml" != "xno"
9064 ac_save_CPPFLAGS
="$CPPFLAGS"
9065 if test "$PKG_CONFIG" != "false"
9067 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9068 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9070 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9071 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9073 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9074 for ac_header
in libxml
/parser.h
9076 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9077 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
9078 cat >>confdefs.h
<<_ACEOF
9079 #define HAVE_LIBXML_PARSER_H 1
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9082 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9083 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9084 $as_echo_n "(cached) " >&6
9086 ac_check_lib_save_LIBS
=$LIBS
9087 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9088 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9089 /* end confdefs.h. */
9091 /* Override any GCC internal prototype to avoid an error.
9092 Use char because int might match the return type of a GCC
9093 builtin and then its argument prototype would still apply. */
9097 char xmlParseMemory ();
9101 return xmlParseMemory ();
9106 if ac_fn_c_try_link
"$LINENO"; then :
9107 ac_cv_lib_xml2_xmlParseMemory
=yes
9109 ac_cv_lib_xml2_xmlParseMemory
=no
9111 rm -f core conftest.err conftest.
$ac_objext \
9112 conftest
$ac_exeext conftest.
$ac_ext
9113 LIBS
=$ac_check_lib_save_LIBS
9115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9116 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9117 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
9119 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9121 XML2LIBS
="$ac_xml_libs"
9122 XML2INCL
="$ac_xml_cflags"
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9126 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9127 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9128 $as_echo_n "(cached) " >&6
9130 ac_check_lib_save_LIBS
=$LIBS
9131 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9135 /* Override any GCC internal prototype to avoid an error.
9136 Use char because int might match the return type of a GCC
9137 builtin and then its argument prototype would still apply. */
9141 char xmlReadMemory ();
9145 return xmlReadMemory ();
9150 if ac_fn_c_try_link
"$LINENO"; then :
9151 ac_cv_lib_xml2_xmlReadMemory
=yes
9153 ac_cv_lib_xml2_xmlReadMemory
=no
9155 rm -f core conftest.err conftest.
$ac_objext \
9156 conftest
$ac_exeext conftest.
$ac_ext
9157 LIBS
=$ac_check_lib_save_LIBS
9159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9160 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9161 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9163 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9168 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9169 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9170 $as_echo_n "(cached) " >&6
9172 ac_check_lib_save_LIBS
=$LIBS
9173 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9175 /* end confdefs.h. */
9177 /* Override any GCC internal prototype to avoid an error.
9178 Use char because int might match the return type of a GCC
9179 builtin and then its argument prototype would still apply. */
9183 char xmlNewDocPI ();
9187 return xmlNewDocPI ();
9192 if ac_fn_c_try_link
"$LINENO"; then :
9193 ac_cv_lib_xml2_xmlNewDocPI
=yes
9195 ac_cv_lib_xml2_xmlNewDocPI
=no
9197 rm -f core conftest.err conftest.
$ac_objext \
9198 conftest
$ac_exeext conftest.
$ac_ext
9199 LIBS
=$ac_check_lib_save_LIBS
9201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9202 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9203 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9205 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9210 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9211 if test "${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+set}" = set; then :
9212 $as_echo_n "(cached) " >&6
9214 ac_check_lib_save_LIBS
=$LIBS
9215 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9217 /* end confdefs.h. */
9219 /* Override any GCC internal prototype to avoid an error.
9220 Use char because int might match the return type of a GCC
9221 builtin and then its argument prototype would still apply. */
9225 char xmlSchemaSetParserStructuredErrors ();
9229 return xmlSchemaSetParserStructuredErrors ();
9234 if ac_fn_c_try_link
"$LINENO"; then :
9235 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9237 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9239 rm -f core conftest.err conftest.
$ac_objext \
9240 conftest
$ac_exeext conftest.
$ac_ext
9241 LIBS
=$ac_check_lib_save_LIBS
9243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9244 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9245 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = x
""yes; then :
9247 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9252 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9253 if test "${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+set}" = set; then :
9254 $as_echo_n "(cached) " >&6
9256 ac_check_lib_save_LIBS
=$LIBS
9257 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9258 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9259 /* end confdefs.h. */
9261 /* Override any GCC internal prototype to avoid an error.
9262 Use char because int might match the return type of a GCC
9263 builtin and then its argument prototype would still apply. */
9267 char xmlSchemaSetValidStructuredErrors ();
9271 return xmlSchemaSetValidStructuredErrors ();
9276 if ac_fn_c_try_link
"$LINENO"; then :
9277 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9279 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9281 rm -f core conftest.err conftest.
$ac_objext \
9282 conftest
$ac_exeext conftest.
$ac_ext
9283 LIBS
=$ac_check_lib_save_LIBS
9285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9286 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9287 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = x
""yes; then :
9289 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9294 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9295 if test "${ac_cv_lib_xml2_xmlFirstElementChild+set}" = set; then :
9296 $as_echo_n "(cached) " >&6
9298 ac_check_lib_save_LIBS
=$LIBS
9299 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9300 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9301 /* end confdefs.h. */
9303 /* Override any GCC internal prototype to avoid an error.
9304 Use char because int might match the return type of a GCC
9305 builtin and then its argument prototype would still apply. */
9309 char xmlFirstElementChild ();
9313 return xmlFirstElementChild ();
9318 if ac_fn_c_try_link
"$LINENO"; then :
9319 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9321 ac_cv_lib_xml2_xmlFirstElementChild
=no
9323 rm -f core conftest.err conftest.
$ac_objext \
9324 conftest
$ac_exeext conftest.
$ac_ext
9325 LIBS
=$ac_check_lib_save_LIBS
9327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9328 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9329 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = x
""yes; then :
9331 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9335 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9337 if test "x$ac_cv_type_xmlDocProperties" = x
""yes; then :
9339 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9348 CPPFLAGS
="$ac_save_CPPFLAGS"
9350 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9351 case "x$with_xml" in
9352 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9354 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9355 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9359 if test "x$with_xslt" != "xno"
9361 if test "$PKG_CONFIG" != "false"
9363 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9364 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9366 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9367 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9369 ac_save_CPPFLAGS
="$CPPFLAGS"
9370 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9371 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9373 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9374 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9375 # include <libxslt/pattern.h>
9378 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9379 cat >>confdefs.h
<<_ACEOF
9380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9387 CPPFLAGS
="$ac_save_CPPFLAGS"
9388 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9391 $as_echo_n "checking for -lxslt... " >&6; }
9392 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9393 $as_echo_n "(cached) " >&6
9395 ac_check_soname_save_LIBS
=$LIBS
9396 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9397 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9400 /* Override any GCC internal prototype to avoid an error.
9401 Use char because int might match the return type of a GCC
9402 builtin and then its argument prototype would still apply. */
9406 char xsltCompilePattern ();
9410 return xsltCompilePattern ();
9415 if ac_fn_c_try_link
"$LINENO"; then :
9417 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9418 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'` ;;
9419 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9422 rm -f core conftest.err conftest.
$ac_objext \
9423 conftest
$ac_exeext conftest.
$ac_ext
9424 LIBS
=$ac_check_soname_save_LIBS
9426 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9428 $as_echo "not found" >&6; }
9431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9432 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9434 cat >>confdefs.h
<<_ACEOF
9435 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9438 XSLTINCL
="$ac_xslt_cflags"
9442 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9443 case "x$with_xslt" in
9444 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9446 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9447 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9453 if test "x$with_hal" != "xno"
9455 ac_save_CPPFLAGS
="$CPPFLAGS"
9456 if test "$PKG_CONFIG" != "false"
9458 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9459 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9460 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9462 for ac_header
in dbus
/dbus.h hal
/libhal.h
9464 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9465 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9466 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9467 cat >>confdefs.h
<<_ACEOF
9468 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9475 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9478 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9479 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9480 $as_echo_n "(cached) " >&6
9482 ac_check_lib_save_LIBS
=$LIBS
9483 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9484 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9487 /* Override any GCC internal prototype to avoid an error.
9488 Use char because int might match the return type of a GCC
9489 builtin and then its argument prototype would still apply. */
9493 char dbus_connection_close ();
9497 return dbus_connection_close ();
9502 if ac_fn_c_try_link
"$LINENO"; then :
9503 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9505 ac_cv_lib_dbus_1_dbus_connection_close
=no
9507 rm -f core conftest.err conftest.
$ac_objext \
9508 conftest
$ac_exeext conftest.
$ac_ext
9509 LIBS
=$ac_check_lib_save_LIBS
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9512 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9513 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9515 $as_echo_n "checking for -lhal... " >&6; }
9516 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9517 $as_echo_n "(cached) " >&6
9519 ac_check_soname_save_LIBS
=$LIBS
9520 LIBS
="-lhal $ac_hal_libs $LIBS"
9521 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9524 /* Override any GCC internal prototype to avoid an error.
9525 Use char because int might match the return type of a GCC
9526 builtin and then its argument prototype would still apply. */
9530 char libhal_ctx_new ();
9534 return libhal_ctx_new ();
9539 if ac_fn_c_try_link
"$LINENO"; then :
9541 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9542 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'` ;;
9543 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9546 rm -f core conftest.err conftest.
$ac_objext \
9547 conftest
$ac_exeext conftest.
$ac_ext
9548 LIBS
=$ac_check_soname_save_LIBS
9550 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9552 $as_echo "not found" >&6; }
9555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9556 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9558 cat >>confdefs.h
<<_ACEOF
9559 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9562 HALINCL
="$ac_hal_cflags"
9567 CPPFLAGS
="$ac_save_CPPFLAGS"
9569 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9570 case "x$with_hal" in
9571 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9573 *) as_fn_error $?
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9574 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9578 if test "x$with_gnutls" != "xno"
9580 ac_save_CPPFLAGS
="$CPPFLAGS"
9581 if test "$PKG_CONFIG" != "false"
9583 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9584 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9585 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9587 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9588 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9589 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9590 /* end confdefs.h. */
9591 #include <gnutls/gnutls.h>
9595 typeof(gnutls_mac_get_key_size) *pfunc;
9600 if ac_fn_c_try_compile
"$LINENO"; then :
9601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9602 $as_echo_n "checking for -lgnutls... " >&6; }
9603 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9604 $as_echo_n "(cached) " >&6
9606 ac_check_soname_save_LIBS
=$LIBS
9607 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9609 /* end confdefs.h. */
9611 /* Override any GCC internal prototype to avoid an error.
9612 Use char because int might match the return type of a GCC
9613 builtin and then its argument prototype would still apply. */
9617 char gnutls_global_init ();
9621 return gnutls_global_init ();
9626 if ac_fn_c_try_link
"$LINENO"; then :
9628 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9629 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'` ;;
9630 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9633 rm -f core conftest.err conftest.
$ac_objext \
9634 conftest
$ac_exeext conftest.
$ac_ext
9635 LIBS
=$ac_check_soname_save_LIBS
9637 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9639 $as_echo "not found" >&6; }
9642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9643 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9645 cat >>confdefs.h
<<_ACEOF
9646 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9649 GNUTLSINCL
="$ac_gnutls_cflags"
9653 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9657 CPPFLAGS
="$ac_save_CPPFLAGS"
9659 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9660 case "x$with_gnutls" in
9661 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9663 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9664 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9669 if test "$ac_cv_header_ncurses_h" = "yes"
9671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9672 $as_echo_n "checking for -lncurses... " >&6; }
9673 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9674 $as_echo_n "(cached) " >&6
9676 ac_check_soname_save_LIBS
=$LIBS
9677 LIBS
="-lncurses $LIBS"
9678 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9679 /* end confdefs.h. */
9681 /* Override any GCC internal prototype to avoid an error.
9682 Use char because int might match the return type of a GCC
9683 builtin and then its argument prototype would still apply. */
9696 if ac_fn_c_try_link
"$LINENO"; then :
9698 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9699 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'` ;;
9700 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9703 rm -f core conftest.err conftest.
$ac_objext \
9704 conftest
$ac_exeext conftest.
$ac_ext
9705 LIBS
=$ac_check_soname_save_LIBS
9707 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9709 $as_echo "not found" >&6; }
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9713 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9715 cat >>confdefs.h
<<_ACEOF
9716 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9719 CURSESLIBS
="-lncurses"
9721 elif test "$ac_cv_header_curses_h" = "yes"
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9724 $as_echo_n "checking for -lcurses... " >&6; }
9725 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9726 $as_echo_n "(cached) " >&6
9728 ac_check_soname_save_LIBS
=$LIBS
9729 LIBS
="-lcurses $LIBS"
9730 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9731 /* end confdefs.h. */
9733 /* Override any GCC internal prototype to avoid an error.
9734 Use char because int might match the return type of a GCC
9735 builtin and then its argument prototype would still apply. */
9748 if ac_fn_c_try_link
"$LINENO"; then :
9750 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9751 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'` ;;
9752 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9755 rm -f core conftest.err conftest.
$ac_objext \
9756 conftest
$ac_exeext conftest.
$ac_ext
9757 LIBS
=$ac_check_soname_save_LIBS
9759 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9761 $as_echo "not found" >&6; }
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9765 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9767 cat >>confdefs.h
<<_ACEOF
9768 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9771 CURSESLIBS
="-lcurses"
9774 ac_save_LIBS
="$LIBS"
9775 LIBS
="$LIBS $CURSESLIBS"
9776 for ac_func
in mousemask
9778 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9779 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9780 cat >>confdefs.h
<<_ACEOF
9781 #define HAVE_MOUSEMASK 1
9787 LIBS
="$ac_save_LIBS"
9788 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9789 case "x$with_curses" in
9790 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9792 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9793 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9797 if test "x$with_sane" != "xno"
9799 ac_save_CPPFLAGS
="$CPPFLAGS"
9800 # Extract the first word of "sane-config", so it can be a program name with args.
9801 set dummy sane-config
; ac_word
=$2
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9803 $as_echo_n "checking for $ac_word... " >&6; }
9804 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9805 $as_echo_n "(cached) " >&6
9807 if test -n "$sane_devel"; then
9808 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9810 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9814 test -z "$as_dir" && as_dir
=.
9815 for ac_exec_ext
in '' $ac_executable_extensions; do
9816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9817 ac_cv_prog_sane_devel
="sane-config"
9818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9825 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9828 sane_devel
=$ac_cv_prog_sane_devel
9829 if test -n "$sane_devel"; then
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9831 $as_echo "$sane_devel" >&6; }
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9834 $as_echo "no" >&6; }
9838 if test "$sane_devel" != "no"
9840 ac_sane_incl
="`$sane_devel --cflags`"
9841 ac_sane_libs
="`$sane_devel --ldflags`"
9842 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9844 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9845 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9847 $as_echo_n "checking for -lsane... " >&6; }
9848 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9849 $as_echo_n "(cached) " >&6
9851 ac_check_soname_save_LIBS
=$LIBS
9852 LIBS
="-lsane $ac_sane_libs $LIBS"
9853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9856 /* Override any GCC internal prototype to avoid an error.
9857 Use char because int might match the return type of a GCC
9858 builtin and then its argument prototype would still apply. */
9866 return sane_init ();
9871 if ac_fn_c_try_link
"$LINENO"; then :
9873 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9874 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'` ;;
9875 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9878 rm -f core conftest.err conftest.
$ac_objext \
9879 conftest
$ac_exeext conftest.
$ac_ext
9880 LIBS
=$ac_check_soname_save_LIBS
9882 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9884 $as_echo "not found" >&6; }
9887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9888 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9890 cat >>confdefs.h
<<_ACEOF
9891 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9894 SANEINCL
="$ac_sane_incl"
9900 CPPFLAGS
="$ac_save_CPPFLAGS"
9902 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9903 case "x$with_sane" in
9904 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9906 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9907 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9911 if test "x$with_v4l" != "xno"
9913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9914 $as_echo_n "checking for -lv4l1... " >&6; }
9915 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9916 $as_echo_n "(cached) " >&6
9918 ac_check_soname_save_LIBS
=$LIBS
9920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9921 /* end confdefs.h. */
9923 /* Override any GCC internal prototype to avoid an error.
9924 Use char because int might match the return type of a GCC
9925 builtin and then its argument prototype would still apply. */
9933 return v4l1_open ();
9938 if ac_fn_c_try_link
"$LINENO"; then :
9940 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9941 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'` ;;
9942 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9945 rm -f core conftest.err conftest.
$ac_objext \
9946 conftest
$ac_exeext conftest.
$ac_ext
9947 LIBS
=$ac_check_soname_save_LIBS
9949 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9951 $as_echo "not found" >&6; }
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9955 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9957 cat >>confdefs.h
<<_ACEOF
9958 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9964 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9965 case "x$with_v4l" in
9966 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9968 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
9969 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9973 if test "x$with_gphoto" != "xno"
9975 ac_save_CPPFLAGS
="$CPPFLAGS"
9976 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9977 set dummy gphoto2-config
; ac_word
=$2
9978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9979 $as_echo_n "checking for $ac_word... " >&6; }
9980 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9981 $as_echo_n "(cached) " >&6
9983 if test -n "$gphoto2_devel"; then
9984 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9986 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9990 test -z "$as_dir" && as_dir
=.
9991 for ac_exec_ext
in '' $ac_executable_extensions; do
9992 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9993 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10001 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10004 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10005 if test -n "$gphoto2_devel"; then
10006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10007 $as_echo "$gphoto2_devel" >&6; }
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10010 $as_echo "no" >&6; }
10014 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10015 set dummy gphoto2-port-config
; ac_word
=$2
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10017 $as_echo_n "checking for $ac_word... " >&6; }
10018 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
10019 $as_echo_n "(cached) " >&6
10021 if test -n "$gphoto2port_devel"; then
10022 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10024 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10025 for as_dir
in $PATH
10028 test -z "$as_dir" && as_dir
=.
10029 for ac_exec_ext
in '' $ac_executable_extensions; do
10030 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10031 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10039 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10042 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10043 if test -n "$gphoto2port_devel"; then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10045 $as_echo "$gphoto2port_devel" >&6; }
10047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10048 $as_echo "no" >&6; }
10052 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10054 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10056 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10059 -L/usr
/lib|
-L/usr
/lib64
) ;;
10060 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10063 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10065 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10066 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10067 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
10068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10069 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10070 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
10071 $as_echo_n "(cached) " >&6
10073 ac_check_lib_save_LIBS
=$LIBS
10074 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10075 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10076 /* end confdefs.h. */
10078 /* Override any GCC internal prototype to avoid an error.
10079 Use char because int might match the return type of a GCC
10080 builtin and then its argument prototype would still apply. */
10084 char gp_camera_new ();
10088 return gp_camera_new ();
10093 if ac_fn_c_try_link
"$LINENO"; then :
10094 ac_cv_lib_gphoto2_gp_camera_new
=yes
10096 ac_cv_lib_gphoto2_gp_camera_new
=no
10098 rm -f core conftest.err conftest.
$ac_objext \
10099 conftest
$ac_exeext conftest.
$ac_ext
10100 LIBS
=$ac_check_lib_save_LIBS
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10103 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10104 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
10106 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10108 GPHOTO2LIBS
="$ac_gphoto2_libs"
10110 GPHOTO2INCL
="$ac_gphoto2_incl"
10117 CPPFLAGS
="$ac_save_CPPFLAGS"
10119 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10120 case "x$with_gphoto" in
10121 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10123 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10124 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10129 if test "$ac_cv_header_resolv_h" = "yes"
10131 ac_save_LIBS
="$LIBS"
10132 for lib
in '' -lresolv
10134 LIBS
="$lib $ac_save_LIBS"
10135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10136 /* end confdefs.h. */
10137 #ifdef HAVE_NETINET_IN_H
10138 #include <netinet/in.h>
10140 #include <resolv.h>
10144 res_query("foo",ns_c_in,0,0,0);
10149 if ac_fn_c_try_link
"$LINENO"; then :
10151 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10156 rm -f core conftest.err conftest.
$ac_objext \
10157 conftest
$ac_exeext conftest.
$ac_ext
10158 if test "${RESOLVLIBS+set}" = set; then
10162 LIBS
="$ac_save_LIBS"
10167 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10170 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10171 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
10172 $as_echo_n "(cached) " >&6
10174 ac_check_lib_save_LIBS
=$LIBS
10175 LIBS
="-llcms $LIBS"
10176 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10177 /* end confdefs.h. */
10179 /* Override any GCC internal prototype to avoid an error.
10180 Use char because int might match the return type of a GCC
10181 builtin and then its argument prototype would still apply. */
10185 char cmsOpenProfileFromFile ();
10189 return cmsOpenProfileFromFile ();
10194 if ac_fn_c_try_link
"$LINENO"; then :
10195 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10197 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10199 rm -f core conftest.err conftest.
$ac_objext \
10200 conftest
$ac_exeext conftest.
$ac_ext
10201 LIBS
=$ac_check_lib_save_LIBS
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10204 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10205 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
10207 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10213 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10214 case "x$with_cms" in
10215 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10217 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10218 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10222 if test "x$with_freetype" != "xno"
10224 for ac_prog
in freetype-config freetype2-config
10226 # Extract the first word of "$ac_prog", so it can be a program name with args.
10227 set dummy
$ac_prog; ac_word
=$2
10228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10229 $as_echo_n "checking for $ac_word... " >&6; }
10230 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10231 $as_echo_n "(cached) " >&6
10233 if test -n "$ft_devel"; then
10234 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10236 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10237 for as_dir
in $PATH
10240 test -z "$as_dir" && as_dir
=.
10241 for ac_exec_ext
in '' $ac_executable_extensions; do
10242 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10243 ac_cv_prog_ft_devel
="$ac_prog"
10244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10253 ft_devel
=$ac_cv_prog_ft_devel
10254 if test -n "$ft_devel"; then
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10256 $as_echo "$ft_devel" >&6; }
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10259 $as_echo "no" >&6; }
10263 test -n "$ft_devel" && break
10265 test -n "$ft_devel" || ft_devel
="no"
10267 if test "$ft_devel" != "no"
10269 ac_freetype_incl
=`$ft_devel --cflags`
10270 ac_freetype_libs
=`$ft_devel --libs`
10272 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10274 $as_echo_n "checking for -lfreetype... " >&6; }
10275 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10276 $as_echo_n "(cached) " >&6
10278 ac_check_soname_save_LIBS
=$LIBS
10279 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10281 /* end confdefs.h. */
10283 /* Override any GCC internal prototype to avoid an error.
10284 Use char because int might match the return type of a GCC
10285 builtin and then its argument prototype would still apply. */
10289 char FT_Init_FreeType ();
10293 return FT_Init_FreeType ();
10298 if ac_fn_c_try_link
"$LINENO"; then :
10300 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10301 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'` ;;
10302 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10305 rm -f core conftest.err conftest.
$ac_objext \
10306 conftest
$ac_exeext conftest.
$ac_ext
10307 LIBS
=$ac_check_soname_save_LIBS
10309 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10311 $as_echo "not found" >&6; }
10314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10315 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10317 cat >>confdefs.h
<<_ACEOF
10318 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10323 if test "$ft_lib" = "yes"
10325 ac_save_CPPFLAGS
="$CPPFLAGS"
10326 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10327 for ac_header
in ft2build.h \
10328 freetype
/freetype.h \
10329 freetype
/ftglyph.h \
10330 freetype
/fttypes.h \
10331 freetype
/tttables.h \
10332 freetype
/ftsnames.h \
10333 freetype
/ttnameid.h \
10334 freetype
/ftoutln.h \
10335 freetype
/ftwinfnt.h \
10336 freetype
/ftmodapi.h \
10337 freetype
/ftlcdfil.h \
10338 freetype
/internal
/sfnt.h
10340 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10341 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10342 # include <ft2build.h>
10345 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10346 cat >>confdefs.h
<<_ACEOF
10347 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 #include <ft2build.h>
10357 #include <freetype/fttrigon.h>
10359 if ac_fn_c_try_cpp
"$LINENO"; then :
10361 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10363 wine_cv_fttrigon
=yes
10365 wine_cv_fttrigon
=no
10367 rm -f conftest.err conftest.i conftest.
$ac_ext
10368 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10370 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10372 cat >>confdefs.h
<<_ACEOF
10373 #define HAVE_FT_TRUETYPEENGINETYPE 1
10379 ac_save_CFLAGS
="$CFLAGS"
10380 CFLAGS
="$CFLAGS $ac_freetype_libs"
10381 for ac_func
in FT_Load_Sfnt_Table
10383 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10384 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10385 cat >>confdefs.h
<<_ACEOF
10386 #define HAVE_FT_LOAD_SFNT_TABLE 1
10392 CFLAGS
="$ac_save_CFLAGS"
10393 CPPFLAGS
="$ac_save_CPPFLAGS"
10394 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10397 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10399 FREETYPELIBS
="$ac_freetype_libs"
10401 FREETYPEINCL
="$ac_freetype_incl"
10406 if test "x$FREETYPELIBS" = "x"; then :
10407 case "x$with_freetype" in
10409 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10410 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10413 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10416 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10417 if test "${ac_cv_c_ppdev+set}" = set; then :
10418 $as_echo_n "(cached) " >&6
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 #ifdef HAVE_SYS_IOCTL_H
10423 # include <sys/ioctl.h>
10425 #include <linux/ppdev.h>
10429 ioctl (1,PPCLAIM,0)
10434 if ac_fn_c_try_compile
"$LINENO"; then :
10435 ac_cv_c_ppdev
="yes"
10439 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10442 $as_echo "$ac_cv_c_ppdev" >&6; }
10443 if test "$ac_cv_c_ppdev" = "yes"
10446 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10450 ac_wine_check_funcs_save_LIBS
="$LIBS"
10451 LIBS
="$LIBS $LIBPTHREAD"
10453 pthread_attr_get_np \
10454 pthread_getattr_np \
10455 pthread_get_stackaddr_np \
10456 pthread_get_stacksize_np
10458 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10459 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10460 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10461 cat >>confdefs.h
<<_ACEOF
10462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10468 LIBS
="$ac_wine_check_funcs_save_LIBS"
10470 if test "$ac_cv_header_zlib_h" = "yes"
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10473 $as_echo_n "checking for inflate in -lz... " >&6; }
10474 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10475 $as_echo_n "(cached) " >&6
10477 ac_check_lib_save_LIBS
=$LIBS
10479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10482 /* Override any GCC internal prototype to avoid an error.
10483 Use char because int might match the return type of a GCC
10484 builtin and then its argument prototype would still apply. */
10497 if ac_fn_c_try_link
"$LINENO"; then :
10498 ac_cv_lib_z_inflate
=yes
10500 ac_cv_lib_z_inflate
=no
10502 rm -f core conftest.err conftest.
$ac_objext \
10503 conftest
$ac_exeext conftest.
$ac_ext
10504 LIBS
=$ac_check_lib_save_LIBS
10506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10507 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10508 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10510 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10518 if test "x$with_esd" != xno
10520 save_CFLAGS
="$CFLAGS"
10521 # Extract the first word of "esd-config", so it can be a program name with args.
10522 set dummy esd-config
; ac_word
=$2
10523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10524 $as_echo_n "checking for $ac_word... " >&6; }
10525 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10526 $as_echo_n "(cached) " >&6
10530 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10533 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10534 for as_dir
in $PATH
10537 test -z "$as_dir" && as_dir
=.
10538 for ac_exec_ext
in '' $ac_executable_extensions; do
10539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10540 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10548 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10552 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10553 if test -n "$ESDCONFIG"; then
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10555 $as_echo "$ESDCONFIG" >&6; }
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10558 $as_echo "no" >&6; }
10562 if test "x$ESDCONFIG" != "xno"
10565 for i
in `$ESDCONFIG --cflags`
10568 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10571 ac_esd_libs
=`$ESDCONFIG --libs`
10572 CFLAGS
="$CFLAGS $ac_esd_incl"
10574 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10575 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10576 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10578 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10579 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10580 $as_echo_n "(cached) " >&6
10582 ac_check_lib_save_LIBS
=$LIBS
10583 LIBS
="-lesd $ac_esd_libs $LIBS"
10584 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10585 /* end confdefs.h. */
10587 /* Override any GCC internal prototype to avoid an error.
10588 Use char because int might match the return type of a GCC
10589 builtin and then its argument prototype would still apply. */
10593 char esd_open_sound ();
10597 return esd_open_sound ();
10602 if ac_fn_c_try_link
"$LINENO"; then :
10603 ac_cv_lib_esd_esd_open_sound
=yes
10605 ac_cv_lib_esd_esd_open_sound
=no
10607 rm -f core conftest.err conftest.
$ac_objext \
10608 conftest
$ac_exeext conftest.
$ac_ext
10609 LIBS
=$ac_check_lib_save_LIBS
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10612 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10613 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10614 ESDINCL
="$ac_esd_incl"
10616 ESDLIBS
="$ac_esd_libs"
10619 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10626 CFLAGS
="$save_CFLAGS"
10629 if test "x$with_gstreamer" != "xno"
10631 ac_save_CPPFLAGS
="$CPPFLAGS"
10632 if test "$PKG_CONFIG" != "false"; then
10634 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10637 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10640 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10641 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10642 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10643 if test "x$ac_cv_header_gst_gstpad_h" = x
""yes; then :
10644 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10645 if test "x$ac_cv_header_gst_app_gstappsink_h" = x
""yes; then :
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10647 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10648 if test "${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+set}" = set; then :
10649 $as_echo_n "(cached) " >&6
10651 ac_check_lib_save_LIBS
=$LIBS
10652 LIBS
="-lgstreamer-0.10 $LIBS"
10653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10654 /* end confdefs.h. */
10656 /* Override any GCC internal prototype to avoid an error.
10657 Use char because int might match the return type of a GCC
10658 builtin and then its argument prototype would still apply. */
10662 char gst_pad_get_caps_reffed ();
10666 return gst_pad_get_caps_reffed ();
10671 if ac_fn_c_try_link
"$LINENO"; then :
10672 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10674 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10676 rm -f core conftest.err conftest.
$ac_objext \
10677 conftest
$ac_exeext conftest.
$ac_ext
10678 LIBS
=$ac_check_lib_save_LIBS
10680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10681 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10682 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = x
""yes; then :
10683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10684 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10685 if test "${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+set}" = set; then :
10686 $as_echo_n "(cached) " >&6
10688 ac_check_lib_save_LIBS
=$LIBS
10689 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10693 /* Override any GCC internal prototype to avoid an error.
10694 Use char because int might match the return type of a GCC
10695 builtin and then its argument prototype would still apply. */
10699 char gst_app_buffer_new ();
10703 return gst_app_buffer_new ();
10708 if ac_fn_c_try_link
"$LINENO"; then :
10709 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10711 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10713 rm -f core conftest.err conftest.
$ac_objext \
10714 conftest
$ac_exeext conftest.
$ac_ext
10715 LIBS
=$ac_check_lib_save_LIBS
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10718 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10719 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = x
""yes; then :
10720 GSTREAMER_LIBS
="$ac_gst_libs"
10722 GSTREAMER_INCL
="$ac_gst_incl"
10735 CPPFLAGS
="$ac_save_CPPFLAGS"
10737 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
; then :
10738 case "x$with_gstreamer" in
10739 x
) as_fn_append wine_notices
"|gstreamer-0.10 ${notice_platform}development files not found, gstreamer support disabled" ;;
10741 *) as_fn_error $?
"gstreamer-0.10 ${notice_platform}development files not found, gstreamer support disabled
10742 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10745 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10749 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10752 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10753 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10754 $as_echo_n "(cached) " >&6
10756 ac_check_lib_save_LIBS
=$LIBS
10757 LIBS
="-lasound $LIBS"
10758 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10761 /* Override any GCC internal prototype to avoid an error.
10762 Use char because int might match the return type of a GCC
10763 builtin and then its argument prototype would still apply. */
10767 char snd_pcm_hw_params_get_access ();
10771 return snd_pcm_hw_params_get_access ();
10776 if ac_fn_c_try_link
"$LINENO"; then :
10777 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10779 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10781 rm -f core conftest.err conftest.
$ac_objext \
10782 conftest
$ac_exeext conftest.
$ac_ext
10783 LIBS
=$ac_check_lib_save_LIBS
10785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10786 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10787 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x
""yes; then :
10788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10789 /* end confdefs.h. */
10790 #ifdef HAVE_ALSA_ASOUNDLIB_H
10791 #include <alsa/asoundlib.h>
10792 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10793 #include <sys/asoundlib.h>
10798 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10803 if ac_fn_c_try_compile
"$LINENO"; then :
10805 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10807 ALSALIBS
="-lasound"
10809 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10816 if test "$ac_cv_header_libaudioio_h" = "yes"
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10819 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10820 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10821 $as_echo_n "(cached) " >&6
10823 ac_check_lib_save_LIBS
=$LIBS
10824 LIBS
="-laudioio $LIBS"
10825 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10826 /* end confdefs.h. */
10828 /* Override any GCC internal prototype to avoid an error.
10829 Use char because int might match the return type of a GCC
10830 builtin and then its argument prototype would still apply. */
10834 char AudioIOGetVersion ();
10838 return AudioIOGetVersion ();
10843 if ac_fn_c_try_link
"$LINENO"; then :
10844 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10846 ac_cv_lib_audioio_AudioIOGetVersion
=no
10848 rm -f core conftest.err conftest.
$ac_objext \
10849 conftest
$ac_exeext conftest.
$ac_ext
10850 LIBS
=$ac_check_lib_save_LIBS
10852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10853 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10854 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x
""yes; then :
10855 AUDIOIOLIBS
="-laudioio"
10857 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10864 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10867 $as_echo_n "checking for -lcapi20... " >&6; }
10868 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10869 $as_echo_n "(cached) " >&6
10871 ac_check_soname_save_LIBS
=$LIBS
10872 LIBS
="-lcapi20 $LIBS"
10873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10874 /* end confdefs.h. */
10876 /* Override any GCC internal prototype to avoid an error.
10877 Use char because int might match the return type of a GCC
10878 builtin and then its argument prototype would still apply. */
10882 char capi20_register ();
10886 return capi20_register ();
10891 if ac_fn_c_try_link
"$LINENO"; then :
10893 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10894 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'` ;;
10895 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10898 rm -f core conftest.err conftest.
$ac_objext \
10899 conftest
$ac_exeext conftest.
$ac_ext
10900 LIBS
=$ac_check_soname_save_LIBS
10902 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10904 $as_echo "not found" >&6; }
10907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10908 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10910 cat >>confdefs.h
<<_ACEOF
10911 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10917 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10918 case "x$with_capi" in
10919 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10921 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10922 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10928 if test "x$with_cups" != "xno"
10930 ac_save_CPPFLAGS
="$CPPFLAGS"
10931 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10932 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10933 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10934 for ac_header
in cups
/cups.h
10936 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10937 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
10938 cat >>confdefs.h
<<_ACEOF
10939 #define HAVE_CUPS_CUPS_H 1
10941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10942 $as_echo_n "checking for -lcups... " >&6; }
10943 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10944 $as_echo_n "(cached) " >&6
10946 ac_check_soname_save_LIBS
=$LIBS
10947 LIBS
="-lcups $ac_cups_libs $LIBS"
10948 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10949 /* end confdefs.h. */
10951 /* Override any GCC internal prototype to avoid an error.
10952 Use char because int might match the return type of a GCC
10953 builtin and then its argument prototype would still apply. */
10957 char cupsGetDefault ();
10961 return cupsGetDefault ();
10966 if ac_fn_c_try_link
"$LINENO"; then :
10968 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10969 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'` ;;
10970 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10973 rm -f core conftest.err conftest.
$ac_objext \
10974 conftest
$ac_exeext conftest.
$ac_ext
10975 LIBS
=$ac_check_soname_save_LIBS
10977 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10979 $as_echo "not found" >&6; }
10982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10983 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10985 cat >>confdefs.h
<<_ACEOF
10986 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10989 CUPSINCL
="$ac_cups_cflags"
10995 CPPFLAGS
="$ac_save_CPPFLAGS"
10997 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10998 case "x$with_cups" in
10999 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11001 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11002 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11006 if test "$ac_cv_header_jack_jack_h" = "yes"
11008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
11009 $as_echo_n "checking for -ljack... " >&6; }
11010 if test "${ac_cv_lib_soname_jack+set}" = set; then :
11011 $as_echo_n "(cached) " >&6
11013 ac_check_soname_save_LIBS
=$LIBS
11014 LIBS
="-ljack $LIBS"
11015 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11016 /* end confdefs.h. */
11018 /* Override any GCC internal prototype to avoid an error.
11019 Use char because int might match the return type of a GCC
11020 builtin and then its argument prototype would still apply. */
11024 char jack_client_new ();
11028 return jack_client_new ();
11033 if ac_fn_c_try_link
"$LINENO"; then :
11035 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11036 dylib
) ac_cv_lib_soname_jack
=`otool -L conftest$ac_exeext | grep "libjack-*[0-9.]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjack-*[0-9.]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11037 *) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjack-*[0-9.]*\\.$LIBEXT" | sed -e "s/^.*\(libjack-*[0-9.]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11040 rm -f core conftest.err conftest.
$ac_objext \
11041 conftest
$ac_exeext conftest.
$ac_ext
11042 LIBS
=$ac_check_soname_save_LIBS
11044 if test "x$ac_cv_lib_soname_jack" = "x"; then :
11045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11046 $as_echo "not found" >&6; }
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
11050 $as_echo "$ac_cv_lib_soname_jack" >&6; }
11052 cat >>confdefs.h
<<_ACEOF
11053 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11060 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11063 $as_echo_n "checking for -lfontconfig... " >&6; }
11064 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11065 $as_echo_n "(cached) " >&6
11067 ac_check_soname_save_LIBS
=$LIBS
11068 LIBS
="-lfontconfig $LIBS"
11069 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11070 /* end confdefs.h. */
11072 /* Override any GCC internal prototype to avoid an error.
11073 Use char because int might match the return type of a GCC
11074 builtin and then its argument prototype would still apply. */
11087 if ac_fn_c_try_link
"$LINENO"; then :
11089 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11090 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'` ;;
11091 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11094 rm -f core conftest.err conftest.
$ac_objext \
11095 conftest
$ac_exeext conftest.
$ac_ext
11096 LIBS
=$ac_check_soname_save_LIBS
11098 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11100 $as_echo "not found" >&6; }
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11104 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11106 cat >>confdefs.h
<<_ACEOF
11107 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11112 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11114 ac_save_CPPFLAGS
="$CPPFLAGS"
11115 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11116 $as_unset ac_cv_header_fontconfig_fontconfig_h
11117 for ac_header
in fontconfig
/fontconfig.h
11119 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11120 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
11121 cat >>confdefs.h
<<_ACEOF
11122 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11129 CPPFLAGS
="$ac_save_CPPFLAGS"
11130 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11132 FONTCONFIGINCL
="$X_CFLAGS"
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11135 $as_echo_n "checking for -lfontconfig... " >&6; }
11136 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11137 $as_echo_n "(cached) " >&6
11139 ac_check_soname_save_LIBS
=$LIBS
11140 LIBS
="-lfontconfig $X_LIBS $LIBS"
11141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11142 /* end confdefs.h. */
11144 /* Override any GCC internal prototype to avoid an error.
11145 Use char because int might match the return type of a GCC
11146 builtin and then its argument prototype would still apply. */
11159 if ac_fn_c_try_link
"$LINENO"; then :
11161 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11162 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'` ;;
11163 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11166 rm -f core conftest.err conftest.
$ac_objext \
11167 conftest
$ac_exeext conftest.
$ac_ext
11168 LIBS
=$ac_check_soname_save_LIBS
11170 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11172 $as_echo "not found" >&6; }
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11176 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11178 cat >>confdefs.h
<<_ACEOF
11179 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11186 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11187 case "x$with_fontconfig" in
11188 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11190 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11191 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11195 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11198 $as_echo_n "checking for -lssl... " >&6; }
11199 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_soname_save_LIBS
=$LIBS
11204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11213 char SSL_library_init ();
11217 return SSL_library_init ();
11222 if ac_fn_c_try_link
"$LINENO"; then :
11224 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11225 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'` ;;
11226 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11229 rm -f core conftest.err conftest.
$ac_objext \
11230 conftest
$ac_exeext conftest.
$ac_ext
11231 LIBS
=$ac_check_soname_save_LIBS
11233 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11235 $as_echo "not found" >&6; }
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11239 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11241 cat >>confdefs.h
<<_ACEOF
11242 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11248 $as_echo_n "checking for -lcrypto... " >&6; }
11249 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11250 $as_echo_n "(cached) " >&6
11252 ac_check_soname_save_LIBS
=$LIBS
11253 LIBS
="-lcrypto $LIBS"
11254 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11257 /* Override any GCC internal prototype to avoid an error.
11258 Use char because int might match the return type of a GCC
11259 builtin and then its argument prototype would still apply. */
11263 char BIO_new_socket ();
11267 return BIO_new_socket ();
11272 if ac_fn_c_try_link
"$LINENO"; then :
11274 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11275 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'` ;;
11276 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11279 rm -f core conftest.err conftest.
$ac_objext \
11280 conftest
$ac_exeext conftest.
$ac_ext
11281 LIBS
=$ac_check_soname_save_LIBS
11283 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11285 $as_echo "not found" >&6; }
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11289 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11291 cat >>confdefs.h
<<_ACEOF
11292 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11298 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11299 case "x$with_openssl" in
11300 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11302 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11303 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11307 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11310 $as_echo_n "checking for -lgsm... " >&6; }
11311 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11312 $as_echo_n "(cached) " >&6
11314 ac_check_soname_save_LIBS
=$LIBS
11316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11325 char gsm_create ();
11329 return gsm_create ();
11334 if ac_fn_c_try_link
"$LINENO"; then :
11336 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11337 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'` ;;
11338 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11341 rm -f core conftest.err conftest.
$ac_objext \
11342 conftest
$ac_exeext conftest.
$ac_ext
11343 LIBS
=$ac_check_soname_save_LIBS
11345 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11347 $as_echo "not found" >&6; }
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11351 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11353 cat >>confdefs.h
<<_ACEOF
11354 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11360 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11361 case "x$with_gsm" in
11362 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11364 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11365 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11369 if test "$ac_cv_header_icns_h" = "yes"
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -licns" >&5
11372 $as_echo_n "checking for -licns... " >&6; }
11373 if test "${ac_cv_lib_soname_icns+set}" = set; then :
11374 $as_echo_n "(cached) " >&6
11376 ac_check_soname_save_LIBS
=$LIBS
11377 LIBS
="-licns $LIBS"
11378 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11387 char icns_write_family_to_file ();
11391 return icns_write_family_to_file ();
11396 if ac_fn_c_try_link
"$LINENO"; then :
11398 dll
) ac_cv_lib_soname_icns
=`$ac_cv_path_LDD conftest.exe | grep "icns" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11399 dylib
) ac_cv_lib_soname_icns
=`otool -L conftest$ac_exeext | grep "libicns\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libicns\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11400 *) ac_cv_lib_soname_icns
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libicns\\.$LIBEXT" | sed -e "s/^.*\(libicns\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11403 rm -f core conftest.err conftest.
$ac_objext \
11404 conftest
$ac_exeext conftest.
$ac_ext
11405 LIBS
=$ac_check_soname_save_LIBS
11407 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11409 $as_echo "not found" >&6; }
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_icns" >&5
11413 $as_echo "$ac_cv_lib_soname_icns" >&6; }
11415 cat >>confdefs.h
<<_ACEOF
11416 #define SONAME_LIBICNS "$ac_cv_lib_soname_icns"
11424 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11425 case "x$with_icns" in
11426 x
) as_fn_append wine_notices
"|libicns ${notice_platform}development files not found, ICNS icons won't be supported." ;;
11428 *) as_fn_error $?
"libicns ${notice_platform}development files not found, ICNS icons won't be supported.
11429 This is an error since --with-icns was requested." "$LINENO" 5 ;;
11434 if test "$ac_cv_header_jpeglib_h" = "yes"
11436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11437 $as_echo_n "checking for -ljpeg... " >&6; }
11438 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11439 $as_echo_n "(cached) " >&6
11441 ac_check_soname_save_LIBS
=$LIBS
11442 LIBS
="-ljpeg $LIBS"
11443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11444 /* end confdefs.h. */
11446 /* Override any GCC internal prototype to avoid an error.
11447 Use char because int might match the return type of a GCC
11448 builtin and then its argument prototype would still apply. */
11452 char jpeg_start_decompress ();
11456 return jpeg_start_decompress ();
11461 if ac_fn_c_try_link
"$LINENO"; then :
11463 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11464 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'` ;;
11465 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11468 rm -f core conftest.err conftest.
$ac_objext \
11469 conftest
$ac_exeext conftest.
$ac_ext
11470 LIBS
=$ac_check_soname_save_LIBS
11472 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11474 $as_echo "not found" >&6; }
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11478 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11480 cat >>confdefs.h
<<_ACEOF
11481 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11487 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11488 case "x$with_jpeg" in
11489 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11491 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11492 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11496 if test "$ac_cv_header_png_h" = "yes"
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11499 $as_echo_n "checking for -lpng... " >&6; }
11500 if test "${ac_cv_lib_soname_png+set}" = set; then :
11501 $as_echo_n "(cached) " >&6
11503 ac_check_soname_save_LIBS
=$LIBS
11504 LIBS
="-lpng -lm -lz $LIBS"
11505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11506 /* end confdefs.h. */
11508 /* Override any GCC internal prototype to avoid an error.
11509 Use char because int might match the return type of a GCC
11510 builtin and then its argument prototype would still apply. */
11514 char png_create_read_struct ();
11518 return png_create_read_struct ();
11523 if ac_fn_c_try_link
"$LINENO"; then :
11525 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11526 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'` ;;
11527 *) 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'` ;;
11530 rm -f core conftest.err conftest.
$ac_objext \
11531 conftest
$ac_exeext conftest.
$ac_ext
11532 LIBS
=$ac_check_soname_save_LIBS
11534 if test "x$ac_cv_lib_soname_png" = "x"; then :
11535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11536 $as_echo "not found" >&6; }
11539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11540 $as_echo "$ac_cv_lib_soname_png" >&6; }
11542 cat >>confdefs.h
<<_ACEOF
11543 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11549 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11550 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11551 $as_echo_n "(cached) " >&6
11553 ac_check_lib_save_LIBS
=$LIBS
11554 LIBS
="-lpng -lm -lz $LIBS"
11555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11564 char png_set_expand_gray_1_2_4_to_8 ();
11568 return png_set_expand_gray_1_2_4_to_8 ();
11573 if ac_fn_c_try_link
"$LINENO"; then :
11574 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11576 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11578 rm -f core conftest.err conftest.
$ac_objext \
11579 conftest
$ac_exeext conftest.
$ac_ext
11580 LIBS
=$ac_check_lib_save_LIBS
11582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11583 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11584 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11586 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11591 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11593 ac_save_CPPFLAGS
="$CPPFLAGS"
11594 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11595 $as_unset ac_cv_header_png_h
11596 for ac_header
in png.h
11598 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11599 if test "x$ac_cv_header_png_h" = x
""yes; then :
11600 cat >>confdefs.h
<<_ACEOF
11601 #define HAVE_PNG_H 1
11608 CPPFLAGS
="$ac_save_CPPFLAGS"
11609 if test "$ac_cv_header_png_h" = "yes"
11611 PNGINCL
="$X_CFLAGS"
11613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11614 $as_echo_n "checking for -lpng... " >&6; }
11615 if test "${ac_cv_lib_soname_png+set}" = set; then :
11616 $as_echo_n "(cached) " >&6
11618 ac_check_soname_save_LIBS
=$LIBS
11619 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11621 /* end confdefs.h. */
11623 /* Override any GCC internal prototype to avoid an error.
11624 Use char because int might match the return type of a GCC
11625 builtin and then its argument prototype would still apply. */
11629 char png_create_read_struct ();
11633 return png_create_read_struct ();
11638 if ac_fn_c_try_link
"$LINENO"; then :
11640 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11641 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'` ;;
11642 *) 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'` ;;
11645 rm -f core conftest.err conftest.
$ac_objext \
11646 conftest
$ac_exeext conftest.
$ac_ext
11647 LIBS
=$ac_check_soname_save_LIBS
11649 if test "x$ac_cv_lib_soname_png" = "x"; then :
11650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11651 $as_echo "not found" >&6; }
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11655 $as_echo "$ac_cv_lib_soname_png" >&6; }
11657 cat >>confdefs.h
<<_ACEOF
11658 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11664 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11665 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11666 $as_echo_n "(cached) " >&6
11668 ac_check_lib_save_LIBS
=$LIBS
11669 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11671 /* end confdefs.h. */
11673 /* Override any GCC internal prototype to avoid an error.
11674 Use char because int might match the return type of a GCC
11675 builtin and then its argument prototype would still apply. */
11679 char png_set_expand_gray_1_2_4_to_8 ();
11683 return png_set_expand_gray_1_2_4_to_8 ();
11688 if ac_fn_c_try_link
"$LINENO"; then :
11689 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11691 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11693 rm -f core conftest.err conftest.
$ac_objext \
11694 conftest
$ac_exeext conftest.
$ac_ext
11695 LIBS
=$ac_check_lib_save_LIBS
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11698 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11699 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11700 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11706 if test "x$ac_cv_lib_soname_png" = "x"; then :
11707 case "x$with_png" in
11708 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11710 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11711 This is an error since --with-png was requested." "$LINENO" 5 ;;
11715 if test "$ac_cv_header_tiffio_h" = "yes"
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11718 $as_echo_n "checking for -ltiff... " >&6; }
11719 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11720 $as_echo_n "(cached) " >&6
11722 ac_check_soname_save_LIBS
=$LIBS
11723 LIBS
="-ltiff $LIBS"
11724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11733 char TIFFClientOpen ();
11737 return TIFFClientOpen ();
11742 if ac_fn_c_try_link
"$LINENO"; then :
11744 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11745 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'` ;;
11746 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11749 rm -f core conftest.err conftest.
$ac_objext \
11750 conftest
$ac_exeext conftest.
$ac_ext
11751 LIBS
=$ac_check_soname_save_LIBS
11753 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11755 $as_echo "not found" >&6; }
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11759 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11761 cat >>confdefs.h
<<_ACEOF
11762 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11768 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11769 case "x$with_tiff" in
11770 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11772 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11773 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11777 if test "$ac_cv_header_mpg123_h" = "yes"
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11780 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11781 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11782 $as_echo_n "(cached) " >&6
11784 ac_check_lib_save_LIBS
=$LIBS
11785 LIBS
="-lmpg123 $LIBS"
11786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11795 char mpg123_feed ();
11799 return mpg123_feed ();
11804 if ac_fn_c_try_link
"$LINENO"; then :
11805 ac_cv_lib_mpg123_mpg123_feed
=yes
11807 ac_cv_lib_mpg123_mpg123_feed
=no
11809 rm -f core conftest.err conftest.
$ac_objext \
11810 conftest
$ac_exeext conftest.
$ac_ext
11811 LIBS
=$ac_check_lib_save_LIBS
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11814 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11815 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11816 LIBMPG123
="-lmpg123"
11821 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11822 case "x$with_mpg123" in
11823 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11825 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11826 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11829 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}
11831 if test "$ac_cv_header_AL_al_h" = "yes"
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11834 $as_echo_n "checking for -lopenal... " >&6; }
11835 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11836 $as_echo_n "(cached) " >&6
11838 ac_check_soname_save_LIBS
=$LIBS
11839 LIBS
="-lopenal $LIBS"
11840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11843 /* Override any GCC internal prototype to avoid an error.
11844 Use char because int might match the return type of a GCC
11845 builtin and then its argument prototype would still apply. */
11849 char alGetSource3i ();
11853 return alGetSource3i ();
11858 if ac_fn_c_try_link
"$LINENO"; then :
11860 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11861 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'` ;;
11862 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11865 rm -f core conftest.err conftest.
$ac_objext \
11866 conftest
$ac_exeext conftest.
$ac_ext
11867 LIBS
=$ac_check_soname_save_LIBS
11869 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11871 $as_echo "not found" >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11875 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11877 cat >>confdefs.h
<<_ACEOF
11878 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11881 LIBOPENAL
="-lopenal"
11883 ac_cv_lib_openal
=yes
11885 cat >>confdefs.h
<<_ACEOF
11886 #define HAVE_OPENAL 1
11891 if test "x$ac_cv_lib_openal" != xyes
; then :
11892 case "x$with_openal" in
11893 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11895 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11896 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11899 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11901 if test "$ac_cv_header_kstat_h" = "yes"
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11904 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11905 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11906 $as_echo_n "(cached) " >&6
11908 ac_check_lib_save_LIBS
=$LIBS
11909 LIBS
="-lkstat $LIBS"
11910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11913 /* Override any GCC internal prototype to avoid an error.
11914 Use char because int might match the return type of a GCC
11915 builtin and then its argument prototype would still apply. */
11919 char kstat_open ();
11923 return kstat_open ();
11928 if ac_fn_c_try_link
"$LINENO"; then :
11929 ac_cv_lib_kstat_kstat_open
=yes
11931 ac_cv_lib_kstat_kstat_open
=no
11933 rm -f core conftest.err conftest.
$ac_objext \
11934 conftest
$ac_exeext conftest.
$ac_ext
11935 LIBS
=$ac_check_lib_save_LIBS
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11938 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11939 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11941 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11950 $as_echo_n "checking for -lodbc... " >&6; }
11951 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11952 $as_echo_n "(cached) " >&6
11954 ac_check_soname_save_LIBS
=$LIBS
11955 LIBS
="-lodbc $LIBS"
11956 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11959 /* Override any GCC internal prototype to avoid an error.
11960 Use char because int might match the return type of a GCC
11961 builtin and then its argument prototype would still apply. */
11965 char SQLConnect ();
11969 return SQLConnect ();
11974 if ac_fn_c_try_link
"$LINENO"; then :
11976 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11977 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'` ;;
11978 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11981 rm -f core conftest.err conftest.
$ac_objext \
11982 conftest
$ac_exeext conftest.
$ac_ext
11983 LIBS
=$ac_check_soname_save_LIBS
11985 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11987 $as_echo "not found" >&6; }
11988 cat >>confdefs.h
<<_ACEOF
11989 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11994 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11996 cat >>confdefs.h
<<_ACEOF
11997 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12003 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
12004 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
12005 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
12006 "$ac_cv_header_soundcard_h" != "yes" -a \
12007 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
12009 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12015 if test "x${GCC}" = "xyes"
12017 EXTRACFLAGS
="-Wall -pipe"
12019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12020 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12021 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
12022 $as_echo_n "(cached) " >&6
12024 if test "$cross_compiling" = yes; then :
12025 ac_cv_c_gcc_strength_bug
="yes"
12027 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12029 int L[4] = {0,1,2,3};
12033 static int Array[3];
12034 unsigned int B = 3;
12036 for(i=0; i<B; i++) Array[i] = i - 3;
12037 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12039 return (Array[1] != -2 || L[2] != 3)
12044 if ac_fn_c_try_run
"$LINENO"; then :
12045 ac_cv_c_gcc_strength_bug
="no"
12047 ac_cv_c_gcc_strength_bug
="yes"
12049 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12050 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12055 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12056 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12058 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12062 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12063 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
12064 $as_echo_n "(cached) " >&6
12066 ac_wine_try_cflags_saved
=$CFLAGS
12067 CFLAGS
="$CFLAGS -fno-builtin"
12068 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12069 /* end confdefs.h. */
12070 int main(int argc, char **argv) { return 0; }
12072 if ac_fn_c_try_link
"$LINENO"; then :
12073 ac_cv_cflags__fno_builtin
=yes
12075 ac_cv_cflags__fno_builtin
=no
12077 rm -f core conftest.err conftest.
$ac_objext \
12078 conftest
$ac_exeext conftest.
$ac_ext
12079 CFLAGS
=$ac_wine_try_cflags_saved
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12082 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12083 if test $ac_cv_cflags__fno_builtin = yes; then :
12084 BUILTINFLAG
="-fno-builtin"
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12088 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12089 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
12090 $as_echo_n "(cached) " >&6
12092 ac_wine_try_cflags_saved
=$CFLAGS
12093 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12094 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12095 /* end confdefs.h. */
12096 int main(int argc, char **argv) { return 0; }
12098 if ac_fn_c_try_link
"$LINENO"; then :
12099 ac_cv_cflags__fno_strict_aliasing
=yes
12101 ac_cv_cflags__fno_strict_aliasing
=no
12103 rm -f core conftest.err conftest.
$ac_objext \
12104 conftest
$ac_exeext conftest.
$ac_ext
12105 CFLAGS
=$ac_wine_try_cflags_saved
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12108 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12109 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12110 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12113 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12114 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_wine_try_cflags_saved
=$CFLAGS
12118 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12121 int main(int argc, char **argv) { return 0; }
12123 if ac_fn_c_try_link
"$LINENO"; then :
12124 ac_cv_cflags__Wdeclaration_after_statement
=yes
12126 ac_cv_cflags__Wdeclaration_after_statement
=no
12128 rm -f core conftest.err conftest.
$ac_objext \
12129 conftest
$ac_exeext conftest.
$ac_ext
12130 CFLAGS
=$ac_wine_try_cflags_saved
12132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12133 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12134 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12135 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12138 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12139 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
12140 $as_echo_n "(cached) " >&6
12142 ac_wine_try_cflags_saved
=$CFLAGS
12143 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12146 int main(int argc, char **argv) { return 0; }
12148 if ac_fn_c_try_link
"$LINENO"; then :
12149 ac_cv_cflags__Wstrict_prototypes
=yes
12151 ac_cv_cflags__Wstrict_prototypes
=no
12153 rm -f core conftest.err conftest.
$ac_objext \
12154 conftest
$ac_exeext conftest.
$ac_ext
12155 CFLAGS
=$ac_wine_try_cflags_saved
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12158 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12159 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12160 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12163 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12164 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12167 ac_wine_try_cflags_saved
=$CFLAGS
12168 CFLAGS
="$CFLAGS -Wtype-limits"
12169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12170 /* end confdefs.h. */
12171 int main(int argc, char **argv) { return 0; }
12173 if ac_fn_c_try_link
"$LINENO"; then :
12174 ac_cv_cflags__Wtype_limits
=yes
12176 ac_cv_cflags__Wtype_limits
=no
12178 rm -f core conftest.err conftest.
$ac_objext \
12179 conftest
$ac_exeext conftest.
$ac_ext
12180 CFLAGS
=$ac_wine_try_cflags_saved
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12183 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12184 if test $ac_cv_cflags__Wtype_limits = yes; then :
12185 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12188 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12189 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
12190 $as_echo_n "(cached) " >&6
12192 ac_wine_try_cflags_saved
=$CFLAGS
12193 CFLAGS
="$CFLAGS -Wwrite-strings"
12194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12195 /* end confdefs.h. */
12196 int main(int argc, char **argv) { return 0; }
12198 if ac_fn_c_try_link
"$LINENO"; then :
12199 ac_cv_cflags__Wwrite_strings
=yes
12201 ac_cv_cflags__Wwrite_strings
=no
12203 rm -f core conftest.err conftest.
$ac_objext \
12204 conftest
$ac_exeext conftest.
$ac_ext
12205 CFLAGS
=$ac_wine_try_cflags_saved
12207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12208 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12209 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12210 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12213 saved_CFLAGS
="$CFLAGS"
12214 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
12216 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
12217 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
12218 $as_echo_n "(cached) " >&6
12220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12221 /* end confdefs.h. */
12222 #include <string.h>
12231 if ac_fn_c_try_compile
"$LINENO"; then :
12232 ac_cv_c_string_h_warnings
=no
12234 ac_cv_c_string_h_warnings
=yes
12236 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12239 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12240 CFLAGS
="$saved_CFLAGS"
12241 if test "$ac_cv_c_string_h_warnings" = "no"
12243 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12246 if test "x$enable_maintainer_mode" = "xyes"
12248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12249 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12250 if test "${ac_cv_cflags__Werror+set}" = set; then :
12251 $as_echo_n "(cached) " >&6
12253 ac_wine_try_cflags_saved
=$CFLAGS
12254 CFLAGS
="$CFLAGS -Werror"
12255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12256 /* end confdefs.h. */
12257 int main(int argc, char **argv) { return 0; }
12259 if ac_fn_c_try_link
"$LINENO"; then :
12260 ac_cv_cflags__Werror
=yes
12262 ac_cv_cflags__Werror
=no
12264 rm -f core conftest.err conftest.
$ac_objext \
12265 conftest
$ac_exeext conftest.
$ac_ext
12266 CFLAGS
=$ac_wine_try_cflags_saved
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12269 $as_echo "$ac_cv_cflags__Werror" >&6; }
12270 if test $ac_cv_cflags__Werror = yes; then :
12271 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12275 saved_CFLAGS
="$CFLAGS"
12276 CFLAGS
="$CFLAGS -Werror"
12277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12278 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12279 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12280 $as_echo_n "(cached) " >&6
12282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12293 if ac_fn_c_try_compile
"$LINENO"; then :
12294 ac_cv_have_ms_hook_prologue
="yes"
12296 ac_cv_have_ms_hook_prologue
="no"
12298 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12301 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12302 CFLAGS
="$saved_CFLAGS"
12303 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12306 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12309 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12316 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12317 if test "${ac_cv_c_fortify_enabled+set}" = set; then :
12318 $as_echo_n "(cached) " >&6
12320 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12322 #include <string.h>
12326 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12327 #error Fortify enabled
12333 if ac_fn_c_try_compile
"$LINENO"; then :
12334 ac_cv_c_fortify_enabled
=no
12336 ac_cv_c_fortify_enabled
=yes
12338 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12341 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12342 if test "$ac_cv_c_fortify_enabled" = yes
12344 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12349 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12350 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12351 $as_echo_n "(cached) " >&6
12353 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12354 /* end confdefs.h. */
12355 extern int ac_test;
12359 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12364 if ac_fn_c_try_link
"$LINENO"; then :
12365 ac_cv_c_extern_prefix
="yes"
12367 ac_cv_c_extern_prefix
="no"
12369 rm -f core conftest.err conftest.
$ac_objext \
12370 conftest
$ac_exeext conftest.
$ac_ext
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12373 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12378 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12379 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12380 $as_echo_n "(cached) " >&6
12382 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12385 #define __stdcall __attribute__((__stdcall__))
12387 int __stdcall ac_test(int i) { return i; }
12391 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12396 if ac_fn_c_try_link
"$LINENO"; then :
12397 ac_cv_c_stdcall_suffix
="yes"
12399 ac_cv_c_stdcall_suffix
="no"
12401 rm -f core conftest.err conftest.
$ac_objext \
12402 conftest
$ac_exeext conftest.
$ac_ext
12404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12405 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12406 *) ac_cv_c_stdcall_suffix
="no" ;;
12410 if test "$ac_cv_c_extern_prefix" = "yes"
12412 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12414 asm_name_prefix
="_"
12416 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12422 if test "$ac_cv_c_stdcall_suffix" = "yes"
12424 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12427 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12433 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12434 if test "${ac_cv_asm_func_def+set}" = set; then :
12435 $as_echo_n "(cached) " >&6
12437 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12443 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12448 if ac_fn_c_try_link
"$LINENO"; then :
12449 ac_cv_asm_func_def
=".def"
12451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12452 /* end confdefs.h. */
12457 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12462 if ac_fn_c_try_link
"$LINENO"; then :
12463 ac_cv_asm_func_def
=".type @function"
12465 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12466 /* end confdefs.h. */
12471 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12476 if ac_fn_c_try_link
"$LINENO"; then :
12477 ac_cv_asm_func_def
=".type 2"
12479 ac_cv_asm_func_def
="unknown"
12481 rm -f core conftest.err conftest.
$ac_objext \
12482 conftest
$ac_exeext conftest.
$ac_ext
12484 rm -f core conftest.err conftest.
$ac_objext \
12485 conftest
$ac_exeext conftest.
$ac_ext
12487 rm -f core conftest.err conftest.
$ac_objext \
12488 conftest
$ac_exeext conftest.
$ac_ext
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12491 $as_echo "$ac_cv_asm_func_def" >&6; }
12494 case "$ac_cv_asm_func_def" in
12496 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12498 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12500 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12502 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12504 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12506 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12508 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12510 asm_func_header
="" ;;
12513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12514 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12515 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12516 $as_echo_n "(cached) " >&6
12518 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12519 /* end confdefs.h. */
12520 asm(".text\n\t.long 0");
12529 if ac_fn_c_try_compile
"$LINENO"; then :
12530 ac_cv_c_asm_outside_funcs
="yes"
12532 ac_cv_c_asm_outside_funcs
="no"
12534 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12537 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12540 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12541 if test "${ac_cv_c_dot_previous+set}" = set; then :
12542 $as_echo_n "(cached) " >&6
12544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12545 /* end confdefs.h. */
12550 asm(".text\nac_test:\t.long 0\n\t.previous");
12555 if ac_fn_c_try_link
"$LINENO"; then :
12556 ac_cv_c_dot_previous
="yes"
12558 ac_cv_c_dot_previous
="no"
12560 rm -f core conftest.err conftest.
$ac_objext \
12561 conftest
$ac_exeext conftest.
$ac_ext
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12564 $as_echo "$ac_cv_c_dot_previous" >&6; }
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12567 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12568 if test "${ac_cv_c_cfi_support+set}" = set; then :
12569 $as_echo_n "(cached) " >&6
12571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12573 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12582 if ac_fn_c_try_compile
"$LINENO"; then :
12583 ac_cv_c_cfi_support
="yes"
12585 ac_cv_c_cfi_support
="no"
12587 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12590 $as_echo "$ac_cv_c_cfi_support" >&6; }
12592 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12593 asm_func_trailer
=""
12594 if test "$ac_cv_c_dot_previous" = "yes"
12596 asm_func_trailer
="\\n\\t.previous"
12598 if test "$ac_cv_c_cfi_support" = "yes"
12600 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12601 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12603 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12605 UNWINDFLAGS
=-fasynchronous-unwind-tables
12608 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12612 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12615 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12617 cat >>confdefs.h
<<_ACEOF
12618 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12622 cat >>confdefs.h
<<_ACEOF
12623 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12628 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12631 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12641 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12646 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12654 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12661 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12667 EXTRA_BINARIES
="wine-preloader"
12674 ac_save_CFLAGS
="$CFLAGS"
12675 CFLAGS
="$CFLAGS $BUILTINFLAG"
12722 sched_setaffinity \
12751 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12752 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12753 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12754 cat >>confdefs.h
<<_ACEOF
12755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12761 CFLAGS
="$ac_save_CFLAGS"
12763 if test "$ac_cv_func_dlopen" = no
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12766 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12767 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12768 $as_echo_n "(cached) " >&6
12770 ac_check_lib_save_LIBS
=$LIBS
12772 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 /* Override any GCC internal prototype to avoid an error.
12776 Use char because int might match the return type of a GCC
12777 builtin and then its argument prototype would still apply. */
12790 if ac_fn_c_try_link
"$LINENO"; then :
12791 ac_cv_lib_dl_dlopen
=yes
12793 ac_cv_lib_dl_dlopen
=no
12795 rm -f core conftest.err conftest.
$ac_objext \
12796 conftest
$ac_exeext conftest.
$ac_ext
12797 LIBS
=$ac_check_lib_save_LIBS
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12800 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12801 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12802 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12808 ac_wine_check_funcs_save_LIBS
="$LIBS"
12809 LIBS
="$LIBS $LIBDL"
12810 for ac_func
in dladdr
12812 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12813 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12814 cat >>confdefs.h
<<_ACEOF
12815 #define HAVE_DLADDR 1
12821 LIBS
="$ac_wine_check_funcs_save_LIBS"
12823 if test "$ac_cv_func_poll" = no
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12826 $as_echo_n "checking for poll in -lpoll... " >&6; }
12827 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12828 $as_echo_n "(cached) " >&6
12830 ac_check_lib_save_LIBS
=$LIBS
12831 LIBS
="-lpoll $LIBS"
12832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12833 /* end confdefs.h. */
12835 /* Override any GCC internal prototype to avoid an error.
12836 Use char because int might match the return type of a GCC
12837 builtin and then its argument prototype would still apply. */
12850 if ac_fn_c_try_link
"$LINENO"; then :
12851 ac_cv_lib_poll_poll
=yes
12853 ac_cv_lib_poll_poll
=no
12855 rm -f core conftest.err conftest.
$ac_objext \
12856 conftest
$ac_exeext conftest.
$ac_ext
12857 LIBS
=$ac_check_lib_save_LIBS
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12860 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12861 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12862 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12870 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12871 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12872 $as_echo_n "(cached) " >&6
12874 ac_func_search_save_LIBS
=$LIBS
12875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12878 /* Override any GCC internal prototype to avoid an error.
12879 Use char because int might match the return type of a GCC
12880 builtin and then its argument prototype would still apply. */
12884 char gethostbyname ();
12888 return gethostbyname ();
12893 for ac_lib
in '' nsl
; do
12894 if test -z "$ac_lib"; then
12895 ac_res
="none required"
12898 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12900 if ac_fn_c_try_link
"$LINENO"; then :
12901 ac_cv_search_gethostbyname
=$ac_res
12903 rm -f core conftest.err conftest.
$ac_objext \
12905 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12909 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12912 ac_cv_search_gethostbyname
=no
12914 rm conftest.
$ac_ext
12915 LIBS
=$ac_func_search_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12918 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12919 ac_res
=$ac_cv_search_gethostbyname
12920 if test "$ac_res" != no
; then :
12921 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12927 $as_echo_n "checking for library containing connect... " >&6; }
12928 if test "${ac_cv_search_connect+set}" = set; then :
12929 $as_echo_n "(cached) " >&6
12931 ac_func_search_save_LIBS
=$LIBS
12932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12950 for ac_lib
in '' socket
; do
12951 if test -z "$ac_lib"; then
12952 ac_res
="none required"
12955 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12957 if ac_fn_c_try_link
"$LINENO"; then :
12958 ac_cv_search_connect
=$ac_res
12960 rm -f core conftest.err conftest.
$ac_objext \
12962 if test "${ac_cv_search_connect+set}" = set; then :
12966 if test "${ac_cv_search_connect+set}" = set; then :
12969 ac_cv_search_connect
=no
12971 rm conftest.
$ac_ext
12972 LIBS
=$ac_func_search_save_LIBS
12974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12975 $as_echo "$ac_cv_search_connect" >&6; }
12976 ac_res
=$ac_cv_search_connect
12977 if test "$ac_res" != no
; then :
12978 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12984 $as_echo_n "checking for library containing inet_aton... " >&6; }
12985 if test "${ac_cv_search_inet_aton+set}" = set; then :
12986 $as_echo_n "(cached) " >&6
12988 ac_func_search_save_LIBS
=$LIBS
12989 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
13002 return inet_aton ();
13007 for ac_lib
in '' resolv
; do
13008 if test -z "$ac_lib"; then
13009 ac_res
="none required"
13012 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13014 if ac_fn_c_try_link
"$LINENO"; then :
13015 ac_cv_search_inet_aton
=$ac_res
13017 rm -f core conftest.err conftest.
$ac_objext \
13019 if test "${ac_cv_search_inet_aton+set}" = set; then :
13023 if test "${ac_cv_search_inet_aton+set}" = set; then :
13026 ac_cv_search_inet_aton
=no
13028 rm conftest.
$ac_ext
13029 LIBS
=$ac_func_search_save_LIBS
13031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13032 $as_echo "$ac_cv_search_inet_aton" >&6; }
13033 ac_res
=$ac_cv_search_inet_aton
13034 if test "$ac_res" != no
; then :
13035 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13054 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13055 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13056 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13057 cat >>confdefs.h
<<_ACEOF
13058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13067 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13069 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13071 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13073 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13074 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
13075 $as_echo_n "(cached) " >&6
13077 ac_check_lib_save_LIBS
=$LIBS
13078 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13080 /* end confdefs.h. */
13082 /* Override any GCC internal prototype to avoid an error.
13083 Use char because int might match the return type of a GCC
13084 builtin and then its argument prototype would still apply. */
13088 char ldap_initialize ();
13092 return ldap_initialize ();
13097 if ac_fn_c_try_link
"$LINENO"; then :
13098 ac_cv_lib_ldap_r_ldap_initialize
=yes
13100 ac_cv_lib_ldap_r_ldap_initialize
=no
13102 rm -f core conftest.err conftest.
$ac_objext \
13103 conftest
$ac_exeext conftest.
$ac_ext
13104 LIBS
=$ac_check_lib_save_LIBS
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13107 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13108 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13110 $as_echo_n "checking for ber_init in -llber... " >&6; }
13111 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
13112 $as_echo_n "(cached) " >&6
13114 ac_check_lib_save_LIBS
=$LIBS
13115 LIBS
="-llber $LIBPTHREAD $LIBS"
13116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13117 /* end confdefs.h. */
13119 /* Override any GCC internal prototype to avoid an error.
13120 Use char because int might match the return type of a GCC
13121 builtin and then its argument prototype would still apply. */
13129 return ber_init ();
13134 if ac_fn_c_try_link
"$LINENO"; then :
13135 ac_cv_lib_lber_ber_init
=yes
13137 ac_cv_lib_lber_ber_init
=no
13139 rm -f core conftest.err conftest.
$ac_objext \
13140 conftest
$ac_exeext conftest.
$ac_ext
13141 LIBS
=$ac_check_lib_save_LIBS
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13144 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13145 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
13147 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13149 LDAPLIBS
="-lldap_r -llber"
13156 ac_wine_check_funcs_save_LIBS
="$LIBS"
13157 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13159 ldap_count_references \
13160 ldap_first_reference \
13161 ldap_next_reference \
13162 ldap_parse_reference \
13163 ldap_parse_sort_control \
13164 ldap_parse_sortresponse_control \
13165 ldap_parse_vlv_control \
13166 ldap_parse_vlvresponse_control
13168 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13169 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13170 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13171 cat >>confdefs.h
<<_ACEOF
13172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13178 LIBS
="$ac_wine_check_funcs_save_LIBS"
13180 if test "x$LDAPLIBS" = "x"; then :
13181 case "x$with_ldap" in
13182 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13184 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13185 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13190 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13191 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
13192 $as_echo_n "(cached) " >&6
13194 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13195 /* end confdefs.h. */
13196 #include <sys/stat.h>
13205 if ac_fn_c_try_compile
"$LINENO"; then :
13206 wine_cv_one_arg_mkdir
=yes
13208 wine_cv_one_arg_mkdir
=no
13210 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13213 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13214 if test "$wine_cv_one_arg_mkdir" = "yes"
13217 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13223 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13224 if test "${ac_cv_c_const+set}" = set; then :
13225 $as_echo_n "(cached) " >&6
13227 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13228 /* end confdefs.h. */
13233 /* FIXME: Include the comments suggested by Paul. */
13234 #ifndef __cplusplus
13235 /* Ultrix mips cc rejects this. */
13236 typedef int charset[2];
13238 /* SunOS 4.1.1 cc rejects this. */
13239 char const *const *pcpcc;
13241 /* NEC SVR4.0.2 mips cc rejects this. */
13242 struct point {int x, y;};
13243 static struct point const zero = {0,0};
13244 /* AIX XL C 1.02.0.0 rejects this.
13245 It does not let you subtract one const X* pointer from another in
13246 an arm of an if-expression whose if-part is not a constant
13248 const char *g = "string";
13249 pcpcc = &g + (g ? g-g : 0);
13250 /* HPUX 7.0 cc rejects these. */
13252 ppc = (char**) pcpcc;
13253 pcpcc = (char const *const *) ppc;
13254 { /* SCO 3.2v4 cc rejects this. */
13256 char const *s = 0 ? (char *) 0 : (char const *) 0;
13261 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13262 int x[] = {25, 17};
13263 const int *foo = &x[0];
13266 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13267 typedef const int *iptr;
13271 { /* AIX XL C 1.02.0.0 rejects this saying
13272 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13273 struct s { int j; const int *ap[3]; };
13274 struct s *b; b->j = 5;
13276 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13277 const int foo = 10;
13278 if (!foo) return 0;
13280 return !cs[0] && !zero.x;
13287 if ac_fn_c_try_compile
"$LINENO"; then :
13292 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13295 $as_echo "$ac_cv_c_const" >&6; }
13296 if test $ac_cv_c_const = no
; then
13298 $as_echo "#define const /**/" >>confdefs.h
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13303 $as_echo_n "checking for inline... " >&6; }
13304 if test "${ac_cv_c_inline+set}" = set; then :
13305 $as_echo_n "(cached) " >&6
13308 for ac_kw
in inline __inline__ __inline
; do
13309 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13310 /* end confdefs.h. */
13311 #ifndef __cplusplus
13313 static $ac_kw foo_t static_foo () {return 0; }
13314 $ac_kw foo_t foo () {return 0; }
13318 if ac_fn_c_try_compile
"$LINENO"; then :
13319 ac_cv_c_inline
=$ac_kw
13321 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13322 test "$ac_cv_c_inline" != no
&& break
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13327 $as_echo "$ac_cv_c_inline" >&6; }
13329 case $ac_cv_c_inline in
13332 case $ac_cv_c_inline in
13334 *) ac_val
=$ac_cv_c_inline;;
13336 cat >>confdefs.h
<<_ACEOF
13337 #ifndef __cplusplus
13338 #define inline $ac_val
13344 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13345 if test "x$ac_cv_type_mode_t" = x
""yes; then :
13347 cat >>confdefs.h
<<_ACEOF
13348 #define HAVE_MODE_T 1
13353 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13354 if test "x$ac_cv_type_off_t" = x
""yes; then :
13356 cat >>confdefs.h
<<_ACEOF
13357 #define HAVE_OFF_T 1
13362 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13363 if test "x$ac_cv_type_pid_t" = x
""yes; then :
13365 cat >>confdefs.h
<<_ACEOF
13366 #define HAVE_PID_T 1
13371 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13372 if test "x$ac_cv_type_size_t" = x
""yes; then :
13374 cat >>confdefs.h
<<_ACEOF
13375 #define HAVE_SIZE_T 1
13380 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13381 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
13383 cat >>confdefs.h
<<_ACEOF
13384 #define HAVE_SSIZE_T 1
13389 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13390 if test "x$ac_cv_type_long_long" = x
""yes; then :
13392 cat >>confdefs.h
<<_ACEOF
13393 #define HAVE_LONG_LONG 1
13398 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13399 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
13401 cat >>confdefs.h
<<_ACEOF
13402 #define HAVE_FSBLKCNT_T 1
13407 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13408 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
13410 cat >>confdefs.h
<<_ACEOF
13411 #define HAVE_FSFILCNT_T 1
13417 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13418 #include <signal.h>
13420 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
13422 cat >>confdefs.h
<<_ACEOF
13423 #define HAVE_SIGSET_T 1
13429 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13431 if test "x$ac_cv_type_request_sense" = x
""yes; then :
13433 cat >>confdefs.h
<<_ACEOF
13434 #define HAVE_REQUEST_SENSE 1
13441 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13442 #ifdef HAVE_SYS_SOCKET_H
13443 #include <sys/socket.h>
13445 #ifdef HAVE_SYS_SOCKETVAR_H
13446 #include <sys/socketvar.h>
13448 #ifdef HAVE_NET_ROUTE_H
13449 #include <net/route.h>
13451 #ifdef HAVE_NETINET_IN_H
13452 #include <netinet/in.h>
13454 #ifdef HAVE_NETINET_IN_SYSTM_H
13455 #include <netinet/in_systm.h>
13457 #ifdef HAVE_NETINET_IP_H
13458 #include <netinet/ip.h>
13460 #ifdef HAVE_NETINET_IN_PCB_H
13461 #include <netinet/in_pcb.h>
13464 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
13466 cat >>confdefs.h
<<_ACEOF
13467 #define HAVE_STRUCT_XINPGEN 1
13474 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13475 #include <linux/input.h>
13478 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
13480 cat >>confdefs.h
<<_ACEOF
13481 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13489 $as_echo_n "checking for sigaddset... " >&6; }
13490 if test "${wine_cv_have_sigaddset+set}" = set; then :
13491 $as_echo_n "(cached) " >&6
13493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13494 /* end confdefs.h. */
13495 #include <signal.h>
13499 sigset_t set; sigaddset(&set,SIGTERM);
13504 if ac_fn_c_try_link
"$LINENO"; then :
13505 wine_cv_have_sigaddset
=yes
13507 wine_cv_have_sigaddset
=no
13509 rm -f core conftest.err conftest.
$ac_objext \
13510 conftest
$ac_exeext conftest.
$ac_ext
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13513 $as_echo "$wine_cv_have_sigaddset" >&6; }
13514 if test "$wine_cv_have_sigaddset" = "yes"
13517 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13523 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13524 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13525 $as_echo_n "(cached) " >&6
13527 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13528 /* end confdefs.h. */
13536 struct hostent *result;
13543 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13544 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13550 if ac_fn_c_try_link
"$LINENO"; then :
13551 wine_cv_linux_gethostbyname_r_6
=yes
13553 wine_cv_linux_gethostbyname_r_6
=no
13556 rm -f core conftest.err conftest.
$ac_objext \
13557 conftest
$ac_exeext conftest.
$ac_ext
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13561 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13562 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13565 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13569 if test "$ac_cv_header_linux_joystick_h" = "yes"
13571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13572 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13573 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13574 $as_echo_n "(cached) " >&6
13576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13577 /* end confdefs.h. */
13579 #include <sys/ioctl.h>
13580 #include <sys/types.h>
13581 #include <linux/joystick.h>
13583 struct js_event blub;
13584 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13585 #error "no 2.2 header"
13596 if ac_fn_c_try_compile
"$LINENO"; then :
13597 wine_cv_linux_joystick_22_api
=yes
13599 wine_cv_linux_joystick_22_api
=no
13601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13605 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13606 if test "$wine_cv_linux_joystick_22_api" = "yes"
13609 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13615 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13616 #ifdef HAVE_SYS_PARAM_H
13617 # include <sys/param.h>
13619 #ifdef HAVE_SYS_MOUNT_H
13620 # include <sys/mount.h>
13622 #ifdef HAVE_SYS_VFS_H
13623 # include <sys/vfs.h>
13625 #ifdef HAVE_SYS_STATFS_H
13626 # include <sys/statfs.h>
13629 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13631 cat >>confdefs.h
<<_ACEOF
13632 #define HAVE_STRUCT_STATFS_F_BFREE 1
13637 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13638 #ifdef HAVE_SYS_PARAM_H
13639 # include <sys/param.h>
13641 #ifdef HAVE_SYS_MOUNT_H
13642 # include <sys/mount.h>
13644 #ifdef HAVE_SYS_VFS_H
13645 # include <sys/vfs.h>
13647 #ifdef HAVE_SYS_STATFS_H
13648 # include <sys/statfs.h>
13651 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13653 cat >>confdefs.h
<<_ACEOF
13654 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13659 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13660 #ifdef HAVE_SYS_PARAM_H
13661 # include <sys/param.h>
13663 #ifdef HAVE_SYS_MOUNT_H
13664 # include <sys/mount.h>
13666 #ifdef HAVE_SYS_VFS_H
13667 # include <sys/vfs.h>
13669 #ifdef HAVE_SYS_STATFS_H
13670 # include <sys/statfs.h>
13673 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13675 cat >>confdefs.h
<<_ACEOF
13676 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13681 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13682 #ifdef HAVE_SYS_PARAM_H
13683 # include <sys/param.h>
13685 #ifdef HAVE_SYS_MOUNT_H
13686 # include <sys/mount.h>
13688 #ifdef HAVE_SYS_VFS_H
13689 # include <sys/vfs.h>
13691 #ifdef HAVE_SYS_STATFS_H
13692 # include <sys/statfs.h>
13695 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13697 cat >>confdefs.h
<<_ACEOF
13698 #define HAVE_STRUCT_STATFS_F_FFREE 1
13703 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13704 #ifdef HAVE_SYS_PARAM_H
13705 # include <sys/param.h>
13707 #ifdef HAVE_SYS_MOUNT_H
13708 # include <sys/mount.h>
13710 #ifdef HAVE_SYS_VFS_H
13711 # include <sys/vfs.h>
13713 #ifdef HAVE_SYS_STATFS_H
13714 # include <sys/statfs.h>
13717 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13719 cat >>confdefs.h
<<_ACEOF
13720 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13725 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13726 #ifdef HAVE_SYS_PARAM_H
13727 # include <sys/param.h>
13729 #ifdef HAVE_SYS_MOUNT_H
13730 # include <sys/mount.h>
13732 #ifdef HAVE_SYS_VFS_H
13733 # include <sys/vfs.h>
13735 #ifdef HAVE_SYS_STATFS_H
13736 # include <sys/statfs.h>
13739 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13741 cat >>confdefs.h
<<_ACEOF
13742 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13749 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13750 #include <sys/statvfs.h>
13753 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13755 cat >>confdefs.h
<<_ACEOF
13756 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13763 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13764 #ifdef HAVE_SYS_SOCKET_H
13765 # include <sys/socket.h>
13767 #ifdef HAVE_SYS_UN_H
13768 # include <sys/un.h>
13771 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13773 cat >>confdefs.h
<<_ACEOF
13774 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13779 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13780 #ifdef HAVE_SYS_SOCKET_H
13781 # include <sys/socket.h>
13783 #ifdef HAVE_SYS_UN_H
13784 # include <sys/un.h>
13787 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13789 cat >>confdefs.h
<<_ACEOF
13790 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13795 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13796 #ifdef HAVE_SYS_SOCKET_H
13797 # include <sys/socket.h>
13799 #ifdef HAVE_SYS_UN_H
13800 # include <sys/un.h>
13803 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13805 cat >>confdefs.h
<<_ACEOF
13806 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13813 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13814 #ifdef HAVE_SCSI_SG_H
13815 #include <scsi/sg.h>
13818 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13820 cat >>confdefs.h
<<_ACEOF
13821 #define HAVE_SCSIREQ_T_CMD 1
13826 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>
13827 #ifdef HAVE_SCSI_SG_H
13828 #include <scsi/sg.h>
13831 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13833 cat >>confdefs.h
<<_ACEOF
13834 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13841 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13843 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13845 cat >>confdefs.h
<<_ACEOF
13846 #define HAVE_SIGINFO_T_SI_FD 1
13853 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13854 #ifdef HAVE_SYS_MTIO_H
13855 #include <sys/mtio.h>
13858 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13860 cat >>confdefs.h
<<_ACEOF
13861 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13866 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13867 #ifdef HAVE_SYS_MTIO_H
13868 #include <sys/mtio.h>
13871 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13873 cat >>confdefs.h
<<_ACEOF
13874 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13879 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13880 #ifdef HAVE_SYS_MTIO_H
13881 #include <sys/mtio.h>
13884 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13886 cat >>confdefs.h
<<_ACEOF
13887 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13894 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13895 #include <getopt.h>
13898 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13900 cat >>confdefs.h
<<_ACEOF
13901 #define HAVE_STRUCT_OPTION_NAME 1
13908 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13909 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13911 cat >>confdefs.h
<<_ACEOF
13912 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13917 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13918 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13920 cat >>confdefs.h
<<_ACEOF
13921 #define HAVE_STRUCT_STAT_ST_MTIM 1
13926 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13927 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13929 cat >>confdefs.h
<<_ACEOF
13930 #define HAVE_STRUCT_STAT_ST_CTIM 1
13935 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13936 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13938 cat >>confdefs.h
<<_ACEOF
13939 #define HAVE_STRUCT_STAT_ST_ATIM 1
13946 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
13947 #include <sys/types.h>
13949 #ifdef HAVE_NETINET_IN_H
13950 #include <netinet/in.h>
13953 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
13955 cat >>confdefs.h
<<_ACEOF
13956 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13963 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13964 #include <sys/types.h>
13966 #ifdef HAVE_NETINET_IN_H
13967 # include <netinet/in.h>
13969 #ifdef HAVE_ARPA_NAMESER_H
13970 # include <arpa/nameser.h>
13973 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
13975 cat >>confdefs.h
<<_ACEOF
13976 #define HAVE_NS_MSG__MSG_PTR 1
13983 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13984 #include <sys/types.h>
13986 #ifdef HAVE_ALIAS_H
13989 #ifdef HAVE_SYS_SOCKET_H
13990 #include <sys/socket.h>
13992 #ifdef HAVE_SYS_SOCKETVAR_H
13993 #include <sys/socketvar.h>
13995 #ifdef HAVE_SYS_TIMEOUT_H
13996 #include <sys/timeout.h>
13998 #ifdef HAVE_NETINET_IN_H
13999 #include <netinet/in.h>
14001 #ifdef HAVE_NETINET_IN_SYSTM_H
14002 #include <netinet/in_systm.h>
14004 #ifdef HAVE_NETINET_IP_H
14005 #include <netinet/ip.h>
14007 #ifdef HAVE_NETINET_IP_VAR_H
14008 #include <netinet/ip_var.h>
14010 #ifdef HAVE_NETINET_IP_ICMP_H
14011 #include <netinet/ip_icmp.h>
14013 #ifdef HAVE_NETINET_ICMP_VAR
14014 #include <netinet/icmp_var.h>
14017 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
14019 cat >>confdefs.h
<<_ACEOF
14020 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14027 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14028 #include <sys/types.h>
14030 #ifdef HAVE_NET_IF_H
14031 # include <net/if.h>
14034 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
14036 cat >>confdefs.h
<<_ACEOF
14037 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14045 $as_echo_n "checking for timezone variable... " >&6; }
14046 if test "${ac_cv_have_timezone+set}" = set; then :
14047 $as_echo_n "(cached) " >&6
14049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14050 /* end confdefs.h. */
14060 if ac_fn_c_try_link
"$LINENO"; then :
14061 ac_cv_have_timezone
="yes"
14063 ac_cv_have_timezone
="no"
14065 rm -f core conftest.err conftest.
$ac_objext \
14066 conftest
$ac_exeext conftest.
$ac_ext
14068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14069 $as_echo "$ac_cv_have_timezone" >&6; }
14070 if test "$ac_cv_have_timezone" = "yes"
14073 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14077 $as_echo_n "checking for daylight variable... " >&6; }
14078 if test "${ac_cv_have_daylight+set}" = set; then :
14079 $as_echo_n "(cached) " >&6
14081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14082 /* end confdefs.h. */
14092 if ac_fn_c_try_link
"$LINENO"; then :
14093 ac_cv_have_daylight
="yes"
14095 ac_cv_have_daylight
="no"
14097 rm -f core conftest.err conftest.
$ac_objext \
14098 conftest
$ac_exeext conftest.
$ac_ext
14100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14101 $as_echo "$ac_cv_have_daylight" >&6; }
14102 if test "$ac_cv_have_daylight" = "yes"
14105 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14110 $as_echo_n "checking for isinf... " >&6; }
14111 if test "${ac_cv_have_isinf+set}" = set; then :
14112 $as_echo_n "(cached) " >&6
14114 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14115 /* end confdefs.h. */
14120 float f = 0.0; int i=isinf(f)
14125 if ac_fn_c_try_link
"$LINENO"; then :
14126 ac_cv_have_isinf
="yes"
14128 ac_cv_have_isinf
="no"
14130 rm -f core conftest.err conftest.
$ac_objext \
14131 conftest
$ac_exeext conftest.
$ac_ext
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14134 $as_echo "$ac_cv_have_isinf" >&6; }
14135 if test "$ac_cv_have_isinf" = "yes"
14138 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14143 $as_echo_n "checking for isnan... " >&6; }
14144 if test "${ac_cv_have_isnan+set}" = set; then :
14145 $as_echo_n "(cached) " >&6
14147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14153 float f = 0.0; int i=isnan(f)
14158 if ac_fn_c_try_link
"$LINENO"; then :
14159 ac_cv_have_isnan
="yes"
14161 ac_cv_have_isnan
="no"
14163 rm -f core conftest.err conftest.
$ac_objext \
14164 conftest
$ac_exeext conftest.
$ac_ext
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14167 $as_echo "$ac_cv_have_isnan" >&6; }
14168 if test "$ac_cv_have_isnan" = "yes"
14171 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14177 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14178 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14179 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
14180 $as_echo_n "(cached) " >&6
14182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14183 /* end confdefs.h. */
14188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14189 $EGREP "yes" >/dev
/null
2>&1; then :
14190 ac_cv_cpp_def___i386__
=yes
14192 ac_cv_cpp_def___i386__
=no
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14198 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14199 if test $ac_cv_cpp_def___i386__ = yes; then :
14200 CFLAGS
="$CFLAGS -D__i386__"
14201 LINTFLAGS
="$LINTFLAGS -D__i386__"
14203 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14204 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14205 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
14206 $as_echo_n "(cached) " >&6
14208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14215 $EGREP "yes" >/dev
/null
2>&1; then :
14216 ac_cv_cpp_def___x86_64__
=yes
14218 ac_cv_cpp_def___x86_64__
=no
14223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14224 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14225 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14226 CFLAGS
="$CFLAGS -D__x86_64__"
14227 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14229 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
14230 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
14231 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
14232 $as_echo_n "(cached) " >&6
14234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14235 /* end confdefs.h. */
14240 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14241 $EGREP "yes" >/dev
/null
2>&1; then :
14242 ac_cv_cpp_def___ALPHA__
=yes
14244 ac_cv_cpp_def___ALPHA__
=no
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
14250 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
14251 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
14252 CFLAGS
="$CFLAGS -D__ALPHA__"
14253 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
14255 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14256 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14257 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
14258 $as_echo_n "(cached) " >&6
14260 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14266 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14267 $EGREP "yes" >/dev
/null
2>&1; then :
14268 ac_cv_cpp_def___sparc__
=yes
14270 ac_cv_cpp_def___sparc__
=no
14275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14276 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14277 if test $ac_cv_cpp_def___sparc__ = yes; then :
14278 CFLAGS
="$CFLAGS -D__sparc__"
14279 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14281 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14282 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14283 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
14284 $as_echo_n "(cached) " >&6
14286 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14287 /* end confdefs.h. */
14288 #ifndef __powerpc__
14292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14293 $EGREP "yes" >/dev
/null
2>&1; then :
14294 ac_cv_cpp_def___powerpc__
=yes
14296 ac_cv_cpp_def___powerpc__
=no
14301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14302 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14303 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14304 CFLAGS
="$CFLAGS -D__powerpc__"
14305 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14309 case $host_vendor in
14310 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14311 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14312 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14313 $as_echo_n "(cached) " >&6
14315 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14316 /* end confdefs.h. */
14321 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14322 $EGREP "yes" >/dev
/null
2>&1; then :
14323 ac_cv_cpp_def___sun__
=yes
14325 ac_cv_cpp_def___sun__
=no
14330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14331 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14332 if test $ac_cv_cpp_def___sun__ = yes; then :
14333 CFLAGS
="$CFLAGS -D__sun__"
14334 LINTFLAGS
="$LINTFLAGS -D__sun__"
14342 ac_config_commands
="$ac_config_commands include/stamp-h"
14345 ALL_MAKEFILE_DEPENDS
="
14346 # Rules automatically generated by configure
14351 Makefile: Makefile.in Make.vars.in Make.rules config.status
14352 @./config.status Make.tmp Makefile"
14354 ALL_WINETEST_DEPENDS
="# Test binaries"
14356 ALL_TEST_BINARIES
=""
14359 wine_fn_append_file
()
14361 as_fn_append
$1 " \\$as_nl $2"
14364 wine_fn_append_rule
()
14366 as_fn_append
$1 "$as_nl$2"
14369 wine_fn_all_dir_rules
()
14373 ac_makedep
="\$(MAKEDEP)"
14374 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14375 if test $ac_dir != tools
14377 ac_alldeps
="$2 $ac_makedep"
14380 *.
in) ac_input
=$ac_input:$2 ;;
14381 *) ac_makedep
="$2 $ac_makedep" ;;
14384 wine_fn_append_file ALL_DIRS
$ac_dir
14385 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14386 "__clean__: $ac_dir/__clean__
14387 .PHONY: $ac_dir/__clean__
14388 $ac_dir/__clean__: $ac_dir/Makefile
14389 @cd $ac_dir && \$(MAKE) clean
14390 \$(RM) $ac_dir/Makefile
14391 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14392 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14393 depend: $ac_dir/__depend__
14394 .PHONY: $ac_dir/__depend__
14395 $ac_dir/__depend__: $ac_makedep dummy
14396 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14399 wine_fn_config_makefile
()
14403 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14407 wine_fn_all_dir_rules
$ac_dir Make.rules
14408 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14411 $ac_dir: $ac_dir/Makefile dummy
14412 @cd $ac_dir && \$(MAKE)
14414 @cd $ac_dir && \$(MAKE) install
14415 install-lib:: $ac_dir
14416 @cd $ac_dir && \$(MAKE) install-lib
14417 install-dev:: $ac_dir
14418 @cd $ac_dir && \$(MAKE) install-dev
14419 uninstall:: $ac_dir/Makefile
14420 @cd $ac_dir && \$(MAKE) uninstall"
14423 wine_fn_config_lib
()
14426 ac_dir
=dlls
/$ac_name
14427 wine_fn_all_dir_rules
$ac_dir dlls
/Makeimplib.rules
14428 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14429 "all __builddeps__: $ac_dir
14430 $ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
14431 @cd $ac_dir && \$(MAKE)
14432 install install-dev:: $ac_dir
14433 @cd $ac_dir && \$(MAKE) install
14434 uninstall:: $ac_dir/Makefile
14435 @cd $ac_dir && \$(MAKE) uninstall"
14438 wine_fn_config_dll
()
14441 ac_dir
=dlls
/$ac_name
14445 ac_file
=$ac_dir/lib
$ac_implib
14446 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14450 *16) ac_implibflags
=" -m16" ;;
14453 wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14455 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14456 test "$ac_enable" != enable_win16 ||
return 0
14458 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14461 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14462 @cd $ac_dir && \$(MAKE)
14463 install:: $ac_dir/Makefile __builddeps__
14464 @cd $ac_dir && \$(MAKE) install
14465 install-lib:: $ac_dir/Makefile __builddeps__
14466 @cd $ac_dir && \$(MAKE) install-lib
14467 uninstall manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14468 @cd $ac_dir && \$(MAKE) \$@"
14471 if test -n "$ac_implibsrc"
14473 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14474 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14475 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14476 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14477 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14478 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14479 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14480 install-dev:: $ac_dir/Makefile __builddeps__
14481 @cd $ac_dir && \$(MAKE) install-dev"
14482 if test "x$CROSSTEST_DISABLE" = x
14484 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14485 "__builddeps__: $ac_file.cross.a
14486 $ac_file.cross.a: $ac_dir/Makefile dummy
14487 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14490 elif test -n "$ac_implib"
14492 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14493 "__builddeps__: $ac_file.$IMPLIBEXT
14494 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14495 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14496 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14497 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14498 install-dev:: $ac_dir/Makefile __builddeps__
14499 @cd $ac_dir && \$(MAKE) install-dev"
14500 if test "x$CROSSTEST_DISABLE" = x
14502 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14503 "__builddeps__: $ac_file.cross.a
14504 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14505 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14508 if test "$ac_name" != "$ac_implib"
14510 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14511 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14512 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14513 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14515 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14516 if test "x$CROSSTEST_DISABLE" = x
14518 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14519 "__builddeps__: dlls/lib$ac_implib.cross.a
14520 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14521 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14527 wine_fn_config_program
()
14530 ac_dir
=programs
/$ac_name
14533 wine_fn_all_dir_rules
$ac_dir programs
/Makeprog.rules
14535 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14538 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14541 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14542 @cd $ac_dir && \$(MAKE)"
14544 test -n "$ac_install" ||
return
14545 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14546 "install install-lib:: $ac_dir/Makefile __builddeps__
14547 @cd $ac_dir && \$(MAKE) install
14548 uninstall:: $ac_dir/Makefile
14549 @cd $ac_dir && \$(MAKE) uninstall"
14550 if test "$ac_install" = installbin
-a -n "$DLLEXT" -a "x$enable_tools" != xno
14552 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14553 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14554 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14556 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14561 wine_fn_config_test
()
14565 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14566 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14567 "$ac_name.exe: \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT
14568 cp \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14570 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14571 $ac_name.res: $ac_name.rc $ac_name.exe"
14572 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14574 if test "x$enable_tests" = x
""no
; then :
14577 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14578 "all programs/winetest: $ac_dir
14580 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14581 @cd $ac_dir && \$(MAKE)
14582 test: $ac_dir/__test__
14583 .PHONY: $ac_dir/__test__
14584 $ac_dir/__test__: dummy
14585 @cd $ac_dir && \$(MAKE) test
14587 \$(RM) $ac_dir/*.ok"
14589 if test "x$CROSSTEST_DISABLE" = x
14591 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14592 "crosstest: $ac_dir/__crosstest__
14593 .PHONY: $ac_dir/__crosstest__
14594 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14595 @cd $ac_dir && \$(MAKE) crosstest"
14600 wine_fn_config_tool
()
14603 wine_fn_all_dir_rules
$ac_dir Make.rules
14605 if test "x$enable_tools" = x
""no
; then :
14609 tools
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14611 @cd $ac_dir && \$(MAKE) install
14612 install-lib:: $ac_dir
14613 @cd $ac_dir && \$(MAKE) install-lib
14614 install-dev:: $ac_dir
14615 @cd $ac_dir && \$(MAKE) install-dev" ;;
14616 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14617 "install install-dev:: $ac_dir
14618 @cd $ac_dir && \$(MAKE) install" ;;
14620 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14621 "uninstall:: $ac_dir/Makefile
14622 @cd $ac_dir && \$(MAKE) uninstall
14623 all __tooldeps__: $ac_dir
14625 $ac_dir: $ac_dir/Makefile libs/port dummy
14626 @cd $ac_dir && \$(MAKE)"
14628 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14633 wine_fn_config_makerules
()
14637 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14638 "$ac_rules: $ac_rules.in $ac_deps config.status
14639 @./config.status $ac_rules
14644 wine_fn_config_symlink
()
14647 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14649 @./config.status $ac_link
14654 if test "x$CROSSTEST_DISABLE" != x
14656 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14658 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14660 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14661 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14662 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14663 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14664 if test "x$enable_fonts" != xno
; then
14665 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14666 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14668 if test "x$enable_fonts" != xno
; then
14669 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14670 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14672 if test "x$enable_fonts" != xno
; then
14673 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14674 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14676 if test "x$enable_fonts" != xno
; then
14677 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14678 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14680 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14681 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14682 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14683 wine_fn_config_symlink wine
14685 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14687 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14689 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14691 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14693 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14695 ac_config_commands
="$ac_config_commands include/wine"
14698 wine_fn_config_makerules Make.rules
14699 MAKE_RULES
=Make.rules
14700 ac_config_files
="$ac_config_files Make.rules"
14702 wine_fn_config_makerules Maketest.rules Make.rules
14703 MAKE_TEST_RULES
=Maketest.rules
14704 ac_config_files
="$ac_config_files Maketest.rules"
14706 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14707 MAKE_DLL_RULES
=dlls
/Makedll.rules
14708 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14710 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14711 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14712 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14714 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14715 MAKE_PROG_RULES
=programs
/Makeprog.rules
14716 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14719 wine_fn_config_dll acledit enable_acledit
14720 wine_fn_config_dll aclui enable_aclui aclui
14721 wine_fn_config_dll activeds enable_activeds activeds
14722 wine_fn_config_dll actxprxy enable_actxprxy
14723 wine_fn_config_lib adsiid
14724 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14725 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14726 wine_fn_config_dll advpack enable_advpack advpack
14727 wine_fn_config_test dlls
/advpack
/tests advpack_test
14728 wine_fn_config_dll amstream enable_amstream
14729 wine_fn_config_test dlls
/amstream
/tests amstream_test
14730 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14731 wine_fn_config_dll atl enable_atl atl
14732 wine_fn_config_test dlls
/atl
/tests atl_test
14733 wine_fn_config_dll authz enable_authz
14734 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14735 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14736 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14737 wine_fn_config_dll avifile.dll16 enable_win16
14738 wine_fn_config_dll avrt enable_avrt avrt
14739 wine_fn_config_dll bcrypt enable_bcrypt
14740 wine_fn_config_dll browseui enable_browseui
14741 wine_fn_config_test dlls
/browseui
/tests browseui_test
14742 wine_fn_config_dll cabinet enable_cabinet cabinet
14743 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14744 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14745 wine_fn_config_dll cards enable_cards cards
14746 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14747 wine_fn_config_dll clusapi enable_clusapi clusapi
14748 wine_fn_config_dll comcat enable_comcat
14749 wine_fn_config_test dlls
/comcat
/tests comcat_test
14750 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14751 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14752 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14753 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14754 wine_fn_config_dll
comm.drv16 enable_win16
14755 wine_fn_config_dll commdlg.dll16 enable_win16
14756 wine_fn_config_dll compobj.dll16 enable_win16
14757 wine_fn_config_dll compstui enable_compstui compstui
14758 wine_fn_config_dll credui enable_credui credui
14759 wine_fn_config_test dlls
/credui
/tests credui_test
14760 wine_fn_config_dll crtdll enable_crtdll crtdll
14761 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14762 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14763 wine_fn_config_dll cryptdlg enable_cryptdlg
14764 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14765 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14766 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14767 wine_fn_config_dll cryptui enable_cryptui cryptui
14768 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14769 wine_fn_config_dll ctapi32 enable_ctapi32
14770 wine_fn_config_dll ctl3d.dll16 enable_win16
14771 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14772 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14773 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14774 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14775 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14776 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14777 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14778 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14779 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14780 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14781 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14782 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14783 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14784 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14785 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14786 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14787 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14788 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14789 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14790 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14791 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
14792 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14793 wine_fn_config_dll d3dim enable_d3dim d3dim
14794 wine_fn_config_dll d3drm enable_d3drm d3drm
14795 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14796 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14797 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14798 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14799 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14800 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14801 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14802 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14803 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14804 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14805 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14806 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14807 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14808 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14809 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14810 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14811 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14812 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14813 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14814 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14815 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14816 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14817 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14818 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14819 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14820 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14821 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14822 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14823 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14824 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14825 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14826 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14827 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14828 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14829 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14830 wine_fn_config_dll dbgeng enable_dbgeng dbgeng
14831 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14832 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14833 wine_fn_config_dll ddeml.dll16 enable_win16
14834 wine_fn_config_dll ddraw enable_ddraw ddraw
14835 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14836 wine_fn_config_dll ddrawex enable_ddrawex
14837 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14838 wine_fn_config_dll devenum enable_devenum
14839 wine_fn_config_dll dinput enable_dinput dinput
"data_formats.c"
14840 wine_fn_config_test dlls
/dinput
/tests dinput_test
14841 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14842 wine_fn_config_dll dispdib.dll16 enable_win16
14843 wine_fn_config_dll dispex enable_dispex
14844 wine_fn_config_test dlls
/dispex
/tests dispex_test
14845 wine_fn_config_dll display.drv16 enable_win16
14846 wine_fn_config_dll dmband enable_dmband
14847 wine_fn_config_dll dmcompos enable_dmcompos
14848 wine_fn_config_dll dmime enable_dmime
14849 wine_fn_config_test dlls
/dmime
/tests dmime_test
14850 wine_fn_config_dll dmloader enable_dmloader
14851 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14852 wine_fn_config_dll dmscript enable_dmscript
14853 wine_fn_config_dll dmstyle enable_dmstyle
14854 wine_fn_config_dll dmsynth enable_dmsynth
14855 wine_fn_config_dll dmusic enable_dmusic
14856 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14857 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14858 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14859 wine_fn_config_dll dplay enable_dplay dplay
14860 wine_fn_config_dll dplayx enable_dplayx dplayx
14861 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14862 wine_fn_config_dll dpnaddr enable_dpnaddr
14863 wine_fn_config_dll dpnet enable_dpnet dpnet
14864 wine_fn_config_dll dpnhpast enable_dpnhpast
14865 wine_fn_config_dll dpnlobby enable_dpnlobby
14866 wine_fn_config_dll dpwsockx enable_dpwsockx
14867 wine_fn_config_dll drmclien enable_drmclien
14868 wine_fn_config_dll dsound enable_dsound dsound
14869 wine_fn_config_test dlls
/dsound
/tests dsound_test
14870 wine_fn_config_dll dssenh enable_dssenh
14871 wine_fn_config_dll dswave enable_dswave
14872 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14873 wine_fn_config_dll dxdiagn enable_dxdiagn
14874 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14875 wine_fn_config_lib dxerr8
14876 wine_fn_config_lib dxerr9
14877 wine_fn_config_dll dxgi enable_dxgi dxgi
14878 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14879 wine_fn_config_lib dxguid
14880 wine_fn_config_dll explorerframe enable_explorerframe
14881 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
14882 wine_fn_config_dll faultrep enable_faultrep faultrep
14883 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
14884 wine_fn_config_dll fltlib enable_fltlib
14885 wine_fn_config_dll fusion enable_fusion
14886 wine_fn_config_test dlls
/fusion
/tests fusion_test
14887 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14888 wine_fn_config_dll gameux enable_gameux
14889 wine_fn_config_test dlls
/gameux
/tests gameux_test
14890 wine_fn_config_dll gdi.exe16 enable_win16
14891 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14892 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14893 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14894 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14895 wine_fn_config_dll glu32 enable_glu32 glu32
14896 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14897 wine_fn_config_dll gpkcsp enable_gpkcsp
14898 wine_fn_config_dll hal enable_hal
14899 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14900 wine_fn_config_dll hid enable_hid hid
14901 wine_fn_config_dll hlink enable_hlink hlink
14902 wine_fn_config_test dlls
/hlink
/tests hlink_test
14903 wine_fn_config_dll hnetcfg enable_hnetcfg
14904 wine_fn_config_dll httpapi enable_httpapi
14905 wine_fn_config_dll iccvid enable_iccvid
14906 wine_fn_config_dll icmp enable_icmp
14907 wine_fn_config_dll ifsmgr.vxd enable_win16
14908 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14909 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14910 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14911 wine_fn_config_dll imm.dll16 enable_win16
14912 wine_fn_config_dll imm32 enable_imm32 imm32
14913 wine_fn_config_test dlls
/imm32
/tests imm32_test
14914 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14915 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14916 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
14917 wine_fn_config_dll inetmib1 enable_inetmib1
14918 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14919 wine_fn_config_dll infosoft enable_infosoft
14920 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14921 wine_fn_config_dll initpki enable_initpki
14922 wine_fn_config_dll inkobj enable_inkobj
14923 wine_fn_config_dll inseng enable_inseng
14924 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14925 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14926 wine_fn_config_dll itircl enable_itircl
14927 wine_fn_config_dll itss enable_itss
14928 wine_fn_config_test dlls
/itss
/tests itss_test
14929 wine_fn_config_dll jscript enable_jscript
14930 wine_fn_config_test dlls
/jscript
/tests jscript_test
14931 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14932 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14933 wine_fn_config_dll keyboard.drv16 enable_win16
14934 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14935 wine_fn_config_dll ktmw32 enable_ktmw32
14936 wine_fn_config_dll loadperf enable_loadperf loadperf
14937 wine_fn_config_dll localspl enable_localspl
14938 wine_fn_config_test dlls
/localspl
/tests localspl_test
14939 wine_fn_config_dll localui enable_localui
14940 wine_fn_config_test dlls
/localui
/tests localui_test
14941 wine_fn_config_dll lz32 enable_lz32 lz32
14942 wine_fn_config_test dlls
/lz32
/tests lz32_test
14943 wine_fn_config_dll lzexpand.dll16 enable_win16
14944 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14945 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14946 wine_fn_config_dll mapistub enable_mapistub
14947 wine_fn_config_dll mciavi32 enable_mciavi32
14948 wine_fn_config_dll mcicda enable_mcicda
14949 wine_fn_config_dll mciqtz32 enable_mciqtz32
14950 wine_fn_config_dll mciseq enable_mciseq
14951 wine_fn_config_dll mciwave enable_mciwave
14952 wine_fn_config_dll midimap enable_midimap
14953 wine_fn_config_dll mlang enable_mlang mlang
14954 wine_fn_config_test dlls
/mlang
/tests mlang_test
14955 wine_fn_config_dll mmdevapi enable_mmdevapi
14956 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14957 wine_fn_config_dll mmdevldr.vxd enable_win16
14958 wine_fn_config_dll mmsystem.dll16 enable_win16
14959 wine_fn_config_dll monodebg.vxd enable_win16
14960 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14961 wine_fn_config_dll mouse.drv16 enable_win16
14962 wine_fn_config_dll mpr enable_mpr mpr
14963 wine_fn_config_dll mprapi enable_mprapi mprapi
14964 wine_fn_config_dll msacm.dll16 enable_win16
14965 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14966 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14967 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14968 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14969 wine_fn_config_dll mscat32 enable_mscat32
14970 wine_fn_config_dll mscms enable_mscms mscms
14971 wine_fn_config_test dlls
/mscms
/tests mscms_test
14972 wine_fn_config_dll mscoree enable_mscoree
14973 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
14974 wine_fn_config_dll msctf enable_msctf
14975 wine_fn_config_test dlls
/msctf
/tests msctf_test
14976 wine_fn_config_dll msdaps enable_msdaps
14977 wine_fn_config_dll msdmo enable_msdmo msdmo
14978 wine_fn_config_dll msftedit enable_msftedit
14979 wine_fn_config_dll msg711.acm enable_msg711_acm
14980 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14981 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14982 wine_fn_config_dll mshtml enable_mshtml mshtml
14983 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
14984 wine_fn_config_dll msi enable_msi msi
14985 wine_fn_config_test dlls
/msi
/tests msi_test
14986 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14987 wine_fn_config_dll msimtf enable_msimtf
14988 wine_fn_config_dll msisip enable_msisip
14989 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14990 wine_fn_config_dll msnet32 enable_msnet32
14991 wine_fn_config_dll msrle32 enable_msrle32
14992 wine_fn_config_dll mssign32 enable_mssign32
14993 wine_fn_config_dll mssip32 enable_mssip32
14994 wine_fn_config_dll mstask enable_mstask
14995 wine_fn_config_test dlls
/mstask
/tests mstask_test
14996 wine_fn_config_dll msvcirt enable_msvcirt
14997 wine_fn_config_dll msvcp80 enable_msvcp80
14998 wine_fn_config_dll msvcp90 enable_msvcp90
14999 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15000 wine_fn_config_dll msvcr100 enable_msvcr100
15001 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
15002 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
15003 wine_fn_config_dll msvcr80 enable_msvcr80
15004 wine_fn_config_dll msvcr90 enable_msvcr90
15005 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15006 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
15007 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15008 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
15009 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
15010 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
15011 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15012 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
15013 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15014 wine_fn_config_dll msvidc32 enable_msvidc32
15015 wine_fn_config_dll msvideo.dll16 enable_win16
15016 wine_fn_config_dll mswsock enable_mswsock mswsock
15017 wine_fn_config_dll msxml3 enable_msxml3
15018 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15019 wine_fn_config_dll msxml4 enable_msxml4
15020 wine_fn_config_dll msxml6 enable_msxml6
15021 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
15022 wine_fn_config_dll netapi32 enable_netapi32 netapi32
15023 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15024 wine_fn_config_dll newdev enable_newdev newdev
15025 wine_fn_config_dll ntdll enable_ntdll ntdll
15026 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15027 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
15028 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15029 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
15030 wine_fn_config_dll ntprint enable_ntprint
15031 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15032 wine_fn_config_dll objsel enable_objsel
15033 wine_fn_config_dll odbc32 enable_odbc32 odbc32
15034 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
15035 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15036 wine_fn_config_dll ole2.dll16 enable_win16
15037 wine_fn_config_dll ole2conv.dll16 enable_win16
15038 wine_fn_config_dll ole2disp.dll16 enable_win16
15039 wine_fn_config_dll ole2nls.dll16 enable_win16
15040 wine_fn_config_dll ole2prox.dll16 enable_win16
15041 wine_fn_config_dll ole2thk.dll16 enable_win16
15042 wine_fn_config_dll ole32 enable_ole32 ole32
15043 wine_fn_config_test dlls
/ole32
/tests ole32_test
15044 wine_fn_config_dll oleacc enable_oleacc oleacc
15045 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15046 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
15047 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15048 wine_fn_config_dll olecli.dll16 enable_win16
15049 wine_fn_config_dll olecli32 enable_olecli32 olecli32
15050 wine_fn_config_dll oledb32 enable_oledb32
15051 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15052 wine_fn_config_dll oledlg enable_oledlg oledlg
15053 wine_fn_config_dll olepro32 enable_olepro32 olepro32
15054 wine_fn_config_dll olesvr.dll16 enable_win16
15055 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
15056 wine_fn_config_dll olethk32 enable_olethk32
15057 wine_fn_config_dll openal32 enable_openal32
15058 wine_fn_config_dll opengl32 enable_opengl32 opengl32
15059 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15060 wine_fn_config_dll pdh enable_pdh pdh
15061 wine_fn_config_test dlls
/pdh
/tests pdh_test
15062 wine_fn_config_dll pidgen enable_pidgen
15063 wine_fn_config_dll powrprof enable_powrprof powrprof
15064 wine_fn_config_dll printui enable_printui
15065 wine_fn_config_dll propsys enable_propsys propsys
15066 wine_fn_config_test dlls
/propsys
/tests propsys_test
15067 wine_fn_config_dll psapi enable_psapi psapi
15068 wine_fn_config_test dlls
/psapi
/tests psapi_test
15069 wine_fn_config_dll pstorec enable_pstorec
15070 wine_fn_config_dll qcap enable_qcap
15071 wine_fn_config_dll qedit enable_qedit
15072 wine_fn_config_test dlls
/qedit
/tests qedit_test
15073 wine_fn_config_dll qmgr enable_qmgr
15074 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15075 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15076 wine_fn_config_dll quartz enable_quartz quartz
15077 wine_fn_config_test dlls
/quartz
/tests quartz_test
15078 wine_fn_config_dll query enable_query
15079 wine_fn_config_dll rasapi16.dll16 enable_win16
15080 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
15081 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15082 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
15083 wine_fn_config_dll resutils enable_resutils resutils
15084 wine_fn_config_dll riched20 enable_riched20 riched20
15085 wine_fn_config_test dlls
/riched20
/tests riched20_test
15086 wine_fn_config_dll riched32 enable_riched32
15087 wine_fn_config_test dlls
/riched32
/tests riched32_test
15088 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
15089 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15090 wine_fn_config_dll rsabase enable_rsabase
15091 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
15092 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15093 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15094 wine_fn_config_dll rtutils enable_rtutils rtutils
15095 wine_fn_config_dll samlib enable_samlib
15096 wine_fn_config_dll sane.ds enable_sane_ds
15097 wine_fn_config_dll sccbase enable_sccbase
15098 wine_fn_config_dll schannel enable_schannel
15099 wine_fn_config_test dlls
/schannel
/tests schannel_test
15100 wine_fn_config_dll secur32 enable_secur32 secur32
15101 wine_fn_config_test dlls
/secur32
/tests secur32_test
15102 wine_fn_config_dll security enable_security
15103 wine_fn_config_dll sensapi enable_sensapi sensapi
15104 wine_fn_config_dll serialui enable_serialui serialui
15105 wine_fn_config_test dlls
/serialui
/tests serialui_test
15106 wine_fn_config_dll setupapi enable_setupapi setupapi
15107 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15108 wine_fn_config_dll setupx.dll16 enable_win16
15109 wine_fn_config_dll sfc enable_sfc sfc
15110 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
15111 wine_fn_config_dll shdoclc enable_shdoclc
15112 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
15113 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15114 wine_fn_config_dll shell.dll16 enable_win16
15115 wine_fn_config_dll shell32 enable_shell32 shell32
15116 wine_fn_config_test dlls
/shell32
/tests shell32_test
15117 wine_fn_config_dll shfolder enable_shfolder shfolder
15118 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
15119 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15120 wine_fn_config_dll slbcsp enable_slbcsp
15121 wine_fn_config_dll slc enable_slc slc
15122 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
15123 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15124 wine_fn_config_dll softpub enable_softpub
15125 wine_fn_config_dll sound.drv16 enable_win16
15126 wine_fn_config_dll spoolss enable_spoolss spoolss
15127 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15128 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15129 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15130 wine_fn_config_dll sti enable_sti sti
15131 wine_fn_config_test dlls
/sti
/tests sti_test
15132 wine_fn_config_dll storage.dll16 enable_win16
15133 wine_fn_config_dll stress.dll16 enable_win16
15134 wine_fn_config_lib strmbase
15135 wine_fn_config_lib strmiids
15136 wine_fn_config_dll svrapi enable_svrapi
15137 wine_fn_config_dll sxs enable_sxs
15138 wine_fn_config_dll system.drv16 enable_win16
15139 wine_fn_config_dll t2embed enable_t2embed
15140 wine_fn_config_dll tapi32 enable_tapi32 tapi32
15141 wine_fn_config_dll toolhelp.dll16 enable_win16
15142 wine_fn_config_dll traffic enable_traffic
15143 wine_fn_config_dll twain.dll16 enable_win16
15144 wine_fn_config_dll twain_32 enable_twain_32
15145 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15146 wine_fn_config_dll typelib.dll16 enable_win16
15147 wine_fn_config_dll unicows enable_unicows unicows
15148 wine_fn_config_dll updspapi enable_updspapi
15149 wine_fn_config_dll url enable_url url
15150 wine_fn_config_dll urlmon enable_urlmon urlmon
15151 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15152 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
15153 wine_fn_config_dll user.exe16 enable_win16
15154 wine_fn_config_dll user32 enable_user32 user32
15155 wine_fn_config_test dlls
/user32
/tests user32_test
15156 wine_fn_config_dll userenv enable_userenv userenv
15157 wine_fn_config_test dlls
/userenv
/tests userenv_test
15158 wine_fn_config_dll usp10 enable_usp10 usp10
15159 wine_fn_config_test dlls
/usp10
/tests usp10_test
15160 wine_fn_config_lib uuid
15161 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
15162 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15163 wine_fn_config_dll vdhcp.vxd enable_win16
15164 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
15165 wine_fn_config_dll ver.dll16 enable_win16
15166 wine_fn_config_dll version enable_version version
15167 wine_fn_config_test dlls
/version
/tests version_test
15168 wine_fn_config_dll vmm.vxd enable_win16
15169 wine_fn_config_dll vnbt.vxd enable_win16
15170 wine_fn_config_dll vnetbios.vxd enable_win16
15171 wine_fn_config_dll vtdapi.vxd enable_win16
15172 wine_fn_config_dll vwin32.vxd enable_win16
15173 wine_fn_config_dll w32skrnl enable_win16
15174 wine_fn_config_dll w32sys.dll16 enable_win16
15175 wine_fn_config_dll wbemprox enable_wbemprox
15176 wine_fn_config_dll wer enable_wer wer
15177 wine_fn_config_test dlls
/wer
/tests wer_test
15178 wine_fn_config_dll wiaservc enable_wiaservc
15179 wine_fn_config_dll win32s16.dll16 enable_win16
15180 wine_fn_config_dll win87em.dll16 enable_win16
15181 wine_fn_config_dll winaspi.dll16 enable_win16
15182 wine_fn_config_dll windebug.dll16 enable_win16
15183 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
15184 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15185 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15186 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
15187 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15188 wine_fn_config_lib winecrt0
15189 wine_fn_config_dll wined3d enable_wined3d wined3d
15190 wine_fn_config_dll wineesd.drv enable_wineesd_drv
15191 wine_fn_config_dll winegstreamer enable_winegstreamer
15192 wine_fn_config_dll winejack.drv enable_winejack_drv
15193 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15194 wine_fn_config_dll winemapi enable_winemapi
15195 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15196 wine_fn_config_dll winenas.drv enable_winenas_drv
15197 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15198 wine_fn_config_dll wineps.drv enable_wineps_drv
15199 wine_fn_config_dll wineps16.drv16 enable_win16
15200 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15201 wine_fn_config_dll winex11.drv enable_winex11_drv
15202 wine_fn_config_dll wing.dll16 enable_win16
15203 wine_fn_config_dll wing32 enable_wing32
15204 wine_fn_config_dll winhttp enable_winhttp winhttp
15205 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15206 wine_fn_config_dll wininet enable_wininet wininet
15207 wine_fn_config_test dlls
/wininet
/tests wininet_test
15208 wine_fn_config_dll winmm enable_winmm winmm
15209 wine_fn_config_test dlls
/winmm
/tests winmm_test
15210 wine_fn_config_dll winnls.dll16 enable_win16
15211 wine_fn_config_dll winnls32 enable_winnls32 winnls32
15212 wine_fn_config_dll winscard enable_winscard winscard
15213 wine_fn_config_dll winsock.dll16 enable_win16
15214 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
15215 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15216 wine_fn_config_dll wintab.dll16 enable_win16
15217 wine_fn_config_dll wintab32 enable_wintab32 wintab32
15218 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15219 wine_fn_config_dll wintrust enable_wintrust wintrust
15220 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15221 wine_fn_config_dll wlanapi enable_wlanapi
15222 wine_fn_config_dll wldap32 enable_wldap32 wldap32
15223 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15224 wine_fn_config_dll wmi enable_wmi
15225 wine_fn_config_dll wmiutils enable_wmiutils
15226 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
15227 wine_fn_config_dll wow32 enable_win16 wow32
15228 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
15229 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15230 wine_fn_config_dll wsock32 enable_wsock32 wsock32
15231 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
15232 wine_fn_config_dll wuapi enable_wuapi
15233 wine_fn_config_dll wuaueng enable_wuaueng
15234 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15235 wine_fn_config_dll xinput1_1 enable_xinput1_1
15236 wine_fn_config_dll xinput1_2 enable_xinput1_2
15237 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
15238 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15239 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15240 wine_fn_config_dll xmllite enable_xmllite
15241 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15242 wine_fn_config_makefile documentation enable_documentation
15243 wine_fn_config_makefile fonts enable_fonts
15244 wine_fn_config_makefile include enable_include
15245 wine_fn_config_makefile libs
/port enable_libs_port
15246 wine_fn_config_makefile libs
/wine enable_libs_wine
15247 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15248 wine_fn_config_makefile loader enable_loader
15249 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15250 wine_fn_config_program attrib enable_attrib
install
15251 wine_fn_config_program cacls enable_cacls
install
15252 wine_fn_config_program
clock enable_clock
install
15253 wine_fn_config_program cmd enable_cmd
install
15254 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15255 wine_fn_config_program cmdlgtst enable_cmdlgtst
15256 wine_fn_config_program control enable_control
install
15257 wine_fn_config_program dxdiag enable_dxdiag
install
15258 wine_fn_config_program eject enable_eject
install
15259 wine_fn_config_program
expand enable_expand
install
15260 wine_fn_config_program explorer enable_explorer
install
15261 wine_fn_config_program extrac32 enable_extrac32
install
15262 wine_fn_config_program hh enable_hh
install
15263 wine_fn_config_program icinfo enable_icinfo
install
15264 wine_fn_config_program iexplore enable_iexplore
install
15265 wine_fn_config_program ipconfig enable_ipconfig
install
15266 wine_fn_config_program lodctr enable_lodctr
install
15267 wine_fn_config_program mofcomp enable_mofcomp
install
15268 wine_fn_config_program mshta enable_mshta
install
15269 wine_fn_config_program msiexec enable_msiexec installbin
15270 wine_fn_config_program net enable_net
install
15271 wine_fn_config_program ngen enable_ngen
install
15272 wine_fn_config_program notepad enable_notepad installbin
15273 wine_fn_config_program oleview enable_oleview
install
15274 wine_fn_config_program
ping enable_ping
install
15275 wine_fn_config_program progman enable_progman
install
15276 wine_fn_config_program reg enable_reg
install
15277 wine_fn_config_program regedit enable_regedit installbin
15278 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15279 wine_fn_config_program regsvcs enable_regsvcs
install
15280 wine_fn_config_program regsvr32 enable_regsvr32 installbin
15281 wine_fn_config_program rpcss enable_rpcss
install
15282 wine_fn_config_program rundll.exe16 enable_win16
install
15283 wine_fn_config_program rundll32 enable_rundll32
install
15284 wine_fn_config_program sc enable_sc
install
15285 wine_fn_config_program secedit enable_secedit
install
15286 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15287 wine_fn_config_program services enable_services
install
15288 wine_fn_config_program spoolsv enable_spoolsv
install
15289 wine_fn_config_program start enable_start
install
15290 wine_fn_config_program svchost enable_svchost
install
15291 wine_fn_config_program taskkill enable_taskkill
install
15292 wine_fn_config_program taskmgr enable_taskmgr
install
15293 wine_fn_config_program termsv enable_termsv
install
15294 wine_fn_config_program uninstaller enable_uninstaller
install
15295 wine_fn_config_program unlodctr enable_unlodctr
install
15296 wine_fn_config_program view enable_view
15297 wine_fn_config_program wineboot enable_wineboot installbin
15298 wine_fn_config_program winebrowser enable_winebrowser
install
15299 wine_fn_config_program winecfg enable_winecfg installbin
15300 wine_fn_config_program wineconsole enable_wineconsole installbin
15301 wine_fn_config_program winedbg enable_winedbg installbin
15302 wine_fn_config_program winedevice enable_winedevice
install
15303 wine_fn_config_program winefile enable_winefile installbin
15304 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15305 wine_fn_config_program winemine enable_winemine installbin
15306 wine_fn_config_program winepath enable_winepath installbin
15307 wine_fn_config_program winetest enable_winetest
15308 wine_fn_config_program winevdm enable_win16
install
15309 wine_fn_config_program winhelp.exe16 enable_win16
install
15310 wine_fn_config_program winhlp32 enable_winhlp32
install
15311 wine_fn_config_program winoldap.mod16 enable_win16
install
15312 wine_fn_config_program winver enable_winver
install
15313 wine_fn_config_program wordpad enable_wordpad
install
15314 wine_fn_config_program
write enable_write
install
15315 wine_fn_config_program wscript enable_wscript
install
15316 wine_fn_config_program xcopy enable_xcopy
install
15317 wine_fn_config_makefile server enable_server
15318 wine_fn_config_tool tools
15319 wine_fn_config_tool tools
/widl
15320 wine_fn_config_tool tools
/winebuild
15321 wine_fn_config_tool tools
/winedump
15322 wine_fn_config_tool tools
/winegcc
15323 wine_fn_config_tool tools
/wmc
15324 wine_fn_config_tool tools
/wrc
15326 ac_config_commands
="$ac_config_commands Makefile"
15329 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15333 if test -n "$with_wine64"
15335 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server $with_wine64/loader/wine
15337 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15338 $with_wine64/loader/wine:
15339 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15341 \$(RM) fonts server $with_wine64/loader/wine"
15344 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
15345 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
15347 cat >confcache
<<\_ACEOF
15348 # This file is a shell script that caches the results of configure
15349 # tests run on this system so they can be shared between configure
15350 # scripts and configure runs, see configure's option --config-cache.
15351 # It is not useful on other systems. If it contains results you don't
15352 # want to keep, you may remove or edit it.
15354 # config.status only pays attention to the cache file if you give it
15355 # the --recheck option to rerun configure.
15357 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15358 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15359 # following values.
15363 # The following way of writing the cache mishandles newlines in values,
15364 # but we know of no workaround that is simple, portable, and efficient.
15365 # So, we kill variables containing newlines.
15366 # Ultrix sh set writes to stderr and can't be redirected directly,
15367 # and sets the high bit in the cache file unless we assign to the vars.
15369 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15370 eval ac_val
=\$
$ac_var
15374 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15375 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15378 _ | IFS | as_nl
) ;; #(
15379 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15380 *) { eval $ac_var=; unset $ac_var;} ;;
15386 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15387 *${as_nl}ac_space
=\
*)
15388 # `set' does not quote correctly, so add quotes: double-quote
15389 # substitution turns \\\\ into \\, and sed turns \\ into \.
15392 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15395 # `set' quotes correctly as required by POSIX, so do not add quotes.
15396 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15405 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15407 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15409 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15410 if test -w "$cache_file"; then
15411 test "x$cache_file" != "x/dev/null" &&
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15413 $as_echo "$as_me: updating cache $cache_file" >&6;}
15414 cat confcache
>$cache_file
15416 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15417 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15422 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15423 # Let make expand exec_prefix.
15424 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15426 DEFS
=-DHAVE_CONFIG_H
15431 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15432 # 1. Remove the extension, and $U if already installed.
15433 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15434 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15435 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15436 # will be set to the directory where LIBOBJS objects are built.
15437 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15438 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15440 LIBOBJS
=$ac_libobjs
15442 LTLIBOBJS
=$ac_ltlibobjs
15446 : ${CONFIG_STATUS=./config.status}
15448 ac_clean_files_save
=$ac_clean_files
15449 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15451 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15453 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15455 # Generated by $as_me.
15456 # Run this file to recreate the current configuration.
15457 # Compiler output produced by configure, useful for debugging
15458 # configure, is in config.log if it exists.
15461 ac_cs_recheck=false
15464 SHELL=\${CONFIG_SHELL-$SHELL}
15467 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15468 ## -------------------- ##
15469 ## M4sh Initialization. ##
15470 ## -------------------- ##
15472 # Be more Bourne compatible
15473 DUALCASE
=1; export DUALCASE
# for MKS sh
15474 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15477 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15478 # is contrary to our usage. Disable this feature.
15479 alias -g '${1+"$@"}'='"$@"'
15480 setopt NO_GLOB_SUBST
15482 case `(set -o) 2>/dev/null` in #(
15494 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15495 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15496 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15497 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15498 # Prefer a ksh shell builtin over an external printf program on Solaris,
15499 # but without wasting forks for bash or zsh.
15500 if test -z "$BASH_VERSION$ZSH_VERSION" \
15501 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15502 as_echo='print
-r --'
15503 as_echo_n='print
-rn --'
15504 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15505 as_echo='printf %s
\n'
15506 as_echo_n='printf %s
'
15508 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15509 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15510 as_echo_n='/usr
/ucb
/echo -n'
15512 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15513 as_echo_n_body='eval
15517 expr "X$arg" : "X\\(.*\\)$as_nl";
15518 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15520 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15522 export as_echo_n_body
15523 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15525 export as_echo_body
15526 as_echo='sh
-c $as_echo_body as_echo
'
15529 # The user is always right.
15530 if test "${PATH_SEPARATOR+set}" != set; then
15532 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15533 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15540 # We need space, tab and new line, in precisely that order. Quoting is
15541 # there to prevent editors from complaining about space-tab.
15542 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15543 # splitting by setting IFS to empty value.)
15546 # Find who we are. Look in the path if we contain no directory separator.
15548 *[\\/]* ) as_myself=$0 ;;
15549 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15550 for as_dir in $PATH
15553 test -z "$as_dir" && as_dir=.
15554 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15560 # We did not find ourselves, most probably we were run as `sh COMMAND'
15561 # in which case we are not to be found in the path.
15562 if test "x$as_myself" = x
; then
15565 if test ! -f "$as_myself"; then
15566 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15570 # Unset variables that we do not need and which cause bugs (e.g. in
15571 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15572 # suppresses any "Segmentation fault" message there. '((' could
15573 # trigger a bug in pdksh 5.2.14.
15574 for as_var
in BASH_ENV ENV MAIL MAILPATH
15575 do eval test x\
${$as_var+set} = xset \
15576 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15589 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15592 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15593 # ----------------------------------------
15594 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15595 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15596 # script with STATUS, using 1 if that was 0.
15599 as_status
=$1; test $as_status -eq 0 && as_status
=1
15601 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15602 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15604 $as_echo "$as_me: error: $2" >&2
15605 as_fn_exit
$as_status
15609 # as_fn_set_status STATUS
15610 # -----------------------
15611 # Set $? to STATUS, without forking.
15612 as_fn_set_status
()
15615 } # as_fn_set_status
15617 # as_fn_exit STATUS
15618 # -----------------
15619 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15623 as_fn_set_status
$1
15629 # Portably unset VAR.
15632 { eval $1=; unset $1;}
15634 as_unset
=as_fn_unset
15635 # as_fn_append VAR VALUE
15636 # ----------------------
15637 # Append the text in VALUE to the end of the definition contained in VAR. Take
15638 # advantage of any shell optimizations that allow amortized linear growth over
15639 # repeated appends, instead of the typical quadratic growth present in naive
15641 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15642 eval 'as_fn_append ()
15653 # as_fn_arith ARG...
15654 # ------------------
15655 # Perform arithmetic evaluation on the ARGs, and store the result in the
15656 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15657 # must be portable across $(()) and expr.
15658 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15659 eval 'as_fn_arith ()
15666 as_val
=`expr "$@" || test $? -eq 1`
15671 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15672 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15678 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15679 as_basename
=basename
15684 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15690 as_me
=`$as_basename -- "$0" ||
15691 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15692 X"$0" : 'X\(//\)$' \| \
15693 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15695 sed '/^.*\/\([^/][^/]*\)\/*$/{
15709 # Avoid depending upon Character Ranges.
15710 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15711 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15712 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15713 as_cr_digits
='0123456789'
15714 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15716 ECHO_C
= ECHO_N
= ECHO_T
=
15717 case `echo -n x` in #(((((
15719 case `echo 'xy\c'` in
15720 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15722 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15729 rm -f conf$$ conf$$.exe conf$$.
file
15730 if test -d conf$$.dir
; then
15731 rm -f conf$$.dir
/conf$$.
file
15734 mkdir conf$$.dir
2>/dev
/null
15736 if (echo >conf$$.
file) 2>/dev
/null
; then
15737 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15739 # ... but there are two gotchas:
15740 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15741 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15742 # In both cases, we have to default to `cp -p'.
15743 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15745 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15753 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15754 rmdir conf$$.dir
2>/dev
/null
15759 # Create "$as_dir" as a directory, including parents if necessary.
15764 -*) as_dir
=.
/$as_dir;;
15766 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15770 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15771 *) as_qdir
=$as_dir;;
15773 as_dirs
="'$as_qdir' $as_dirs"
15774 as_dir
=`$as_dirname -- "$as_dir" ||
15775 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15776 X"$as_dir" : 'X\(//\)[^/]' \| \
15777 X"$as_dir" : 'X\(//\)$' \| \
15778 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15779 $as_echo X"$as_dir" |
15780 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15784 /^X\(\/\/\)[^/].*/{
15797 test -d "$as_dir" && break
15799 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15800 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15804 if mkdir
-p .
2>/dev
/null
; then
15805 as_mkdir_p
='mkdir -p "$as_dir"'
15807 test -d .
/-p && rmdir .
/-p
15811 if test -x / >/dev
/null
2>&1; then
15812 as_test_x
='test -x'
15814 if ls -dL / >/dev
/null
2>&1; then
15821 if test -d "$1"; then
15827 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15828 ???[sx]*):;;*)false;;esac;fi
15832 as_executable_p
=$as_test_x
15834 # Sed expression to map a string onto a valid CPP name.
15835 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15837 # Sed expression to map a string onto a valid variable name.
15838 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15842 ## ----------------------------------- ##
15843 ## Main body of $CONFIG_STATUS script. ##
15844 ## ----------------------------------- ##
15846 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15848 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15849 # Save the log message, to keep $0 and so on meaningful, and to
15850 # report actual input values of CONFIG_FILES etc. instead of their
15851 # values after options handling.
15853 This file was extended by Wine $as_me 1.3.8, which was
15854 generated by GNU Autoconf 2.67. Invocation command line was
15856 CONFIG_FILES = $CONFIG_FILES
15857 CONFIG_HEADERS = $CONFIG_HEADERS
15858 CONFIG_LINKS = $CONFIG_LINKS
15859 CONFIG_COMMANDS = $CONFIG_COMMANDS
15862 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15867 case $ac_config_files in *"
15868 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15871 case $ac_config_headers in *"
15872 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15877 # Files that config.status was made for.
15878 config_files="$ac_config_files"
15879 config_headers="$ac_config_headers"
15880 config_links="$ac_config_links"
15881 config_commands="$ac_config_commands"
15885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15887 \`$as_me' instantiates files and other configuration actions
15888 from templates according to the current configuration. Unless the files
15889 and actions are specified as TAGs, all are instantiated by default.
15891 Usage: $0 [OPTION]... [TAG]...
15893 -h, --help print this help, then exit
15894 -V, --version print version number and configuration settings, then exit
15895 --config print configuration, then exit
15896 -q, --quiet, --silent
15897 do not print progress messages
15898 -d, --debug don't remove temporary files
15899 --recheck update $as_me by reconfiguring in the same conditions
15900 --file=FILE[:TEMPLATE]
15901 instantiate the configuration file FILE
15902 --header=FILE[:TEMPLATE]
15903 instantiate the configuration header FILE
15905 Configuration files:
15908 Configuration headers:
15911 Configuration links:
15914 Configuration commands:
15917 Report bugs to <wine-devel@winehq.org>.
15918 Wine home page: <http://www.winehq.org>."
15921 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15922 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15924 Wine config.status 1.3.8
15925 configured by $0, generated by GNU Autoconf 2.67,
15926 with options \\"\$ac_cs_config\\"
15928 Copyright (C) 2010 Free Software Foundation, Inc.
15929 This config.status script is free software; the Free Software Foundation
15930 gives unlimited permission to copy, distribute and modify it."
15935 test -n "\$AWK" || AWK=awk
15938 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15939 # The default lists apply if the user does not specify any file.
15945 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15946 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15950 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15962 # Handling of the options.
15963 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15965 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15966 $as_echo "$ac_cs_version"; exit ;;
15967 --config |
--confi |
--conf |
--con |
--co |
--c )
15968 $as_echo "$ac_cs_config"; exit ;;
15969 --debug |
--debu |
--deb |
--de |
--d |
-d )
15971 --file |
--fil |
--fi |
--f )
15974 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15975 '') as_fn_error $?
"missing file argument" ;;
15977 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15978 ac_need_defaults
=false
;;
15979 --header |
--heade |
--head |
--hea )
15982 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15984 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15985 ac_need_defaults
=false
;;
15987 # Conflict between --help and --header
15988 as_fn_error $?
"ambiguous option: \`$1'
15989 Try \`$0 --help' for more information.";;
15990 --help |
--hel |
-h )
15991 $as_echo "$ac_cs_usage"; exit ;;
15992 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15993 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15996 # This is an error.
15997 -*) as_fn_error $?
"unrecognized option: \`$1'
15998 Try \`$0 --help' for more information." ;;
16000 *) as_fn_append ac_config_targets
" $1"
16001 ac_need_defaults
=false
;;
16007 ac_configure_extra_args
=
16009 if $ac_cs_silent; then
16011 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16015 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16016 if \$ac_cs_recheck; then
16017 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16019 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16020 CONFIG_SHELL='$SHELL'
16021 export CONFIG_SHELL
16026 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16030 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16031 ## Running $as_me. ##
16037 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16041 wine_fn_output_makefile ()
16043 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16044 $ALL_MAKEFILE_DEPENDS
16046 as_fn_error $? "could not create Makefile" "$LINENO" 5
16051 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16053 # Handling of arguments.
16054 for ac_config_target
in $ac_config_targets
16056 case $ac_config_target in
16057 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16058 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16059 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16060 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16061 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16062 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16063 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16064 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16065 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16066 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16067 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16068 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16069 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16070 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16071 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16072 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16073 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16074 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16075 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16076 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16077 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16078 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16079 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16081 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16086 # If the user did not use the arguments to specify the items to instantiate,
16087 # then the envvar interface is used. Set only those that are not.
16088 # We use the long form for the default assignment because of an extremely
16089 # bizarre bug on SunOS 4.1.3.
16090 if $ac_need_defaults; then
16091 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16092 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16093 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16094 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16097 # Have a temporary directory for convenience. Make it in the build tree
16098 # simply because there is no reason against having it here, and in addition,
16099 # creating and moving files from /tmp can sometimes cause problems.
16100 # Hook for its removal unless debugging.
16101 # Note that there is a small window in which the directory will not be cleaned:
16102 # after its creation but before its name has been assigned to `$tmp'.
16106 trap 'exit_status=$?
16107 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16109 trap 'as_fn_exit 1' 1 2 13 15
16111 # Create a (secure) tmp directory for tmp files.
16114 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16115 test -n "$tmp" && test -d "$tmp"
16118 tmp
=.
/conf$$
-$RANDOM
16119 (umask 077 && mkdir
"$tmp")
16120 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16122 # Set up the scripts for CONFIG_FILES section.
16123 # No need to generate them if there are no CONFIG_FILES.
16124 # This happens for instance with `./config.status config.h'.
16125 if test -n "$CONFIG_FILES"; then
16127 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16128 ac_cs_awk_getline
=:
16129 ac_cs_awk_pipe_init
=
16130 ac_cs_awk_read_file
='
16131 while ((getline aline < (F[key])) > 0)
16134 ac_cs_awk_pipe_fini
=
16136 ac_cs_awk_getline
=false
16137 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16138 ac_cs_awk_read_file
='
16140 print "cat " F[key] " &&"
16141 '$ac_cs_awk_pipe_init
16142 # The final `:' finishes the AND list.
16143 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16145 ac_cr
=`echo X | tr X '\015'`
16146 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16147 # But we know of no other shell where ac_cr would be empty at this
16148 # point, so we can use a bashism as a fallback.
16149 if test "x$ac_cr" = x
; then
16150 eval ac_cr
=\$
\'\\r
\'
16152 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16153 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16156 ac_cs_awk_cr
=$ac_cr
16159 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16162 # Create commands to substitute file output variables.
16164 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16165 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
16166 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16169 } >conf$
$files.sh
&&
16170 . .
/conf$
$files.sh ||
16171 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16172 rm -f conf$
$files.sh
16175 echo "cat >conf$$subs.awk <<_ACEOF" &&
16176 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16178 } >conf$$subs.sh ||
16179 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16180 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16182 for ac_last_try in false false false false false :; do
16183 . ./conf$$subs.sh ||
16184 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16186 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16187 if test $ac_delim_n = $ac_delim_num; then
16189 elif $ac_last_try; then
16190 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16192 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16195 rm -f conf$$subs.sh
16197 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16198 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16202 s/^/S["/; s
/!.
*/"]=/
16212 s/\(.\{148\}\)..*/\1/
16214 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16219 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16226 s/\(.\{148\}\)..*/\1/
16228 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16232 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16237 ' <conf$$subs.awk | sed '
16242 ' >>$CONFIG_STATUS || ac_write_fail=1
16243 rm -f conf$$subs.awk
16244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16246 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16247 for (key in S) S_is_set[key] = 1
16249 \$ac_cs_awk_pipe_init
16253 nfields = split(line, field, "@
")
16255 len = length(field[1])
16256 for (i = 2; i < nfields; i++) {
16258 keylen = length(key)
16259 if (S_is_set[key]) {
16261 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16262 len += length(value) + length(field[++i])
16267 if (nfields == 3 && !substed) {
16269 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16270 \$ac_cs_awk_read_file
16276 \$ac_cs_awk_pipe_fini
16279 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16280 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16281 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16284 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16285 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16288 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16289 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16290 # trailing colons and then remove the whole line if VPATH becomes empty
16291 # (actually we leave an empty line to preserve line numbers).
16292 if test "x
$srcdir" = x.; then
16293 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16311 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16312 fi # test -n "$CONFIG_FILES"
16314 # Set up the scripts for CONFIG_HEADERS section.
16315 # No need to generate them if there are no CONFIG_HEADERS.
16316 # This happens for instance with `./config.status Makefile'.
16317 if test -n "$CONFIG_HEADERS"; then
16318 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16322 # Transform confdefs.h into an awk script `defines.awk', embedded as
16323 # here-document in config.status, that substitutes the proper values into
16324 # config.h.in to produce config.h.
16326 # Create a delimiter string that does not exist in confdefs.h, to ease
16327 # handling of long lines.
16329 for ac_last_try in false false :; do
16330 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16331 if test -z "$ac_t"; then
16333 elif $ac_last_try; then
16334 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16336 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16340 # For the awk script, D is an array of macro values keyed by name,
16341 # likewise P contains macro parameters if any. Preserve backslash
16342 # newline sequences.
16344 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16346 s/.\{148\}/&'"$ac_delim"'/g
16349 s/^[ ]*#[ ]*define[ ][ ]*/ /
16356 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16358 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16362 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16363 D["\
1"]=" \
3\\\\\\n
"\\/p
16365 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16370 s/.\{148\}/&'"$ac_delim"'/g
16375 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16378 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16380 ' <confdefs.h | sed '
16381 s/'"$ac_delim"'/"\\\
16382 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16384 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16385 for (key in D) D_is_set[key] = 1
16388 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16390 split(line, arg, " ")
16391 if (arg[1] == "#") {
16395 defundef
= substr
(arg
[1], 2)
16398 split(mac1
, mac2
, "(") #)
16400 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16401 if (D_is_set
[macro
]) {
16402 # Preserve the white space surrounding the "#".
16403 print prefix
"define", macro P
[macro
] D
[macro
]
16406 # Replace #undef with comments. This is necessary, for example,
16407 # in the case of _POSIX_SOURCE, which is predefined and required
16408 # on some systems where configure will not decide to define it.
16409 if (defundef
== "undef") {
16410 print
"/*", prefix defundef
, macro
, "*/"
16418 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16419 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16420 fi # test -n "$CONFIG_HEADERS"
16423 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16428 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16430 case $ac_mode$ac_tag in
16432 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16433 :[FH
]-) ac_tag
=-:-;;
16434 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16451 -) ac_f
="$tmp/stdin";;
16452 *) # Look for the file first in the build tree, then in the source tree
16453 # (if the path is not absolute). The absolute path cannot be DOS-style,
16454 # because $ac_f cannot contain `:'.
16458 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16460 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16462 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16463 as_fn_append ac_file_inputs
" '$ac_f'"
16466 # Let's still pretend it is `configure' which instantiates (i.e., don't
16467 # use $as_me), people would be surprised to read:
16468 # /* config.h. Generated by config.status. */
16469 configure_input
='Generated from '`
16470 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16472 if test x
"$ac_file" != x-
; then
16473 configure_input
="$ac_file. $configure_input"
16474 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16475 $as_echo "$as_me: creating $ac_file" >&6;}
16477 # Neutralize special characters interpreted by sed in replacement strings.
16478 case $configure_input in #(
16479 *\
&* |
*\|
* |
*\\* )
16480 ac_sed_conf_input
=`$as_echo "$configure_input" |
16481 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16482 *) ac_sed_conf_input
=$configure_input;;
16486 *:-:* |
*:-) cat >"$tmp/stdin" \
16487 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16492 ac_dir
=`$as_dirname -- "$ac_file" ||
16493 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16494 X"$ac_file" : 'X\(//\)[^/]' \| \
16495 X"$ac_file" : 'X\(//\)$' \| \
16496 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16497 $as_echo X"$ac_file" |
16498 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16502 /^X\(\/\/\)[^/].*/{
16515 as_dir
="$ac_dir"; as_fn_mkdir_p
16519 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16521 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16522 # A ".." for each directory in $ac_dir_suffix.
16523 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16524 case $ac_top_builddir_sub in
16525 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16526 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16529 ac_abs_top_builddir
=$ac_pwd
16530 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16531 # for backward compatibility:
16532 ac_top_builddir
=$ac_top_build_prefix
16535 .
) # We are building in place.
16537 ac_top_srcdir
=$ac_top_builddir_sub
16538 ac_abs_top_srcdir
=$ac_pwd ;;
16539 [\\/]* | ?
:[\\/]* ) # Absolute name.
16540 ac_srcdir
=$srcdir$ac_dir_suffix;
16541 ac_top_srcdir
=$srcdir
16542 ac_abs_top_srcdir
=$srcdir ;;
16543 *) # Relative name.
16544 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16545 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16546 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16548 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16558 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16559 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16564 # If the template does not know about datarootdir, expand it.
16565 # FIXME: This hack should be removed a few years after 2.60.
16566 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16577 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16578 *datarootdir
*) ac_datarootdir_seen
=yes;;
16579 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16581 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16583 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16584 ac_datarootdir_hack='
16585 s&@datadir@&$datadir&g
16586 s&@docdir@&$docdir&g
16587 s&@infodir@&$infodir&g
16588 s&@localedir@&$localedir&g
16589 s&@mandir@&$mandir&g
16590 s&\\\${datarootdir}&$datarootdir&g' ;;
16594 # Neutralize VPATH when `$srcdir' = `.'.
16595 # Shell code in configure.ac might set extrasub.
16596 # FIXME: do we really want to maintain this feature?
16597 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16598 ac_sed_extra="$ac_vpsub
16601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16603 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16604 s|@configure_input@|
$ac_sed_conf_input|
;t t
16605 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16606 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16607 s
&@srcdir@
&$ac_srcdir&;t t
16608 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16609 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16610 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16611 s
&@builddir@
&$ac_builddir&;t t
16612 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16613 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16614 s
&@INSTALL@
&$ac_INSTALL&;t t
16615 $ac_datarootdir_hack
16617 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16618 if $ac_cs_awk_getline; then
16619 $AWK -f "$tmp/subs.
awk"
16621 $AWK -f "$tmp/subs.
awk" | $SHELL
16623 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16625 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16626 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16627 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16629 which seems to be undefined. Please make sure it is defined" >&5
16630 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16631 which seems to be undefined. Please make sure it is defined" >&2;}
16635 -) cat "$tmp/out" && rm -f "$tmp/out";;
16636 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16638 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16644 if test x"$ac_file" != x-; then
16646 $as_echo "/* $configure_input */" \
16647 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16648 } >"$tmp/config.h" \
16649 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16650 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16652 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16655 mv "$tmp/config.h" "$ac_file" \
16656 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16659 $as_echo "/* $configure_input */" \
16660 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16661 || as_fn_error $? "could not create -" "$LINENO" 5
16669 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16672 # Prefer the file from the source tree if names are identical.
16673 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16674 ac_source=$srcdir/$ac_source
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16678 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16680 if test ! -r "$ac_source"; then
16681 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16685 # Try a relative symlink, then a hard link, then a copy.
16687 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16688 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16690 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16691 ln "$ac_source" "$ac_file" 2>/dev/null ||
16692 cp -p "$ac_source" "$ac_file" ||
16693 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16696 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16697 $as_echo "$as_me: executing $ac_file commands" >&6;}
16702 case $ac_file$ac_mode in
16703 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16704 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16705 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16706 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16707 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16708 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16709 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16710 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16711 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16712 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16713 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16714 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16715 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16716 "Makefile":C) wine_fn_output_makefile Makefile ;;
16724 ac_clean_files=$ac_clean_files_save
16726 test $ac_write_fail = 0 ||
16727 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16730 # configure is writing to config.log, and then calls config.status.
16731 # config.status does its own redirection, appending to config.log.
16732 # Unfortunately, on DOS this fails, as config.log is still kept open
16733 # by configure, so config.status won't be able to
write to it
; its
16734 # output is simply discarded. So we exec the FD to /dev/null,
16735 # effectively closing config.log, so it can be properly (re)opened and
16736 # appended to by config.status. When coming back to configure, we
16737 # need to make the FD available again.
16738 if test "$no_create" != yes; then
16740 ac_config_status_args
=
16741 test "$silent" = yes &&
16742 ac_config_status_args
="$ac_config_status_args --quiet"
16744 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16747 # would make configure fail if this is the last instruction.
16748 $ac_cs_success || as_fn_exit
1
16750 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16752 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16756 if test "$no_create" = "yes"
16762 if test "x$wine_notices != "x
; then
16765 for msg
in $wine_notices; do
16767 if test -n "$msg"; then
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16769 $as_echo "$as_me: $msg" >&6;}
16774 for msg
in $wine_warnings; do
16776 if test -n "$msg"; then
16778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16779 $as_echo "$as_me: WARNING: $msg" >&2;}
16785 $as_me: Finished. Do '${ac_make}' to compile Wine.