2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Wine 1.3.9.
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.9'
556 PACKAGE_STRING
='Wine 1.3.9'
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
749 program_transform_name
760 ac_subst_files
='MAKE_RULES
766 enable_option_checking
770 enable_maintainer_mode
818 ac_precious_vars
='build_alias
833 # Initialize some variables set by options.
835 ac_init_version
=false
836 ac_unrecognized_opts
=
838 # The variables have the same names as the options, with
839 # dashes changed to underlines.
847 program_transform_name
=s
,x
,x
,
855 # Installation directory options.
856 # These are left unexpanded so users can "make install exec_prefix=/foo"
857 # and all the variables that are supposed to be based on exec_prefix
858 # by default will actually change.
859 # Use braces instead of parens because sh, perl, etc. also accept them.
860 # (The list follows the same order as the GNU Coding Standards.)
861 bindir
='${exec_prefix}/bin'
862 sbindir
='${exec_prefix}/sbin'
863 libexecdir
='${exec_prefix}/libexec'
864 datarootdir
='${prefix}/share'
865 datadir
='${datarootdir}'
866 sysconfdir
='${prefix}/etc'
867 sharedstatedir
='${prefix}/com'
868 localstatedir
='${prefix}/var'
869 includedir
='${prefix}/include'
870 oldincludedir
='/usr/include'
871 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
872 infodir
='${datarootdir}/info'
877 libdir
='${exec_prefix}/lib'
878 localedir
='${datarootdir}/locale'
879 mandir
='${datarootdir}/man'
885 # If the previous option needs an argument, assign it.
886 if test -n "$ac_prev"; then
887 eval $ac_prev=\
$ac_option
893 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
898 # Accept the important Cygnus configure options, so we can diagnose typos.
900 case $ac_dashdash$ac_option in
904 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
906 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
909 -build |
--build |
--buil |
--bui |
--bu)
910 ac_prev
=build_alias
;;
911 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
912 build_alias
=$ac_optarg ;;
914 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
915 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
916 ac_prev
=cache_file
;;
917 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
918 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
919 cache_file
=$ac_optarg ;;
922 cache_file
=config.cache
;;
924 -datadir |
--datadir |
--datadi |
--datad)
926 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
927 datadir
=$ac_optarg ;;
929 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
930 |
--dataroo |
--dataro |
--datar)
931 ac_prev
=datarootdir
;;
932 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
933 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
934 datarootdir
=$ac_optarg ;;
936 -disable-* |
--disable-*)
937 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
938 # Reject names that are not valid shell variable names.
939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
940 as_fn_error $?
"invalid feature name: $ac_useropt"
941 ac_useropt_orig
=$ac_useropt
942 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
943 case $ac_user_opts in
947 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
948 ac_unrecognized_sep
=', ';;
950 eval enable_
$ac_useropt=no
;;
952 -docdir |
--docdir |
--docdi |
--doc |
--do)
954 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
957 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
959 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
962 -enable-* |
--enable-*)
963 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
964 # Reject names that are not valid shell variable names.
965 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
966 as_fn_error $?
"invalid feature name: $ac_useropt"
967 ac_useropt_orig
=$ac_useropt
968 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
969 case $ac_user_opts in
973 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
974 ac_unrecognized_sep
=', ';;
976 eval enable_
$ac_useropt=\
$ac_optarg ;;
978 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
979 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
980 |
--exec |
--exe |
--ex)
981 ac_prev
=exec_prefix
;;
982 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
983 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
984 |
--exec=* |
--exe=* |
--ex=*)
985 exec_prefix
=$ac_optarg ;;
987 -gas |
--gas |
--ga |
--g)
988 # Obsolete; use --with-gas.
991 -help |
--help |
--hel |
--he |
-h)
993 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
994 ac_init_help
=recursive
;;
995 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
996 ac_init_help
=short
;;
998 -host |
--host |
--hos |
--ho)
999 ac_prev
=host_alias
;;
1000 -host=* |
--host=* |
--hos=* |
--ho=*)
1001 host_alias
=$ac_optarg ;;
1003 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1005 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1007 htmldir
=$ac_optarg ;;
1009 -includedir |
--includedir |
--includedi |
--included |
--include \
1010 |
--includ |
--inclu |
--incl |
--inc)
1011 ac_prev
=includedir
;;
1012 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1013 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1014 includedir
=$ac_optarg ;;
1016 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1018 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1019 infodir
=$ac_optarg ;;
1021 -libdir |
--libdir |
--libdi |
--libd)
1023 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1024 libdir
=$ac_optarg ;;
1026 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1027 |
--libexe |
--libex |
--libe)
1028 ac_prev
=libexecdir
;;
1029 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1030 |
--libexe=* |
--libex=* |
--libe=*)
1031 libexecdir
=$ac_optarg ;;
1033 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1034 ac_prev
=localedir
;;
1035 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1036 localedir
=$ac_optarg ;;
1038 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1039 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1040 ac_prev
=localstatedir
;;
1041 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1042 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1043 localstatedir
=$ac_optarg ;;
1045 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1047 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1048 mandir
=$ac_optarg ;;
1050 -nfp |
--nfp |
--nf)
1051 # Obsolete; use --without-fp.
1054 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1055 |
--no-cr |
--no-c |
-n)
1058 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1059 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1062 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1063 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1064 |
--oldin |
--oldi |
--old |
--ol |
--o)
1065 ac_prev
=oldincludedir
;;
1066 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1067 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1068 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1069 oldincludedir
=$ac_optarg ;;
1071 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1073 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1074 prefix
=$ac_optarg ;;
1076 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1077 |
--program-pre |
--program-pr |
--program-p)
1078 ac_prev
=program_prefix
;;
1079 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1080 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1081 program_prefix
=$ac_optarg ;;
1083 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1084 |
--program-suf |
--program-su |
--program-s)
1085 ac_prev
=program_suffix
;;
1086 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1087 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1088 program_suffix
=$ac_optarg ;;
1090 -program-transform-name |
--program-transform-name \
1091 |
--program-transform-nam |
--program-transform-na \
1092 |
--program-transform-n |
--program-transform- \
1093 |
--program-transform |
--program-transfor \
1094 |
--program-transfo |
--program-transf \
1095 |
--program-trans |
--program-tran \
1096 |
--progr-tra |
--program-tr |
--program-t)
1097 ac_prev
=program_transform_name
;;
1098 -program-transform-name=* |
--program-transform-name=* \
1099 |
--program-transform-nam=* |
--program-transform-na=* \
1100 |
--program-transform-n=* |
--program-transform-=* \
1101 |
--program-transform=* |
--program-transfor=* \
1102 |
--program-transfo=* |
--program-transf=* \
1103 |
--program-trans=* |
--program-tran=* \
1104 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1105 program_transform_name
=$ac_optarg ;;
1107 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1109 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1110 pdfdir
=$ac_optarg ;;
1112 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1114 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1117 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1118 |
-silent |
--silent |
--silen |
--sile |
--sil)
1121 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1123 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1125 sbindir
=$ac_optarg ;;
1127 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1128 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1129 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1131 ac_prev
=sharedstatedir
;;
1132 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1133 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1134 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1136 sharedstatedir
=$ac_optarg ;;
1138 -site |
--site |
--sit)
1140 -site=* |
--site=* |
--sit=*)
1143 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1145 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1146 srcdir
=$ac_optarg ;;
1148 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1149 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1150 ac_prev
=sysconfdir
;;
1151 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1152 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1153 sysconfdir
=$ac_optarg ;;
1155 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1156 ac_prev
=target_alias
;;
1157 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1158 target_alias
=$ac_optarg ;;
1160 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1163 -version |
--version |
--versio |
--versi |
--vers |
-V)
1164 ac_init_version
=: ;;
1167 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1168 # Reject names that are not valid shell variable names.
1169 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1170 as_fn_error $?
"invalid package name: $ac_useropt"
1171 ac_useropt_orig
=$ac_useropt
1172 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1173 case $ac_user_opts in
1177 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1178 ac_unrecognized_sep
=', ';;
1180 eval with_
$ac_useropt=\
$ac_optarg ;;
1182 -without-* |
--without-*)
1183 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1184 # Reject names that are not valid shell variable names.
1185 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1186 as_fn_error $?
"invalid package name: $ac_useropt"
1187 ac_useropt_orig
=$ac_useropt
1188 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1189 case $ac_user_opts in
1193 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1194 ac_unrecognized_sep
=', ';;
1196 eval with_
$ac_useropt=no
;;
1199 # Obsolete; use --with-x.
1202 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1203 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1204 ac_prev
=x_includes
;;
1205 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1206 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1207 x_includes
=$ac_optarg ;;
1209 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1210 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1211 ac_prev
=x_libraries
;;
1212 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1213 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1214 x_libraries
=$ac_optarg ;;
1216 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1217 Try \`$0 --help' for more information"
1221 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1222 # Reject names that are not valid shell variable names.
1223 case $ac_envvar in #(
1224 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1225 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1227 eval $ac_envvar=\
$ac_optarg
1228 export $ac_envvar ;;
1231 # FIXME: should be removed in autoconf 3.0.
1232 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1233 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1234 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1235 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1241 if test -n "$ac_prev"; then
1242 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1243 as_fn_error $?
"missing argument to $ac_option"
1246 if test -n "$ac_unrecognized_opts"; then
1247 case $enable_option_checking in
1249 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1250 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1254 # Check all directory arguments for consistency.
1255 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1256 datadir sysconfdir sharedstatedir localstatedir includedir \
1257 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1258 libdir localedir mandir
1260 eval ac_val
=\$
$ac_var
1261 # Remove trailing slashes.
1264 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1265 eval $ac_var=\
$ac_val;;
1267 # Be sure to have absolute directory names.
1269 [\\/$
]* | ?
:[\\/]* ) continue;;
1270 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1272 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1275 # There might be people who depend on the old broken behavior: `$host'
1276 # used to hold the argument of --host etc.
1277 # FIXME: To remove some day.
1280 target
=$target_alias
1282 # FIXME: To remove some day.
1283 if test "x$host_alias" != x
; then
1284 if test "x$build_alias" = x
; then
1285 cross_compiling
=maybe
1286 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1287 If a cross compiler is detected then cross compile mode will be used" >&2
1288 elif test "x$build_alias" != "x$host_alias"; then
1294 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1296 test "$silent" = yes && exec 6>/dev
/null
1299 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1300 ac_ls_di
=`ls -di .` &&
1301 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1302 as_fn_error $?
"working directory cannot be determined"
1303 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1304 as_fn_error $?
"pwd does not report name of working directory"
1307 # Find the source files, if location was not specified.
1308 if test -z "$srcdir"; then
1309 ac_srcdir_defaulted
=yes
1310 # Try the directory containing this script, then the parent directory.
1311 ac_confdir
=`$as_dirname -- "$as_myself" ||
1312 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1313 X"$as_myself" : 'X\(//\)[^/]' \| \
1314 X"$as_myself" : 'X\(//\)$' \| \
1315 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1316 $as_echo X"$as_myself" |
1317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335 if test ! -r "$srcdir/$ac_unique_file"; then
1339 ac_srcdir_defaulted
=no
1341 if test ! -r "$srcdir/$ac_unique_file"; then
1342 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1343 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1345 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1347 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1349 # When building in place, set srcdir=.
1350 if test "$ac_abs_confdir" = "$ac_pwd"; then
1353 # Remove unnecessary trailing slashes from srcdir.
1354 # Double slashes in file names in object file debugging info
1355 # mess up M-x gdb in Emacs.
1357 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1359 for ac_var
in $ac_precious_vars; do
1360 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1361 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1362 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1363 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1367 # Report the --help message.
1369 if test "$ac_init_help" = "long"; then
1370 # Omit some internal or obsolete options to make the list less imposing.
1371 # This message is too long to be a string in the A/UX 3.1 sh.
1373 \`configure' configures Wine 1.3.9 to adapt to many kinds of systems.
1375 Usage: $0 [OPTION]... [VAR=VALUE]...
1377 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1378 VAR=VALUE. See below for descriptions of some of the useful variables.
1380 Defaults for the options are specified in brackets.
1383 -h, --help display this help and exit
1384 --help=short display options specific to this package
1385 --help=recursive display the short help of all the included packages
1386 -V, --version display version information and exit
1387 -q, --quiet, --silent do not print \`checking ...' messages
1388 --cache-file=FILE cache test results in FILE [disabled]
1389 -C, --config-cache alias for \`--cache-file=config.cache'
1390 -n, --no-create do not create output files
1391 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1393 Installation directories:
1394 --prefix=PREFIX install architecture-independent files in PREFIX
1395 [$ac_default_prefix]
1396 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1399 By default, \`make install' will install all the files in
1400 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1401 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1402 for instance \`--prefix=\$HOME'.
1404 For better control, use the options below.
1406 Fine tuning of the installation directories:
1407 --bindir=DIR user executables [EPREFIX/bin]
1408 --sbindir=DIR system admin executables [EPREFIX/sbin]
1409 --libexecdir=DIR program executables [EPREFIX/libexec]
1410 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1411 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1412 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1413 --libdir=DIR object code libraries [EPREFIX/lib]
1414 --includedir=DIR C header files [PREFIX/include]
1415 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1416 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1417 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1418 --infodir=DIR info documentation [DATAROOTDIR/info]
1419 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1420 --mandir=DIR man documentation [DATAROOTDIR/man]
1421 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1422 --htmldir=DIR html documentation [DOCDIR]
1423 --dvidir=DIR dvi documentation [DOCDIR]
1424 --pdfdir=DIR pdf documentation [DOCDIR]
1425 --psdir=DIR ps documentation [DOCDIR]
1431 --x-includes=DIR X include files are
in DIR
1432 --x-libraries=DIR X library files are
in DIR
1435 --build=BUILD configure
for building on BUILD
[guessed
]
1436 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1440 if test -n "$ac_init_help"; then
1441 case $ac_init_help in
1442 short | recursive
) echo "Configuration of Wine 1.3.9:";;
1447 --disable-option-checking ignore unrecognized
--enable/--with options
1448 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1449 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1450 --disable-win16 do not include Win16 support
1451 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1453 --disable-tests do not build the regression tests
1454 --enable-maintainer-mode
1455 enable maintainer-specific build rules
1456 --disable-largefile omit support for large files
1459 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1460 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1461 --without-alsa do not use the Alsa 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-opencl do not use OpenCL
1484 --without-opengl do not use OpenGL
1485 --without-openssl do not use OpenSSL
1486 --without-oss do not use the OSS sound support
1487 --without-png do not use PNG
1488 --without-pthread do not use the pthread library
1489 --without-sane do not use SANE (scanner support)
1490 --without-tiff do not use TIFF
1491 --without-v4l do not use v4l1 (v4l support)
1492 --without-xcomposite do not use the Xcomposite extension
1493 --without-xcursor do not use the Xcursor extension
1494 --without-xinerama do not use Xinerama (multi-monitor support)
1495 --without-xinput do not use the Xinput extension
1496 --without-xml do not use XML
1497 --without-xrandr do not use Xrandr (resolution changes)
1498 --without-xrender do not use the Xrender extension
1499 --without-xshape do not use the Xshape extension
1500 --without-xshm do not use XShm (shared memory extension)
1501 --without-xslt do not use XSLT
1502 --without-xxf86vm do not use XFree video mode extension
1503 --with-wine-tools=DIR use Wine tools from directory DIR
1504 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1505 --with-x use the X Window System
1507 Some influential environment variables:
1508 CC C compiler command
1509 CFLAGS C compiler flags
1510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1511 nonstandard directory <lib dir>
1512 LIBS libraries to pass to the linker, e.g. -l<library>
1513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1514 you have headers in a nonstandard directory <include dir>
1515 CXX C++ compiler command
1516 CXXFLAGS C++ compiler flags
1518 XMKMF Path to xmkmf, Makefile generator for X Window System
1520 Use these variables to override the choices made by `configure' or to
help
1521 it to
find libraries and programs with nonstandard names
/locations.
1523 Report bugs to
<wine-devel@winehq.org
>.
1524 Wine home page
: <http
://www.winehq.org
>.
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1538 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1540 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1545 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1548 ac_abs_top_builddir
=$ac_pwd
1549 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir
=$ac_top_build_prefix
1554 .
) # We are building in place.
1556 ac_top_srcdir
=$ac_top_builddir_sub
1557 ac_abs_top_srcdir
=$ac_pwd ;;
1558 [\\/]* | ?
:[\\/]* ) # Absolute name.
1559 ac_srcdir
=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir
=$srcdir
1561 ac_abs_top_srcdir
=$srcdir ;;
1563 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1567 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1587 Wine configure
1.3.9
1588 generated by GNU Autoconf
2.67
1590 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1591 This configure
script is free software
; the Free Software Foundation
1592 gives unlimited permission to copy
, distribute and modify it.
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile
()
1606 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1607 rm -f conftest.
$ac_objext
1608 if { { ac_try
="$ac_compile"
1610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.$ac_objext; then :
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_cxx_try_compile LINENO
1640 # ----------------------------
1641 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1642 ac_fn_cxx_try_compile ()
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 rm -f conftest.$ac_objext
1646 if { { ac_try="$ac_compile"
1648 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1649 *) ac_try_echo
=$ac_try;;
1651 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_compile") 2>conftest.err
1655 if test -s conftest.err
; then
1656 grep -v '^ *+' conftest.err
>conftest.er1
1657 cat conftest.er1
>&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } && {
1662 test -z "$ac_cxx_werror_flag" ||
1663 test ! -s conftest.err
1664 } && test -s conftest.
$ac_objext; then :
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.
$ac_ext >&5
1672 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1673 as_fn_set_status
$ac_retval
1675 } # ac_fn_cxx_try_compile
1677 # ac_fn_c_try_link LINENO
1678 # -----------------------
1679 # Try to link conftest.$ac_ext, and return whether this succeeded.
1682 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1683 rm -f conftest.
$ac_objext conftest
$ac_exeext
1684 if { { ac_try
="$ac_link"
1686 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1687 *) ac_try_echo=$ac_try;;
1689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1690 $as_echo "$ac_try_echo"; } >&5
1691 (eval "$ac_link") 2>conftest.err
1693 if test -s conftest.err; then
1694 grep -v '^ *+' conftest.err >conftest.er1
1695 cat conftest.er1 >&5
1696 mv -f conftest.er1 conftest.err
1698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1699 test $ac_status = 0; } && {
1700 test -z "$ac_c_werror_flag" ||
1701 test ! -s conftest.err
1702 } && test -s conftest$ac_exeext && {
1703 test "$cross_compiling" = yes ||
1704 $as_test_x conftest$ac_exeext
1708 $as_echo "$as_me: failed program was:" >&5
1709 sed 's/^/| /' conftest.$ac_ext >&5
1713 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1714 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1715 # interfere with the next link command; also delete a directory that is
1716 # left behind by Apple's compiler. We do this before executing the actions.
1717 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1718 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1719 as_fn_set_status $ac_retval
1721 } # ac_fn_c_try_link
1723 # ac_fn_c_try_cpp LINENO
1724 # ----------------------
1725 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1728 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1729 if { { ac_try="$ac_cpp conftest.$ac_ext"
1731 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1732 *) ac_try_echo
=$ac_try;;
1734 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1738 if test -s conftest.err
; then
1739 grep -v '^ *+' conftest.err
>conftest.er1
1740 cat conftest.er1
>&5
1741 mv -f conftest.er1 conftest.err
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } > conftest.i
&& {
1745 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1746 test ! -s conftest.err
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.
$ac_ext >&5
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1756 as_fn_set_status
$ac_retval
1760 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1761 # -------------------------------------------------------
1762 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1763 # the include files in INCLUDES and setting the cache variable VAR
1765 ac_fn_c_check_header_mongrel
()
1767 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1768 if eval "test \"\${$3+set}\"" = set; then :
1769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1770 $as_echo_n "checking for $2... " >&6; }
1771 if eval "test \"\${$3+set}\"" = set; then :
1772 $as_echo_n "(cached) " >&6
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1776 $as_echo "$ac_res" >&6; }
1778 # Is the header compilable?
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1780 $as_echo_n "checking $2 usability... " >&6; }
1781 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1782 /* end confdefs.h. */
1786 if ac_fn_c_try_compile
"$LINENO"; then :
1787 ac_header_compiler
=yes
1789 ac_header_compiler
=no
1791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1793 $as_echo "$ac_header_compiler" >&6; }
1795 # Is the header present?
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1797 $as_echo_n "checking $2 presence... " >&6; }
1798 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1799 /* end confdefs.h. */
1802 if ac_fn_c_try_cpp
"$LINENO"; then :
1803 ac_header_preproc
=yes
1805 ac_header_preproc
=no
1807 rm -f conftest.err conftest.i conftest.
$ac_ext
1808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1809 $as_echo "$ac_header_preproc" >&6; }
1811 # So? What about this header?
1812 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1815 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1817 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1821 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1823 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1825 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1827 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1829 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1830 ( $as_echo "## ------------------------------------ ##
1831 ## Report this to wine-devel@winehq.org ##
1832 ## ------------------------------------ ##"
1833 ) |
sed "s/^/$as_me: WARNING: /" >&2
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1837 $as_echo_n "checking for $2... " >&6; }
1838 if eval "test \"\${$3+set}\"" = set; then :
1839 $as_echo_n "(cached) " >&6
1841 eval "$3=\$ac_header_compiler"
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1845 $as_echo "$ac_res" >&6; }
1847 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1849 } # ac_fn_c_check_header_mongrel
1851 # ac_fn_c_try_run LINENO
1852 # ----------------------
1853 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1854 # that executables *can* be run.
1857 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1858 if { { ac_try
="$ac_link"
1860 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1861 *) ac_try_echo=$ac_try;;
1863 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1864 $as_echo "$ac_try_echo"; } >&5
1865 (eval "$ac_link") 2>&5
1867 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1868 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1869 { { case "(($ac_try" in
1870 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1871 *) ac_try_echo
=$ac_try;;
1873 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1874 $as_echo "$ac_try_echo"; } >&5
1875 (eval "$ac_try") 2>&5
1877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1878 test $ac_status = 0; }; }; then :
1881 $as_echo "$as_me: program exited with status $ac_status" >&5
1882 $as_echo "$as_me: failed program was:" >&5
1883 sed 's/^/| /' conftest.
$ac_ext >&5
1885 ac_retval
=$ac_status
1887 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1888 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1889 as_fn_set_status
$ac_retval
1893 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1894 # -------------------------------------------------------
1895 # Tests whether HEADER exists and can be compiled using the include files in
1896 # INCLUDES, setting the cache variable VAR accordingly.
1897 ac_fn_c_check_header_compile
()
1899 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1901 $as_echo_n "checking for $2... " >&6; }
1902 if eval "test \"\${$3+set}\"" = set; then :
1903 $as_echo_n "(cached) " >&6
1905 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1906 /* end confdefs.h. */
1910 if ac_fn_c_try_compile
"$LINENO"; then :
1915 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1919 $as_echo "$ac_res" >&6; }
1920 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1922 } # ac_fn_c_check_header_compile
1924 # ac_fn_c_check_func LINENO FUNC VAR
1925 # ----------------------------------
1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1927 ac_fn_c_check_func
()
1929 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if eval "test \"\${$3+set}\"" = set; then :
1933 $as_echo_n "(cached) " >&6
1935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1936 /* end confdefs.h. */
1937 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1938 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1939 #define $2 innocuous_$2
1941 /* System header to define __stub macros and hopefully few prototypes,
1942 which can conflict with char $2 (); below.
1943 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1944 <limits.h> exists even on freestanding compilers. */
1947 # include <limits.h>
1949 # include <assert.h>
1954 /* Override any GCC internal prototype to avoid an error.
1955 Use char because int might match the return type of a GCC
1956 builtin and then its argument prototype would still apply. */
1961 /* The GNU C library defines this for functions which it implements
1962 to always fail with ENOSYS. Some functions are actually named
1963 something starting with __ and the normal name is an alias. */
1964 #if defined __stub_$2 || defined __stub___$2
1976 if ac_fn_c_try_link
"$LINENO"; then :
1981 rm -f core conftest.err conftest.
$ac_objext \
1982 conftest
$ac_exeext conftest.
$ac_ext
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1986 $as_echo "$ac_res" >&6; }
1987 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1989 } # ac_fn_c_check_func
1991 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1992 # ----------------------------------------------------
1993 # Tries to find if the field MEMBER exists in type AGGR, after including
1994 # INCLUDES, setting cache variable VAR accordingly.
1995 ac_fn_c_check_member
()
1997 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1999 $as_echo_n "checking for $2.$3... " >&6; }
2000 if eval "test \"\${$4+set}\"" = set; then :
2001 $as_echo_n "(cached) " >&6
2003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2004 /* end confdefs.h. */
2016 if ac_fn_c_try_compile
"$LINENO"; then :
2019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2020 /* end confdefs.h. */
2026 if (sizeof ac_aggr.$3)
2032 if ac_fn_c_try_compile
"$LINENO"; then :
2037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2039 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2043 $as_echo "$ac_res" >&6; }
2044 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2046 } # ac_fn_c_check_member
2048 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2049 # -------------------------------------------
2050 # Tests whether TYPE exists after having included INCLUDES, setting cache
2051 # variable VAR accordingly.
2052 ac_fn_c_check_type
()
2054 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2056 $as_echo_n "checking for $2... " >&6; }
2057 if eval "test \"\${$3+set}\"" = set; then :
2058 $as_echo_n "(cached) " >&6
2061 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2073 if ac_fn_c_try_compile
"$LINENO"; then :
2074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2075 /* end confdefs.h. */
2086 if ac_fn_c_try_compile
"$LINENO"; then :
2091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2093 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2097 $as_echo "$ac_res" >&6; }
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2100 } # ac_fn_c_check_type
2101 cat >config.log
<<_ACEOF
2102 This file contains any messages produced by compilers while
2103 running configure, to aid debugging if configure makes a mistake.
2105 It was created by Wine $as_me 1.3.9, which was
2106 generated by GNU Autoconf 2.67. Invocation command line was
2118 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2119 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2120 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2121 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2122 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2124 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2125 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2127 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2128 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2129 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2130 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2131 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2132 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2133 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2137 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2141 test -z "$as_dir" && as_dir
=.
2142 $as_echo "PATH: $as_dir"
2158 # Keep a trace of the command line.
2159 # Strip out --no-create and --no-recursion so they do not pile up.
2160 # Strip out --silent because we don't want to record it for future runs.
2161 # Also quote any args containing shell meta-characters.
2162 # Make two passes to allow for proper duplicate-argument suppression.
2166 ac_must_keep_next
=false
2172 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2173 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2174 |
-silent |
--silent |
--silen |
--sile |
--sil)
2177 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2180 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2182 as_fn_append ac_configure_args1
" '$ac_arg'"
2183 if test $ac_must_keep_next = true
; then
2184 ac_must_keep_next
=false
# Got value, back to normal.
2187 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2188 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2189 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2190 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2191 case "$ac_configure_args0 " in
2192 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2195 -* ) ac_must_keep_next
=true
;;
2198 as_fn_append ac_configure_args
" '$ac_arg'"
2203 { ac_configure_args0
=; unset ac_configure_args0
;}
2204 { ac_configure_args1
=; unset ac_configure_args1
;}
2206 # When interrupted or exit'd, cleanup temporary files, and complete
2207 # config.log. We remove comments because anyway the quotes in there
2208 # would cause problems or look ugly.
2209 # WARNING: Use '\'' to represent an apostrophe within the trap.
2210 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2211 trap 'exit_status=$?
2212 # Save into config.log some information that might help in debugging.
2216 $as_echo "## ---------------- ##
2217 ## Cache variables. ##
2218 ## ---------------- ##"
2220 # The following way of writing the cache mishandles newlines in values,
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2227 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2231 _ | IFS | as_nl) ;; #(
2232 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2233 *) { eval $ac_var=; unset $ac_var;} ;;
2238 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2239 *${as_nl}ac_space=\ *)
2241 "s/'\''/'\''\\\\'\'''\''/g;
2242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2252 $as_echo "## ----------------- ##
2253 ## Output variables. ##
2254 ## ----------------- ##"
2256 for ac_var in $ac_subst_vars
2258 eval ac_val=\$$ac_var
2260 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2262 $as_echo "$ac_var='\''$ac_val'\''"
2266 if test -n "$ac_subst_files"; then
2267 $as_echo "## ------------------- ##
2268 ## File substitutions. ##
2269 ## ------------------- ##"
2271 for ac_var
in $ac_subst_files
2273 eval ac_val
=\$
$ac_var
2275 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2277 $as_echo "$ac_var='\''$ac_val'\''"
2282 if test -s confdefs.h; then
2283 $as_echo "## ----------- ##
2290 test "$ac_signal" != 0 &&
2291 $as_echo "$as_me: caught signal $ac_signal"
2292 $as_echo "$as_me: exit $exit_status"
2294 rm -f core *.core core.conftest.* &&
2295 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2298 for ac_signal
in 1 2 13 15; do
2299 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2303 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2304 rm -f -r conftest
* confdefs.h
2306 $as_echo "/* confdefs.h */" > confdefs.h
2308 # Predefined preprocessor variables.
2310 cat >>confdefs.h
<<_ACEOF
2311 #define PACKAGE_NAME "$PACKAGE_NAME"
2314 cat >>confdefs.h
<<_ACEOF
2315 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2318 cat >>confdefs.h
<<_ACEOF
2319 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2322 cat >>confdefs.h
<<_ACEOF
2323 #define PACKAGE_STRING "$PACKAGE_STRING"
2326 cat >>confdefs.h
<<_ACEOF
2327 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2330 cat >>confdefs.h
<<_ACEOF
2331 #define PACKAGE_URL "$PACKAGE_URL"
2335 # Let the site file select an alternate cache file if it wants to.
2336 # Prefer an explicitly selected file to automatically selected ones.
2339 if test -n "$CONFIG_SITE"; then
2340 # We do not want a PATH search for config.site.
2341 case $CONFIG_SITE in #((
2342 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2343 */*) ac_site_file1
=$CONFIG_SITE;;
2344 *) ac_site_file1
=.
/$CONFIG_SITE;;
2346 elif test "x$prefix" != xNONE
; then
2347 ac_site_file1
=$prefix/share
/config.site
2348 ac_site_file2
=$prefix/etc
/config.site
2350 ac_site_file1
=$ac_default_prefix/share
/config.site
2351 ac_site_file2
=$ac_default_prefix/etc
/config.site
2353 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2355 test "x$ac_site_file" = xNONE
&& continue
2356 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2358 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2359 sed 's/^/| /' "$ac_site_file" >&5
2361 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 as_fn_error $?
"failed to load site script $ac_site_file
2364 See \`config.log' for more details" "$LINENO" 5 ; }
2368 if test -r "$cache_file"; then
2369 # Some versions of bash will fail to source /dev/null (special files
2370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2371 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2373 $as_echo "$as_me: loading cache $cache_file" >&6;}
2375 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2376 *) .
"./$cache_file";;
2380 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2381 $as_echo "$as_me: creating cache $cache_file" >&6;}
2385 # Check that the precious variables saved in the cache have kept the same
2387 ac_cache_corrupted
=false
2388 for ac_var
in $ac_precious_vars; do
2389 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2390 eval ac_new_set
=\
$ac_env_${ac_var}_set
2391 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2392 eval ac_new_val
=\
$ac_env_${ac_var}_value
2393 case $ac_old_set,$ac_new_set in
2395 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2396 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2397 ac_cache_corrupted
=: ;;
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2400 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2401 ac_cache_corrupted
=: ;;
2404 if test "x$ac_old_val" != "x$ac_new_val"; then
2405 # differences in whitespace do not lead to failure.
2406 ac_old_val_w
=`echo x $ac_old_val`
2407 ac_new_val_w
=`echo x $ac_new_val`
2408 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2410 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2411 ac_cache_corrupted
=:
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2414 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2415 eval $ac_var=\
$ac_old_val
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2418 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2420 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2423 # Pass precious variables to config.status.
2424 if test "$ac_new_set" = set; then
2426 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2427 *) ac_arg
=$ac_var=$ac_new_val ;;
2429 case " $ac_configure_args " in
2430 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2431 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2435 if $ac_cache_corrupted; then
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2439 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2440 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2442 ## -------------------- ##
2443 ## Main body of script. ##
2444 ## -------------------- ##
2447 ac_cpp
='$CPP $CPPFLAGS'
2448 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2449 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2450 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2454 ac_config_headers
="$ac_config_headers include/config.h"
2457 for ac_dir
in tools
"$srcdir"/tools
; do
2458 if test -f "$ac_dir/install-sh"; then
2460 ac_install_sh
="$ac_aux_dir/install-sh -c"
2462 elif test -f "$ac_dir/install.sh"; then
2464 ac_install_sh
="$ac_aux_dir/install.sh -c"
2466 elif test -f "$ac_dir/shtool"; then
2468 ac_install_sh
="$ac_aux_dir/shtool install -c"
2472 if test -z "$ac_aux_dir"; then
2473 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2476 # These three variables are undocumented and unsupported,
2477 # and are intended to be withdrawn in a future Autoconf release.
2478 # They can cause serious problems if a builder's source tree is in a directory
2479 # whose full name contains unusual characters.
2480 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2481 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2482 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2488 # Check whether --enable-win16 was given.
2489 if test "${enable_win16+set}" = set; then :
2490 enableval
=$enable_win16;
2493 # Check whether --enable-win64 was given.
2494 if test "${enable_win64+set}" = set; then :
2495 enableval
=$enable_win64;
2498 # Check whether --enable-tests was given.
2499 if test "${enable_tests+set}" = set; then :
2500 enableval
=$enable_tests;
2503 # Check whether --enable-maintainer-mode was given.
2504 if test "${enable_maintainer_mode+set}" = set; then :
2505 enableval
=$enable_maintainer_mode;
2510 # Check whether --with-alsa was given.
2511 if test "${with_alsa+set}" = set; then :
2512 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2516 # Check whether --with-capi was given.
2517 if test "${with_capi+set}" = set; then :
2518 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2522 # Check whether --with-cms was given.
2523 if test "${with_cms+set}" = set; then :
2524 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2528 # Check whether --with-coreaudio was given.
2529 if test "${with_coreaudio+set}" = set; then :
2530 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2534 # Check whether --with-cups was given.
2535 if test "${with_cups+set}" = set; then :
2540 # Check whether --with-curses was given.
2541 if test "${with_curses+set}" = set; then :
2542 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2546 # Check whether --with-esd was given.
2547 if test "${with_esd+set}" = set; then :
2552 # Check whether --with-fontconfig was given.
2553 if test "${with_fontconfig+set}" = set; then :
2554 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2558 # Check whether --with-freetype was given.
2559 if test "${with_freetype+set}" = set; then :
2560 withval
=$with_freetype;
2564 # Check whether --with-gphoto was given.
2565 if test "${with_gphoto+set}" = set; then :
2566 withval
=$with_gphoto;
2570 # Check whether --with-glu was given.
2571 if test "${with_glu+set}" = set; then :
2572 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2576 # Check whether --with-gnutls was given.
2577 if test "${with_gnutls+set}" = set; then :
2578 withval
=$with_gnutls;
2582 # Check whether --with-gsm was given.
2583 if test "${with_gsm+set}" = set; then :
2584 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2588 # Check whether --with-gstreamer was given.
2589 if test "${with_gstreamer+set}" = set; then :
2590 withval
=$with_gstreamer;
2594 # Check whether --with-hal was given.
2595 if test "${with_hal+set}" = set; then :
2600 # Check whether --with-icns was given.
2601 if test "${with_icns+set}" = set; then :
2602 withval
=$with_icns; if test "x$withval" = "xno"; then ac_cv_header_icns_h
=no
; fi
2606 # Check whether --with-jack was given.
2607 if test "${with_jack+set}" = set; then :
2608 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2612 # Check whether --with-jpeg was given.
2613 if test "${with_jpeg+set}" = set; then :
2614 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2618 # Check whether --with-ldap was given.
2619 if test "${with_ldap+set}" = set; then :
2620 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2624 # Check whether --with-mpg123 was given.
2625 if test "${with_mpg123+set}" = set; then :
2626 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2630 # Check whether --with-nas was given.
2631 if test "${with_nas+set}" = set; then :
2632 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2636 # Check whether --with-openal was given.
2637 if test "${with_openal+set}" = set; then :
2638 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2642 # Check whether --with-opencl was given.
2643 if test "${with_opencl+set}" = set; then :
2644 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_opencl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2648 # Check whether --with-opengl was given.
2649 if test "${with_opengl+set}" = set; then :
2650 withval
=$with_opengl;
2654 # Check whether --with-openssl was given.
2655 if test "${with_openssl+set}" = set; then :
2656 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2660 # Check whether --with-oss was given.
2661 if test "${with_oss+set}" = set; then :
2662 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
2666 # Check whether --with-png was given.
2667 if test "${with_png+set}" = set; then :
2668 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2672 # Check whether --with-pthread was given.
2673 if test "${with_pthread+set}" = set; then :
2674 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2678 # Check whether --with-sane was given.
2679 if test "${with_sane+set}" = set; then :
2684 # Check whether --with-tiff was given.
2685 if test "${with_tiff+set}" = set; then :
2686 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2690 # Check whether --with-v4l was given.
2691 if test "${with_v4l+set}" = set; then :
2696 # Check whether --with-xcomposite was given.
2697 if test "${with_xcomposite+set}" = set; then :
2698 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2702 # Check whether --with-xcursor was given.
2703 if test "${with_xcursor+set}" = set; then :
2704 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2708 # Check whether --with-xinerama was given.
2709 if test "${with_xinerama+set}" = set; then :
2710 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2714 # Check whether --with-xinput was given.
2715 if test "${with_xinput+set}" = set; then :
2716 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2720 # Check whether --with-xml was given.
2721 if test "${with_xml+set}" = set; then :
2726 # Check whether --with-xrandr was given.
2727 if test "${with_xrandr+set}" = set; then :
2728 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2732 # Check whether --with-xrender was given.
2733 if test "${with_xrender+set}" = set; then :
2734 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2738 # Check whether --with-xshape was given.
2739 if test "${with_xshape+set}" = set; then :
2740 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2744 # Check whether --with-xshm was given.
2745 if test "${with_xshm+set}" = set; then :
2746 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2750 # Check whether --with-xslt was given.
2751 if test "${with_xslt+set}" = set; then :
2756 # Check whether --with-xxf86vm was given.
2757 if test "${with_xxf86vm+set}" = set; then :
2758 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
2763 # Check whether --with-wine-tools was given.
2764 if test "${with_wine_tools+set}" = set; then :
2765 withval
=$with_wine_tools;
2769 # Check whether --with-wine64 was given.
2770 if test "${with_wine64+set}" = set; then :
2771 withval
=$with_wine64;
2775 # Make sure we can run config.sub.
2776 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2777 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2780 $as_echo_n "checking build system type... " >&6; }
2781 if test "${ac_cv_build+set}" = set; then :
2782 $as_echo_n "(cached) " >&6
2784 ac_build_alias
=$build_alias
2785 test "x$ac_build_alias" = x
&&
2786 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2787 test "x$ac_build_alias" = x
&&
2788 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2789 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2790 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2794 $as_echo "$ac_cv_build" >&6; }
2795 case $ac_cv_build in
2797 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2800 ac_save_IFS
=$IFS; IFS
='-'
2806 # Remember, the first character of IFS is used to create $*,
2807 # except with old shells:
2810 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2814 $as_echo_n "checking host system type... " >&6; }
2815 if test "${ac_cv_host+set}" = set; then :
2816 $as_echo_n "(cached) " >&6
2818 if test "x$host_alias" = x
; then
2819 ac_cv_host
=$ac_cv_build
2821 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2822 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2827 $as_echo "$ac_cv_host" >&6; }
2830 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2833 ac_save_IFS
=$IFS; IFS
='-'
2839 # Remember, the first character of IFS is used to create $*,
2840 # except with old shells:
2843 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2849 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2850 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2851 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2857 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2859 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2861 $as_echo_n "(cached) " >&6
2863 cat >conftest.
make <<\_ACEOF
2866 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2871 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2873 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2877 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884 SET_MAKE
="MAKE=${MAKE-make}"
2888 ac_cpp
='$CPP $CPPFLAGS'
2889 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2892 if test -n "$ac_tool_prefix"; then
2893 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2894 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2896 $as_echo_n "checking for $ac_word... " >&6; }
2897 if test "${ac_cv_prog_CC+set}" = set; then :
2898 $as_echo_n "(cached) " >&6
2900 if test -n "$CC"; then
2901 ac_cv_prog_CC
="$CC" # Let the user override the test.
2903 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2907 test -z "$as_dir" && as_dir
=.
2908 for ac_exec_ext
in '' $ac_executable_extensions; do
2909 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2910 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2911 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2921 if test -n "$CC"; then
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2923 $as_echo "$CC" >&6; }
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2926 $as_echo "no" >&6; }
2931 if test -z "$ac_cv_prog_CC"; then
2933 # Extract the first word of "gcc", so it can be a program name with args.
2934 set dummy gcc
; ac_word
=$2
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2936 $as_echo_n "checking for $ac_word... " >&6; }
2937 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2940 if test -n "$ac_ct_CC"; then
2941 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2943 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2947 test -z "$as_dir" && as_dir
=.
2948 for ac_exec_ext
in '' $ac_executable_extensions; do
2949 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2950 ac_cv_prog_ac_ct_CC
="gcc"
2951 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2960 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2961 if test -n "$ac_ct_CC"; then
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2963 $as_echo "$ac_ct_CC" >&6; }
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2966 $as_echo "no" >&6; }
2969 if test "x$ac_ct_CC" = x
; then
2972 case $cross_compiling:$ac_tool_warned in
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2975 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2976 ac_tool_warned
=yes ;;
2984 if test -z "$CC"; then
2985 if test -n "$ac_tool_prefix"; then
2986 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2987 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2989 $as_echo_n "checking for $ac_word... " >&6; }
2990 if test "${ac_cv_prog_CC+set}" = set; then :
2991 $as_echo_n "(cached) " >&6
2993 if test -n "$CC"; then
2994 ac_cv_prog_CC
="$CC" # Let the user override the test.
2996 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3000 test -z "$as_dir" && as_dir
=.
3001 for ac_exec_ext
in '' $ac_executable_extensions; do
3002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3003 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3014 if test -n "$CC"; then
3015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3016 $as_echo "$CC" >&6; }
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3019 $as_echo "no" >&6; }
3025 if test -z "$CC"; then
3026 # Extract the first word of "cc", so it can be a program name with args.
3027 set dummy cc
; ac_word
=$2
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3029 $as_echo_n "checking for $ac_word... " >&6; }
3030 if test "${ac_cv_prog_CC+set}" = set; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -n "$CC"; then
3034 ac_cv_prog_CC
="$CC" # Let the user override the test.
3037 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3041 test -z "$as_dir" && as_dir
=.
3042 for ac_exec_ext
in '' $ac_executable_extensions; do
3043 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3044 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3045 ac_prog_rejected
=yes
3049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3056 if test $ac_prog_rejected = yes; then
3057 # We found a bogon in the path, so make sure we never use it.
3058 set dummy
$ac_cv_prog_CC
3060 if test $# != 0; then
3061 # We chose a different compiler from the bogus one.
3062 # However, it has the same basename, so the bogon will be chosen
3063 # first if we set CC to just the basename; use the full file name.
3065 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3071 if test -n "$CC"; then
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3073 $as_echo "$CC" >&6; }
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3076 $as_echo "no" >&6; }
3081 if test -z "$CC"; then
3082 if test -n "$ac_tool_prefix"; then
3083 for ac_prog
in cl.exe
3085 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3086 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3088 $as_echo_n "checking for $ac_word... " >&6; }
3089 if test "${ac_cv_prog_CC+set}" = set; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -n "$CC"; then
3093 ac_cv_prog_CC
="$CC" # Let the user override the test.
3095 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3099 test -z "$as_dir" && as_dir
=.
3100 for ac_exec_ext
in '' $ac_executable_extensions; do
3101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3102 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3103 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3113 if test -n "$CC"; then
3114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3115 $as_echo "$CC" >&6; }
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3118 $as_echo "no" >&6; }
3122 test -n "$CC" && break
3125 if test -z "$CC"; then
3127 for ac_prog
in cl.exe
3129 # Extract the first word of "$ac_prog", so it can be a program name with args.
3130 set dummy
$ac_prog; ac_word
=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$ac_ct_CC"; then
3137 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3139 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir
=.
3144 for ac_exec_ext
in '' $ac_executable_extensions; do
3145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3146 ac_cv_prog_ac_ct_CC
="$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3156 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3157 if test -n "$ac_ct_CC"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3159 $as_echo "$ac_ct_CC" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$ac_ct_CC" && break
3169 if test "x$ac_ct_CC" = x
; then
3172 case $cross_compiling:$ac_tool_warned in
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3175 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3176 ac_tool_warned
=yes ;;
3185 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3186 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3187 as_fn_error $?
"no acceptable C compiler found in \$PATH
3188 See \`config.log' for more details" "$LINENO" 5 ; }
3190 # Provide some information about the compiler.
3191 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3194 for ac_option
in --version -v -V -qversion; do
3195 { { ac_try
="$ac_compiler $ac_option >&5"
3197 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3198 *) ac_try_echo=$ac_try;;
3200 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3201 $as_echo "$ac_try_echo"; } >&5
3202 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3204 if test -s conftest.err; then
3206 ... rest of stderr output deleted ...
3207 10q' conftest.err >conftest.er1
3208 cat conftest.er1 >&5
3210 rm -f conftest.er1 conftest.err
3211 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3212 test $ac_status = 0; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3226 ac_clean_files_save=$ac_clean_files
3227 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3228 # Try to create an executable without -o first, disregard a.out.
3229 # It will help us diagnose broken compilers, and finding out an intuition
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3232 $as_echo_n "checking whether the C compiler works... " >&6; }
3233 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3235 # The possible output files:
3236 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3239 for ac_file in $ac_files
3242 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3243 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3248 if { { ac_try="$ac_link_default"
3250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3251 *) ac_try_echo
=$ac_try;;
3253 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3254 $as_echo "$ac_try_echo"; } >&5
3255 (eval "$ac_link_default") 2>&5
3257 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3258 test $ac_status = 0; }; then :
3259 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3260 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3261 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3262 # so that the user can short-circuit this test for compilers unknown to
3264 for ac_file
in $ac_files ''
3266 test -f "$ac_file" ||
continue
3268 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3271 # We found the default executable, but exeext='' is most
3275 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3277 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3279 # We set ac_cv_exeext here because the later test for it is not
3280 # safe: cross compilers may not add the suffix if given an `-o'
3281 # argument, so we may need to know it at that point already.
3282 # Even if this section looks crufty: it has the advantage of
3289 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3294 if test -z "$ac_file"; then :
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3296 $as_echo "no" >&6; }
3297 $as_echo "$as_me: failed program was:" >&5
3298 sed 's/^/| /' conftest.
$ac_ext >&5
3300 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3301 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3302 as_fn_error
77 "C compiler cannot create executables
3303 See \`config.log' for more details" "$LINENO" 5 ; }
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3306 $as_echo "yes" >&6; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3309 $as_echo_n "checking for C compiler default output file name... " >&6; }
3310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3311 $as_echo "$ac_file" >&6; }
3312 ac_exeext
=$ac_cv_exeext
3314 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3315 ac_clean_files
=$ac_clean_files_save
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3317 $as_echo_n "checking for suffix of executables... " >&6; }
3318 if { { ac_try
="$ac_link"
3320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3321 *) ac_try_echo=$ac_try;;
3323 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3324 $as_echo "$ac_try_echo"; } >&5
3325 (eval "$ac_link") 2>&5
3327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3328 test $ac_status = 0; }; then :
3329 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3330 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3331 # work properly (i.e., refer to `conftest.exe'), while it won't with
3333 for ac_file
in conftest.exe conftest conftest.
*; do
3334 test -f "$ac_file" ||
continue
3336 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3337 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3343 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3344 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3345 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3346 See \`config.log' for more details" "$LINENO" 5 ; }
3348 rm -f conftest conftest
$ac_cv_exeext
3349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3350 $as_echo "$ac_cv_exeext" >&6; }
3352 rm -f conftest.
$ac_ext
3353 EXEEXT
=$ac_cv_exeext
3355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3356 /* end confdefs.h. */
3361 FILE *f = fopen ("conftest.out", "w");
3362 return ferror (f) || fclose (f) != 0;
3368 ac_clean_files
="$ac_clean_files conftest.out"
3369 # Check that the compiler produces executables we can run. If not, either
3370 # the compiler is broken, or we cross compile.
3371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3372 $as_echo_n "checking whether we are cross compiling... " >&6; }
3373 if test "$cross_compiling" != yes; then
3374 { { ac_try
="$ac_link"
3376 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3377 *) ac_try_echo=$ac_try;;
3379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3380 $as_echo "$ac_try_echo"; } >&5
3381 (eval "$ac_link") 2>&5
3383 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3384 test $ac_status = 0; }
3385 if { ac_try='./conftest$ac_cv_exeext'
3386 { { case "(($ac_try" in
3387 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3388 *) ac_try_echo
=$ac_try;;
3390 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3391 $as_echo "$ac_try_echo"; } >&5
3392 (eval "$ac_try") 2>&5
3394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3395 test $ac_status = 0; }; }; then
3398 if test "$cross_compiling" = maybe
; then
3401 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3402 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3403 as_fn_error $?
"cannot run C compiled programs.
3404 If you meant to cross compile, use \`--host'.
3405 See \`config.log' for more details" "$LINENO" 5 ; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3410 $as_echo "$cross_compiling" >&6; }
3412 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3413 ac_clean_files
=$ac_clean_files_save
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3415 $as_echo_n "checking for suffix of object files... " >&6; }
3416 if test "${ac_cv_objext+set}" = set; then :
3417 $as_echo_n "(cached) " >&6
3419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3420 /* end confdefs.h. */
3430 rm -f conftest.o conftest.obj
3431 if { { ac_try
="$ac_compile"
3433 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3434 *) ac_try_echo=$ac_try;;
3436 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3437 $as_echo "$ac_try_echo"; } >&5
3438 (eval "$ac_compile") 2>&5
3440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3441 test $ac_status = 0; }; then :
3442 for ac_file in conftest.o conftest.obj conftest.*; do
3443 test -f "$ac_file" || continue;
3445 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3446 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3451 $as_echo "$as_me: failed program was:" >&5
3452 sed 's/^/| /' conftest.$ac_ext >&5
3454 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3455 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3456 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3457 See \
`config.log' for more details" "$LINENO" 5 ; }
3459 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3462 $as_echo "$ac_cv_objext" >&6; }
3463 OBJEXT=$ac_cv_objext
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3466 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3467 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3468 $as_echo_n "(cached) " >&6
3470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3471 /* end confdefs.h. */
3484 if ac_fn_c_try_compile "$LINENO"; then :
3489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3490 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3494 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3495 if test $ac_compiler_gnu = yes; then
3500 ac_test_CFLAGS=${CFLAGS+set}
3501 ac_save_CFLAGS=$CFLAGS
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3503 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3504 if test "${ac_cv_prog_cc_g+set}" = set; then :
3505 $as_echo_n "(cached) " >&6
3507 ac_save_c_werror_flag=$ac_c_werror_flag
3508 ac_c_werror_flag=yes
3511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3512 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3537 if ac_fn_c_try_compile "$LINENO"; then :
3540 ac_c_werror_flag=$ac_save_c_werror_flag
3542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3543 /* end confdefs.h. */
3553 if ac_fn_c_try_compile "$LINENO"; then :
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 ac_c_werror_flag=$ac_save_c_werror_flag
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3564 $as_echo "$ac_cv_prog_cc_g" >&6; }
3565 if test "$ac_test_CFLAGS" = set; then
3566 CFLAGS=$ac_save_CFLAGS
3567 elif test $ac_cv_prog_cc_g = yes; then
3568 if test "$GCC" = yes; then
3574 if test "$GCC" = yes; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3581 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3582 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3583 $as_echo_n "(cached) " >&6
3585 ac_cv_prog_cc_c89=no
3587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3588 /* end confdefs.h. */
3591 #include <sys/types.h>
3592 #include <sys/stat.h>
3593 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3594 struct buf { int x; };
3595 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3596 static char *e (p, i)
3602 static char *f (char * (*g) (char **, int), char **p, ...)
3607 s = g (p, va_arg (v,int));
3612 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3613 function prototypes and stuff, but not '\xHH' hex character constants.
3614 These don't provoke an error unfortunately, instead are silently treated
3615 as 'x'. The following induces an error, until -std is added to get
3616 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3617 array size at least. It's necessary to write '\x00'==0 to get something
3618 that's true only with -std. */
3619 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3621 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3622 inside strings and character constants. */
3624 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3626 int test (int i, double x);
3627 struct s1 {int (*f) (int a);};
3628 struct s2 {int (*f) (double a);};
3629 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3635 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3640 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3641 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3643 CC="$ac_save_CC $ac_arg"
3644 if ac_fn_c_try_compile "$LINENO"; then :
3645 ac_cv_prog_cc_c89=$ac_arg
3647 rm -f core conftest.err conftest.$ac_objext
3648 test "x$ac_cv_prog_cc_c89" != "xno" && break
3650 rm -f conftest.$ac_ext
3655 case "x$ac_cv_prog_cc_c89" in
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3658 $as_echo "none needed" >&6; } ;;
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3661 $as_echo "unsupported" >&6; } ;;
3663 CC="$CC $ac_cv_prog_cc_c89"
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3665 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3667 if test "x$ac_cv_prog_cc_c89" != xno; then :
3672 ac_cpp='$CPP $CPPFLAGS'
3673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3678 ac_cpp='$CXXCPP $CPPFLAGS'
3679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3682 if test -z "$CXX"; then
3683 if test -n "$CCC"; then
3686 if test -n "$ac_tool_prefix"; then
3687 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3689 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3690 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3692 $as_echo_n "checking for $ac_word... " >&6; }
3693 if test "${ac_cv_prog_CXX+set}" = set; then :
3694 $as_echo_n "(cached) " >&6
3696 if test -n "$CXX"; then
3697 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3699 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 test -z "$as_dir" && as_dir=.
3704 for ac_exec_ext in '' $ac_executable_extensions; do
3705 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3706 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3707 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3717 if test -n "$CXX"; then
3718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3719 $as_echo "$CXX" >&6; }
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3722 $as_echo "no" >&6; }
3726 test -n "$CXX" && break
3729 if test -z "$CXX"; then
3731 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3733 # Extract the first word of "$ac_prog", so it can be a program name with args.
3734 set dummy $ac_prog; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3740 if test -n "$ac_ct_CXX"; then
3741 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_ac_ct_CXX="$ac_prog"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3760 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3761 if test -n "$ac_ct_CXX"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3763 $as_echo "$ac_ct_CXX" >&6; }
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3770 test -n "$ac_ct_CXX" && break
3773 if test "x$ac_ct_CXX" = x; then
3776 case $cross_compiling:$ac_tool_warned in
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3779 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3780 ac_tool_warned=yes ;;
3788 # Provide some information about the compiler.
3789 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3792 for ac_option in --version -v -V -qversion; do
3793 { { ac_try="$ac_compiler $ac_option >&5"
3795 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3796 *) ac_try_echo
=$ac_try;;
3798 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3799 $as_echo "$ac_try_echo"; } >&5
3800 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3802 if test -s conftest.err
; then
3804 ... rest of stderr output deleted ...
3805 10q' conftest.err
>conftest.er1
3806 cat conftest.er1
>&5
3808 rm -f conftest.er1 conftest.err
3809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3810 test $ac_status = 0; }
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3814 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3815 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3818 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3819 /* end confdefs.h. */
3832 if ac_fn_cxx_try_compile
"$LINENO"; then :
3837 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3838 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3842 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3843 if test $ac_compiler_gnu = yes; then
3848 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3849 ac_save_CXXFLAGS
=$CXXFLAGS
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3851 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3852 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3853 $as_echo_n "(cached) " >&6
3855 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3856 ac_cxx_werror_flag
=yes
3859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3860 /* end confdefs.h. */
3870 if ac_fn_cxx_try_compile
"$LINENO"; then :
3871 ac_cv_prog_cxx_g
=yes
3874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3875 /* end confdefs.h. */
3885 if ac_fn_cxx_try_compile
"$LINENO"; then :
3888 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3891 /* end confdefs.h. */
3901 if ac_fn_cxx_try_compile
"$LINENO"; then :
3902 ac_cv_prog_cxx_g
=yes
3904 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3906 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3908 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3909 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3912 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3913 if test "$ac_test_CXXFLAGS" = set; then
3914 CXXFLAGS
=$ac_save_CXXFLAGS
3915 elif test $ac_cv_prog_cxx_g = yes; then
3916 if test "$GXX" = yes; then
3922 if test "$GXX" = yes; then
3929 ac_cpp
='$CPP $CPPFLAGS'
3930 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3931 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3932 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3934 if test -n "$ac_tool_prefix"; then
3935 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3936 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3938 $as_echo_n "checking for $ac_word... " >&6; }
3939 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3940 $as_echo_n "(cached) " >&6
3942 if test -n "$CPPBIN"; then
3943 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3945 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3949 test -z "$as_dir" && as_dir
=.
3950 for ac_exec_ext
in '' $ac_executable_extensions; do
3951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3952 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3962 CPPBIN
=$ac_cv_prog_CPPBIN
3963 if test -n "$CPPBIN"; then
3964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3965 $as_echo "$CPPBIN" >&6; }
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3968 $as_echo "no" >&6; }
3973 if test -z "$ac_cv_prog_CPPBIN"; then
3974 ac_ct_CPPBIN
=$CPPBIN
3975 # Extract the first word of "cpp", so it can be a program name with args.
3976 set dummy cpp
; ac_word
=$2
3977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3978 $as_echo_n "checking for $ac_word... " >&6; }
3979 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3980 $as_echo_n "(cached) " >&6
3982 if test -n "$ac_ct_CPPBIN"; then
3983 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3989 test -z "$as_dir" && as_dir
=.
3990 for ac_exec_ext
in '' $ac_executable_extensions; do
3991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3992 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4003 if test -n "$ac_ct_CPPBIN"; then
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4005 $as_echo "$ac_ct_CPPBIN" >&6; }
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4008 $as_echo "no" >&6; }
4011 if test "x$ac_ct_CPPBIN" = x
; then
4014 case $cross_compiling:$ac_tool_warned in
4016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4018 ac_tool_warned
=yes ;;
4020 CPPBIN
=$ac_ct_CPPBIN
4023 CPPBIN
="$ac_cv_prog_CPPBIN"
4027 cat >>confdefs.h
<<_ACEOF
4028 #define EXEEXT "$ac_exeext"
4034 if test "x$enable_win64" = "xyes"
4038 LD
="${LD:-ld} -arch x86_64"
4039 AS
="${AS:-as} -arch x86_64"
4041 notice_platform
="64-bit "
4047 LD
="${LD:-ld} -arch i386"
4048 AS
="${AS:-as} -arch i386"
4050 notice_platform
="32-bit "
4053 enable_win16
=${enable_win16:-yes}
4057 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4062 $as_echo_n "checking whether $CC works... " >&6; }
4064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4065 /* end confdefs.h. */
4075 if ac_fn_c_try_link
"$LINENO"; then :
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4077 $as_echo "yes" >&6; }
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4080 $as_echo "no" >&6; }
4081 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4083 rm -f core conftest.err conftest.
$ac_objext \
4084 conftest
$ac_exeext conftest.
$ac_ext
4085 LD
="${LD:-ld} -m elf_i386"
4088 notice_platform
="32-bit "
4091 enable_win16
=${enable_win16:-yes}
4093 if test "x${GCC}" = "xyes"
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4096 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4103 void func(__builtin_ms_va_list *args);
4108 if ac_fn_c_try_compile
"$LINENO"; then :
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4110 $as_echo "yes" >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4114 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4116 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4122 *-mingw32*|
*-cygwin*)
4123 enable_win16
=${enable_win16:-no}
4124 CFLAGS
="$CFLAGS -D_WIN32"
4127 enable_win16
=${enable_win16:-yes}
4131 enable_win16
=${enable_win16:-no}
4133 enable_winetest
=${enable_winetest:-$enable_tests}
4135 if test -n "$with_wine64"
4137 if test "x$enable_win64" = "xyes"
4139 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4140 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4144 enable_fonts
=${enable_fonts:-no}
4145 enable_server
=${enable_server:-no}
4146 enable_tools
=${enable_tools:-no}
4147 elif test "x$enable_win64" = "xyes"
4149 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4153 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4154 if test "${wine_cv_toolsdir+set}" = set; then :
4155 $as_echo_n "(cached) " >&6
4157 wine_cv_toolsdir
="$with_wine_tools"
4158 if test -z "$with_wine_tools"; then
4159 if test "$cross_compiling" = "yes"; then
4160 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4161 elif test -n "$with_wine64"; then
4162 wine_cv_toolsdir
="$with_wine64"
4165 if test -z "$wine_cv_toolsdir"; then
4166 wine_cv_toolsdir
="\$(top_builddir)"
4167 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4168 case "$wine_cv_toolsdir" in
4170 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4173 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4177 $as_echo "$wine_cv_toolsdir" >&6; }
4178 TOOLSDIR
=$wine_cv_toolsdir
4180 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4182 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4188 # Extract the first word of "$ac_prog", so it can be a program name with args.
4189 set dummy
$ac_prog; ac_word
=$2
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4191 $as_echo_n "checking for $ac_word... " >&6; }
4192 if test "${ac_cv_prog_FLEX+set}" = set; then :
4193 $as_echo_n "(cached) " >&6
4195 if test -n "$FLEX"; then
4196 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4198 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4202 test -z "$as_dir" && as_dir
=.
4203 for ac_exec_ext
in '' $ac_executable_extensions; do
4204 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4205 ac_cv_prog_FLEX
="$ac_prog"
4206 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4215 FLEX
=$ac_cv_prog_FLEX
4216 if test -n "$FLEX"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4218 $as_echo "$FLEX" >&6; }
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4225 test -n "$FLEX" && break
4227 test -n "$FLEX" || FLEX
="none"
4229 if test "$FLEX" = "none"
4231 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4234 $as_echo_n "checking whether flex is recent enough... " >&6; }
4235 cat >conftest.l
<<EOF
4237 #include "prediluvian.h"
4241 if $FLEX -t conftest.l
>/dev
/null
2>&5
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4244 $as_echo "yes" >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4247 $as_echo "no" >&6; }
4248 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4251 for ac_prog
in bison
4253 # Extract the first word of "$ac_prog", so it can be a program name with args.
4254 set dummy
$ac_prog; ac_word
=$2
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4256 $as_echo_n "checking for $ac_word... " >&6; }
4257 if test "${ac_cv_prog_BISON+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4260 if test -n "$BISON"; then
4261 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4267 test -z "$as_dir" && as_dir
=.
4268 for ac_exec_ext
in '' $ac_executable_extensions; do
4269 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4270 ac_cv_prog_BISON
="$ac_prog"
4271 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4280 BISON
=$ac_cv_prog_BISON
4281 if test -n "$BISON"; then
4282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4283 $as_echo "$BISON" >&6; }
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4286 $as_echo "no" >&6; }
4290 test -n "$BISON" && break
4292 test -n "$BISON" || BISON
="none"
4294 if test "$BISON" = "none"
4296 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4299 if test -n "$ac_tool_prefix"; then
4300 for ac_prog
in ar gar
4302 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4303 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4305 $as_echo_n "checking for $ac_word... " >&6; }
4306 if test "${ac_cv_prog_AR+set}" = set; then :
4307 $as_echo_n "(cached) " >&6
4309 if test -n "$AR"; then
4310 ac_cv_prog_AR
="$AR" # Let the user override the test.
4312 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4316 test -z "$as_dir" && as_dir
=.
4317 for ac_exec_ext
in '' $ac_executable_extensions; do
4318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4319 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4320 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4330 if test -n "$AR"; then
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4332 $as_echo "$AR" >&6; }
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4335 $as_echo "no" >&6; }
4339 test -n "$AR" && break
4342 if test -z "$AR"; then
4344 for ac_prog
in ar gar
4346 # Extract the first word of "$ac_prog", so it can be a program name with args.
4347 set dummy
$ac_prog; ac_word
=$2
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4349 $as_echo_n "checking for $ac_word... " >&6; }
4350 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4351 $as_echo_n "(cached) " >&6
4353 if test -n "$ac_ct_AR"; then
4354 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4356 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4360 test -z "$as_dir" && as_dir
=.
4361 for ac_exec_ext
in '' $ac_executable_extensions; do
4362 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4363 ac_cv_prog_ac_ct_AR
="$ac_prog"
4364 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4373 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4374 if test -n "$ac_ct_AR"; then
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4376 $as_echo "$ac_ct_AR" >&6; }
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4379 $as_echo "no" >&6; }
4383 test -n "$ac_ct_AR" && break
4386 if test "x$ac_ct_AR" = x
; then
4389 case $cross_compiling:$ac_tool_warned in
4391 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4392 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4393 ac_tool_warned
=yes ;;
4401 if test -n "$ac_tool_prefix"; then
4402 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4403 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4407 $as_echo_n "(cached) " >&6
4409 if test -n "$RANLIB"; then
4410 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4412 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4416 test -z "$as_dir" && as_dir
=.
4417 for ac_exec_ext
in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4429 RANLIB
=$ac_cv_prog_RANLIB
4430 if test -n "$RANLIB"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4432 $as_echo "$RANLIB" >&6; }
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4440 if test -z "$ac_cv_prog_RANLIB"; then
4441 ac_ct_RANLIB
=$RANLIB
4442 # Extract the first word of "ranlib", so it can be a program name with args.
4443 set dummy ranlib
; ac_word
=$2
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4445 $as_echo_n "checking for $ac_word... " >&6; }
4446 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4447 $as_echo_n "(cached) " >&6
4449 if test -n "$ac_ct_RANLIB"; then
4450 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4452 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4456 test -z "$as_dir" && as_dir
=.
4457 for ac_exec_ext
in '' $ac_executable_extensions; do
4458 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4459 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4460 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4469 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4470 if test -n "$ac_ct_RANLIB"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4472 $as_echo "$ac_ct_RANLIB" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4475 $as_echo "no" >&6; }
4478 if test "x$ac_ct_RANLIB" = x
; then
4481 case $cross_compiling:$ac_tool_warned in
4483 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4484 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4485 ac_tool_warned
=yes ;;
4487 RANLIB
=$ac_ct_RANLIB
4490 RANLIB
="$ac_cv_prog_RANLIB"
4493 if test -n "$ac_tool_prefix"; then
4494 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4495 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4497 $as_echo_n "checking for $ac_word... " >&6; }
4498 if test "${ac_cv_prog_STRIP+set}" = set; then :
4499 $as_echo_n "(cached) " >&6
4501 if test -n "$STRIP"; then
4502 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4504 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4508 test -z "$as_dir" && as_dir
=.
4509 for ac_exec_ext
in '' $ac_executable_extensions; do
4510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4511 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4521 STRIP
=$ac_cv_prog_STRIP
4522 if test -n "$STRIP"; then
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4524 $as_echo "$STRIP" >&6; }
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4527 $as_echo "no" >&6; }
4532 if test -z "$ac_cv_prog_STRIP"; then
4534 # Extract the first word of "strip", so it can be a program name with args.
4535 set dummy strip
; ac_word
=$2
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4537 $as_echo_n "checking for $ac_word... " >&6; }
4538 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4541 if test -n "$ac_ct_STRIP"; then
4542 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4544 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4548 test -z "$as_dir" && as_dir
=.
4549 for ac_exec_ext
in '' $ac_executable_extensions; do
4550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4551 ac_cv_prog_ac_ct_STRIP
="strip"
4552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4561 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4562 if test -n "$ac_ct_STRIP"; then
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4564 $as_echo "$ac_ct_STRIP" >&6; }
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4567 $as_echo "no" >&6; }
4570 if test "x$ac_ct_STRIP" = x
; then
4573 case $cross_compiling:$ac_tool_warned in
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4576 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4577 ac_tool_warned
=yes ;;
4582 STRIP
="$ac_cv_prog_STRIP"
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4586 $as_echo_n "checking whether ln -s works... " >&6; }
4588 if test "$LN_S" = "ln -s"; then
4589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4590 $as_echo "yes" >&6; }
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4593 $as_echo "no, using $LN_S" >&6; }
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4597 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4598 if test "${ac_cv_path_GREP+set}" = set; then :
4599 $as_echo_n "(cached) " >&6
4601 if test -z "$GREP"; then
4602 ac_path_GREP_found
=false
4603 # Loop through the user's path and test for each of PROGNAME-LIST
4604 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4605 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4608 test -z "$as_dir" && as_dir
=.
4609 for ac_prog
in grep ggrep
; do
4610 for ac_exec_ext
in '' $ac_executable_extensions; do
4611 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4612 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4613 # Check for GNU ac_path_GREP and select it if it is found.
4614 # Check for GNU $ac_path_GREP
4615 case `"$ac_path_GREP" --version 2>&1` in
4617 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4620 $as_echo_n 0123456789 >"conftest.in"
4623 cat "conftest.in" "conftest.in" >"conftest.tmp"
4624 mv "conftest.tmp" "conftest.in"
4625 cp "conftest.in" "conftest.nl"
4626 $as_echo 'GREP' >> "conftest.nl"
4627 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4628 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4629 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4630 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4631 # Best one so far, save it but keep looking for a better one
4632 ac_cv_path_GREP
="$ac_path_GREP"
4633 ac_path_GREP_max
=$ac_count
4635 # 10*(2^10) chars as input seems more than enough
4636 test $ac_count -gt 10 && break
4638 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4641 $ac_path_GREP_found && break 3
4646 if test -z "$ac_cv_path_GREP"; then
4647 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4650 ac_cv_path_GREP
=$GREP
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4655 $as_echo "$ac_cv_path_GREP" >&6; }
4656 GREP
="$ac_cv_path_GREP"
4659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4660 $as_echo_n "checking for egrep... " >&6; }
4661 if test "${ac_cv_path_EGREP+set}" = set; then :
4662 $as_echo_n "(cached) " >&6
4664 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4665 then ac_cv_path_EGREP
="$GREP -E"
4667 if test -z "$EGREP"; then
4668 ac_path_EGREP_found
=false
4669 # Loop through the user's path and test for each of PROGNAME-LIST
4670 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4671 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4674 test -z "$as_dir" && as_dir
=.
4675 for ac_prog
in egrep; do
4676 for ac_exec_ext
in '' $ac_executable_extensions; do
4677 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4678 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4679 # Check for GNU ac_path_EGREP and select it if it is found.
4680 # Check for GNU $ac_path_EGREP
4681 case `"$ac_path_EGREP" --version 2>&1` in
4683 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4686 $as_echo_n 0123456789 >"conftest.in"
4689 cat "conftest.in" "conftest.in" >"conftest.tmp"
4690 mv "conftest.tmp" "conftest.in"
4691 cp "conftest.in" "conftest.nl"
4692 $as_echo 'EGREP' >> "conftest.nl"
4693 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4694 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4695 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4696 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4697 # Best one so far, save it but keep looking for a better one
4698 ac_cv_path_EGREP
="$ac_path_EGREP"
4699 ac_path_EGREP_max
=$ac_count
4701 # 10*(2^10) chars as input seems more than enough
4702 test $ac_count -gt 10 && break
4704 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4707 $ac_path_EGREP_found && break 3
4712 if test -z "$ac_cv_path_EGREP"; then
4713 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4716 ac_cv_path_EGREP
=$EGREP
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4722 $as_echo "$ac_cv_path_EGREP" >&6; }
4723 EGREP
="$ac_cv_path_EGREP"
4726 # Extract the first word of "ldconfig", so it can be a program name with args.
4727 set dummy ldconfig
; ac_word
=$2
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4729 $as_echo_n "checking for $ac_word... " >&6; }
4730 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4731 $as_echo_n "(cached) " >&6
4735 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4738 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4739 for as_dir
in /sbin
/usr
/sbin
$PATH
4742 test -z "$as_dir" && as_dir
=.
4743 for ac_exec_ext
in '' $ac_executable_extensions; do
4744 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4745 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4753 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4757 LDCONFIG
=$ac_cv_path_LDCONFIG
4758 if test -n "$LDCONFIG"; then
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4760 $as_echo "$LDCONFIG" >&6; }
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4763 $as_echo "no" >&6; }
4767 # Find a good install program. We prefer a C program (faster),
4768 # so one script is as good as another. But avoid the broken or
4769 # incompatible versions:
4770 # SysV /etc/install, /usr/sbin/install
4771 # SunOS /usr/etc/install
4772 # IRIX /sbin/install
4774 # AmigaOS /C/install, which installs bootblocks on floppy discs
4775 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4776 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4777 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4778 # OS/2's system install, which has a completely different semantic
4779 # ./install, which can be erroneously created by make from ./install.sh.
4780 # Reject install programs that cannot install multiple files.
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4782 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4783 if test -z "$INSTALL"; then
4784 if test "${ac_cv_path_install+set}" = set; then :
4785 $as_echo_n "(cached) " >&6
4787 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4791 test -z "$as_dir" && as_dir
=.
4792 # Account for people who put trailing slashes in PATH elements.
4793 case $as_dir/ in #((
4794 .
/ | .
// |
/[cC
]/* | \
4795 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4796 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4799 # OSF1 and SCO ODT 3.0 have their own names for install.
4800 # Don't use installbsd from OSF since it installs stuff as root
4802 for ac_prog
in ginstall scoinst
install; do
4803 for ac_exec_ext
in '' $ac_executable_extensions; do
4804 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4805 if test $ac_prog = install &&
4806 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4807 # AIX install. It has an incompatible calling convention.
4809 elif test $ac_prog = install &&
4810 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4811 # program-specific install script used by HP pwplus--don't use.
4814 rm -rf conftest.one conftest.two conftest.dir
4815 echo one
> conftest.one
4816 echo two
> conftest.two
4818 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4819 test -s conftest.one
&& test -s conftest.two
&&
4820 test -s conftest.dir
/conftest.one
&&
4821 test -s conftest.dir
/conftest.two
4823 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4836 rm -rf conftest.one conftest.two conftest.dir
4839 if test "${ac_cv_path_install+set}" = set; then
4840 INSTALL
=$ac_cv_path_install
4842 # As a last resort, use the slow shell script. Don't cache a
4843 # value for INSTALL within a source directory, because that will
4844 # break other packages using the cache if that directory is
4845 # removed, or if the value is a relative name.
4846 INSTALL
=$ac_install_sh
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4850 $as_echo "$INSTALL" >&6; }
4852 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4853 # It thinks the first close brace ends the variable substitution.
4854 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4856 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4858 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4861 [\\/$
]* | ?
:[\\/]* ) ;;
4862 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4865 for ac_prog
in lclint lint
4867 # Extract the first word of "$ac_prog", so it can be a program name with args.
4868 set dummy
$ac_prog; ac_word
=$2
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4870 $as_echo_n "checking for $ac_word... " >&6; }
4871 if test "${ac_cv_prog_LINT+set}" = set; then :
4872 $as_echo_n "(cached) " >&6
4874 if test -n "$LINT"; then
4875 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4877 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4881 test -z "$as_dir" && as_dir
=.
4882 for ac_exec_ext
in '' $ac_executable_extensions; do
4883 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4884 ac_cv_prog_LINT
="$ac_prog"
4885 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4894 LINT
=$ac_cv_prog_LINT
4895 if test -n "$LINT"; then
4896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4897 $as_echo "$LINT" >&6; }
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4900 $as_echo "no" >&6; }
4904 test -n "$LINT" && break
4907 if test "$LINT" = "lint"
4909 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4914 for ac_prog
in fontforge
4916 # Extract the first word of "$ac_prog", so it can be a program name with args.
4917 set dummy
$ac_prog; ac_word
=$2
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919 $as_echo_n "checking for $ac_word... " >&6; }
4920 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4921 $as_echo_n "(cached) " >&6
4923 if test -n "$FONTFORGE"; then
4924 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4926 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4930 test -z "$as_dir" && as_dir
=.
4931 for ac_exec_ext
in '' $ac_executable_extensions; do
4932 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4933 ac_cv_prog_FONTFORGE
="$ac_prog"
4934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4943 FONTFORGE
=$ac_cv_prog_FONTFORGE
4944 if test -n "$FONTFORGE"; then
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4946 $as_echo "$FONTFORGE" >&6; }
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4949 $as_echo "no" >&6; }
4953 test -n "$FONTFORGE" && break
4955 test -n "$FONTFORGE" || FONTFORGE
="false"
4957 for ac_prog
in pkg-config
4959 # Extract the first word of "$ac_prog", so it can be a program name with args.
4960 set dummy
$ac_prog; ac_word
=$2
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4962 $as_echo_n "checking for $ac_word... " >&6; }
4963 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4964 $as_echo_n "(cached) " >&6
4966 if test -n "$PKG_CONFIG"; then
4967 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4969 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4973 test -z "$as_dir" && as_dir
=.
4974 for ac_exec_ext
in '' $ac_executable_extensions; do
4975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4976 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4986 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4987 if test -n "$PKG_CONFIG"; then
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4989 $as_echo "$PKG_CONFIG" >&6; }
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4992 $as_echo "no" >&6; }
4996 test -n "$PKG_CONFIG" && break
4998 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
5002 # Extract the first word of "$ac_prog", so it can be a program name with args.
5003 set dummy
$ac_prog; ac_word
=$2
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5005 $as_echo_n "checking for $ac_word... " >&6; }
5006 if test "${ac_cv_prog_RSVG+set}" = set; then :
5007 $as_echo_n "(cached) " >&6
5009 if test -n "$RSVG"; then
5010 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5012 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5016 test -z "$as_dir" && as_dir
=.
5017 for ac_exec_ext
in '' $ac_executable_extensions; do
5018 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5019 ac_cv_prog_RSVG
="$ac_prog"
5020 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5029 RSVG
=$ac_cv_prog_RSVG
5030 if test -n "$RSVG"; then
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5032 $as_echo "$RSVG" >&6; }
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5035 $as_echo "no" >&6; }
5039 test -n "$RSVG" && break
5041 test -n "$RSVG" || RSVG
="false"
5043 for ac_prog
in convert
5045 # Extract the first word of "$ac_prog", so it can be a program name with args.
5046 set dummy
$ac_prog; ac_word
=$2
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5048 $as_echo_n "checking for $ac_word... " >&6; }
5049 if test "${ac_cv_prog_CONVERT+set}" = set; then :
5050 $as_echo_n "(cached) " >&6
5052 if test -n "$CONVERT"; then
5053 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5055 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5059 test -z "$as_dir" && as_dir
=.
5060 for ac_exec_ext
in '' $ac_executable_extensions; do
5061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5062 ac_cv_prog_CONVERT
="$ac_prog"
5063 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 CONVERT
=$ac_cv_prog_CONVERT
5073 if test -n "$CONVERT"; then
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5075 $as_echo "$CONVERT" >&6; }
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5078 $as_echo "no" >&6; }
5082 test -n "$CONVERT" && break
5084 test -n "$CONVERT" || CONVERT
="false"
5086 for ac_prog
in icotool
5088 # Extract the first word of "$ac_prog", so it can be a program name with args.
5089 set dummy
$ac_prog; ac_word
=$2
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5091 $as_echo_n "checking for $ac_word... " >&6; }
5092 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5093 $as_echo_n "(cached) " >&6
5095 if test -n "$ICOTOOL"; then
5096 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5102 test -z "$as_dir" && as_dir
=.
5103 for ac_exec_ext
in '' $ac_executable_extensions; do
5104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5105 ac_cv_prog_ICOTOOL
="$ac_prog"
5106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5115 ICOTOOL
=$ac_cv_prog_ICOTOOL
5116 if test -n "$ICOTOOL"; then
5117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5118 $as_echo "$ICOTOOL" >&6; }
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5121 $as_echo "no" >&6; }
5125 test -n "$ICOTOOL" && break
5127 test -n "$ICOTOOL" || ICOTOOL
="false"
5130 if test "x$enable_maintainer_mode" != "xyes"
5135 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5 ; fi
5136 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5 ; fi
5138 if test "$CONVERT" = false
5140 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5143 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5144 convert_version
=`convert --version | head -n1`
5145 if test "x$convert_version" != "x"
5147 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5148 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5149 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5154 if test "$CONVERT" = false
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5157 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5158 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5161 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5165 if test "$ICOTOOL" = false
5167 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5170 $as_echo_n "checking for recent enough icotool... " >&6; }
5171 icotool_version
=`icotool --version | head -n1`
5172 if test "x$icotool_version" != "x"
5174 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5175 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5176 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5179 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5182 if test "$ICOTOOL" = false
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5185 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5186 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5189 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5197 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5198 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5199 $as_echo_n "(cached) " >&6
5201 ac_check_lib_save_LIBS
=$LIBS
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5206 /* Override any GCC internal prototype to avoid an error.
5207 Use char because int might match the return type of a GCC
5208 builtin and then its argument prototype would still apply. */
5212 char i386_set_ldt ();
5216 return i386_set_ldt ();
5221 if ac_fn_c_try_link
"$LINENO"; then :
5222 ac_cv_lib_i386_i386_set_ldt
=yes
5224 ac_cv_lib_i386_i386_set_ldt
=no
5226 rm -f core conftest.err conftest.
$ac_objext \
5227 conftest
$ac_exeext conftest.
$ac_ext
5228 LIBS
=$ac_check_lib_save_LIBS
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5231 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5232 if test "x$ac_cv_lib_i386_i386_set_ldt" = x
""yes; then :
5233 cat >>confdefs.h
<<_ACEOF
5234 #define HAVE_LIBI386 1
5241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5242 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5243 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5244 $as_echo_n "(cached) " >&6
5246 ac_check_lib_save_LIBS
=$LIBS
5247 LIBS
="-lossaudio $LIBS"
5248 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5249 /* end confdefs.h. */
5251 /* Override any GCC internal prototype to avoid an error.
5252 Use char because int might match the return type of a GCC
5253 builtin and then its argument prototype would still apply. */
5261 return _oss_ioctl ();
5266 if ac_fn_c_try_link
"$LINENO"; then :
5267 ac_cv_lib_ossaudio__oss_ioctl
=yes
5269 ac_cv_lib_ossaudio__oss_ioctl
=no
5271 rm -f core conftest.err conftest.
$ac_objext \
5272 conftest
$ac_exeext conftest.
$ac_ext
5273 LIBS
=$ac_check_lib_save_LIBS
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5276 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5277 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x
""yes; then :
5278 cat >>confdefs.h
<<_ACEOF
5279 #define HAVE_LIBOSSAUDIO 1
5282 LIBS
="-lossaudio $LIBS"
5293 # Check whether --enable-largefile was given.
5294 if test "${enable_largefile+set}" = set; then :
5295 enableval
=$enable_largefile;
5298 if test "$enable_largefile" != no
; then
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5301 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5302 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5303 $as_echo_n "(cached) " >&6
5305 ac_cv_sys_largefile_CC
=no
5306 if test "$GCC" != yes; then
5309 # IRIX 6.2 and later do not support large files by default,
5310 # so use the C compiler's -n32 option if that helps.
5311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5313 #include <sys/types.h>
5314 /* Check that off_t can represent 2**63 - 1 correctly.
5315 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5316 since some C++ compilers masquerading as C compilers
5317 incorrectly reject 9223372036854775807. */
5318 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5319 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5320 && LARGE_OFF_T % 2147483647 == 1)
5330 if ac_fn_c_try_compile
"$LINENO"; then :
5333 rm -f core conftest.err conftest.
$ac_objext
5335 if ac_fn_c_try_compile
"$LINENO"; then :
5336 ac_cv_sys_largefile_CC
=' -n32'; break
5338 rm -f core conftest.err conftest.
$ac_objext
5342 rm -f conftest.
$ac_ext
5345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5346 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5347 if test "$ac_cv_sys_largefile_CC" != no
; then
5348 CC
=$CC$ac_cv_sys_largefile_CC
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5352 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5353 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5354 $as_echo_n "(cached) " >&6
5357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5359 #include <sys/types.h>
5360 /* Check that off_t can represent 2**63 - 1 correctly.
5361 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5362 since some C++ compilers masquerading as C compilers
5363 incorrectly reject 9223372036854775807. */
5364 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5365 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5366 && LARGE_OFF_T % 2147483647 == 1)
5376 if ac_fn_c_try_compile
"$LINENO"; then :
5377 ac_cv_sys_file_offset_bits
=no
; break
5379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5380 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5381 /* end confdefs.h. */
5382 #define _FILE_OFFSET_BITS 64
5383 #include <sys/types.h>
5384 /* Check that off_t can represent 2**63 - 1 correctly.
5385 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5386 since some C++ compilers masquerading as C compilers
5387 incorrectly reject 9223372036854775807. */
5388 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5389 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5390 && LARGE_OFF_T % 2147483647 == 1)
5400 if ac_fn_c_try_compile
"$LINENO"; then :
5401 ac_cv_sys_file_offset_bits
=64; break
5403 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5404 ac_cv_sys_file_offset_bits
=unknown
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5409 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5410 case $ac_cv_sys_file_offset_bits in #(
5413 cat >>confdefs.h
<<_ACEOF
5414 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5419 if test $ac_cv_sys_file_offset_bits = unknown
; then
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5421 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5422 if test "${ac_cv_sys_large_files+set}" = set; then :
5423 $as_echo_n "(cached) " >&6
5426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5427 /* end confdefs.h. */
5428 #include <sys/types.h>
5429 /* Check that off_t can represent 2**63 - 1 correctly.
5430 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5431 since some C++ compilers masquerading as C compilers
5432 incorrectly reject 9223372036854775807. */
5433 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5434 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5435 && LARGE_OFF_T % 2147483647 == 1)
5445 if ac_fn_c_try_compile
"$LINENO"; then :
5446 ac_cv_sys_large_files
=no
; break
5448 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5449 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5450 /* end confdefs.h. */
5451 #define _LARGE_FILES 1
5452 #include <sys/types.h>
5453 /* Check that off_t can represent 2**63 - 1 correctly.
5454 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5455 since some C++ compilers masquerading as C compilers
5456 incorrectly reject 9223372036854775807. */
5457 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5458 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5459 && LARGE_OFF_T % 2147483647 == 1)
5469 if ac_fn_c_try_compile
"$LINENO"; then :
5470 ac_cv_sys_large_files
=1; break
5472 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5473 ac_cv_sys_large_files
=unknown
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5478 $as_echo "$ac_cv_sys_large_files" >&6; }
5479 case $ac_cv_sys_large_files in #(
5482 cat >>confdefs.h
<<_ACEOF
5483 #define _LARGE_FILES $ac_cv_sys_large_files
5493 ac_cpp
='$CPP $CPPFLAGS'
5494 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5495 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5496 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5498 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5499 # On Suns, sometimes $CPP names a directory.
5500 if test -n "$CPP" && test -d "$CPP"; then
5503 if test -z "$CPP"; then
5504 if test "${ac_cv_prog_CPP+set}" = set; then :
5505 $as_echo_n "(cached) " >&6
5507 # Double quotes because CPP needs to be expanded
5508 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5511 for ac_c_preproc_warn_flag
in '' yes
5513 # Use a header file that comes with gcc, so configuring glibc
5514 # with a fresh cross-compiler works.
5515 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5516 # <limits.h> exists even on freestanding compilers.
5517 # On the NeXT, cc -E runs the code through the compiler's parser,
5518 # not just through cpp. "Syntax error" is here to catch this case.
5519 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5520 /* end confdefs.h. */
5522 # include <limits.h>
5524 # include <assert.h>
5528 if ac_fn_c_try_cpp
"$LINENO"; then :
5531 # Broken: fails on valid input.
5534 rm -f conftest.err conftest.i conftest.
$ac_ext
5536 # OK, works on sane cases. Now check whether nonexistent headers
5537 # can be detected and how.
5538 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5539 /* end confdefs.h. */
5540 #include <ac_nonexistent.h>
5542 if ac_fn_c_try_cpp
"$LINENO"; then :
5543 # Broken: success on invalid input.
5546 # Passes both tests.
5550 rm -f conftest.err conftest.i conftest.
$ac_ext
5553 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5554 rm -f conftest.i conftest.err conftest.
$ac_ext
5555 if $ac_preproc_ok; then :
5567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5568 $as_echo "$CPP" >&6; }
5570 for ac_c_preproc_warn_flag
in '' yes
5572 # Use a header file that comes with gcc, so configuring glibc
5573 # with a fresh cross-compiler works.
5574 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5575 # <limits.h> exists even on freestanding compilers.
5576 # On the NeXT, cc -E runs the code through the compiler's parser,
5577 # not just through cpp. "Syntax error" is here to catch this case.
5578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5581 # include <limits.h>
5583 # include <assert.h>
5587 if ac_fn_c_try_cpp
"$LINENO"; then :
5590 # Broken: fails on valid input.
5593 rm -f conftest.err conftest.i conftest.
$ac_ext
5595 # OK, works on sane cases. Now check whether nonexistent headers
5596 # can be detected and how.
5597 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5598 /* end confdefs.h. */
5599 #include <ac_nonexistent.h>
5601 if ac_fn_c_try_cpp
"$LINENO"; then :
5602 # Broken: success on invalid input.
5605 # Passes both tests.
5609 rm -f conftest.err conftest.i conftest.
$ac_ext
5612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5613 rm -f conftest.i conftest.err conftest.
$ac_ext
5614 if $ac_preproc_ok; then :
5617 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5618 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5619 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5620 See \`config.log' for more details" "$LINENO" 5 ; }
5624 ac_cpp
='$CPP $CPPFLAGS'
5625 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5626 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5627 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5631 $as_echo_n "checking for ANSI C header files... " >&6; }
5632 if test "${ac_cv_header_stdc+set}" = set; then :
5633 $as_echo_n "(cached) " >&6
5635 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5636 /* end confdefs.h. */
5650 if ac_fn_c_try_compile
"$LINENO"; then :
5651 ac_cv_header_stdc
=yes
5653 ac_cv_header_stdc
=no
5655 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5657 if test $ac_cv_header_stdc = yes; then
5658 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5664 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5665 $EGREP "memchr" >/dev
/null
2>&1; then :
5668 ac_cv_header_stdc
=no
5674 if test $ac_cv_header_stdc = yes; then
5675 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5677 /* end confdefs.h. */
5681 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5682 $EGREP "free" >/dev
/null
2>&1; then :
5685 ac_cv_header_stdc
=no
5691 if test $ac_cv_header_stdc = yes; then
5692 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5693 if test "$cross_compiling" = yes; then :
5696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5700 #if ((' ' & 0x0FF) == 0x020)
5701 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5702 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5704 # define ISLOWER(c) \
5705 (('a' <= (c) && (c) <= 'i') \
5706 || ('j' <= (c) && (c) <= 'r') \
5707 || ('s' <= (c) && (c) <= 'z'))
5708 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5711 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5716 for (i = 0; i < 256; i++)
5717 if (XOR (islower (i), ISLOWER (i))
5718 || toupper (i) != TOUPPER (i))
5723 if ac_fn_c_try_run
"$LINENO"; then :
5726 ac_cv_header_stdc
=no
5728 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5729 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5735 $as_echo "$ac_cv_header_stdc" >&6; }
5736 if test $ac_cv_header_stdc = yes; then
5738 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5742 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5743 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5744 inttypes.h stdint.h unistd.h
5746 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5747 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5749 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5750 cat >>confdefs.h
<<_ACEOF
5751 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5761 AudioToolbox
/AudioConverter.h \
5762 AudioUnit
/AudioUnit.h \
5765 CoreAudio
/CoreAudio.h \
5766 DiskArbitration
/DiskArbitration.h \
5768 IOKit
/hid
/IOHIDLib.h \
5784 fontconfig
/fontconfig.h \
5818 machine
/soundcard.h \
5825 netinet
/in_systm.h \
5893 valgrind
/memcheck.h \
5894 valgrind
/valgrind.h \
5898 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5899 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5900 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5901 cat >>confdefs.h
<<_ACEOF
5902 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5910 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5911 if test "${ac_cv_header_stat_broken+set}" = set; then :
5912 $as_echo_n "(cached) " >&6
5914 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5916 #include <sys/types.h>
5917 #include <sys/stat.h>
5919 #if defined S_ISBLK && defined S_IFDIR
5920 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5923 #if defined S_ISBLK && defined S_IFCHR
5924 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5927 #if defined S_ISLNK && defined S_IFREG
5928 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5931 #if defined S_ISSOCK && defined S_IFREG
5932 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5936 if ac_fn_c_try_compile
"$LINENO"; then :
5937 ac_cv_header_stat_broken
=no
5939 ac_cv_header_stat_broken
=yes
5941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5944 $as_echo "$ac_cv_header_stat_broken" >&6; }
5945 if test $ac_cv_header_stat_broken = yes; then
5947 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5953 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5955 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5956 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5957 #ifdef HAVE_SYS_PARAM_H
5958 # include <sys/param.h>
5961 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5962 cat >>confdefs.h
<<_ACEOF
5963 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5978 netinet
/if_ether.h \
5979 netinet
/if_inarp.h \
5987 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5988 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5989 #ifdef HAVE_SYS_SOCKET_H
5990 # include <sys/socket.h>
5992 #ifdef HAVE_SYS_SOCKETVAR_H
5993 # include <sys/socketvar.h>
5995 #ifdef HAVE_NET_ROUTE_H
5996 # include <net/route.h>
5998 #ifdef HAVE_NETINET_IN_H
5999 # include <netinet/in.h>
6001 #ifdef HAVE_NETINET_IN_SYSTM_H
6002 # include <netinet/in_systm.h>
6004 #ifdef HAVE_NET_IF_H
6005 # include <net/if.h>
6007 #ifdef HAVE_NETINET_IP_H
6008 # include <netinet/ip.h>
6011 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6012 cat >>confdefs.h
<<_ACEOF
6013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6021 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6023 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6024 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6028 #ifdef HAVE_SYS_SOCKET_H
6029 # include <sys/socket.h>
6031 #ifdef HAVE_SYS_SOCKETVAR_H
6032 # include <sys/socketvar.h>
6034 #ifdef HAVE_SYS_TIMEOUT_H
6035 # include <sys/timeout.h>
6037 #ifdef HAVE_NETINET_IN_H
6038 # include <netinet/in.h>
6040 #ifdef HAVE_NETINET_IN_SYSTM_H
6041 # include <netinet/in_systm.h>
6043 #ifdef HAVE_NETINET_IP_H
6044 # include <netinet/ip.h>
6046 #ifdef HAVE_NETINET_IP_VAR_H
6047 # include <netinet/ip_var.h>
6049 #ifdef HAVE_NETINET_IP_ICMP_H
6050 # include <netinet/ip_icmp.h>
6052 #ifdef HAVE_NETINET_UDP_H
6053 # include <netinet/udp.h>
6055 #ifdef HAVE_NETINET_TCP_H
6056 # include <netinet/tcp.h>
6058 #ifdef HAVE_NETINET_TCP_TIMER_H
6059 #include <netinet/tcp_timer.h>
6062 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6063 cat >>confdefs.h
<<_ACEOF
6064 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6072 for ac_header
in linux
/ipx.h linux
/irda.h
6074 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6075 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6076 #ifdef HAVE_ASM_TYPES_H
6077 # include <asm/types.h>
6079 #ifdef HAVE_SYS_SOCKET_H
6080 # include <sys/socket.h>
6082 #ifdef HAVE_LINUX_TYPES_H
6083 # include <linux/types.h>
6086 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6087 cat >>confdefs.h
<<_ACEOF
6088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6096 for ac_header
in mach-o
/dyld_images.h
6098 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6099 # include <stdbool.h>
6101 #ifdef HAVE_STDINT_H
6102 # include <stdint.h>
6105 if test "x$ac_cv_header_mach_o_dyld_images_h" = x
""yes; then :
6106 cat >>confdefs.h
<<_ACEOF
6107 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6115 for ac_header
in resolv.h
6117 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6118 #ifdef HAVE_SYS_SOCKET_H
6119 # include <sys/socket.h>
6121 #ifdef HAVE_NETINET_IN_H
6122 # include <netinet/in.h>
6124 #ifdef HAVE_ARPA_NAMESER_H
6125 # include <arpa/nameser.h>
6128 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
6129 cat >>confdefs.h
<<_ACEOF
6130 #define HAVE_RESOLV_H 1
6138 for ac_header
in ifaddrs.h
6140 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6142 if test "x$ac_cv_header_ifaddrs_h" = x
""yes; then :
6143 cat >>confdefs.h
<<_ACEOF
6144 #define HAVE_IFADDRS_H 1
6152 for ac_header
in ucontext.h
6154 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6156 if test "x$ac_cv_header_ucontext_h" = x
""yes; then :
6157 cat >>confdefs.h
<<_ACEOF
6158 #define HAVE_UCONTEXT_H 1
6166 for ac_header
in sys
/thr.h
6168 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6169 #ifdef HAVE_UCONTEXT_H
6170 #include <ucontext.h>
6173 if test "x$ac_cv_header_sys_thr_h" = x
""yes; then :
6174 cat >>confdefs.h
<<_ACEOF
6175 #define HAVE_SYS_THR_H 1
6183 for ac_header
in pthread_np.h
6185 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6186 #include <pthread.h>
6189 if test "x$ac_cv_header_pthread_np_h" = x
""yes; then :
6190 cat >>confdefs.h
<<_ACEOF
6191 #define HAVE_PTHREAD_NP_H 1
6199 for ac_header
in linux
/videodev.h
6201 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6202 #include <sys/time.h>
6204 #include <sys/types.h>
6205 #ifdef HAVE_ASM_TYPES_H
6206 #include <asm/types.h>
6209 if test "x$ac_cv_header_linux_videodev_h" = x
""yes; then :
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_LINUX_VIDEODEV_H 1
6219 for ac_header
in linux
/capi.h
6221 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6223 if test "x$ac_cv_header_linux_capi_h" = x
""yes; then :
6224 cat >>confdefs.h
<<_ACEOF
6225 #define HAVE_LINUX_CAPI_H 1
6236 DLLFLAGS
="-D_REENTRANT"
6250 STATIC_IMPLIBEXT
="def.a"
6251 # Extract the first word of "ldd", so it can be a program name with args.
6252 set dummy ldd
; ac_word
=$2
6253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6254 $as_echo_n "checking for $ac_word... " >&6; }
6255 if test "${ac_cv_path_LDD+set}" = set; then :
6256 $as_echo_n "(cached) " >&6
6260 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6264 as_dummy
="/sbin:/usr/sbin:$PATH"
6265 for as_dir
in $as_dummy
6268 test -z "$as_dir" && as_dir
=.
6269 for ac_exec_ext
in '' $ac_executable_extensions; do
6270 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6271 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6272 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6279 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6284 if test -n "$LDD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6286 $as_echo "$LDD" >&6; }
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6296 if test -n "$ac_tool_prefix"; then
6297 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6298 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6300 $as_echo_n "checking for $ac_word... " >&6; }
6301 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6302 $as_echo_n "(cached) " >&6
6304 if test -n "$DLLTOOL"; then
6305 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6311 test -z "$as_dir" && as_dir
=.
6312 for ac_exec_ext
in '' $ac_executable_extensions; do
6313 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6314 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6324 DLLTOOL
=$ac_cv_prog_DLLTOOL
6325 if test -n "$DLLTOOL"; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6327 $as_echo "$DLLTOOL" >&6; }
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6330 $as_echo "no" >&6; }
6335 if test -z "$ac_cv_prog_DLLTOOL"; then
6336 ac_ct_DLLTOOL
=$DLLTOOL
6337 # Extract the first word of "dlltool", so it can be a program name with args.
6338 set dummy dlltool
; ac_word
=$2
6339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6340 $as_echo_n "checking for $ac_word... " >&6; }
6341 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6342 $as_echo_n "(cached) " >&6
6344 if test -n "$ac_ct_DLLTOOL"; then
6345 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6351 test -z "$as_dir" && as_dir
=.
6352 for ac_exec_ext
in '' $ac_executable_extensions; do
6353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6354 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6364 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6365 if test -n "$ac_ct_DLLTOOL"; then
6366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6367 $as_echo "$ac_ct_DLLTOOL" >&6; }
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6370 $as_echo "no" >&6; }
6373 if test "x$ac_ct_DLLTOOL" = x
; then
6376 case $cross_compiling:$ac_tool_warned in
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6379 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6380 ac_tool_warned
=yes ;;
6382 DLLTOOL
=$ac_ct_DLLTOOL
6385 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6388 if test -n "$ac_tool_prefix"; then
6389 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6390 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6392 $as_echo_n "checking for $ac_word... " >&6; }
6393 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6394 $as_echo_n "(cached) " >&6
6396 if test -n "$DLLWRAP"; then
6397 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6399 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6403 test -z "$as_dir" && as_dir
=.
6404 for ac_exec_ext
in '' $ac_executable_extensions; do
6405 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6406 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6407 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6416 DLLWRAP
=$ac_cv_prog_DLLWRAP
6417 if test -n "$DLLWRAP"; then
6418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6419 $as_echo "$DLLWRAP" >&6; }
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6422 $as_echo "no" >&6; }
6427 if test -z "$ac_cv_prog_DLLWRAP"; then
6428 ac_ct_DLLWRAP
=$DLLWRAP
6429 # Extract the first word of "dllwrap", so it can be a program name with args.
6430 set dummy dllwrap
; ac_word
=$2
6431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6432 $as_echo_n "checking for $ac_word... " >&6; }
6433 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6434 $as_echo_n "(cached) " >&6
6436 if test -n "$ac_ct_DLLWRAP"; then
6437 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6439 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6443 test -z "$as_dir" && as_dir
=.
6444 for ac_exec_ext
in '' $ac_executable_extensions; do
6445 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6446 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6447 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6456 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6457 if test -n "$ac_ct_DLLWRAP"; then
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6459 $as_echo "$ac_ct_DLLWRAP" >&6; }
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6462 $as_echo "no" >&6; }
6465 if test "x$ac_ct_DLLWRAP" = x
; then
6468 case $cross_compiling:$ac_tool_warned in
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6471 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6472 ac_tool_warned
=yes ;;
6474 DLLWRAP
=$ac_ct_DLLWRAP
6477 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6480 if test "$DLLWRAP" = "false"; then
6486 STATIC_IMPLIBEXT
="a"
6487 enable_iphlpapi
=${enable_iphlpapi:-no}
6488 enable_kernel32
=${enable_kernel32:-no}
6489 enable_msvcrt
=${enable_msvcrt:-no}
6490 enable_ntdll
=${enable_ntdll:-no}
6491 enable_ws2_32
=${enable_ws2_32:-no}
6492 enable_loader
=${enable_loader:-no}
6493 enable_server
=${enable_server:-no}
6494 with_x
=${with_x:-no}
6495 with_pthread
=${with_pthread:-no}
6500 DLLFLAGS
="$DLLFLAGS -fPIC"
6501 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6502 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6503 LDSHARED
="\$(CC) -dynamiclib"
6505 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6506 SECURITYLIB
="-framework Security -framework CoreFoundation"
6508 COREFOUNDATIONLIB
="-framework CoreFoundation"
6510 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6512 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6514 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6516 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6518 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6521 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6523 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6526 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6528 FRAMEWORK_OPENAL
="-framework OpenAL"
6531 cat >>confdefs.h
<<_ACEOF
6532 #define HAVE_OPENAL 1
6535 ac_cv_lib_openal
=yes
6537 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6539 LIBOPENCL
="-framework OpenCL"
6541 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6543 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6545 ac_save_LIBS
="$LIBS"
6546 LIBS
="$LIBS $IOKITLIB"
6547 for ac_func
in IOHIDManagerCreate
6549 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6550 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6551 cat >>confdefs.h
<<_ACEOF
6552 #define HAVE_IOHIDMANAGERCREATE 1
6558 LIBS
="$ac_save_LIBS"
6560 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6563 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6565 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6567 CARBONLIB
="-framework Carbon"
6569 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6571 if test "x$enable_win16" = "xyes"
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6574 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6575 if test "$cross_compiling" = yes; then :
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6577 $as_echo "cross-compiling, assuming yes" >&6; }
6579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6580 /* end confdefs.h. */
6583 "good:\tnop;nop\n\t"
6584 ".globl _testfunc\n"
6585 "_testfunc:\tcallw good");
6586 extern void testfunc();
6590 unsigned short *p = (unsigned short *)testfunc;
6591 return p[0] != 0xe866 || p[1] != 0xfffa
6596 if ac_fn_c_try_run
"$LINENO"; then :
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6598 $as_echo "yes" >&6; }
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6601 $as_echo "no" >&6; }
6602 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
6604 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6605 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6611 DLLFLAGS
="$DLLFLAGS -fPIC"
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6614 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6615 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6616 $as_echo_n "(cached) " >&6
6618 ac_wine_try_cflags_saved
=$CFLAGS
6619 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6620 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6621 /* end confdefs.h. */
6624 if ac_fn_c_try_link
"$LINENO"; then :
6625 ac_cv_c_dll_gnuelf
="yes"
6627 ac_cv_c_dll_gnuelf
="no"
6629 rm -f core conftest.err conftest.
$ac_objext \
6630 conftest
$ac_exeext conftest.
$ac_ext
6631 CFLAGS
=$ac_wine_try_cflags_saved
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6634 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6635 if test "$ac_cv_c_dll_gnuelf" = "yes"
6637 LDSHARED
="\$(CC) -shared"
6638 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6640 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6641 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6642 $as_echo_n "(cached) " >&6
6644 ac_wine_try_cflags_saved
=$CFLAGS
6645 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6647 /* end confdefs.h. */
6648 int main(int argc, char **argv) { return 0; }
6650 if ac_fn_c_try_link
"$LINENO"; then :
6651 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6653 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6655 rm -f core conftest.err conftest.
$ac_objext \
6656 conftest
$ac_exeext conftest.
$ac_ext
6657 CFLAGS
=$ac_wine_try_cflags_saved
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6660 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6661 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6662 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6665 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6666 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6667 $as_echo_n "(cached) " >&6
6669 ac_wine_try_cflags_saved
=$CFLAGS
6670 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6673 int main(int argc, char **argv) { return 0; }
6675 if ac_fn_c_try_link
"$LINENO"; then :
6676 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6678 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6680 rm -f core conftest.err conftest.
$ac_objext \
6681 conftest
$ac_exeext conftest.
$ac_ext
6682 CFLAGS
=$ac_wine_try_cflags_saved
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6685 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6686 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6687 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6692 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6693 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6694 $as_echo_n "(cached) " >&6
6696 ac_wine_try_cflags_saved
=$CFLAGS
6697 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6698 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6699 /* end confdefs.h. */
6700 int main(int argc, char **argv) { return 0; }
6702 if ac_fn_c_try_link
"$LINENO"; then :
6703 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6705 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6707 rm -f core conftest.err conftest.
$ac_objext \
6708 conftest
$ac_exeext conftest.
$ac_ext
6709 CFLAGS
=$ac_wine_try_cflags_saved
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6712 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6713 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6714 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6717 { $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
6718 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6719 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6720 $as_echo_n "(cached) " >&6
6722 ac_wine_try_cflags_saved
=$CFLAGS
6723 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6724 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6726 int main(int argc, char **argv) { return 0; }
6728 if ac_fn_c_try_link
"$LINENO"; then :
6729 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6731 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6733 rm -f core conftest.err conftest.
$ac_objext \
6734 conftest
$ac_exeext conftest.
$ac_ext
6735 CFLAGS
=$ac_wine_try_cflags_saved
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6738 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6739 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6740 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6743 echo '{ global: *; };' >conftest.map
6744 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6746 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6747 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6748 $as_echo_n "(cached) " >&6
6750 ac_wine_try_cflags_saved
=$CFLAGS
6751 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6753 /* end confdefs.h. */
6754 int main(int argc, char **argv) { return 0; }
6756 if ac_fn_c_try_link
"$LINENO"; then :
6757 eval "$as_ac_var=yes"
6759 eval "$as_ac_var=no"
6761 rm -f core conftest.err conftest.
$ac_objext \
6762 conftest
$ac_exeext conftest.
$ac_ext
6763 CFLAGS
=$ac_wine_try_cflags_saved
6765 eval ac_res
=\$
$as_ac_var
6766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6767 $as_echo "$ac_res" >&6; }
6768 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6769 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6774 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6775 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6776 $as_echo_n "(cached) " >&6
6778 ac_wine_try_cflags_saved
=$CFLAGS
6779 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6781 /* end confdefs.h. */
6782 int main(int argc, char **argv) { return 0; }
6784 if ac_fn_c_try_link
"$LINENO"; then :
6785 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6787 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6789 rm -f core conftest.err conftest.
$ac_objext \
6790 conftest
$ac_exeext conftest.
$ac_ext
6791 CFLAGS
=$ac_wine_try_cflags_saved
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6794 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6795 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6796 LDEXECFLAGS
="-Wl,--export-dynamic"
6800 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6802 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6803 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6804 $as_echo_n "(cached) " >&6
6806 ac_wine_try_cflags_saved
=$CFLAGS
6807 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6809 /* end confdefs.h. */
6810 int main(int argc, char **argv) { return 0; }
6812 if ac_fn_c_try_link
"$LINENO"; then :
6813 eval "$as_ac_var=yes"
6815 eval "$as_ac_var=no"
6817 rm -f core conftest.err conftest.
$ac_objext \
6818 conftest
$ac_exeext conftest.
$ac_ext
6819 CFLAGS
=$ac_wine_try_cflags_saved
6821 eval ac_res
=\$
$as_ac_var
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6823 $as_echo "$ac_res" >&6; }
6824 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6825 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6826 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6828 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6830 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6831 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6832 $as_echo_n "(cached) " >&6
6834 ac_wine_try_cflags_saved
=$CFLAGS
6835 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6836 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6838 int main(int argc, char **argv) { return 0; }
6840 if ac_fn_c_try_link
"$LINENO"; then :
6841 eval "$as_ac_var=yes"
6843 eval "$as_ac_var=no"
6845 rm -f core conftest.err conftest.
$ac_objext \
6846 conftest
$ac_exeext conftest.
$ac_ext
6847 CFLAGS
=$ac_wine_try_cflags_saved
6849 eval ac_res
=\$
$as_ac_var
6850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6851 $as_echo "$ac_res" >&6; }
6852 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6853 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6854 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6859 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6860 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6861 $as_echo_n "(cached) " >&6
6863 ac_wine_try_cflags_saved
=$CFLAGS
6864 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6866 /* end confdefs.h. */
6867 int main(int argc, char **argv) { return 0; }
6869 if ac_fn_c_try_link
"$LINENO"; then :
6870 ac_cv_cflags__Wl___enable_new_dtags
=yes
6872 ac_cv_cflags__Wl___enable_new_dtags
=no
6874 rm -f core conftest.err conftest.
$ac_objext \
6875 conftest
$ac_exeext conftest.
$ac_ext
6876 CFLAGS
=$ac_wine_try_cflags_saved
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6879 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6880 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6881 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6885 *i
[3456789]86* | x86_64
)
6886 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6888 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6889 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6890 $as_echo_n "(cached) " >&6
6892 ac_wine_try_cflags_saved
=$CFLAGS
6893 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 int main(int argc, char **argv) { return 0; }
6898 if ac_fn_c_try_link
"$LINENO"; then :
6899 eval "$as_ac_var=yes"
6901 eval "$as_ac_var=no"
6903 rm -f core conftest.err conftest.
$ac_objext \
6904 conftest
$ac_exeext conftest.
$ac_ext
6905 CFLAGS
=$ac_wine_try_cflags_saved
6907 eval ac_res
=\$
$as_ac_var
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6909 $as_echo "$ac_res" >&6; }
6910 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6912 freebsd
*) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6913 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6917 # Extract the first word of "prelink", so it can be a program name with args.
6918 set dummy prelink
; ac_word
=$2
6919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6920 $as_echo_n "checking for $ac_word... " >&6; }
6921 if test "${ac_cv_path_PRELINK+set}" = set; then :
6922 $as_echo_n "(cached) " >&6
6926 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6930 for as_dir
in /sbin
/usr
/sbin
$PATH
6933 test -z "$as_dir" && as_dir
=.
6934 for ac_exec_ext
in '' $ac_executable_extensions; do
6935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6936 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6944 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6948 PRELINK
=$ac_cv_path_PRELINK
6949 if test -n "$PRELINK"; then
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6951 $as_echo "$PRELINK" >&6; }
6953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6954 $as_echo "no" >&6; }
6958 if test "x$PRELINK" = xfalse
6960 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6967 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6968 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6969 $as_echo_n "(cached) " >&6
6971 ac_wine_try_cflags_saved
=$CFLAGS
6972 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6977 if ac_fn_c_try_link
"$LINENO"; then :
6978 ac_cv_c_dll_unixware
="yes"
6980 ac_cv_c_dll_unixware
="no"
6982 rm -f core conftest.err conftest.
$ac_objext \
6983 conftest
$ac_exeext conftest.
$ac_ext
6984 CFLAGS
=$ac_wine_try_cflags_saved
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6987 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6988 if test "$ac_cv_c_dll_unixware" = "yes"
6990 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6991 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
6994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6995 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6996 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6997 $as_echo_n "(cached) " >&6
6999 ac_wine_try_cflags_saved
=$CFLAGS
7000 CFLAGS
="$CFLAGS -shared"
7001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7002 /* end confdefs.h. */
7005 if ac_fn_c_try_link
"$LINENO"; then :
7006 ac_cv_c_dll_hpux
="yes"
7008 ac_cv_c_dll_hpux
="no"
7010 rm -f core conftest.err conftest.
$ac_objext \
7011 conftest
$ac_exeext conftest.
$ac_ext
7012 CFLAGS
=$ac_wine_try_cflags_saved
7014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7015 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7016 if test "$ac_cv_c_dll_hpux" = "yes"
7020 LDDLLFLAGS
="-shared -fPIC"
7021 LDSHARED
="\$(CC) -shared"
7028 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7029 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7031 if test "$LIBEXT" = "a"; then
7032 as_fn_error $?
"could not find a way to build shared libraries.
7033 It is currently not possible to build Wine without shared library
7034 (.so) support to allow transparent switch between .so and .dll files.
7035 If you are using Linux, you will need a newer binutils.
7039 CROSSTEST_DISABLE
=\
#
7041 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7045 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 " ;;
7047 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 " ;;
7049 ac_prefix_list
="" ;;
7051 for ac_prog
in $ac_prefix_list
7053 # Extract the first word of "$ac_prog", so it can be a program name with args.
7054 set dummy
$ac_prog; ac_word
=$2
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7056 $as_echo_n "checking for $ac_word... " >&6; }
7057 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7058 $as_echo_n "(cached) " >&6
7060 if test -n "$CROSSCC"; then
7061 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7067 test -z "$as_dir" && as_dir
=.
7068 for ac_exec_ext
in '' $ac_executable_extensions; do
7069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7070 ac_cv_prog_CROSSCC
="$ac_prog"
7071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7080 CROSSCC
=$ac_cv_prog_CROSSCC
7081 if test -n "$CROSSCC"; then
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7083 $as_echo "$CROSSCC" >&6; }
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7086 $as_echo "no" >&6; }
7090 test -n "$CROSSCC" && break
7092 test -n "$CROSSCC" || CROSSCC
="false"
7094 if test "$CROSSCC" != "false"
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7099 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7111 if ac_fn_c_try_compile
"$LINENO"; then :
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7113 $as_echo "yes" >&6; }
7120 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7124 if test -n "$target"
7126 CROSSTEST_DISABLE
=""
7127 CROSSTARGET
="$target"
7131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7132 $as_echo "no" >&6; }
7134 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7140 if test "$ac_cv_header_pthread_h" = "yes"
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7143 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7144 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7145 $as_echo_n "(cached) " >&6
7147 ac_check_lib_save_LIBS
=$LIBS
7148 LIBS
="-lpthread $LIBS"
7149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7150 /* end confdefs.h. */
7152 /* Override any GCC internal prototype to avoid an error.
7153 Use char because int might match the return type of a GCC
7154 builtin and then its argument prototype would still apply. */
7158 char pthread_create ();
7162 return pthread_create ();
7167 if ac_fn_c_try_link
"$LINENO"; then :
7168 ac_cv_lib_pthread_pthread_create
=yes
7170 ac_cv_lib_pthread_pthread_create
=no
7172 rm -f core conftest.err conftest.
$ac_objext \
7173 conftest
$ac_exeext conftest.
$ac_ext
7174 LIBS
=$ac_check_lib_save_LIBS
7176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7177 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7178 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7179 LIBPTHREAD
="-lpthread"
7184 if test "x$LIBPTHREAD" = "x"; then :
7185 case "x$with_pthread" in
7187 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7188 Wine cannot support threads without libpthread.
7189 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7195 $as_echo_n "checking for X... " >&6; }
7198 # Check whether --with-x was given.
7199 if test "${with_x+set}" = set; then :
7203 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7204 if test "x$with_x" = xno
; then
7205 # The user explicitly disabled X.
7208 case $x_includes,$x_libraries in #(
7209 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
7210 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7211 $as_echo_n "(cached) " >&6
7213 # One or both of the vars are not set, and there is no cached value.
7214 ac_x_includes
=no ac_x_libraries
=no
7215 rm -f -r conftest.dir
7216 if mkdir conftest.dir
; then
7218 cat >Imakefile
<<'_ACEOF'
7220 @echo incroot='${INCROOT}'
7222 @echo usrlibdir='${USRLIBDIR}'
7224 @echo libdir='${LIBDIR}'
7226 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7227 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7228 for ac_var
in incroot usrlibdir libdir
; do
7229 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7231 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7232 for ac_extension
in a so sl dylib la dll
; do
7233 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7234 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7235 ac_im_usrlibdir
=$ac_im_libdir; break
7238 # Screen out bogus values from the imake configuration. They are
7239 # bogus both because they are the default anyway, and because
7240 # using them would break gcc on systems where it needs fixed includes.
7241 case $ac_im_incroot in
7242 /usr
/include
) ac_x_includes
= ;;
7243 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7245 case $ac_im_usrlibdir in
7246 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7247 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7251 rm -f -r conftest.dir
7254 # Standard set of common directories for X headers.
7255 # Check X11 before X11Rn because it is often a symlink to the current release.
7269 /usr/local/X11/include
7270 /usr/local/X11R7/include
7271 /usr/local/X11R6/include
7272 /usr/local/X11R5/include
7273 /usr/local/X11R4/include
7275 /usr/local/include/X11
7276 /usr/local/include/X11R7
7277 /usr/local/include/X11R6
7278 /usr/local/include/X11R5
7279 /usr/local/include/X11R4
7283 /usr/XFree86/include/X11
7287 /usr/unsupported/include
7289 /usr/local/x11r5/include
7290 /usr/lpp/Xamples/include
7292 /usr/openwin/include
7293 /usr/openwin/share/include'
7295 if test "$ac_x_includes" = no
; then
7296 # Guess where to find include files, by looking for Xlib.h.
7297 # First, try using that file with no special directory specified.
7298 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7299 /* end confdefs.h. */
7300 #include <X11/Xlib.h>
7302 if ac_fn_c_try_cpp
"$LINENO"; then :
7303 # We can compile using X headers with no special include directory.
7306 for ac_dir
in $ac_x_header_dirs; do
7307 if test -r "$ac_dir/X11/Xlib.h"; then
7308 ac_x_includes
=$ac_dir
7313 rm -f conftest.err conftest.i conftest.
$ac_ext
7314 fi # $ac_x_includes = no
7316 if test "$ac_x_libraries" = no
; then
7317 # Check for the libraries.
7318 # See if we find them without any special options.
7319 # Don't add to $LIBS permanently.
7322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7323 /* end confdefs.h. */
7324 #include <X11/Xlib.h>
7333 if ac_fn_c_try_link
"$LINENO"; then :
7335 # We can link X programs with no special library path.
7339 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7341 # Don't even attempt the hair of trying to link an X program!
7342 for ac_extension
in a so sl dylib la dll
; do
7343 if test -r "$ac_dir/libX11.$ac_extension"; then
7344 ac_x_libraries
=$ac_dir
7350 rm -f core conftest.err conftest.
$ac_objext \
7351 conftest
$ac_exeext conftest.
$ac_ext
7352 fi # $ac_x_libraries = no
7354 case $ac_x_includes,$ac_x_libraries in #(
7356 # Didn't find X, or a directory has "'" in its name.
7357 ac_cv_have_x
="have_x=no";; #(
7359 # Record where we found X for the cache.
7360 ac_cv_have_x
="have_x=yes\
7361 ac_x_includes='$ac_x_includes'\
7362 ac_x_libraries='$ac_x_libraries'"
7368 eval "$ac_cv_have_x"
7371 if test "$have_x" != yes; then
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7373 $as_echo "$have_x" >&6; }
7376 # If each of the values was on the command line, it overrides each guess.
7377 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7378 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7379 # Update the cache value to reflect the command line values.
7380 ac_cv_have_x
="have_x=yes\
7381 ac_x_includes='$x_includes'\
7382 ac_x_libraries='$x_libraries'"
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7384 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7387 if test "$no_x" = yes; then
7388 # Not all programs may use this symbol, but it does not hurt to define it.
7390 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7392 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7394 if test -n "$x_includes"; then
7395 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7398 # It would also be nice to do this for all -L options, not just this one.
7399 if test -n "$x_libraries"; then
7400 X_LIBS
="$X_LIBS -L$x_libraries"
7401 # For Solaris; some versions of Sun CC require a space after -R and
7402 # others require no space. Words are not sufficient . . . .
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7404 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7405 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7406 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7407 ac_c_werror_flag
=yes
7408 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7409 /* end confdefs.h. */
7419 if ac_fn_c_try_link
"$LINENO"; then :
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7422 X_LIBS
="$X_LIBS -R$x_libraries"
7424 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7426 /* end confdefs.h. */
7436 if ac_fn_c_try_link
"$LINENO"; then :
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7438 $as_echo "yes" >&6; }
7439 X_LIBS
="$X_LIBS -R $x_libraries"
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7442 $as_echo "neither works" >&6; }
7444 rm -f core conftest.err conftest.
$ac_objext \
7445 conftest
$ac_exeext conftest.
$ac_ext
7447 rm -f core conftest.err conftest.
$ac_objext \
7448 conftest
$ac_exeext conftest.
$ac_ext
7449 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7453 # Check for system-dependent libraries X programs must link with.
7454 # Do this before checking for the system-independent R6 libraries
7455 # (-lICE), since we may need -lsocket or whatever for X linking.
7457 if test "$ISC" = yes; then
7458 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7460 # Martyn Johnson says this is needed for Ultrix, if the X
7461 # libraries were built with DECnet support. And Karl Berry says
7462 # the Alpha needs dnet_stub (dnet does not exist).
7463 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7465 /* end confdefs.h. */
7467 /* Override any GCC internal prototype to avoid an error.
7468 Use char because int might match the return type of a GCC
7469 builtin and then its argument prototype would still apply. */
7473 char XOpenDisplay ();
7477 return XOpenDisplay ();
7482 if ac_fn_c_try_link
"$LINENO"; then :
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7486 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7487 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7488 $as_echo_n "(cached) " >&6
7490 ac_check_lib_save_LIBS
=$LIBS
7492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7493 /* end confdefs.h. */
7495 /* Override any GCC internal prototype to avoid an error.
7496 Use char because int might match the return type of a GCC
7497 builtin and then its argument prototype would still apply. */
7505 return dnet_ntoa ();
7510 if ac_fn_c_try_link
"$LINENO"; then :
7511 ac_cv_lib_dnet_dnet_ntoa
=yes
7513 ac_cv_lib_dnet_dnet_ntoa
=no
7515 rm -f core conftest.err conftest.
$ac_objext \
7516 conftest
$ac_exeext conftest.
$ac_ext
7517 LIBS
=$ac_check_lib_save_LIBS
7519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7520 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7521 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7522 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7525 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7527 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7528 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7529 $as_echo_n "(cached) " >&6
7531 ac_check_lib_save_LIBS
=$LIBS
7532 LIBS
="-ldnet_stub $LIBS"
7533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7536 /* Override any GCC internal prototype to avoid an error.
7537 Use char because int might match the return type of a GCC
7538 builtin and then its argument prototype would still apply. */
7546 return dnet_ntoa ();
7551 if ac_fn_c_try_link
"$LINENO"; then :
7552 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7554 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7556 rm -f core conftest.err conftest.
$ac_objext \
7557 conftest
$ac_exeext conftest.
$ac_ext
7558 LIBS
=$ac_check_lib_save_LIBS
7560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7561 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7562 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7563 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7568 rm -f core conftest.err conftest.
$ac_objext \
7569 conftest
$ac_exeext conftest.
$ac_ext
7570 LIBS
="$ac_xsave_LIBS"
7572 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7573 # to get the SysV transport functions.
7574 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7576 # The nsl library prevents programs from opening the X display
7577 # on Irix 5.2, according to T.E. Dickey.
7578 # The functions gethostbyname, getservbyname, and inet_addr are
7579 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7580 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7581 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7585 if test $ac_cv_func_gethostbyname = no
; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7587 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7588 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7591 ac_check_lib_save_LIBS
=$LIBS
7593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7594 /* end confdefs.h. */
7596 /* Override any GCC internal prototype to avoid an error.
7597 Use char because int might match the return type of a GCC
7598 builtin and then its argument prototype would still apply. */
7602 char gethostbyname ();
7606 return gethostbyname ();
7611 if ac_fn_c_try_link
"$LINENO"; then :
7612 ac_cv_lib_nsl_gethostbyname
=yes
7614 ac_cv_lib_nsl_gethostbyname
=no
7616 rm -f core conftest.err conftest.
$ac_objext \
7617 conftest
$ac_exeext conftest.
$ac_ext
7618 LIBS
=$ac_check_lib_save_LIBS
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7621 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7622 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7623 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7626 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7628 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7629 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7630 $as_echo_n "(cached) " >&6
7632 ac_check_lib_save_LIBS
=$LIBS
7634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7635 /* end confdefs.h. */
7637 /* Override any GCC internal prototype to avoid an error.
7638 Use char because int might match the return type of a GCC
7639 builtin and then its argument prototype would still apply. */
7643 char gethostbyname ();
7647 return gethostbyname ();
7652 if ac_fn_c_try_link
"$LINENO"; then :
7653 ac_cv_lib_bsd_gethostbyname
=yes
7655 ac_cv_lib_bsd_gethostbyname
=no
7657 rm -f core conftest.err conftest.
$ac_objext \
7658 conftest
$ac_exeext conftest.
$ac_ext
7659 LIBS
=$ac_check_lib_save_LIBS
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7662 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7663 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7664 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7670 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7671 # socket/setsockopt and other routines are undefined under SCO ODT
7672 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7673 # on later versions), says Simon Leinen: it contains gethostby*
7674 # variants that don't use the name server (or something). -lsocket
7675 # must be given before -lnsl if both are needed. We assume that
7676 # if connect needs -lnsl, so does gethostbyname.
7677 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7678 if test "x$ac_cv_func_connect" = x
""yes; then :
7682 if test $ac_cv_func_connect = no
; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7684 $as_echo_n "checking for connect in -lsocket... " >&6; }
7685 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7686 $as_echo_n "(cached) " >&6
7688 ac_check_lib_save_LIBS
=$LIBS
7689 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7691 /* end confdefs.h. */
7693 /* Override any GCC internal prototype to avoid an error.
7694 Use char because int might match the return type of a GCC
7695 builtin and then its argument prototype would still apply. */
7708 if ac_fn_c_try_link
"$LINENO"; then :
7709 ac_cv_lib_socket_connect
=yes
7711 ac_cv_lib_socket_connect
=no
7713 rm -f core conftest.err conftest.
$ac_objext \
7714 conftest
$ac_exeext conftest.
$ac_ext
7715 LIBS
=$ac_check_lib_save_LIBS
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7718 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7719 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7720 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7725 # Guillermo Gomez says -lposix is necessary on A/UX.
7726 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7727 if test "x$ac_cv_func_remove" = x
""yes; then :
7731 if test $ac_cv_func_remove = no
; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7733 $as_echo_n "checking for remove in -lposix... " >&6; }
7734 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7735 $as_echo_n "(cached) " >&6
7737 ac_check_lib_save_LIBS
=$LIBS
7738 LIBS
="-lposix $LIBS"
7739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7740 /* end confdefs.h. */
7742 /* Override any GCC internal prototype to avoid an error.
7743 Use char because int might match the return type of a GCC
7744 builtin and then its argument prototype would still apply. */
7757 if ac_fn_c_try_link
"$LINENO"; then :
7758 ac_cv_lib_posix_remove
=yes
7760 ac_cv_lib_posix_remove
=no
7762 rm -f core conftest.err conftest.
$ac_objext \
7763 conftest
$ac_exeext conftest.
$ac_ext
7764 LIBS
=$ac_check_lib_save_LIBS
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7767 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7768 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7769 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7774 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7775 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7776 if test "x$ac_cv_func_shmat" = x
""yes; then :
7780 if test $ac_cv_func_shmat = no
; then
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7782 $as_echo_n "checking for shmat in -lipc... " >&6; }
7783 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7784 $as_echo_n "(cached) " >&6
7786 ac_check_lib_save_LIBS
=$LIBS
7788 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7789 /* end confdefs.h. */
7791 /* Override any GCC internal prototype to avoid an error.
7792 Use char because int might match the return type of a GCC
7793 builtin and then its argument prototype would still apply. */
7806 if ac_fn_c_try_link
"$LINENO"; then :
7807 ac_cv_lib_ipc_shmat
=yes
7809 ac_cv_lib_ipc_shmat
=no
7811 rm -f core conftest.err conftest.
$ac_objext \
7812 conftest
$ac_exeext conftest.
$ac_ext
7813 LIBS
=$ac_check_lib_save_LIBS
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7816 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7817 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7818 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7824 # Check for libraries that X11R6 Xt/Xaw programs need.
7825 ac_save_LDFLAGS
=$LDFLAGS
7826 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7827 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7828 # check for ICE first), but we must link in the order -lSM -lICE or
7829 # we get undefined symbols. So assume we have SM if we have ICE.
7830 # These have to be linked with before -lX11, unlike the other
7831 # libraries we check for below, so use a different variable.
7832 # John Interrante, Karl Berry
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7834 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7835 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7836 $as_echo_n "(cached) " >&6
7838 ac_check_lib_save_LIBS
=$LIBS
7839 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7841 /* end confdefs.h. */
7843 /* Override any GCC internal prototype to avoid an error.
7844 Use char because int might match the return type of a GCC
7845 builtin and then its argument prototype would still apply. */
7849 char IceConnectionNumber ();
7853 return IceConnectionNumber ();
7858 if ac_fn_c_try_link
"$LINENO"; then :
7859 ac_cv_lib_ICE_IceConnectionNumber
=yes
7861 ac_cv_lib_ICE_IceConnectionNumber
=no
7863 rm -f core conftest.err conftest.
$ac_objext \
7864 conftest
$ac_exeext conftest.
$ac_ext
7865 LIBS
=$ac_check_lib_save_LIBS
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7868 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7869 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7870 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7873 LDFLAGS
=$ac_save_LDFLAGS
7878 if test "$have_x" = "yes"
7881 ac_save_CPPFLAGS
="$CPPFLAGS"
7882 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7885 $as_echo_n "checking for -lX11... " >&6; }
7886 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7887 $as_echo_n "(cached) " >&6
7889 ac_check_soname_save_LIBS
=$LIBS
7890 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7891 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7894 /* Override any GCC internal prototype to avoid an error.
7895 Use char because int might match the return type of a GCC
7896 builtin and then its argument prototype would still apply. */
7900 char XCreateWindow ();
7904 return XCreateWindow ();
7909 if ac_fn_c_try_link
"$LINENO"; then :
7911 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7912 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'` ;;
7913 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7916 rm -f core conftest.err conftest.
$ac_objext \
7917 conftest
$ac_exeext conftest.
$ac_ext
7918 LIBS
=$ac_check_soname_save_LIBS
7920 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7922 $as_echo "not found" >&6; }
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7926 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7928 cat >>confdefs.h
<<_ACEOF
7929 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7935 $as_echo_n "checking for -lXext... " >&6; }
7936 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7937 $as_echo_n "(cached) " >&6
7939 ac_check_soname_save_LIBS
=$LIBS
7940 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7942 /* end confdefs.h. */
7944 /* Override any GCC internal prototype to avoid an error.
7945 Use char because int might match the return type of a GCC
7946 builtin and then its argument prototype would still apply. */
7950 char XextCreateExtension ();
7954 return XextCreateExtension ();
7959 if ac_fn_c_try_link
"$LINENO"; then :
7961 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7962 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'` ;;
7963 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7966 rm -f core conftest.err conftest.
$ac_objext \
7967 conftest
$ac_exeext conftest.
$ac_ext
7968 LIBS
=$ac_check_soname_save_LIBS
7970 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7972 $as_echo "not found" >&6; }
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7976 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7978 cat >>confdefs.h
<<_ACEOF
7979 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7985 for ac_header
in X11
/Xlib.h \
7988 X11
/Xcursor
/Xcursor.h \
7989 X11
/extensions
/shape.h \
7990 X11
/extensions
/XInput.h \
7991 X11
/extensions
/XShm.h \
7992 X11
/extensions
/Xcomposite.h \
7993 X11
/extensions
/Xinerama.h \
7994 X11
/extensions
/Xrandr.h \
7995 X11
/extensions
/Xrender.h \
7996 X11
/extensions
/xf86vmode.h \
7997 X11
/extensions
/xf86vmproto.h
7999 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8000 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8001 # include <X11/Xlib.h>
8003 #ifdef HAVE_X11_XUTIL_H
8004 # include <X11/Xutil.h>
8007 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8008 cat >>confdefs.h
<<_ACEOF
8009 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8017 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8020 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8021 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
8022 $as_echo_n "(cached) " >&6
8024 ac_check_lib_save_LIBS
=$LIBS
8025 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8027 /* end confdefs.h. */
8029 /* Override any GCC internal prototype to avoid an error.
8030 Use char because int might match the return type of a GCC
8031 builtin and then its argument prototype would still apply. */
8035 char XkbQueryExtension ();
8039 return XkbQueryExtension ();
8044 if ac_fn_c_try_link
"$LINENO"; then :
8045 ac_cv_lib_X11_XkbQueryExtension
=yes
8047 ac_cv_lib_X11_XkbQueryExtension
=no
8049 rm -f core conftest.err conftest.
$ac_objext \
8050 conftest
$ac_exeext conftest.
$ac_ext
8051 LIBS
=$ac_check_lib_save_LIBS
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8054 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8055 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
8057 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8063 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8066 $as_echo_n "checking for -lXcursor... " >&6; }
8067 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8068 $as_echo_n "(cached) " >&6
8070 ac_check_soname_save_LIBS
=$LIBS
8071 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8075 /* Override any GCC internal prototype to avoid an error.
8076 Use char because int might match the return type of a GCC
8077 builtin and then its argument prototype would still apply. */
8081 char XcursorImageLoadCursor ();
8085 return XcursorImageLoadCursor ();
8090 if ac_fn_c_try_link
"$LINENO"; then :
8092 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8093 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'` ;;
8094 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8097 rm -f core conftest.err conftest.
$ac_objext \
8098 conftest
$ac_exeext conftest.
$ac_ext
8099 LIBS
=$ac_check_soname_save_LIBS
8101 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8103 $as_echo "not found" >&6; }
8106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8107 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8109 cat >>confdefs.h
<<_ACEOF
8110 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8116 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8117 case "x$with_xcursor" in
8118 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8120 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8121 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8125 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8128 $as_echo_n "checking for -lXi... " >&6; }
8129 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8130 $as_echo_n "(cached) " >&6
8132 ac_check_soname_save_LIBS
=$LIBS
8133 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8137 /* Override any GCC internal prototype to avoid an error.
8138 Use char because int might match the return type of a GCC
8139 builtin and then its argument prototype would still apply. */
8143 char XOpenDevice ();
8147 return XOpenDevice ();
8152 if ac_fn_c_try_link
"$LINENO"; then :
8154 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8155 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'` ;;
8156 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8159 rm -f core conftest.err conftest.
$ac_objext \
8160 conftest
$ac_exeext conftest.
$ac_ext
8161 LIBS
=$ac_check_soname_save_LIBS
8163 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8165 $as_echo "not found" >&6; }
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8169 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8171 cat >>confdefs.h
<<_ACEOF
8172 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8178 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8179 case "x$with_xinput" in
8180 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8182 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8183 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8187 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8190 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8191 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8192 $as_echo_n "(cached) " >&6
8194 ac_check_lib_save_LIBS
=$LIBS
8195 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8196 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8197 /* end confdefs.h. */
8199 /* Override any GCC internal prototype to avoid an error.
8200 Use char because int might match the return type of a GCC
8201 builtin and then its argument prototype would still apply. */
8205 char XShmQueryExtension ();
8209 return XShmQueryExtension ();
8214 if ac_fn_c_try_link
"$LINENO"; then :
8215 ac_cv_lib_Xext_XShmQueryExtension
=yes
8217 ac_cv_lib_Xext_XShmQueryExtension
=no
8219 rm -f core conftest.err conftest.
$ac_objext \
8220 conftest
$ac_exeext conftest.
$ac_ext
8221 LIBS
=$ac_check_lib_save_LIBS
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8224 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8225 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8227 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8232 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8233 case "x$with_xshm" in
8234 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8236 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8237 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8241 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8244 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8245 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8246 $as_echo_n "(cached) " >&6
8248 ac_check_lib_save_LIBS
=$LIBS
8249 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8251 /* end confdefs.h. */
8253 /* Override any GCC internal prototype to avoid an error.
8254 Use char because int might match the return type of a GCC
8255 builtin and then its argument prototype would still apply. */
8259 char XShapeQueryExtension ();
8263 return XShapeQueryExtension ();
8268 if ac_fn_c_try_link
"$LINENO"; then :
8269 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8271 ac_cv_lib_Xext_XShapeQueryExtension
=no
8273 rm -f core conftest.err conftest.
$ac_objext \
8274 conftest
$ac_exeext conftest.
$ac_ext
8275 LIBS
=$ac_check_lib_save_LIBS
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8278 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8279 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8281 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8286 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8287 case "x$with_xshape" in
8288 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8290 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8291 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8295 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8298 $as_echo_n "checking for -lXxf86vm... " >&6; }
8299 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8300 $as_echo_n "(cached) " >&6
8302 ac_check_soname_save_LIBS
=$LIBS
8303 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8307 /* Override any GCC internal prototype to avoid an error.
8308 Use char because int might match the return type of a GCC
8309 builtin and then its argument prototype would still apply. */
8313 char XF86VidModeQueryExtension ();
8317 return XF86VidModeQueryExtension ();
8322 if ac_fn_c_try_link
"$LINENO"; then :
8324 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8325 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'` ;;
8326 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8329 rm -f core conftest.err conftest.
$ac_objext \
8330 conftest
$ac_exeext conftest.
$ac_ext
8331 LIBS
=$ac_check_soname_save_LIBS
8333 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8335 $as_echo "not found" >&6; }
8338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8339 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8341 cat >>confdefs.h
<<_ACEOF
8342 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8348 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8349 case "x$with_xxf86vm" in
8350 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8352 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8353 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8357 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"
8359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8360 $as_echo_n "checking for -lXrender... " >&6; }
8361 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8362 $as_echo_n "(cached) " >&6
8364 ac_check_soname_save_LIBS
=$LIBS
8365 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8367 /* end confdefs.h. */
8369 /* Override any GCC internal prototype to avoid an error.
8370 Use char because int might match the return type of a GCC
8371 builtin and then its argument prototype would still apply. */
8375 char XRenderQueryExtension ();
8379 return XRenderQueryExtension ();
8384 if ac_fn_c_try_link
"$LINENO"; then :
8386 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8387 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'` ;;
8388 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8391 rm -f core conftest.err conftest.
$ac_objext \
8392 conftest
$ac_exeext conftest.
$ac_ext
8393 LIBS
=$ac_check_soname_save_LIBS
8395 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8397 $as_echo "not found" >&6; }
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8401 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8403 cat >>confdefs.h
<<_ACEOF
8404 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8408 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8409 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8412 ac_check_lib_save_LIBS
=$LIBS
8413 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8415 /* end confdefs.h. */
8417 /* Override any GCC internal prototype to avoid an error.
8418 Use char because int might match the return type of a GCC
8419 builtin and then its argument prototype would still apply. */
8423 char XRenderSetPictureTransform ();
8427 return XRenderSetPictureTransform ();
8432 if ac_fn_c_try_link
"$LINENO"; then :
8433 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8435 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8437 rm -f core conftest.err conftest.
$ac_objext \
8438 conftest
$ac_exeext conftest.
$ac_ext
8439 LIBS
=$ac_check_lib_save_LIBS
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8442 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8443 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8445 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8452 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8453 case "x$with_xrender" in
8454 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8456 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8457 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8461 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8464 /* end confdefs.h. */
8465 #include <X11/Xlib.h>
8466 #include <X11/extensions/Xrandr.h>
8470 static typeof(XRRSetScreenConfigAndRate) * func;
8475 if ac_fn_c_try_compile
"$LINENO"; then :
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8477 $as_echo_n "checking for -lXrandr... " >&6; }
8478 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8479 $as_echo_n "(cached) " >&6
8481 ac_check_soname_save_LIBS
=$LIBS
8482 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8486 /* Override any GCC internal prototype to avoid an error.
8487 Use char because int might match the return type of a GCC
8488 builtin and then its argument prototype would still apply. */
8492 char XRRQueryExtension ();
8496 return XRRQueryExtension ();
8501 if ac_fn_c_try_link
"$LINENO"; then :
8503 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8504 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'` ;;
8505 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8508 rm -f core conftest.err conftest.
$ac_objext \
8509 conftest
$ac_exeext conftest.
$ac_ext
8510 LIBS
=$ac_check_soname_save_LIBS
8512 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8514 $as_echo "not found" >&6; }
8517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8518 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8520 cat >>confdefs.h
<<_ACEOF
8521 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8527 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8529 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8530 case "x$with_xrandr" in
8531 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8533 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8534 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8538 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8541 /* end confdefs.h. */
8542 #include <X11/Xlib.h>
8543 #include <X11/extensions/Xinerama.h>
8547 static typeof(XineramaQueryScreens) * func;
8552 if ac_fn_c_try_compile
"$LINENO"; then :
8553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8554 $as_echo_n "checking for -lXinerama... " >&6; }
8555 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8556 $as_echo_n "(cached) " >&6
8558 ac_check_soname_save_LIBS
=$LIBS
8559 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8560 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8561 /* end confdefs.h. */
8563 /* Override any GCC internal prototype to avoid an error.
8564 Use char because int might match the return type of a GCC
8565 builtin and then its argument prototype would still apply. */
8569 char XineramaQueryScreens ();
8573 return XineramaQueryScreens ();
8578 if ac_fn_c_try_link
"$LINENO"; then :
8580 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8581 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'` ;;
8582 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8585 rm -f core conftest.err conftest.
$ac_objext \
8586 conftest
$ac_exeext conftest.
$ac_ext
8587 LIBS
=$ac_check_soname_save_LIBS
8589 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8591 $as_echo "not found" >&6; }
8594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8595 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8597 cat >>confdefs.h
<<_ACEOF
8598 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8604 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8606 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8607 case "x$with_xinerama" in
8608 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8610 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8611 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8615 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8618 $as_echo_n "checking for -lXcomposite... " >&6; }
8619 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8620 $as_echo_n "(cached) " >&6
8622 ac_check_soname_save_LIBS
=$LIBS
8623 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8624 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8625 /* end confdefs.h. */
8627 /* Override any GCC internal prototype to avoid an error.
8628 Use char because int might match the return type of a GCC
8629 builtin and then its argument prototype would still apply. */
8633 char XCompositeRedirectWindow ();
8637 return XCompositeRedirectWindow ();
8642 if ac_fn_c_try_link
"$LINENO"; then :
8644 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8645 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'` ;;
8646 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8649 rm -f core conftest.err conftest.
$ac_objext \
8650 conftest
$ac_exeext conftest.
$ac_ext
8651 LIBS
=$ac_check_soname_save_LIBS
8653 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8655 $as_echo "not found" >&6; }
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8659 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8661 cat >>confdefs.h
<<_ACEOF
8662 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8668 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8669 case "x$with_xcomposite" in
8670 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8672 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8673 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8677 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8678 #include <X11/Xlib.h>
8681 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8683 cat >>confdefs.h
<<_ACEOF
8684 #define HAVE_XICCALLBACK_CALLBACK 1
8693 if test "x$with_opengl" != "xno"
8695 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8697 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8698 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8699 # include <GL/glx.h>
8702 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8703 cat >>confdefs.h
<<_ACEOF
8704 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8711 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8714 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8715 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8716 $as_echo_n "(cached) " >&6
8718 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8719 /* end confdefs.h. */
8724 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8729 if ac_fn_c_try_compile
"$LINENO"; then :
8730 wine_cv_opengl_header_version_OK
="yes"
8732 wine_cv_opengl_header_version_OK
="no"
8734 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8737 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8739 if test "$wine_cv_opengl_header_version_OK" = "yes"
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8742 $as_echo_n "checking for -lGL... " >&6; }
8743 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8744 $as_echo_n "(cached) " >&6
8746 ac_check_soname_save_LIBS
=$LIBS
8747 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8751 /* Override any GCC internal prototype to avoid an error.
8752 Use char because int might match the return type of a GCC
8753 builtin and then its argument prototype would still apply. */
8757 char glXCreateContext ();
8761 return glXCreateContext ();
8766 if ac_fn_c_try_link
"$LINENO"; then :
8768 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8769 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'` ;;
8770 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8773 rm -f core conftest.err conftest.
$ac_objext \
8774 conftest
$ac_exeext conftest.
$ac_ext
8775 LIBS
=$ac_check_soname_save_LIBS
8777 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8779 $as_echo "not found" >&6; }
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8781 $as_echo_n "checking for -lGL... " >&6; }
8782 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8783 $as_echo_n "(cached) " >&6
8785 ac_check_soname_save_LIBS
=$LIBS
8786 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"
8787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8790 /* Override any GCC internal prototype to avoid an error.
8791 Use char because int might match the return type of a GCC
8792 builtin and then its argument prototype would still apply. */
8796 char glXCreateContext ();
8800 return glXCreateContext ();
8805 if ac_fn_c_try_link
"$LINENO"; then :
8807 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8808 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'` ;;
8809 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8812 rm -f core conftest.err conftest.
$ac_objext \
8813 conftest
$ac_exeext conftest.
$ac_ext
8814 LIBS
=$ac_check_soname_save_LIBS
8816 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8818 $as_echo "not found" >&6; }
8819 if test -f /usr
/X11R
6/lib
/libGL.a
8821 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8822 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8824 opengl_msg
="No OpenGL library found on this system."
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8828 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8830 cat >>confdefs.h
<<_ACEOF
8831 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8834 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"
8836 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8841 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8843 cat >>confdefs.h
<<_ACEOF
8844 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8849 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8852 if test "$ac_cv_header_GL_glu_h" = "yes"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8855 $as_echo_n "checking for -lGLU... " >&6; }
8856 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8857 $as_echo_n "(cached) " >&6
8859 ac_check_soname_save_LIBS
=$LIBS
8860 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8864 /* Override any GCC internal prototype to avoid an error.
8865 Use char because int might match the return type of a GCC
8866 builtin and then its argument prototype would still apply. */
8874 return gluLookAt ();
8879 if ac_fn_c_try_link
"$LINENO"; then :
8881 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8882 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'` ;;
8883 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8886 rm -f core conftest.err conftest.
$ac_objext \
8887 conftest
$ac_exeext conftest.
$ac_ext
8888 LIBS
=$ac_check_soname_save_LIBS
8890 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8892 $as_echo "not found" >&6; }
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8896 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8898 cat >>confdefs.h
<<_ACEOF
8899 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8905 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8906 case "x$with_glu" in
8907 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8909 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8910 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8914 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8917 opengl_msg
="OpenGL development headers not found."
8919 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8920 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8922 enable_opengl32
=${enable_opengl32:-no}
8923 enable_glu32
=${enable_glu32:-no}
8925 if test -n "$opengl_msg"; then :
8926 case "x$with_opengl" in
8927 x
) as_fn_append wine_warnings
"|$opengl_msg
8928 OpenGL and Direct3D won't be supported." ;;
8930 *) as_fn_error $?
"$opengl_msg
8931 OpenGL and Direct3D won't be supported.
8932 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8938 for ac_header
in audio
/audiolib.h
8940 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8941 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8942 cat >>confdefs.h
<<_ACEOF
8943 #define HAVE_AUDIO_AUDIOLIB_H 1
8945 for ac_header
in audio
/soundlib.h
8947 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8949 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8950 cat >>confdefs.h
<<_ACEOF
8951 #define HAVE_AUDIO_SOUNDLIB_H 1
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8959 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8960 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8963 ac_check_lib_save_LIBS
=$LIBS
8964 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8966 /* end confdefs.h. */
8968 /* Override any GCC internal prototype to avoid an error.
8969 Use char because int might match the return type of a GCC
8970 builtin and then its argument prototype would still apply. */
8974 char AuCreateFlow ();
8978 return AuCreateFlow ();
8983 if ac_fn_c_try_link
"$LINENO"; then :
8984 ac_cv_lib_audio_AuCreateFlow
=yes
8986 ac_cv_lib_audio_AuCreateFlow
=no
8988 rm -f core conftest.err conftest.
$ac_objext \
8989 conftest
$ac_exeext conftest.
$ac_ext
8990 LIBS
=$ac_check_lib_save_LIBS
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8993 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8994 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
8996 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8999 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
9000 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
9001 $as_echo_n "(cached) " >&6
9003 ac_check_lib_save_LIBS
=$LIBS
9004 LIBS
="-lXau $X_LIBS $LIBS"
9005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9006 /* end confdefs.h. */
9008 /* Override any GCC internal prototype to avoid an error.
9009 Use char because int might match the return type of a GCC
9010 builtin and then its argument prototype would still apply. */
9014 char XauGetBestAuthByAddr ();
9018 return XauGetBestAuthByAddr ();
9023 if ac_fn_c_try_link
"$LINENO"; then :
9024 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
9026 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
9028 rm -f core conftest.err conftest.
$ac_objext \
9029 conftest
$ac_exeext conftest.
$ac_ext
9030 LIBS
=$ac_check_lib_save_LIBS
9032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
9033 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
9034 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
9035 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9037 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9048 CPPFLAGS
="$ac_save_CPPFLAGS"
9053 enable_winex11_drv
=${enable_winex11_drv:-no}
9054 enable_opengl32
=${enable_opengl32:-no}
9055 enable_glu32
=${enable_glu32:-no}
9057 if test "x$XLIB" = "x"; then :
9060 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9061 without X support, which probably isn't what you want. You will need
9062 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9063 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9067 if test "$ac_cv_header_CL_opencl_h" = "yes"
9069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9070 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9071 if test "${ac_cv_lib_OpenCL_clGetPlatformInfo+set}" = set; then :
9072 $as_echo_n "(cached) " >&6
9074 ac_check_lib_save_LIBS
=$LIBS
9075 LIBS
="-lOpenCL $LIBS"
9076 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9079 /* Override any GCC internal prototype to avoid an error.
9080 Use char because int might match the return type of a GCC
9081 builtin and then its argument prototype would still apply. */
9085 char clGetPlatformInfo ();
9089 return clGetPlatformInfo ();
9094 if ac_fn_c_try_link
"$LINENO"; then :
9095 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9097 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9099 rm -f core conftest.err conftest.
$ac_objext \
9100 conftest
$ac_exeext conftest.
$ac_ext
9101 LIBS
=$ac_check_lib_save_LIBS
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9104 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9105 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = x
""yes; then :
9106 LIBOPENCL
="-lOpenCL"
9111 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9112 case "x$with_opencl" in
9113 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9115 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9116 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9119 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9128 if test "x$with_xml" != "xno"
9130 ac_save_CPPFLAGS
="$CPPFLAGS"
9131 if test "$PKG_CONFIG" != "false"
9133 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9134 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9136 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9137 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9139 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9140 for ac_header
in libxml
/parser.h
9142 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9143 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
9144 cat >>confdefs.h
<<_ACEOF
9145 #define HAVE_LIBXML_PARSER_H 1
9147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9148 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9149 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9150 $as_echo_n "(cached) " >&6
9152 ac_check_lib_save_LIBS
=$LIBS
9153 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9155 /* end confdefs.h. */
9157 /* Override any GCC internal prototype to avoid an error.
9158 Use char because int might match the return type of a GCC
9159 builtin and then its argument prototype would still apply. */
9163 char xmlParseMemory ();
9167 return xmlParseMemory ();
9172 if ac_fn_c_try_link
"$LINENO"; then :
9173 ac_cv_lib_xml2_xmlParseMemory
=yes
9175 ac_cv_lib_xml2_xmlParseMemory
=no
9177 rm -f core conftest.err conftest.
$ac_objext \
9178 conftest
$ac_exeext conftest.
$ac_ext
9179 LIBS
=$ac_check_lib_save_LIBS
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9182 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9183 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
9185 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9187 XML2LIBS
="$ac_xml_libs"
9188 XML2INCL
="$ac_xml_cflags"
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9192 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9193 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9194 $as_echo_n "(cached) " >&6
9196 ac_check_lib_save_LIBS
=$LIBS
9197 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9199 /* end confdefs.h. */
9201 /* Override any GCC internal prototype to avoid an error.
9202 Use char because int might match the return type of a GCC
9203 builtin and then its argument prototype would still apply. */
9207 char xmlReadMemory ();
9211 return xmlReadMemory ();
9216 if ac_fn_c_try_link
"$LINENO"; then :
9217 ac_cv_lib_xml2_xmlReadMemory
=yes
9219 ac_cv_lib_xml2_xmlReadMemory
=no
9221 rm -f core conftest.err conftest.
$ac_objext \
9222 conftest
$ac_exeext conftest.
$ac_ext
9223 LIBS
=$ac_check_lib_save_LIBS
9225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9226 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9227 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9229 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9234 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9235 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9236 $as_echo_n "(cached) " >&6
9238 ac_check_lib_save_LIBS
=$LIBS
9239 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9241 /* end confdefs.h. */
9243 /* Override any GCC internal prototype to avoid an error.
9244 Use char because int might match the return type of a GCC
9245 builtin and then its argument prototype would still apply. */
9249 char xmlNewDocPI ();
9253 return xmlNewDocPI ();
9258 if ac_fn_c_try_link
"$LINENO"; then :
9259 ac_cv_lib_xml2_xmlNewDocPI
=yes
9261 ac_cv_lib_xml2_xmlNewDocPI
=no
9263 rm -f core conftest.err conftest.
$ac_objext \
9264 conftest
$ac_exeext conftest.
$ac_ext
9265 LIBS
=$ac_check_lib_save_LIBS
9267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9268 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9269 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9271 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9276 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9277 if test "${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+set}" = set; then :
9278 $as_echo_n "(cached) " >&6
9280 ac_check_lib_save_LIBS
=$LIBS
9281 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9282 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9283 /* end confdefs.h. */
9285 /* Override any GCC internal prototype to avoid an error.
9286 Use char because int might match the return type of a GCC
9287 builtin and then its argument prototype would still apply. */
9291 char xmlSchemaSetParserStructuredErrors ();
9295 return xmlSchemaSetParserStructuredErrors ();
9300 if ac_fn_c_try_link
"$LINENO"; then :
9301 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9303 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9305 rm -f core conftest.err conftest.
$ac_objext \
9306 conftest
$ac_exeext conftest.
$ac_ext
9307 LIBS
=$ac_check_lib_save_LIBS
9309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9310 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9311 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = x
""yes; then :
9313 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9318 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9319 if test "${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+set}" = set; then :
9320 $as_echo_n "(cached) " >&6
9322 ac_check_lib_save_LIBS
=$LIBS
9323 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9324 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9325 /* end confdefs.h. */
9327 /* Override any GCC internal prototype to avoid an error.
9328 Use char because int might match the return type of a GCC
9329 builtin and then its argument prototype would still apply. */
9333 char xmlSchemaSetValidStructuredErrors ();
9337 return xmlSchemaSetValidStructuredErrors ();
9342 if ac_fn_c_try_link
"$LINENO"; then :
9343 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9345 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9347 rm -f core conftest.err conftest.
$ac_objext \
9348 conftest
$ac_exeext conftest.
$ac_ext
9349 LIBS
=$ac_check_lib_save_LIBS
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9352 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9353 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = x
""yes; then :
9355 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9360 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9361 if test "${ac_cv_lib_xml2_xmlFirstElementChild+set}" = set; then :
9362 $as_echo_n "(cached) " >&6
9364 ac_check_lib_save_LIBS
=$LIBS
9365 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9367 /* end confdefs.h. */
9369 /* Override any GCC internal prototype to avoid an error.
9370 Use char because int might match the return type of a GCC
9371 builtin and then its argument prototype would still apply. */
9375 char xmlFirstElementChild ();
9379 return xmlFirstElementChild ();
9384 if ac_fn_c_try_link
"$LINENO"; then :
9385 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9387 ac_cv_lib_xml2_xmlFirstElementChild
=no
9389 rm -f core conftest.err conftest.
$ac_objext \
9390 conftest
$ac_exeext conftest.
$ac_ext
9391 LIBS
=$ac_check_lib_save_LIBS
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9394 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9395 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = x
""yes; then :
9397 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9401 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9403 if test "x$ac_cv_type_xmlDocProperties" = x
""yes; then :
9405 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9414 CPPFLAGS
="$ac_save_CPPFLAGS"
9416 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9417 case "x$with_xml" in
9418 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9420 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9421 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9425 if test "x$with_xslt" != "xno"
9427 if test "$PKG_CONFIG" != "false"
9429 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9430 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9432 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9433 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9435 ac_save_CPPFLAGS
="$CPPFLAGS"
9436 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9437 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9439 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9440 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9441 # include <libxslt/pattern.h>
9444 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9445 cat >>confdefs.h
<<_ACEOF
9446 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9453 CPPFLAGS
="$ac_save_CPPFLAGS"
9454 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9457 $as_echo_n "checking for -lxslt... " >&6; }
9458 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9459 $as_echo_n "(cached) " >&6
9461 ac_check_soname_save_LIBS
=$LIBS
9462 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9466 /* Override any GCC internal prototype to avoid an error.
9467 Use char because int might match the return type of a GCC
9468 builtin and then its argument prototype would still apply. */
9472 char xsltCompilePattern ();
9476 return xsltCompilePattern ();
9481 if ac_fn_c_try_link
"$LINENO"; then :
9483 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9484 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'` ;;
9485 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9488 rm -f core conftest.err conftest.
$ac_objext \
9489 conftest
$ac_exeext conftest.
$ac_ext
9490 LIBS
=$ac_check_soname_save_LIBS
9492 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9494 $as_echo "not found" >&6; }
9497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9498 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9500 cat >>confdefs.h
<<_ACEOF
9501 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9504 XSLTINCL
="$ac_xslt_cflags"
9508 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9509 case "x$with_xslt" in
9510 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9512 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9513 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9519 if test "x$with_hal" != "xno"
9521 ac_save_CPPFLAGS
="$CPPFLAGS"
9522 if test "$PKG_CONFIG" != "false"
9524 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9525 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9526 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9528 for ac_header
in dbus
/dbus.h hal
/libhal.h
9530 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9531 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9532 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9533 cat >>confdefs.h
<<_ACEOF
9534 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9541 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9544 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9545 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9546 $as_echo_n "(cached) " >&6
9548 ac_check_lib_save_LIBS
=$LIBS
9549 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9553 /* Override any GCC internal prototype to avoid an error.
9554 Use char because int might match the return type of a GCC
9555 builtin and then its argument prototype would still apply. */
9559 char dbus_connection_close ();
9563 return dbus_connection_close ();
9568 if ac_fn_c_try_link
"$LINENO"; then :
9569 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9571 ac_cv_lib_dbus_1_dbus_connection_close
=no
9573 rm -f core conftest.err conftest.
$ac_objext \
9574 conftest
$ac_exeext conftest.
$ac_ext
9575 LIBS
=$ac_check_lib_save_LIBS
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9578 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9579 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9581 $as_echo_n "checking for -lhal... " >&6; }
9582 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9583 $as_echo_n "(cached) " >&6
9585 ac_check_soname_save_LIBS
=$LIBS
9586 LIBS
="-lhal $ac_hal_libs $LIBS"
9587 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9588 /* end confdefs.h. */
9590 /* Override any GCC internal prototype to avoid an error.
9591 Use char because int might match the return type of a GCC
9592 builtin and then its argument prototype would still apply. */
9596 char libhal_ctx_new ();
9600 return libhal_ctx_new ();
9605 if ac_fn_c_try_link
"$LINENO"; then :
9607 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9608 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'` ;;
9609 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9612 rm -f core conftest.err conftest.
$ac_objext \
9613 conftest
$ac_exeext conftest.
$ac_ext
9614 LIBS
=$ac_check_soname_save_LIBS
9616 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9618 $as_echo "not found" >&6; }
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9622 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9624 cat >>confdefs.h
<<_ACEOF
9625 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9628 HALINCL
="$ac_hal_cflags"
9633 CPPFLAGS
="$ac_save_CPPFLAGS"
9635 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9636 case "x$with_hal" in
9637 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9639 *) as_fn_error $?
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9640 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9644 if test "x$with_gnutls" != "xno"
9646 ac_save_CPPFLAGS
="$CPPFLAGS"
9647 if test "$PKG_CONFIG" != "false"
9649 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9650 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9651 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9653 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9654 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9657 #include <gnutls/gnutls.h>
9661 typeof(gnutls_mac_get_key_size) *pfunc;
9666 if ac_fn_c_try_compile
"$LINENO"; then :
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9668 $as_echo_n "checking for -lgnutls... " >&6; }
9669 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9670 $as_echo_n "(cached) " >&6
9672 ac_check_soname_save_LIBS
=$LIBS
9673 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9683 char gnutls_global_init ();
9687 return gnutls_global_init ();
9692 if ac_fn_c_try_link
"$LINENO"; then :
9694 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9695 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'` ;;
9696 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_soname_save_LIBS
9703 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9709 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9711 cat >>confdefs.h
<<_ACEOF
9712 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9715 GNUTLSINCL
="$ac_gnutls_cflags"
9719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9723 CPPFLAGS
="$ac_save_CPPFLAGS"
9725 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9726 case "x$with_gnutls" in
9727 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9729 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9730 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9735 if test "$ac_cv_header_ncurses_h" = "yes"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9738 $as_echo_n "checking for -lncurses... " >&6; }
9739 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9740 $as_echo_n "(cached) " >&6
9742 ac_check_soname_save_LIBS
=$LIBS
9743 LIBS
="-lncurses $LIBS"
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9762 if ac_fn_c_try_link
"$LINENO"; then :
9764 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9765 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'` ;;
9766 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9769 rm -f core conftest.err conftest.
$ac_objext \
9770 conftest
$ac_exeext conftest.
$ac_ext
9771 LIBS
=$ac_check_soname_save_LIBS
9773 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9775 $as_echo "not found" >&6; }
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9779 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9781 cat >>confdefs.h
<<_ACEOF
9782 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9785 CURSESLIBS
="-lncurses"
9787 elif test "$ac_cv_header_curses_h" = "yes"
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9790 $as_echo_n "checking for -lcurses... " >&6; }
9791 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9792 $as_echo_n "(cached) " >&6
9794 ac_check_soname_save_LIBS
=$LIBS
9795 LIBS
="-lcurses $LIBS"
9796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9799 /* Override any GCC internal prototype to avoid an error.
9800 Use char because int might match the return type of a GCC
9801 builtin and then its argument prototype would still apply. */
9814 if ac_fn_c_try_link
"$LINENO"; then :
9816 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9817 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'` ;;
9818 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9821 rm -f core conftest.err conftest.
$ac_objext \
9822 conftest
$ac_exeext conftest.
$ac_ext
9823 LIBS
=$ac_check_soname_save_LIBS
9825 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9827 $as_echo "not found" >&6; }
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9831 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9833 cat >>confdefs.h
<<_ACEOF
9834 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9837 CURSESLIBS
="-lcurses"
9840 ac_save_LIBS
="$LIBS"
9841 LIBS
="$LIBS $CURSESLIBS"
9842 for ac_func
in mousemask
9844 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9845 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9846 cat >>confdefs.h
<<_ACEOF
9847 #define HAVE_MOUSEMASK 1
9853 LIBS
="$ac_save_LIBS"
9854 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9855 case "x$with_curses" in
9856 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9858 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9859 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9863 if test "x$with_sane" != "xno"
9865 ac_save_CPPFLAGS
="$CPPFLAGS"
9866 # Extract the first word of "sane-config", so it can be a program name with args.
9867 set dummy sane-config
; ac_word
=$2
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9869 $as_echo_n "checking for $ac_word... " >&6; }
9870 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9871 $as_echo_n "(cached) " >&6
9873 if test -n "$sane_devel"; then
9874 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir
=.
9881 for ac_exec_ext
in '' $ac_executable_extensions; do
9882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9883 ac_cv_prog_sane_devel
="sane-config"
9884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9894 sane_devel
=$ac_cv_prog_sane_devel
9895 if test -n "$sane_devel"; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9897 $as_echo "$sane_devel" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9900 $as_echo "no" >&6; }
9904 if test "$sane_devel" != "no"
9906 ac_sane_incl
="`$sane_devel --cflags`"
9907 ac_sane_libs
="`$sane_devel --ldflags`"
9908 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9910 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9911 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9913 $as_echo_n "checking for -lsane... " >&6; }
9914 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9915 $as_echo_n "(cached) " >&6
9917 ac_check_soname_save_LIBS
=$LIBS
9918 LIBS
="-lsane $ac_sane_libs $LIBS"
9919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9932 return sane_init ();
9937 if ac_fn_c_try_link
"$LINENO"; then :
9939 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9940 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'` ;;
9941 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9944 rm -f core conftest.err conftest.
$ac_objext \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_soname_save_LIBS
9948 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9954 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9956 cat >>confdefs.h
<<_ACEOF
9957 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9960 SANEINCL
="$ac_sane_incl"
9966 CPPFLAGS
="$ac_save_CPPFLAGS"
9968 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9969 case "x$with_sane" in
9970 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9972 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9973 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9977 if test "x$with_v4l" != "xno"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9980 $as_echo_n "checking for -lv4l1... " >&6; }
9981 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9982 $as_echo_n "(cached) " >&6
9984 ac_check_soname_save_LIBS
=$LIBS
9986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9989 /* Override any GCC internal prototype to avoid an error.
9990 Use char because int might match the return type of a GCC
9991 builtin and then its argument prototype would still apply. */
9999 return v4l1_open ();
10004 if ac_fn_c_try_link
"$LINENO"; then :
10006 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 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'` ;;
10008 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10011 rm -f core conftest.err conftest.
$ac_objext \
10012 conftest
$ac_exeext conftest.
$ac_ext
10013 LIBS
=$ac_check_soname_save_LIBS
10015 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10017 $as_echo "not found" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10021 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10023 cat >>confdefs.h
<<_ACEOF
10024 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10030 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10031 case "x$with_v4l" in
10032 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10034 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10035 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10039 if test "x$with_gphoto" != "xno"
10041 ac_save_CPPFLAGS
="$CPPFLAGS"
10042 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10043 set dummy gphoto2-config
; ac_word
=$2
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10045 $as_echo_n "checking for $ac_word... " >&6; }
10046 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
10047 $as_echo_n "(cached) " >&6
10049 if test -n "$gphoto2_devel"; then
10050 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10053 for as_dir
in $PATH
10056 test -z "$as_dir" && as_dir
=.
10057 for ac_exec_ext
in '' $ac_executable_extensions; do
10058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10059 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10070 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10071 if test -n "$gphoto2_devel"; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10073 $as_echo "$gphoto2_devel" >&6; }
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10076 $as_echo "no" >&6; }
10080 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10081 set dummy gphoto2-port-config
; ac_word
=$2
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10083 $as_echo_n "checking for $ac_word... " >&6; }
10084 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
10085 $as_echo_n "(cached) " >&6
10087 if test -n "$gphoto2port_devel"; then
10088 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10091 for as_dir
in $PATH
10094 test -z "$as_dir" && as_dir
=.
10095 for ac_exec_ext
in '' $ac_executable_extensions; do
10096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10097 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10105 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10108 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10109 if test -n "$gphoto2port_devel"; then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10111 $as_echo "$gphoto2port_devel" >&6; }
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10114 $as_echo "no" >&6; }
10118 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10120 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10122 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10125 -L/usr
/lib|
-L/usr
/lib64
) ;;
10126 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10129 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10131 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10132 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10133 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10135 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10136 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
10137 $as_echo_n "(cached) " >&6
10139 ac_check_lib_save_LIBS
=$LIBS
10140 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10150 char gp_camera_new ();
10154 return gp_camera_new ();
10159 if ac_fn_c_try_link
"$LINENO"; then :
10160 ac_cv_lib_gphoto2_gp_camera_new
=yes
10162 ac_cv_lib_gphoto2_gp_camera_new
=no
10164 rm -f core conftest.err conftest.
$ac_objext \
10165 conftest
$ac_exeext conftest.
$ac_ext
10166 LIBS
=$ac_check_lib_save_LIBS
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10169 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10170 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
10172 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10174 GPHOTO2LIBS
="$ac_gphoto2_libs"
10176 GPHOTO2INCL
="$ac_gphoto2_incl"
10183 CPPFLAGS
="$ac_save_CPPFLAGS"
10185 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10186 case "x$with_gphoto" in
10187 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10189 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10190 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10195 if test "$ac_cv_header_resolv_h" = "yes"
10197 ac_save_LIBS
="$LIBS"
10198 for lib
in '' -lresolv
10200 LIBS
="$lib $ac_save_LIBS"
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 #ifdef HAVE_NETINET_IN_H
10204 #include <netinet/in.h>
10206 #include <resolv.h>
10210 res_query("foo",ns_c_in,0,0,0);
10215 if ac_fn_c_try_link
"$LINENO"; then :
10217 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10222 rm -f core conftest.err conftest.
$ac_objext \
10223 conftest
$ac_exeext conftest.
$ac_ext
10224 if test "${RESOLVLIBS+set}" = set; then
10228 LIBS
="$ac_save_LIBS"
10233 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10236 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10237 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
10238 $as_echo_n "(cached) " >&6
10240 ac_check_lib_save_LIBS
=$LIBS
10241 LIBS
="-llcms $LIBS"
10242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10251 char cmsOpenProfileFromFile ();
10255 return cmsOpenProfileFromFile ();
10260 if ac_fn_c_try_link
"$LINENO"; then :
10261 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10263 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10265 rm -f core conftest.err conftest.
$ac_objext \
10266 conftest
$ac_exeext conftest.
$ac_ext
10267 LIBS
=$ac_check_lib_save_LIBS
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10270 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10271 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
10273 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10279 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10280 case "x$with_cms" in
10281 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10283 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10284 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10288 if test "x$with_freetype" != "xno"
10290 for ac_prog
in freetype-config freetype2-config
10292 # Extract the first word of "$ac_prog", so it can be a program name with args.
10293 set dummy
$ac_prog; ac_word
=$2
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10295 $as_echo_n "checking for $ac_word... " >&6; }
10296 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10297 $as_echo_n "(cached) " >&6
10299 if test -n "$ft_devel"; then
10300 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10302 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10303 for as_dir
in $PATH
10306 test -z "$as_dir" && as_dir
=.
10307 for ac_exec_ext
in '' $ac_executable_extensions; do
10308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10309 ac_cv_prog_ft_devel
="$ac_prog"
10310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10319 ft_devel
=$ac_cv_prog_ft_devel
10320 if test -n "$ft_devel"; then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10322 $as_echo "$ft_devel" >&6; }
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10325 $as_echo "no" >&6; }
10329 test -n "$ft_devel" && break
10331 test -n "$ft_devel" || ft_devel
="no"
10333 if test "$ft_devel" != "no"
10335 ac_freetype_incl
=`$ft_devel --cflags`
10336 ac_freetype_libs
=`$ft_devel --libs`
10338 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10340 $as_echo_n "checking for -lfreetype... " >&6; }
10341 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10342 $as_echo_n "(cached) " >&6
10344 ac_check_soname_save_LIBS
=$LIBS
10345 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10346 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10347 /* end confdefs.h. */
10349 /* Override any GCC internal prototype to avoid an error.
10350 Use char because int might match the return type of a GCC
10351 builtin and then its argument prototype would still apply. */
10355 char FT_Init_FreeType ();
10359 return FT_Init_FreeType ();
10364 if ac_fn_c_try_link
"$LINENO"; then :
10366 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10367 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'` ;;
10368 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10371 rm -f core conftest.err conftest.
$ac_objext \
10372 conftest
$ac_exeext conftest.
$ac_ext
10373 LIBS
=$ac_check_soname_save_LIBS
10375 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10377 $as_echo "not found" >&6; }
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10381 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10383 cat >>confdefs.h
<<_ACEOF
10384 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10389 if test "$ft_lib" = "yes"
10391 ac_save_CPPFLAGS
="$CPPFLAGS"
10392 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10393 for ac_header
in ft2build.h \
10394 freetype
/freetype.h \
10395 freetype
/ftglyph.h \
10396 freetype
/fttypes.h \
10397 freetype
/tttables.h \
10398 freetype
/ftsnames.h \
10399 freetype
/ttnameid.h \
10400 freetype
/ftoutln.h \
10401 freetype
/ftwinfnt.h \
10402 freetype
/ftmodapi.h \
10403 freetype
/ftlcdfil.h \
10404 freetype
/internal
/sfnt.h
10406 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10407 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10408 # include <ft2build.h>
10411 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10412 cat >>confdefs.h
<<_ACEOF
10413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10420 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 #include <ft2build.h>
10423 #include <freetype/fttrigon.h>
10425 if ac_fn_c_try_cpp
"$LINENO"; then :
10427 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10429 wine_cv_fttrigon
=yes
10431 wine_cv_fttrigon
=no
10433 rm -f conftest.err conftest.i conftest.
$ac_ext
10434 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10436 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10438 cat >>confdefs.h
<<_ACEOF
10439 #define HAVE_FT_TRUETYPEENGINETYPE 1
10445 ac_save_CFLAGS
="$CFLAGS"
10446 CFLAGS
="$CFLAGS $ac_freetype_libs"
10447 for ac_func
in FT_Load_Sfnt_Table
10449 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10450 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10451 cat >>confdefs.h
<<_ACEOF
10452 #define HAVE_FT_LOAD_SFNT_TABLE 1
10458 CFLAGS
="$ac_save_CFLAGS"
10459 CPPFLAGS
="$ac_save_CPPFLAGS"
10460 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10463 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10465 FREETYPELIBS
="$ac_freetype_libs"
10467 FREETYPEINCL
="$ac_freetype_incl"
10472 if test "x$FREETYPELIBS" = "x"; then :
10473 case "x$with_freetype" in
10475 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10476 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10479 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10482 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10483 if test "${ac_cv_c_ppdev+set}" = set; then :
10484 $as_echo_n "(cached) " >&6
10486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10487 /* end confdefs.h. */
10488 #ifdef HAVE_SYS_IOCTL_H
10489 # include <sys/ioctl.h>
10491 #include <linux/ppdev.h>
10495 ioctl (1,PPCLAIM,0)
10500 if ac_fn_c_try_compile
"$LINENO"; then :
10501 ac_cv_c_ppdev
="yes"
10505 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10508 $as_echo "$ac_cv_c_ppdev" >&6; }
10509 if test "$ac_cv_c_ppdev" = "yes"
10512 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10516 ac_wine_check_funcs_save_LIBS
="$LIBS"
10517 LIBS
="$LIBS $LIBPTHREAD"
10519 pthread_attr_get_np \
10520 pthread_getattr_np \
10521 pthread_get_stackaddr_np \
10522 pthread_get_stacksize_np
10524 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10525 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10526 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10527 cat >>confdefs.h
<<_ACEOF
10528 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10534 LIBS
="$ac_wine_check_funcs_save_LIBS"
10536 if test "$ac_cv_header_zlib_h" = "yes"
10538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10539 $as_echo_n "checking for inflate in -lz... " >&6; }
10540 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10541 $as_echo_n "(cached) " >&6
10543 ac_check_lib_save_LIBS
=$LIBS
10545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10546 /* end confdefs.h. */
10548 /* Override any GCC internal prototype to avoid an error.
10549 Use char because int might match the return type of a GCC
10550 builtin and then its argument prototype would still apply. */
10563 if ac_fn_c_try_link
"$LINENO"; then :
10564 ac_cv_lib_z_inflate
=yes
10566 ac_cv_lib_z_inflate
=no
10568 rm -f core conftest.err conftest.
$ac_objext \
10569 conftest
$ac_exeext conftest.
$ac_ext
10570 LIBS
=$ac_check_lib_save_LIBS
10572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10573 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10574 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10576 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10584 if test "x$with_esd" != xno
10586 save_CFLAGS
="$CFLAGS"
10587 # Extract the first word of "esd-config", so it can be a program name with args.
10588 set dummy esd-config
; ac_word
=$2
10589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10590 $as_echo_n "checking for $ac_word... " >&6; }
10591 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10592 $as_echo_n "(cached) " >&6
10596 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10599 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10600 for as_dir
in $PATH
10603 test -z "$as_dir" && as_dir
=.
10604 for ac_exec_ext
in '' $ac_executable_extensions; do
10605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10606 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10614 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10618 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10619 if test -n "$ESDCONFIG"; then
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10621 $as_echo "$ESDCONFIG" >&6; }
10623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10624 $as_echo "no" >&6; }
10628 if test "x$ESDCONFIG" != "xno"
10631 for i
in `$ESDCONFIG --cflags`
10634 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10637 ac_esd_libs
=`$ESDCONFIG --libs`
10638 CFLAGS
="$CFLAGS $ac_esd_incl"
10640 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10641 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10642 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10644 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10645 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10646 $as_echo_n "(cached) " >&6
10648 ac_check_lib_save_LIBS
=$LIBS
10649 LIBS
="-lesd $ac_esd_libs $LIBS"
10650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10653 /* Override any GCC internal prototype to avoid an error.
10654 Use char because int might match the return type of a GCC
10655 builtin and then its argument prototype would still apply. */
10659 char esd_open_sound ();
10663 return esd_open_sound ();
10668 if ac_fn_c_try_link
"$LINENO"; then :
10669 ac_cv_lib_esd_esd_open_sound
=yes
10671 ac_cv_lib_esd_esd_open_sound
=no
10673 rm -f core conftest.err conftest.
$ac_objext \
10674 conftest
$ac_exeext conftest.
$ac_ext
10675 LIBS
=$ac_check_lib_save_LIBS
10677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10678 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10679 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10680 ESDINCL
="$ac_esd_incl"
10682 ESDLIBS
="$ac_esd_libs"
10685 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10692 CFLAGS
="$save_CFLAGS"
10695 if test "x$with_gstreamer" != "xno"
10697 ac_save_CPPFLAGS
="$CPPFLAGS"
10698 if test "$PKG_CONFIG" != "false"; then
10700 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10703 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10706 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10707 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10708 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10709 if test "x$ac_cv_header_gst_gstpad_h" = x
""yes; then :
10710 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10711 if test "x$ac_cv_header_gst_app_gstappsink_h" = x
""yes; then :
10712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10713 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10714 if test "${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+set}" = set; then :
10715 $as_echo_n "(cached) " >&6
10717 ac_check_lib_save_LIBS
=$LIBS
10718 LIBS
="-lgstreamer-0.10 $LIBS"
10719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10720 /* end confdefs.h. */
10722 /* Override any GCC internal prototype to avoid an error.
10723 Use char because int might match the return type of a GCC
10724 builtin and then its argument prototype would still apply. */
10728 char gst_pad_get_caps_reffed ();
10732 return gst_pad_get_caps_reffed ();
10737 if ac_fn_c_try_link
"$LINENO"; then :
10738 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10740 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10742 rm -f core conftest.err conftest.
$ac_objext \
10743 conftest
$ac_exeext conftest.
$ac_ext
10744 LIBS
=$ac_check_lib_save_LIBS
10746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10747 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10748 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = x
""yes; then :
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10750 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10751 if test "${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+set}" = set; then :
10752 $as_echo_n "(cached) " >&6
10754 ac_check_lib_save_LIBS
=$LIBS
10755 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10757 /* end confdefs.h. */
10759 /* Override any GCC internal prototype to avoid an error.
10760 Use char because int might match the return type of a GCC
10761 builtin and then its argument prototype would still apply. */
10765 char gst_app_buffer_new ();
10769 return gst_app_buffer_new ();
10774 if ac_fn_c_try_link
"$LINENO"; then :
10775 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10777 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10779 rm -f core conftest.err conftest.
$ac_objext \
10780 conftest
$ac_exeext conftest.
$ac_ext
10781 LIBS
=$ac_check_lib_save_LIBS
10783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10784 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10785 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = x
""yes; then :
10786 GSTREAMER_LIBS
="$ac_gst_libs"
10788 GSTREAMER_INCL
="$ac_gst_incl"
10801 CPPFLAGS
="$ac_save_CPPFLAGS"
10803 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
; then :
10804 case "x$with_gstreamer" in
10805 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10807 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10808 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10811 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10815 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10818 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10819 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10820 $as_echo_n "(cached) " >&6
10822 ac_check_lib_save_LIBS
=$LIBS
10823 LIBS
="-lasound $LIBS"
10824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10825 /* end confdefs.h. */
10827 /* Override any GCC internal prototype to avoid an error.
10828 Use char because int might match the return type of a GCC
10829 builtin and then its argument prototype would still apply. */
10833 char snd_pcm_hw_params_get_access ();
10837 return snd_pcm_hw_params_get_access ();
10842 if ac_fn_c_try_link
"$LINENO"; then :
10843 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10845 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10847 rm -f core conftest.err conftest.
$ac_objext \
10848 conftest
$ac_exeext conftest.
$ac_ext
10849 LIBS
=$ac_check_lib_save_LIBS
10851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10852 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10853 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x
""yes; then :
10854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10855 /* end confdefs.h. */
10856 #ifdef HAVE_ALSA_ASOUNDLIB_H
10857 #include <alsa/asoundlib.h>
10858 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10859 #include <sys/asoundlib.h>
10864 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10869 if ac_fn_c_try_compile
"$LINENO"; then :
10871 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10873 ALSALIBS
="-lasound"
10875 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10881 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10884 $as_echo_n "checking for -lcapi20... " >&6; }
10885 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10886 $as_echo_n "(cached) " >&6
10888 ac_check_soname_save_LIBS
=$LIBS
10889 LIBS
="-lcapi20 $LIBS"
10890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10891 /* end confdefs.h. */
10893 /* Override any GCC internal prototype to avoid an error.
10894 Use char because int might match the return type of a GCC
10895 builtin and then its argument prototype would still apply. */
10899 char capi20_register ();
10903 return capi20_register ();
10908 if ac_fn_c_try_link
"$LINENO"; then :
10910 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10911 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'` ;;
10912 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10915 rm -f core conftest.err conftest.
$ac_objext \
10916 conftest
$ac_exeext conftest.
$ac_ext
10917 LIBS
=$ac_check_soname_save_LIBS
10919 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10921 $as_echo "not found" >&6; }
10924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10925 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10927 cat >>confdefs.h
<<_ACEOF
10928 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10934 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10935 case "x$with_capi" in
10936 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10938 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10939 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10945 if test "x$with_cups" != "xno"
10947 ac_save_CPPFLAGS
="$CPPFLAGS"
10948 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10949 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10950 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10951 for ac_header
in cups
/cups.h
10953 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10954 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
10955 cat >>confdefs.h
<<_ACEOF
10956 #define HAVE_CUPS_CUPS_H 1
10958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10959 $as_echo_n "checking for -lcups... " >&6; }
10960 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10961 $as_echo_n "(cached) " >&6
10963 ac_check_soname_save_LIBS
=$LIBS
10964 LIBS
="-lcups $ac_cups_libs $LIBS"
10965 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10966 /* end confdefs.h. */
10968 /* Override any GCC internal prototype to avoid an error.
10969 Use char because int might match the return type of a GCC
10970 builtin and then its argument prototype would still apply. */
10974 char cupsGetDefault ();
10978 return cupsGetDefault ();
10983 if ac_fn_c_try_link
"$LINENO"; then :
10985 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10986 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'` ;;
10987 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10990 rm -f core conftest.err conftest.
$ac_objext \
10991 conftest
$ac_exeext conftest.
$ac_ext
10992 LIBS
=$ac_check_soname_save_LIBS
10994 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10996 $as_echo "not found" >&6; }
10999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11000 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11002 cat >>confdefs.h
<<_ACEOF
11003 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11006 CUPSINCL
="$ac_cups_cflags"
11012 CPPFLAGS
="$ac_save_CPPFLAGS"
11014 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11015 case "x$with_cups" in
11016 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11018 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11019 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11023 if test "$ac_cv_header_jack_jack_h" = "yes"
11025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
11026 $as_echo_n "checking for -ljack... " >&6; }
11027 if test "${ac_cv_lib_soname_jack+set}" = set; then :
11028 $as_echo_n "(cached) " >&6
11030 ac_check_soname_save_LIBS
=$LIBS
11031 LIBS
="-ljack $LIBS"
11032 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11035 /* Override any GCC internal prototype to avoid an error.
11036 Use char because int might match the return type of a GCC
11037 builtin and then its argument prototype would still apply. */
11041 char jack_client_new ();
11045 return jack_client_new ();
11050 if ac_fn_c_try_link
"$LINENO"; then :
11052 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11053 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'` ;;
11054 *) 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'` ;;
11057 rm -f core conftest.err conftest.
$ac_objext \
11058 conftest
$ac_exeext conftest.
$ac_ext
11059 LIBS
=$ac_check_soname_save_LIBS
11061 if test "x$ac_cv_lib_soname_jack" = "x"; then :
11062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11063 $as_echo "not found" >&6; }
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
11067 $as_echo "$ac_cv_lib_soname_jack" >&6; }
11069 cat >>confdefs.h
<<_ACEOF
11070 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11077 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11080 $as_echo_n "checking for -lfontconfig... " >&6; }
11081 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11082 $as_echo_n "(cached) " >&6
11084 ac_check_soname_save_LIBS
=$LIBS
11085 LIBS
="-lfontconfig $LIBS"
11086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11087 /* end confdefs.h. */
11089 /* Override any GCC internal prototype to avoid an error.
11090 Use char because int might match the return type of a GCC
11091 builtin and then its argument prototype would still apply. */
11104 if ac_fn_c_try_link
"$LINENO"; then :
11106 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11107 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'` ;;
11108 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11111 rm -f core conftest.err conftest.
$ac_objext \
11112 conftest
$ac_exeext conftest.
$ac_ext
11113 LIBS
=$ac_check_soname_save_LIBS
11115 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11117 $as_echo "not found" >&6; }
11120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11121 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11123 cat >>confdefs.h
<<_ACEOF
11124 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11129 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11131 ac_save_CPPFLAGS
="$CPPFLAGS"
11132 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11133 $as_unset ac_cv_header_fontconfig_fontconfig_h
11134 for ac_header
in fontconfig
/fontconfig.h
11136 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11137 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
11138 cat >>confdefs.h
<<_ACEOF
11139 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11146 CPPFLAGS
="$ac_save_CPPFLAGS"
11147 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11149 FONTCONFIGINCL
="$X_CFLAGS"
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11152 $as_echo_n "checking for -lfontconfig... " >&6; }
11153 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11154 $as_echo_n "(cached) " >&6
11156 ac_check_soname_save_LIBS
=$LIBS
11157 LIBS
="-lfontconfig $X_LIBS $LIBS"
11158 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11159 /* end confdefs.h. */
11161 /* Override any GCC internal prototype to avoid an error.
11162 Use char because int might match the return type of a GCC
11163 builtin and then its argument prototype would still apply. */
11176 if ac_fn_c_try_link
"$LINENO"; then :
11178 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11179 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'` ;;
11180 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11183 rm -f core conftest.err conftest.
$ac_objext \
11184 conftest
$ac_exeext conftest.
$ac_ext
11185 LIBS
=$ac_check_soname_save_LIBS
11187 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11189 $as_echo "not found" >&6; }
11192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11193 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11195 cat >>confdefs.h
<<_ACEOF
11196 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11203 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11204 case "x$with_fontconfig" in
11205 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11207 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11208 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11212 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11215 $as_echo_n "checking for -lssl... " >&6; }
11216 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
11217 $as_echo_n "(cached) " >&6
11219 ac_check_soname_save_LIBS
=$LIBS
11221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11224 /* Override any GCC internal prototype to avoid an error.
11225 Use char because int might match the return type of a GCC
11226 builtin and then its argument prototype would still apply. */
11230 char SSL_library_init ();
11234 return SSL_library_init ();
11239 if ac_fn_c_try_link
"$LINENO"; then :
11241 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11242 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'` ;;
11243 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11246 rm -f core conftest.err conftest.
$ac_objext \
11247 conftest
$ac_exeext conftest.
$ac_ext
11248 LIBS
=$ac_check_soname_save_LIBS
11250 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11252 $as_echo "not found" >&6; }
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11256 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11258 cat >>confdefs.h
<<_ACEOF
11259 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11265 $as_echo_n "checking for -lcrypto... " >&6; }
11266 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11267 $as_echo_n "(cached) " >&6
11269 ac_check_soname_save_LIBS
=$LIBS
11270 LIBS
="-lcrypto $LIBS"
11271 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11272 /* end confdefs.h. */
11274 /* Override any GCC internal prototype to avoid an error.
11275 Use char because int might match the return type of a GCC
11276 builtin and then its argument prototype would still apply. */
11280 char BIO_new_socket ();
11284 return BIO_new_socket ();
11289 if ac_fn_c_try_link
"$LINENO"; then :
11291 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11292 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'` ;;
11293 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11296 rm -f core conftest.err conftest.
$ac_objext \
11297 conftest
$ac_exeext conftest.
$ac_ext
11298 LIBS
=$ac_check_soname_save_LIBS
11300 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11302 $as_echo "not found" >&6; }
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11306 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11308 cat >>confdefs.h
<<_ACEOF
11309 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11315 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11316 case "x$with_openssl" in
11317 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11319 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11320 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11324 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11327 $as_echo_n "checking for -lgsm... " >&6; }
11328 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11329 $as_echo_n "(cached) " >&6
11331 ac_check_soname_save_LIBS
=$LIBS
11333 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11334 /* end confdefs.h. */
11336 /* Override any GCC internal prototype to avoid an error.
11337 Use char because int might match the return type of a GCC
11338 builtin and then its argument prototype would still apply. */
11342 char gsm_create ();
11346 return gsm_create ();
11351 if ac_fn_c_try_link
"$LINENO"; then :
11353 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11354 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'` ;;
11355 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11358 rm -f core conftest.err conftest.
$ac_objext \
11359 conftest
$ac_exeext conftest.
$ac_ext
11360 LIBS
=$ac_check_soname_save_LIBS
11362 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11364 $as_echo "not found" >&6; }
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11368 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11370 cat >>confdefs.h
<<_ACEOF
11371 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11377 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11378 case "x$with_gsm" in
11379 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11381 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11382 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11386 if test "$ac_cv_header_icns_h" = "yes"
11388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -licns" >&5
11389 $as_echo_n "checking for -licns... " >&6; }
11390 if test "${ac_cv_lib_soname_icns+set}" = set; then :
11391 $as_echo_n "(cached) " >&6
11393 ac_check_soname_save_LIBS
=$LIBS
11394 LIBS
="-licns $LIBS"
11395 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11396 /* end confdefs.h. */
11398 /* Override any GCC internal prototype to avoid an error.
11399 Use char because int might match the return type of a GCC
11400 builtin and then its argument prototype would still apply. */
11404 char icns_write_family_to_file ();
11408 return icns_write_family_to_file ();
11413 if ac_fn_c_try_link
"$LINENO"; then :
11415 dll
) ac_cv_lib_soname_icns
=`$ac_cv_path_LDD conftest.exe | grep "icns" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11416 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'` ;;
11417 *) ac_cv_lib_soname_icns
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libicns\\.$LIBEXT" | sed -e "s/^.*\(libicns\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11420 rm -f core conftest.err conftest.
$ac_objext \
11421 conftest
$ac_exeext conftest.
$ac_ext
11422 LIBS
=$ac_check_soname_save_LIBS
11424 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11426 $as_echo "not found" >&6; }
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_icns" >&5
11430 $as_echo "$ac_cv_lib_soname_icns" >&6; }
11432 cat >>confdefs.h
<<_ACEOF
11433 #define SONAME_LIBICNS "$ac_cv_lib_soname_icns"
11441 if test "x$ac_cv_lib_soname_icns" = "x"; then :
11442 case "x$with_icns" in
11443 x
) as_fn_append wine_notices
"|libicns ${notice_platform}development files not found, ICNS icons won't be supported." ;;
11445 *) as_fn_error $?
"libicns ${notice_platform}development files not found, ICNS icons won't be supported.
11446 This is an error since --with-icns was requested." "$LINENO" 5 ;;
11451 if test "$ac_cv_header_jpeglib_h" = "yes"
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11454 $as_echo_n "checking for -ljpeg... " >&6; }
11455 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11456 $as_echo_n "(cached) " >&6
11458 ac_check_soname_save_LIBS
=$LIBS
11459 LIBS
="-ljpeg $LIBS"
11460 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11461 /* end confdefs.h. */
11463 /* Override any GCC internal prototype to avoid an error.
11464 Use char because int might match the return type of a GCC
11465 builtin and then its argument prototype would still apply. */
11469 char jpeg_start_decompress ();
11473 return jpeg_start_decompress ();
11478 if ac_fn_c_try_link
"$LINENO"; then :
11480 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11481 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'` ;;
11482 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11485 rm -f core conftest.err conftest.
$ac_objext \
11486 conftest
$ac_exeext conftest.
$ac_ext
11487 LIBS
=$ac_check_soname_save_LIBS
11489 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11491 $as_echo "not found" >&6; }
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11495 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11497 cat >>confdefs.h
<<_ACEOF
11498 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11504 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11505 case "x$with_jpeg" in
11506 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11508 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11509 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11513 if test "$ac_cv_header_png_h" = "yes"
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11516 $as_echo_n "checking for -lpng... " >&6; }
11517 if test "${ac_cv_lib_soname_png+set}" = set; then :
11518 $as_echo_n "(cached) " >&6
11520 ac_check_soname_save_LIBS
=$LIBS
11521 LIBS
="-lpng -lm -lz $LIBS"
11522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11523 /* end confdefs.h. */
11525 /* Override any GCC internal prototype to avoid an error.
11526 Use char because int might match the return type of a GCC
11527 builtin and then its argument prototype would still apply. */
11531 char png_create_read_struct ();
11535 return png_create_read_struct ();
11540 if ac_fn_c_try_link
"$LINENO"; then :
11542 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11543 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'` ;;
11544 *) 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'` ;;
11547 rm -f core conftest.err conftest.
$ac_objext \
11548 conftest
$ac_exeext conftest.
$ac_ext
11549 LIBS
=$ac_check_soname_save_LIBS
11551 if test "x$ac_cv_lib_soname_png" = "x"; then :
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11553 $as_echo "not found" >&6; }
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11557 $as_echo "$ac_cv_lib_soname_png" >&6; }
11559 cat >>confdefs.h
<<_ACEOF
11560 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11566 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11567 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11568 $as_echo_n "(cached) " >&6
11570 ac_check_lib_save_LIBS
=$LIBS
11571 LIBS
="-lpng -lm -lz $LIBS"
11572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11575 /* Override any GCC internal prototype to avoid an error.
11576 Use char because int might match the return type of a GCC
11577 builtin and then its argument prototype would still apply. */
11581 char png_set_expand_gray_1_2_4_to_8 ();
11585 return png_set_expand_gray_1_2_4_to_8 ();
11590 if ac_fn_c_try_link
"$LINENO"; then :
11591 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11593 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11595 rm -f core conftest.err conftest.
$ac_objext \
11596 conftest
$ac_exeext conftest.
$ac_ext
11597 LIBS
=$ac_check_lib_save_LIBS
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11600 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11601 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11603 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11608 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11610 ac_save_CPPFLAGS
="$CPPFLAGS"
11611 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11612 $as_unset ac_cv_header_png_h
11613 for ac_header
in png.h
11615 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11616 if test "x$ac_cv_header_png_h" = x
""yes; then :
11617 cat >>confdefs.h
<<_ACEOF
11618 #define HAVE_PNG_H 1
11625 CPPFLAGS
="$ac_save_CPPFLAGS"
11626 if test "$ac_cv_header_png_h" = "yes"
11628 PNGINCL
="$X_CFLAGS"
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11631 $as_echo_n "checking for -lpng... " >&6; }
11632 if test "${ac_cv_lib_soname_png+set}" = set; then :
11633 $as_echo_n "(cached) " >&6
11635 ac_check_soname_save_LIBS
=$LIBS
11636 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11638 /* end confdefs.h. */
11640 /* Override any GCC internal prototype to avoid an error.
11641 Use char because int might match the return type of a GCC
11642 builtin and then its argument prototype would still apply. */
11646 char png_create_read_struct ();
11650 return png_create_read_struct ();
11655 if ac_fn_c_try_link
"$LINENO"; then :
11657 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11658 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'` ;;
11659 *) 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'` ;;
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LIBS
=$ac_check_soname_save_LIBS
11666 if test "x$ac_cv_lib_soname_png" = "x"; then :
11667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11668 $as_echo "not found" >&6; }
11671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11672 $as_echo "$ac_cv_lib_soname_png" >&6; }
11674 cat >>confdefs.h
<<_ACEOF
11675 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11681 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11682 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11683 $as_echo_n "(cached) " >&6
11685 ac_check_lib_save_LIBS
=$LIBS
11686 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11688 /* end confdefs.h. */
11690 /* Override any GCC internal prototype to avoid an error.
11691 Use char because int might match the return type of a GCC
11692 builtin and then its argument prototype would still apply. */
11696 char png_set_expand_gray_1_2_4_to_8 ();
11700 return png_set_expand_gray_1_2_4_to_8 ();
11705 if ac_fn_c_try_link
"$LINENO"; then :
11706 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11708 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11710 rm -f core conftest.err conftest.
$ac_objext \
11711 conftest
$ac_exeext conftest.
$ac_ext
11712 LIBS
=$ac_check_lib_save_LIBS
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11715 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11716 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11717 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11723 if test "x$ac_cv_lib_soname_png" = "x"; then :
11724 case "x$with_png" in
11725 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11727 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11728 This is an error since --with-png was requested." "$LINENO" 5 ;;
11732 if test "$ac_cv_header_tiffio_h" = "yes"
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11735 $as_echo_n "checking for -ltiff... " >&6; }
11736 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11737 $as_echo_n "(cached) " >&6
11739 ac_check_soname_save_LIBS
=$LIBS
11740 LIBS
="-ltiff $LIBS"
11741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11742 /* end confdefs.h. */
11744 /* Override any GCC internal prototype to avoid an error.
11745 Use char because int might match the return type of a GCC
11746 builtin and then its argument prototype would still apply. */
11750 char TIFFClientOpen ();
11754 return TIFFClientOpen ();
11759 if ac_fn_c_try_link
"$LINENO"; then :
11761 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11762 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'` ;;
11763 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11766 rm -f core conftest.err conftest.
$ac_objext \
11767 conftest
$ac_exeext conftest.
$ac_ext
11768 LIBS
=$ac_check_soname_save_LIBS
11770 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11772 $as_echo "not found" >&6; }
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11776 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11778 cat >>confdefs.h
<<_ACEOF
11779 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11785 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11786 case "x$with_tiff" in
11787 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11789 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11790 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11794 if test "$ac_cv_header_mpg123_h" = "yes"
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11797 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11798 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11799 $as_echo_n "(cached) " >&6
11801 ac_check_lib_save_LIBS
=$LIBS
11802 LIBS
="-lmpg123 $LIBS"
11803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11804 /* end confdefs.h. */
11806 /* Override any GCC internal prototype to avoid an error.
11807 Use char because int might match the return type of a GCC
11808 builtin and then its argument prototype would still apply. */
11812 char mpg123_feed ();
11816 return mpg123_feed ();
11821 if ac_fn_c_try_link
"$LINENO"; then :
11822 ac_cv_lib_mpg123_mpg123_feed
=yes
11824 ac_cv_lib_mpg123_mpg123_feed
=no
11826 rm -f core conftest.err conftest.
$ac_objext \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 LIBS
=$ac_check_lib_save_LIBS
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11831 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11832 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11833 LIBMPG123
="-lmpg123"
11838 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11839 case "x$with_mpg123" in
11840 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11842 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11843 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11846 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}
11848 if test "$ac_cv_header_AL_al_h" = "yes"
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11851 $as_echo_n "checking for -lopenal... " >&6; }
11852 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11853 $as_echo_n "(cached) " >&6
11855 ac_check_soname_save_LIBS
=$LIBS
11856 LIBS
="-lopenal $LIBS"
11857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11858 /* end confdefs.h. */
11860 /* Override any GCC internal prototype to avoid an error.
11861 Use char because int might match the return type of a GCC
11862 builtin and then its argument prototype would still apply. */
11866 char alGetSource3i ();
11870 return alGetSource3i ();
11875 if ac_fn_c_try_link
"$LINENO"; then :
11877 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11878 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'` ;;
11879 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11882 rm -f core conftest.err conftest.
$ac_objext \
11883 conftest
$ac_exeext conftest.
$ac_ext
11884 LIBS
=$ac_check_soname_save_LIBS
11886 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11888 $as_echo "not found" >&6; }
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11892 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11894 cat >>confdefs.h
<<_ACEOF
11895 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11898 LIBOPENAL
="-lopenal"
11900 ac_cv_lib_openal
=yes
11902 cat >>confdefs.h
<<_ACEOF
11903 #define HAVE_OPENAL 1
11908 if test "x$ac_cv_lib_openal" != xyes
; then :
11909 case "x$with_openal" in
11910 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11912 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11913 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11916 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11918 if test "$ac_cv_header_kstat_h" = "yes"
11920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11921 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11922 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11923 $as_echo_n "(cached) " >&6
11925 ac_check_lib_save_LIBS
=$LIBS
11926 LIBS
="-lkstat $LIBS"
11927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11930 /* Override any GCC internal prototype to avoid an error.
11931 Use char because int might match the return type of a GCC
11932 builtin and then its argument prototype would still apply. */
11936 char kstat_open ();
11940 return kstat_open ();
11945 if ac_fn_c_try_link
"$LINENO"; then :
11946 ac_cv_lib_kstat_kstat_open
=yes
11948 ac_cv_lib_kstat_kstat_open
=no
11950 rm -f core conftest.err conftest.
$ac_objext \
11951 conftest
$ac_exeext conftest.
$ac_ext
11952 LIBS
=$ac_check_lib_save_LIBS
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11955 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11956 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11958 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11967 $as_echo_n "checking for -lodbc... " >&6; }
11968 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11969 $as_echo_n "(cached) " >&6
11971 ac_check_soname_save_LIBS
=$LIBS
11972 LIBS
="-lodbc $LIBS"
11973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11974 /* end confdefs.h. */
11976 /* Override any GCC internal prototype to avoid an error.
11977 Use char because int might match the return type of a GCC
11978 builtin and then its argument prototype would still apply. */
11982 char SQLConnect ();
11986 return SQLConnect ();
11991 if ac_fn_c_try_link
"$LINENO"; then :
11993 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11994 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'` ;;
11995 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11998 rm -f core conftest.err conftest.
$ac_objext \
11999 conftest
$ac_exeext conftest.
$ac_ext
12000 LIBS
=$ac_check_soname_save_LIBS
12002 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12004 $as_echo "not found" >&6; }
12005 cat >>confdefs.h
<<_ACEOF
12006 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12011 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12013 cat >>confdefs.h
<<_ACEOF
12014 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12020 if test "x$ALSALIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
12021 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
12022 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
12023 "$ac_cv_header_soundcard_h" != "yes" -a \
12024 "x$with_alsa$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnononononono
12026 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12032 if test "x${GCC}" = "xyes"
12034 EXTRACFLAGS
="-Wall -pipe"
12036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12037 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12038 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
12039 $as_echo_n "(cached) " >&6
12041 if test "$cross_compiling" = yes; then :
12042 ac_cv_c_gcc_strength_bug
="yes"
12044 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046 int L[4] = {0,1,2,3};
12050 static int Array[3];
12051 unsigned int B = 3;
12053 for(i=0; i<B; i++) Array[i] = i - 3;
12054 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12056 return (Array[1] != -2 || L[2] != 3)
12061 if ac_fn_c_try_run
"$LINENO"; then :
12062 ac_cv_c_gcc_strength_bug
="no"
12064 ac_cv_c_gcc_strength_bug
="yes"
12066 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12067 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12072 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12073 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12075 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12079 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12080 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12083 ac_wine_try_cflags_saved
=$CFLAGS
12084 CFLAGS
="$CFLAGS -fno-builtin"
12085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12086 /* end confdefs.h. */
12087 int main(int argc, char **argv) { return 0; }
12089 if ac_fn_c_try_link
"$LINENO"; then :
12090 ac_cv_cflags__fno_builtin
=yes
12092 ac_cv_cflags__fno_builtin
=no
12094 rm -f core conftest.err conftest.
$ac_objext \
12095 conftest
$ac_exeext conftest.
$ac_ext
12096 CFLAGS
=$ac_wine_try_cflags_saved
12098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12099 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12100 if test $ac_cv_cflags__fno_builtin = yes; then :
12101 BUILTINFLAG
="-fno-builtin"
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12105 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12106 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
12107 $as_echo_n "(cached) " >&6
12109 ac_wine_try_cflags_saved
=$CFLAGS
12110 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12111 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12113 int main(int argc, char **argv) { return 0; }
12115 if ac_fn_c_try_link
"$LINENO"; then :
12116 ac_cv_cflags__fno_strict_aliasing
=yes
12118 ac_cv_cflags__fno_strict_aliasing
=no
12120 rm -f core conftest.err conftest.
$ac_objext \
12121 conftest
$ac_exeext conftest.
$ac_ext
12122 CFLAGS
=$ac_wine_try_cflags_saved
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12125 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12126 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12127 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12130 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12131 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
12132 $as_echo_n "(cached) " >&6
12134 ac_wine_try_cflags_saved
=$CFLAGS
12135 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12137 /* end confdefs.h. */
12138 int main(int argc, char **argv) { return 0; }
12140 if ac_fn_c_try_link
"$LINENO"; then :
12141 ac_cv_cflags__Wdeclaration_after_statement
=yes
12143 ac_cv_cflags__Wdeclaration_after_statement
=no
12145 rm -f core conftest.err conftest.
$ac_objext \
12146 conftest
$ac_exeext conftest.
$ac_ext
12147 CFLAGS
=$ac_wine_try_cflags_saved
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12150 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12151 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12152 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12155 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12156 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
12157 $as_echo_n "(cached) " >&6
12159 ac_wine_try_cflags_saved
=$CFLAGS
12160 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12163 int main(int argc, char **argv) { return 0; }
12165 if ac_fn_c_try_link
"$LINENO"; then :
12166 ac_cv_cflags__Wstrict_prototypes
=yes
12168 ac_cv_cflags__Wstrict_prototypes
=no
12170 rm -f core conftest.err conftest.
$ac_objext \
12171 conftest
$ac_exeext conftest.
$ac_ext
12172 CFLAGS
=$ac_wine_try_cflags_saved
12174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12175 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12176 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12177 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12180 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12181 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
12182 $as_echo_n "(cached) " >&6
12184 ac_wine_try_cflags_saved
=$CFLAGS
12185 CFLAGS
="$CFLAGS -Wtype-limits"
12186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12188 int main(int argc, char **argv) { return 0; }
12190 if ac_fn_c_try_link
"$LINENO"; then :
12191 ac_cv_cflags__Wtype_limits
=yes
12193 ac_cv_cflags__Wtype_limits
=no
12195 rm -f core conftest.err conftest.
$ac_objext \
12196 conftest
$ac_exeext conftest.
$ac_ext
12197 CFLAGS
=$ac_wine_try_cflags_saved
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12200 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12201 if test $ac_cv_cflags__Wtype_limits = yes; then :
12202 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12205 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12206 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
12207 $as_echo_n "(cached) " >&6
12209 ac_wine_try_cflags_saved
=$CFLAGS
12210 CFLAGS
="$CFLAGS -Wwrite-strings"
12211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12212 /* end confdefs.h. */
12213 int main(int argc, char **argv) { return 0; }
12215 if ac_fn_c_try_link
"$LINENO"; then :
12216 ac_cv_cflags__Wwrite_strings
=yes
12218 ac_cv_cflags__Wwrite_strings
=no
12220 rm -f core conftest.err conftest.
$ac_objext \
12221 conftest
$ac_exeext conftest.
$ac_ext
12222 CFLAGS
=$ac_wine_try_cflags_saved
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12225 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12226 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12227 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12230 saved_CFLAGS
="$CFLAGS"
12231 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12233 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12234 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12238 /* end confdefs.h. */
12239 #include <string.h>
12248 if ac_fn_c_try_compile
"$LINENO"; then :
12249 ac_cv_c_string_h_warnings
=no
12251 ac_cv_c_string_h_warnings
=yes
12253 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12256 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12257 CFLAGS
="$saved_CFLAGS"
12258 if test "$ac_cv_c_string_h_warnings" = "no"
12260 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12263 saved_CFLAGS
="$CFLAGS"
12264 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12266 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12267 if test "${ac_cv_c_logicalop_noisy+set}" = set; then :
12268 $as_echo_n "(cached) " >&6
12270 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12271 /* end confdefs.h. */
12272 #include <string.h>
12276 char*f(const char *h,char n) {return strchr(h,n);}
12281 if ac_fn_c_try_compile
"$LINENO"; then :
12282 ac_cv_c_logicalop_noisy
=no
12284 ac_cv_c_logicalop_noisy
=yes
12286 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12289 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12290 CFLAGS
="$saved_CFLAGS"
12291 if test "$ac_cv_c_logicalop_noisy" = "no"
12293 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12296 if test "x$enable_maintainer_mode" = "xyes"
12298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12299 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12300 if test "${ac_cv_cflags__Werror+set}" = set; then :
12301 $as_echo_n "(cached) " >&6
12303 ac_wine_try_cflags_saved
=$CFLAGS
12304 CFLAGS
="$CFLAGS -Werror"
12305 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12306 /* end confdefs.h. */
12307 int main(int argc, char **argv) { return 0; }
12309 if ac_fn_c_try_link
"$LINENO"; then :
12310 ac_cv_cflags__Werror
=yes
12312 ac_cv_cflags__Werror
=no
12314 rm -f core conftest.err conftest.
$ac_objext \
12315 conftest
$ac_exeext conftest.
$ac_ext
12316 CFLAGS
=$ac_wine_try_cflags_saved
12318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12319 $as_echo "$ac_cv_cflags__Werror" >&6; }
12320 if test $ac_cv_cflags__Werror = yes; then :
12321 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12325 saved_CFLAGS
="$CFLAGS"
12326 CFLAGS
="$CFLAGS -Werror"
12327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12328 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12329 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12330 $as_echo_n "(cached) " >&6
12332 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12333 /* end confdefs.h. */
12334 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12343 if ac_fn_c_try_compile
"$LINENO"; then :
12344 ac_cv_have_ms_hook_prologue
="yes"
12346 ac_cv_have_ms_hook_prologue
="no"
12348 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12351 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12352 CFLAGS
="$saved_CFLAGS"
12353 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12356 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12359 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12366 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12367 if test "${ac_cv_c_fortify_enabled+set}" = set; then :
12368 $as_echo_n "(cached) " >&6
12370 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12371 /* end confdefs.h. */
12372 #include <string.h>
12376 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12377 #error Fortify enabled
12383 if ac_fn_c_try_compile
"$LINENO"; then :
12384 ac_cv_c_fortify_enabled
=no
12386 ac_cv_c_fortify_enabled
=yes
12388 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12391 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12392 if test "$ac_cv_c_fortify_enabled" = yes
12394 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12399 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12400 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12401 $as_echo_n "(cached) " >&6
12403 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12404 /* end confdefs.h. */
12405 extern int ac_test;
12409 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12414 if ac_fn_c_try_link
"$LINENO"; then :
12415 ac_cv_c_extern_prefix
="yes"
12417 ac_cv_c_extern_prefix
="no"
12419 rm -f core conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12423 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12428 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12429 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12430 $as_echo_n "(cached) " >&6
12432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12433 /* end confdefs.h. */
12435 #define __stdcall __attribute__((__stdcall__))
12437 int __stdcall ac_test(int i) { return i; }
12441 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12446 if ac_fn_c_try_link
"$LINENO"; then :
12447 ac_cv_c_stdcall_suffix
="yes"
12449 ac_cv_c_stdcall_suffix
="no"
12451 rm -f core conftest.err conftest.
$ac_objext \
12452 conftest
$ac_exeext conftest.
$ac_ext
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12455 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12456 *) ac_cv_c_stdcall_suffix
="no" ;;
12460 if test "$ac_cv_c_extern_prefix" = "yes"
12462 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12464 asm_name_prefix
="_"
12466 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12472 if test "$ac_cv_c_stdcall_suffix" = "yes"
12474 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12477 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12483 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12484 if test "${ac_cv_asm_func_def+set}" = set; then :
12485 $as_echo_n "(cached) " >&6
12487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12488 /* end confdefs.h. */
12493 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12498 if ac_fn_c_try_link
"$LINENO"; then :
12499 ac_cv_asm_func_def
=".def"
12501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12507 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12512 if ac_fn_c_try_link
"$LINENO"; then :
12513 ac_cv_asm_func_def
=".type @function"
12515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12521 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12526 if ac_fn_c_try_link
"$LINENO"; then :
12527 ac_cv_asm_func_def
=".type 2"
12529 ac_cv_asm_func_def
="unknown"
12531 rm -f core conftest.err conftest.
$ac_objext \
12532 conftest
$ac_exeext conftest.
$ac_ext
12534 rm -f core conftest.err conftest.
$ac_objext \
12535 conftest
$ac_exeext conftest.
$ac_ext
12537 rm -f core conftest.err conftest.
$ac_objext \
12538 conftest
$ac_exeext conftest.
$ac_ext
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12541 $as_echo "$ac_cv_asm_func_def" >&6; }
12544 case "$ac_cv_asm_func_def" in
12546 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12548 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12550 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12552 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12554 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12556 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12558 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12560 asm_func_header
="" ;;
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12564 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12565 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12566 $as_echo_n "(cached) " >&6
12568 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12569 /* end confdefs.h. */
12570 asm(".text\n\t.long 0");
12579 if ac_fn_c_try_compile
"$LINENO"; then :
12580 ac_cv_c_asm_outside_funcs
="yes"
12582 ac_cv_c_asm_outside_funcs
="no"
12584 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12587 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12590 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12591 if test "${ac_cv_c_dot_previous+set}" = set; then :
12592 $as_echo_n "(cached) " >&6
12594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12595 /* end confdefs.h. */
12600 asm(".text\nac_test:\t.long 0\n\t.previous");
12605 if ac_fn_c_try_link
"$LINENO"; then :
12606 ac_cv_c_dot_previous
="yes"
12608 ac_cv_c_dot_previous
="no"
12610 rm -f core conftest.err conftest.
$ac_objext \
12611 conftest
$ac_exeext conftest.
$ac_ext
12613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12614 $as_echo "$ac_cv_c_dot_previous" >&6; }
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12617 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12618 if test "${ac_cv_c_cfi_support+set}" = set; then :
12619 $as_echo_n "(cached) " >&6
12621 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12622 /* end confdefs.h. */
12623 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12632 if ac_fn_c_try_compile
"$LINENO"; then :
12633 ac_cv_c_cfi_support
="yes"
12635 ac_cv_c_cfi_support
="no"
12637 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12640 $as_echo "$ac_cv_c_cfi_support" >&6; }
12642 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12643 asm_func_trailer
=""
12644 if test "$ac_cv_c_dot_previous" = "yes"
12646 asm_func_trailer
="\\n\\t.previous"
12648 if test "$ac_cv_c_cfi_support" = "yes"
12650 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12651 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12653 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12655 UNWINDFLAGS
=-fasynchronous-unwind-tables
12658 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12662 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12665 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12667 cat >>confdefs.h
<<_ACEOF
12668 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12672 cat >>confdefs.h
<<_ACEOF
12673 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12678 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12681 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12691 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12696 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12704 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12711 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12716 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12718 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12725 ac_save_CFLAGS
="$CFLAGS"
12726 CFLAGS
="$CFLAGS $BUILTINFLAG"
12773 sched_setaffinity \
12802 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12803 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12804 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12805 cat >>confdefs.h
<<_ACEOF
12806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12812 CFLAGS
="$ac_save_CFLAGS"
12814 if test "$ac_cv_func_dlopen" = no
12816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12817 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12818 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12819 $as_echo_n "(cached) " >&6
12821 ac_check_lib_save_LIBS
=$LIBS
12823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12824 /* end confdefs.h. */
12826 /* Override any GCC internal prototype to avoid an error.
12827 Use char because int might match the return type of a GCC
12828 builtin and then its argument prototype would still apply. */
12841 if ac_fn_c_try_link
"$LINENO"; then :
12842 ac_cv_lib_dl_dlopen
=yes
12844 ac_cv_lib_dl_dlopen
=no
12846 rm -f core conftest.err conftest.
$ac_objext \
12847 conftest
$ac_exeext conftest.
$ac_ext
12848 LIBS
=$ac_check_lib_save_LIBS
12850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12851 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12852 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12853 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12859 ac_wine_check_funcs_save_LIBS
="$LIBS"
12860 LIBS
="$LIBS $LIBDL"
12861 for ac_func
in dladdr
12863 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12864 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12865 cat >>confdefs.h
<<_ACEOF
12866 #define HAVE_DLADDR 1
12872 LIBS
="$ac_wine_check_funcs_save_LIBS"
12874 if test "$ac_cv_func_poll" = no
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12877 $as_echo_n "checking for poll in -lpoll... " >&6; }
12878 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12879 $as_echo_n "(cached) " >&6
12881 ac_check_lib_save_LIBS
=$LIBS
12882 LIBS
="-lpoll $LIBS"
12883 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12884 /* end confdefs.h. */
12886 /* Override any GCC internal prototype to avoid an error.
12887 Use char because int might match the return type of a GCC
12888 builtin and then its argument prototype would still apply. */
12901 if ac_fn_c_try_link
"$LINENO"; then :
12902 ac_cv_lib_poll_poll
=yes
12904 ac_cv_lib_poll_poll
=no
12906 rm -f core conftest.err conftest.
$ac_objext \
12907 conftest
$ac_exeext conftest.
$ac_ext
12908 LIBS
=$ac_check_lib_save_LIBS
12910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12911 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12912 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12913 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12921 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12922 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12923 $as_echo_n "(cached) " >&6
12925 ac_func_search_save_LIBS
=$LIBS
12926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12935 char gethostbyname ();
12939 return gethostbyname ();
12944 for ac_lib
in '' nsl
; do
12945 if test -z "$ac_lib"; then
12946 ac_res
="none required"
12949 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12951 if ac_fn_c_try_link
"$LINENO"; then :
12952 ac_cv_search_gethostbyname
=$ac_res
12954 rm -f core conftest.err conftest.
$ac_objext \
12956 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12960 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12963 ac_cv_search_gethostbyname
=no
12965 rm conftest.
$ac_ext
12966 LIBS
=$ac_func_search_save_LIBS
12968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12969 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12970 ac_res
=$ac_cv_search_gethostbyname
12971 if test "$ac_res" != no
; then :
12972 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12978 $as_echo_n "checking for library containing connect... " >&6; }
12979 if test "${ac_cv_search_connect+set}" = set; then :
12980 $as_echo_n "(cached) " >&6
12982 ac_func_search_save_LIBS
=$LIBS
12983 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12984 /* end confdefs.h. */
12986 /* Override any GCC internal prototype to avoid an error.
12987 Use char because int might match the return type of a GCC
12988 builtin and then its argument prototype would still apply. */
13001 for ac_lib
in '' socket
; do
13002 if test -z "$ac_lib"; then
13003 ac_res
="none required"
13006 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13008 if ac_fn_c_try_link
"$LINENO"; then :
13009 ac_cv_search_connect
=$ac_res
13011 rm -f core conftest.err conftest.
$ac_objext \
13013 if test "${ac_cv_search_connect+set}" = set; then :
13017 if test "${ac_cv_search_connect+set}" = set; then :
13020 ac_cv_search_connect
=no
13022 rm conftest.
$ac_ext
13023 LIBS
=$ac_func_search_save_LIBS
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13026 $as_echo "$ac_cv_search_connect" >&6; }
13027 ac_res
=$ac_cv_search_connect
13028 if test "$ac_res" != no
; then :
13029 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13035 $as_echo_n "checking for library containing inet_aton... " >&6; }
13036 if test "${ac_cv_search_inet_aton+set}" = set; then :
13037 $as_echo_n "(cached) " >&6
13039 ac_func_search_save_LIBS
=$LIBS
13040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13043 /* Override any GCC internal prototype to avoid an error.
13044 Use char because int might match the return type of a GCC
13045 builtin and then its argument prototype would still apply. */
13053 return inet_aton ();
13058 for ac_lib
in '' resolv
; do
13059 if test -z "$ac_lib"; then
13060 ac_res
="none required"
13063 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13065 if ac_fn_c_try_link
"$LINENO"; then :
13066 ac_cv_search_inet_aton
=$ac_res
13068 rm -f core conftest.err conftest.
$ac_objext \
13070 if test "${ac_cv_search_inet_aton+set}" = set; then :
13074 if test "${ac_cv_search_inet_aton+set}" = set; then :
13077 ac_cv_search_inet_aton
=no
13079 rm conftest.
$ac_ext
13080 LIBS
=$ac_func_search_save_LIBS
13082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13083 $as_echo "$ac_cv_search_inet_aton" >&6; }
13084 ac_res
=$ac_cv_search_inet_aton
13085 if test "$ac_res" != no
; then :
13086 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13105 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13106 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13107 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13108 cat >>confdefs.h
<<_ACEOF
13109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13118 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13120 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13122 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13124 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13125 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
13126 $as_echo_n "(cached) " >&6
13128 ac_check_lib_save_LIBS
=$LIBS
13129 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13139 char ldap_initialize ();
13143 return ldap_initialize ();
13148 if ac_fn_c_try_link
"$LINENO"; then :
13149 ac_cv_lib_ldap_r_ldap_initialize
=yes
13151 ac_cv_lib_ldap_r_ldap_initialize
=no
13153 rm -f core conftest.err conftest.
$ac_objext \
13154 conftest
$ac_exeext conftest.
$ac_ext
13155 LIBS
=$ac_check_lib_save_LIBS
13157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13158 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13159 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
13160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13161 $as_echo_n "checking for ber_init in -llber... " >&6; }
13162 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
13163 $as_echo_n "(cached) " >&6
13165 ac_check_lib_save_LIBS
=$LIBS
13166 LIBS
="-llber $LIBPTHREAD $LIBS"
13167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13168 /* end confdefs.h. */
13170 /* Override any GCC internal prototype to avoid an error.
13171 Use char because int might match the return type of a GCC
13172 builtin and then its argument prototype would still apply. */
13180 return ber_init ();
13185 if ac_fn_c_try_link
"$LINENO"; then :
13186 ac_cv_lib_lber_ber_init
=yes
13188 ac_cv_lib_lber_ber_init
=no
13190 rm -f core conftest.err conftest.
$ac_objext \
13191 conftest
$ac_exeext conftest.
$ac_ext
13192 LIBS
=$ac_check_lib_save_LIBS
13194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13195 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13196 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
13198 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13200 LDAPLIBS
="-lldap_r -llber"
13207 ac_wine_check_funcs_save_LIBS
="$LIBS"
13208 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13210 ldap_count_references \
13211 ldap_first_reference \
13212 ldap_next_reference \
13213 ldap_parse_reference \
13214 ldap_parse_sort_control \
13215 ldap_parse_sortresponse_control \
13216 ldap_parse_vlv_control \
13217 ldap_parse_vlvresponse_control
13219 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13220 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13221 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13222 cat >>confdefs.h
<<_ACEOF
13223 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13229 LIBS
="$ac_wine_check_funcs_save_LIBS"
13231 if test "x$LDAPLIBS" = "x"; then :
13232 case "x$with_ldap" in
13233 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13235 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13236 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13241 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13242 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
13243 $as_echo_n "(cached) " >&6
13245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13246 /* end confdefs.h. */
13247 #include <sys/stat.h>
13256 if ac_fn_c_try_compile
"$LINENO"; then :
13257 wine_cv_one_arg_mkdir
=yes
13259 wine_cv_one_arg_mkdir
=no
13261 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13264 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13265 if test "$wine_cv_one_arg_mkdir" = "yes"
13268 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13274 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13275 if test "${ac_cv_c_const+set}" = set; then :
13276 $as_echo_n "(cached) " >&6
13278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13279 /* end confdefs.h. */
13284 /* FIXME: Include the comments suggested by Paul. */
13285 #ifndef __cplusplus
13286 /* Ultrix mips cc rejects this. */
13287 typedef int charset[2];
13289 /* SunOS 4.1.1 cc rejects this. */
13290 char const *const *pcpcc;
13292 /* NEC SVR4.0.2 mips cc rejects this. */
13293 struct point {int x, y;};
13294 static struct point const zero = {0,0};
13295 /* AIX XL C 1.02.0.0 rejects this.
13296 It does not let you subtract one const X* pointer from another in
13297 an arm of an if-expression whose if-part is not a constant
13299 const char *g = "string";
13300 pcpcc = &g + (g ? g-g : 0);
13301 /* HPUX 7.0 cc rejects these. */
13303 ppc = (char**) pcpcc;
13304 pcpcc = (char const *const *) ppc;
13305 { /* SCO 3.2v4 cc rejects this. */
13307 char const *s = 0 ? (char *) 0 : (char const *) 0;
13312 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13313 int x[] = {25, 17};
13314 const int *foo = &x[0];
13317 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13318 typedef const int *iptr;
13322 { /* AIX XL C 1.02.0.0 rejects this saying
13323 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13324 struct s { int j; const int *ap[3]; };
13325 struct s *b; b->j = 5;
13327 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13328 const int foo = 10;
13329 if (!foo) return 0;
13331 return !cs[0] && !zero.x;
13338 if ac_fn_c_try_compile
"$LINENO"; then :
13343 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13346 $as_echo "$ac_cv_c_const" >&6; }
13347 if test $ac_cv_c_const = no
; then
13349 $as_echo "#define const /**/" >>confdefs.h
13353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13354 $as_echo_n "checking for inline... " >&6; }
13355 if test "${ac_cv_c_inline+set}" = set; then :
13356 $as_echo_n "(cached) " >&6
13359 for ac_kw
in inline __inline__ __inline
; do
13360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13361 /* end confdefs.h. */
13362 #ifndef __cplusplus
13364 static $ac_kw foo_t static_foo () {return 0; }
13365 $ac_kw foo_t foo () {return 0; }
13369 if ac_fn_c_try_compile
"$LINENO"; then :
13370 ac_cv_c_inline
=$ac_kw
13372 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13373 test "$ac_cv_c_inline" != no
&& break
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13378 $as_echo "$ac_cv_c_inline" >&6; }
13380 case $ac_cv_c_inline in
13383 case $ac_cv_c_inline in
13385 *) ac_val
=$ac_cv_c_inline;;
13387 cat >>confdefs.h
<<_ACEOF
13388 #ifndef __cplusplus
13389 #define inline $ac_val
13395 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13396 if test "x$ac_cv_type_mode_t" = x
""yes; then :
13398 cat >>confdefs.h
<<_ACEOF
13399 #define HAVE_MODE_T 1
13404 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13405 if test "x$ac_cv_type_off_t" = x
""yes; then :
13407 cat >>confdefs.h
<<_ACEOF
13408 #define HAVE_OFF_T 1
13413 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13414 if test "x$ac_cv_type_pid_t" = x
""yes; then :
13416 cat >>confdefs.h
<<_ACEOF
13417 #define HAVE_PID_T 1
13422 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13423 if test "x$ac_cv_type_size_t" = x
""yes; then :
13425 cat >>confdefs.h
<<_ACEOF
13426 #define HAVE_SIZE_T 1
13431 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13432 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
13434 cat >>confdefs.h
<<_ACEOF
13435 #define HAVE_SSIZE_T 1
13440 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13441 if test "x$ac_cv_type_long_long" = x
""yes; then :
13443 cat >>confdefs.h
<<_ACEOF
13444 #define HAVE_LONG_LONG 1
13449 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13450 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
13452 cat >>confdefs.h
<<_ACEOF
13453 #define HAVE_FSBLKCNT_T 1
13458 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13459 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
13461 cat >>confdefs.h
<<_ACEOF
13462 #define HAVE_FSFILCNT_T 1
13468 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13469 #include <signal.h>
13471 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
13473 cat >>confdefs.h
<<_ACEOF
13474 #define HAVE_SIGSET_T 1
13480 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13482 if test "x$ac_cv_type_request_sense" = x
""yes; then :
13484 cat >>confdefs.h
<<_ACEOF
13485 #define HAVE_REQUEST_SENSE 1
13492 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13493 #ifdef HAVE_SYS_SOCKET_H
13494 #include <sys/socket.h>
13496 #ifdef HAVE_SYS_SOCKETVAR_H
13497 #include <sys/socketvar.h>
13499 #ifdef HAVE_NET_ROUTE_H
13500 #include <net/route.h>
13502 #ifdef HAVE_NETINET_IN_H
13503 #include <netinet/in.h>
13505 #ifdef HAVE_NETINET_IN_SYSTM_H
13506 #include <netinet/in_systm.h>
13508 #ifdef HAVE_NETINET_IP_H
13509 #include <netinet/ip.h>
13511 #ifdef HAVE_NETINET_IN_PCB_H
13512 #include <netinet/in_pcb.h>
13515 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
13517 cat >>confdefs.h
<<_ACEOF
13518 #define HAVE_STRUCT_XINPGEN 1
13525 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13526 #include <linux/input.h>
13529 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
13531 cat >>confdefs.h
<<_ACEOF
13532 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13540 $as_echo_n "checking for sigaddset... " >&6; }
13541 if test "${wine_cv_have_sigaddset+set}" = set; then :
13542 $as_echo_n "(cached) " >&6
13544 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13546 #include <signal.h>
13550 sigset_t set; sigaddset(&set,SIGTERM);
13555 if ac_fn_c_try_link
"$LINENO"; then :
13556 wine_cv_have_sigaddset
=yes
13558 wine_cv_have_sigaddset
=no
13560 rm -f core conftest.err conftest.
$ac_objext \
13561 conftest
$ac_exeext conftest.
$ac_ext
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13564 $as_echo "$wine_cv_have_sigaddset" >&6; }
13565 if test "$wine_cv_have_sigaddset" = "yes"
13568 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13574 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13575 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13576 $as_echo_n "(cached) " >&6
13578 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13579 /* end confdefs.h. */
13587 struct hostent *result;
13594 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13595 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13601 if ac_fn_c_try_link
"$LINENO"; then :
13602 wine_cv_linux_gethostbyname_r_6
=yes
13604 wine_cv_linux_gethostbyname_r_6
=no
13607 rm -f core conftest.err conftest.
$ac_objext \
13608 conftest
$ac_exeext conftest.
$ac_ext
13611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13612 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13613 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13616 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13620 if test "$ac_cv_header_linux_joystick_h" = "yes"
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13623 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13624 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13625 $as_echo_n "(cached) " >&6
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13630 #include <sys/ioctl.h>
13631 #include <sys/types.h>
13632 #include <linux/joystick.h>
13634 struct js_event blub;
13635 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13636 #error "no 2.2 header"
13647 if ac_fn_c_try_compile
"$LINENO"; then :
13648 wine_cv_linux_joystick_22_api
=yes
13650 wine_cv_linux_joystick_22_api
=no
13652 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13656 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13657 if test "$wine_cv_linux_joystick_22_api" = "yes"
13660 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13666 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13667 #ifdef HAVE_SYS_PARAM_H
13668 # include <sys/param.h>
13670 #ifdef HAVE_SYS_MOUNT_H
13671 # include <sys/mount.h>
13673 #ifdef HAVE_SYS_VFS_H
13674 # include <sys/vfs.h>
13676 #ifdef HAVE_SYS_STATFS_H
13677 # include <sys/statfs.h>
13680 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13682 cat >>confdefs.h
<<_ACEOF
13683 #define HAVE_STRUCT_STATFS_F_BFREE 1
13688 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13689 #ifdef HAVE_SYS_PARAM_H
13690 # include <sys/param.h>
13692 #ifdef HAVE_SYS_MOUNT_H
13693 # include <sys/mount.h>
13695 #ifdef HAVE_SYS_VFS_H
13696 # include <sys/vfs.h>
13698 #ifdef HAVE_SYS_STATFS_H
13699 # include <sys/statfs.h>
13702 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13704 cat >>confdefs.h
<<_ACEOF
13705 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13710 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13711 #ifdef HAVE_SYS_PARAM_H
13712 # include <sys/param.h>
13714 #ifdef HAVE_SYS_MOUNT_H
13715 # include <sys/mount.h>
13717 #ifdef HAVE_SYS_VFS_H
13718 # include <sys/vfs.h>
13720 #ifdef HAVE_SYS_STATFS_H
13721 # include <sys/statfs.h>
13724 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13726 cat >>confdefs.h
<<_ACEOF
13727 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13732 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13733 #ifdef HAVE_SYS_PARAM_H
13734 # include <sys/param.h>
13736 #ifdef HAVE_SYS_MOUNT_H
13737 # include <sys/mount.h>
13739 #ifdef HAVE_SYS_VFS_H
13740 # include <sys/vfs.h>
13742 #ifdef HAVE_SYS_STATFS_H
13743 # include <sys/statfs.h>
13746 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13748 cat >>confdefs.h
<<_ACEOF
13749 #define HAVE_STRUCT_STATFS_F_FFREE 1
13754 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13755 #ifdef HAVE_SYS_PARAM_H
13756 # include <sys/param.h>
13758 #ifdef HAVE_SYS_MOUNT_H
13759 # include <sys/mount.h>
13761 #ifdef HAVE_SYS_VFS_H
13762 # include <sys/vfs.h>
13764 #ifdef HAVE_SYS_STATFS_H
13765 # include <sys/statfs.h>
13768 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13770 cat >>confdefs.h
<<_ACEOF
13771 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13776 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13777 #ifdef HAVE_SYS_PARAM_H
13778 # include <sys/param.h>
13780 #ifdef HAVE_SYS_MOUNT_H
13781 # include <sys/mount.h>
13783 #ifdef HAVE_SYS_VFS_H
13784 # include <sys/vfs.h>
13786 #ifdef HAVE_SYS_STATFS_H
13787 # include <sys/statfs.h>
13790 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13792 cat >>confdefs.h
<<_ACEOF
13793 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13800 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13801 #include <sys/statvfs.h>
13804 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13806 cat >>confdefs.h
<<_ACEOF
13807 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13814 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13815 #ifdef HAVE_SYS_SOCKET_H
13816 # include <sys/socket.h>
13818 #ifdef HAVE_SYS_UN_H
13819 # include <sys/un.h>
13822 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13824 cat >>confdefs.h
<<_ACEOF
13825 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13830 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13831 #ifdef HAVE_SYS_SOCKET_H
13832 # include <sys/socket.h>
13834 #ifdef HAVE_SYS_UN_H
13835 # include <sys/un.h>
13838 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13840 cat >>confdefs.h
<<_ACEOF
13841 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13846 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13847 #ifdef HAVE_SYS_SOCKET_H
13848 # include <sys/socket.h>
13850 #ifdef HAVE_SYS_UN_H
13851 # include <sys/un.h>
13854 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13856 cat >>confdefs.h
<<_ACEOF
13857 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13864 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13865 #ifdef HAVE_SCSI_SG_H
13866 #include <scsi/sg.h>
13869 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13871 cat >>confdefs.h
<<_ACEOF
13872 #define HAVE_SCSIREQ_T_CMD 1
13877 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>
13878 #ifdef HAVE_SCSI_SG_H
13879 #include <scsi/sg.h>
13882 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13884 cat >>confdefs.h
<<_ACEOF
13885 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13892 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13894 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13896 cat >>confdefs.h
<<_ACEOF
13897 #define HAVE_SIGINFO_T_SI_FD 1
13904 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13905 #ifdef HAVE_SYS_MTIO_H
13906 #include <sys/mtio.h>
13909 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13911 cat >>confdefs.h
<<_ACEOF
13912 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13917 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13918 #ifdef HAVE_SYS_MTIO_H
13919 #include <sys/mtio.h>
13922 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13924 cat >>confdefs.h
<<_ACEOF
13925 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13930 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13931 #ifdef HAVE_SYS_MTIO_H
13932 #include <sys/mtio.h>
13935 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13937 cat >>confdefs.h
<<_ACEOF
13938 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13945 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13946 #include <getopt.h>
13949 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13951 cat >>confdefs.h
<<_ACEOF
13952 #define HAVE_STRUCT_OPTION_NAME 1
13959 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13960 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13962 cat >>confdefs.h
<<_ACEOF
13963 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13968 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13969 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13971 cat >>confdefs.h
<<_ACEOF
13972 #define HAVE_STRUCT_STAT_ST_MTIM 1
13977 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13978 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13980 cat >>confdefs.h
<<_ACEOF
13981 #define HAVE_STRUCT_STAT_ST_CTIM 1
13986 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13987 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13989 cat >>confdefs.h
<<_ACEOF
13990 #define HAVE_STRUCT_STAT_ST_ATIM 1
13997 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
13998 #include <sys/types.h>
14000 #ifdef HAVE_NETINET_IN_H
14001 #include <netinet/in.h>
14004 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
14006 cat >>confdefs.h
<<_ACEOF
14007 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14014 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14015 #include <sys/types.h>
14017 #ifdef HAVE_NETINET_IN_H
14018 # include <netinet/in.h>
14020 #ifdef HAVE_ARPA_NAMESER_H
14021 # include <arpa/nameser.h>
14024 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
14026 cat >>confdefs.h
<<_ACEOF
14027 #define HAVE_NS_MSG__MSG_PTR 1
14034 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14035 #include <sys/types.h>
14037 #ifdef HAVE_ALIAS_H
14040 #ifdef HAVE_SYS_SOCKET_H
14041 #include <sys/socket.h>
14043 #ifdef HAVE_SYS_SOCKETVAR_H
14044 #include <sys/socketvar.h>
14046 #ifdef HAVE_SYS_TIMEOUT_H
14047 #include <sys/timeout.h>
14049 #ifdef HAVE_NETINET_IN_H
14050 #include <netinet/in.h>
14052 #ifdef HAVE_NETINET_IN_SYSTM_H
14053 #include <netinet/in_systm.h>
14055 #ifdef HAVE_NETINET_IP_H
14056 #include <netinet/ip.h>
14058 #ifdef HAVE_NETINET_IP_VAR_H
14059 #include <netinet/ip_var.h>
14061 #ifdef HAVE_NETINET_IP_ICMP_H
14062 #include <netinet/ip_icmp.h>
14064 #ifdef HAVE_NETINET_ICMP_VAR
14065 #include <netinet/icmp_var.h>
14068 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
14070 cat >>confdefs.h
<<_ACEOF
14071 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14078 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14079 #include <sys/types.h>
14081 #ifdef HAVE_NET_IF_H
14082 # include <net/if.h>
14085 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
14087 cat >>confdefs.h
<<_ACEOF
14088 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14096 $as_echo_n "checking for timezone variable... " >&6; }
14097 if test "${ac_cv_have_timezone+set}" = set; then :
14098 $as_echo_n "(cached) " >&6
14100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14101 /* end confdefs.h. */
14111 if ac_fn_c_try_link
"$LINENO"; then :
14112 ac_cv_have_timezone
="yes"
14114 ac_cv_have_timezone
="no"
14116 rm -f core conftest.err conftest.
$ac_objext \
14117 conftest
$ac_exeext conftest.
$ac_ext
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14120 $as_echo "$ac_cv_have_timezone" >&6; }
14121 if test "$ac_cv_have_timezone" = "yes"
14124 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14128 $as_echo_n "checking for daylight variable... " >&6; }
14129 if test "${ac_cv_have_daylight+set}" = set; then :
14130 $as_echo_n "(cached) " >&6
14132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14133 /* end confdefs.h. */
14143 if ac_fn_c_try_link
"$LINENO"; then :
14144 ac_cv_have_daylight
="yes"
14146 ac_cv_have_daylight
="no"
14148 rm -f core conftest.err conftest.
$ac_objext \
14149 conftest
$ac_exeext conftest.
$ac_ext
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14152 $as_echo "$ac_cv_have_daylight" >&6; }
14153 if test "$ac_cv_have_daylight" = "yes"
14156 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14161 $as_echo_n "checking for isinf... " >&6; }
14162 if test "${ac_cv_have_isinf+set}" = set; then :
14163 $as_echo_n "(cached) " >&6
14165 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14166 /* end confdefs.h. */
14171 float f = 0.0; int i=isinf(f)
14176 if ac_fn_c_try_link
"$LINENO"; then :
14177 ac_cv_have_isinf
="yes"
14179 ac_cv_have_isinf
="no"
14181 rm -f core conftest.err conftest.
$ac_objext \
14182 conftest
$ac_exeext conftest.
$ac_ext
14184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14185 $as_echo "$ac_cv_have_isinf" >&6; }
14186 if test "$ac_cv_have_isinf" = "yes"
14189 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14194 $as_echo_n "checking for isnan... " >&6; }
14195 if test "${ac_cv_have_isnan+set}" = set; then :
14196 $as_echo_n "(cached) " >&6
14198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14199 /* end confdefs.h. */
14204 float f = 0.0; int i=isnan(f)
14209 if ac_fn_c_try_link
"$LINENO"; then :
14210 ac_cv_have_isnan
="yes"
14212 ac_cv_have_isnan
="no"
14214 rm -f core conftest.err conftest.
$ac_objext \
14215 conftest
$ac_exeext conftest.
$ac_ext
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14218 $as_echo "$ac_cv_have_isnan" >&6; }
14219 if test "$ac_cv_have_isnan" = "yes"
14222 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14228 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14229 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14230 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
14231 $as_echo_n "(cached) " >&6
14233 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14234 /* end confdefs.h. */
14239 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14240 $EGREP "yes" >/dev
/null
2>&1; then :
14241 ac_cv_cpp_def___i386__
=yes
14243 ac_cv_cpp_def___i386__
=no
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14249 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14250 if test $ac_cv_cpp_def___i386__ = yes; then :
14251 CFLAGS
="$CFLAGS -D__i386__"
14252 LINTFLAGS
="$LINTFLAGS -D__i386__"
14254 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14255 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14256 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
14257 $as_echo_n "(cached) " >&6
14259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14260 /* end confdefs.h. */
14265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14266 $EGREP "yes" >/dev
/null
2>&1; then :
14267 ac_cv_cpp_def___x86_64__
=yes
14269 ac_cv_cpp_def___x86_64__
=no
14274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14275 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14276 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14277 CFLAGS
="$CFLAGS -D__x86_64__"
14278 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14280 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
14281 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
14282 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
14283 $as_echo_n "(cached) " >&6
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14292 $EGREP "yes" >/dev
/null
2>&1; then :
14293 ac_cv_cpp_def___ALPHA__
=yes
14295 ac_cv_cpp_def___ALPHA__
=no
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
14301 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
14302 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
14303 CFLAGS
="$CFLAGS -D__ALPHA__"
14304 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
14306 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14307 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14308 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
14309 $as_echo_n "(cached) " >&6
14311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14318 $EGREP "yes" >/dev
/null
2>&1; then :
14319 ac_cv_cpp_def___sparc__
=yes
14321 ac_cv_cpp_def___sparc__
=no
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14327 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14328 if test $ac_cv_cpp_def___sparc__ = yes; then :
14329 CFLAGS
="$CFLAGS -D__sparc__"
14330 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14332 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14333 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14334 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
14335 $as_echo_n "(cached) " >&6
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #ifndef __powerpc__
14343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14344 $EGREP "yes" >/dev
/null
2>&1; then :
14345 ac_cv_cpp_def___powerpc__
=yes
14347 ac_cv_cpp_def___powerpc__
=no
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14353 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14354 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14355 CFLAGS
="$CFLAGS -D__powerpc__"
14356 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14360 case $host_vendor in
14361 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14362 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14363 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14364 $as_echo_n "(cached) " >&6
14366 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14367 /* end confdefs.h. */
14372 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14373 $EGREP "yes" >/dev
/null
2>&1; then :
14374 ac_cv_cpp_def___sun__
=yes
14376 ac_cv_cpp_def___sun__
=no
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14382 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14383 if test $ac_cv_cpp_def___sun__ = yes; then :
14384 CFLAGS
="$CFLAGS -D__sun__"
14385 LINTFLAGS
="$LINTFLAGS -D__sun__"
14393 ac_config_commands
="$ac_config_commands include/stamp-h"
14396 ALL_MAKEFILE_DEPENDS
="
14397 # Rules automatically generated by configure
14402 Makefile: Makefile.in Make.vars.in Make.rules config.status
14403 @./config.status Make.tmp Makefile"
14405 ALL_WINETEST_DEPENDS
="# Test binaries"
14407 ALL_TEST_BINARIES
=""
14410 wine_fn_append_file
()
14412 as_fn_append
$1 " \\$as_nl $2"
14415 wine_fn_append_rule
()
14417 as_fn_append
$1 "$as_nl$2"
14420 wine_fn_all_dir_rules
()
14424 ac_makedep
="\$(MAKEDEP)"
14425 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14426 if test $ac_dir != tools
14428 ac_alldeps
="$2 $ac_makedep"
14431 *.
in) ac_input
=$ac_input:$2 ;;
14432 *) ac_makedep
="$2 $ac_makedep" ;;
14435 wine_fn_append_file ALL_DIRS
$ac_dir
14436 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14437 "__clean__: $ac_dir/__clean__
14438 .PHONY: $ac_dir/__clean__
14439 $ac_dir/__clean__: $ac_dir/Makefile
14440 @cd $ac_dir && \$(MAKE) clean
14441 \$(RM) $ac_dir/Makefile
14442 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14443 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14444 depend: $ac_dir/__depend__
14445 .PHONY: $ac_dir/__depend__
14446 $ac_dir/__depend__: $ac_makedep dummy
14447 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14450 wine_fn_config_makefile
()
14454 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14458 wine_fn_all_dir_rules
$ac_dir Make.rules
14459 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14462 $ac_dir: $ac_dir/Makefile dummy
14463 @cd $ac_dir && \$(MAKE)
14465 @cd $ac_dir && \$(MAKE) install
14466 install-lib:: $ac_dir
14467 @cd $ac_dir && \$(MAKE) install-lib
14468 install-dev:: $ac_dir
14469 @cd $ac_dir && \$(MAKE) install-dev
14470 uninstall:: $ac_dir/Makefile
14471 @cd $ac_dir && \$(MAKE) uninstall"
14474 wine_fn_config_lib
()
14477 ac_dir
=dlls
/$ac_name
14478 wine_fn_all_dir_rules
$ac_dir dlls
/Makeimplib.rules
14479 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14480 "all __builddeps__: $ac_dir
14481 $ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
14482 @cd $ac_dir && \$(MAKE)
14483 install install-dev:: $ac_dir
14484 @cd $ac_dir && \$(MAKE) install
14485 uninstall:: $ac_dir/Makefile
14486 @cd $ac_dir && \$(MAKE) uninstall"
14489 wine_fn_config_dll
()
14492 ac_dir
=dlls
/$ac_name
14496 ac_file
=$ac_dir/lib
$ac_implib
14497 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14501 *16) ac_implibflags
=" -m16" ;;
14504 wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14506 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14507 test "$ac_enable" != enable_win16 ||
return 0
14509 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14512 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14513 @cd $ac_dir && \$(MAKE)
14514 install:: $ac_dir/Makefile __builddeps__
14515 @cd $ac_dir && \$(MAKE) install
14516 install-lib:: $ac_dir/Makefile __builddeps__
14517 @cd $ac_dir && \$(MAKE) install-lib
14518 uninstall manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14519 @cd $ac_dir && \$(MAKE) \$@"
14522 if test -n "$ac_implibsrc"
14524 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14525 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14526 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14527 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14528 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14529 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14530 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14531 install-dev:: $ac_dir/Makefile __builddeps__
14532 @cd $ac_dir && \$(MAKE) install-dev"
14533 if test "x$CROSSTEST_DISABLE" = x
14535 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14536 "__builddeps__: $ac_file.cross.a
14537 $ac_file.cross.a: $ac_dir/Makefile dummy
14538 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14541 elif test -n "$ac_implib"
14543 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14544 "__builddeps__: $ac_file.$IMPLIBEXT
14545 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14546 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14547 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14548 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14549 install-dev:: $ac_dir/Makefile __builddeps__
14550 @cd $ac_dir && \$(MAKE) install-dev"
14551 if test "x$CROSSTEST_DISABLE" = x
14553 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14554 "__builddeps__: $ac_file.cross.a
14555 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14556 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14559 if test "$ac_name" != "$ac_implib"
14561 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14562 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14563 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14564 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14566 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14567 if test "x$CROSSTEST_DISABLE" = x
14569 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14570 "__builddeps__: dlls/lib$ac_implib.cross.a
14571 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14572 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14578 wine_fn_config_program
()
14581 ac_dir
=programs
/$ac_name
14584 wine_fn_all_dir_rules
$ac_dir programs
/Makeprog.rules
14586 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14589 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14592 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14593 @cd $ac_dir && \$(MAKE)"
14595 test -n "$ac_install" ||
return
14596 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14597 "install install-lib:: $ac_dir/Makefile __builddeps__
14598 @cd $ac_dir && \$(MAKE) install
14599 uninstall:: $ac_dir/Makefile
14600 @cd $ac_dir && \$(MAKE) uninstall"
14601 if test "$ac_install" = installbin
-a -n "$DLLEXT" -a "x$enable_tools" != xno
14603 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14604 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14605 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14607 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14612 wine_fn_config_test
()
14616 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14617 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14618 "$ac_name.exe: \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT
14619 cp \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14621 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14622 $ac_name.res: $ac_name.rc $ac_name.exe"
14623 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14625 if test "x$enable_tests" = x
""no
; then :
14628 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14629 "all programs/winetest: $ac_dir
14631 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14632 @cd $ac_dir && \$(MAKE)
14633 test: $ac_dir/__test__
14634 .PHONY: $ac_dir/__test__
14635 $ac_dir/__test__: dummy
14636 @cd $ac_dir && \$(MAKE) test
14638 \$(RM) $ac_dir/*.ok"
14640 if test "x$CROSSTEST_DISABLE" = x
14642 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14643 "crosstest: $ac_dir/__crosstest__
14644 .PHONY: $ac_dir/__crosstest__
14645 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14646 @cd $ac_dir && \$(MAKE) crosstest"
14651 wine_fn_config_tool
()
14654 wine_fn_all_dir_rules
$ac_dir Make.rules
14656 if test "x$enable_tools" = x
""no
; then :
14660 tools
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14662 @cd $ac_dir && \$(MAKE) install
14663 install-lib:: $ac_dir
14664 @cd $ac_dir && \$(MAKE) install-lib
14665 install-dev:: $ac_dir
14666 @cd $ac_dir && \$(MAKE) install-dev" ;;
14667 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14668 "install install-dev:: $ac_dir
14669 @cd $ac_dir && \$(MAKE) install" ;;
14671 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14672 "uninstall:: $ac_dir/Makefile
14673 @cd $ac_dir && \$(MAKE) uninstall
14674 all __tooldeps__: $ac_dir
14676 $ac_dir: $ac_dir/Makefile libs/port dummy
14677 @cd $ac_dir && \$(MAKE)"
14679 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14684 wine_fn_config_makerules
()
14688 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14689 "$ac_rules: $ac_rules.in $ac_deps config.status
14690 @./config.status $ac_rules
14695 wine_fn_config_symlink
()
14698 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14700 @./config.status $ac_link
14705 if test "x$CROSSTEST_DISABLE" != x
14707 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14709 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14711 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14712 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14713 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14714 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14715 if test "x$enable_fonts" != xno
; then
14716 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14717 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14719 if test "x$enable_fonts" != xno
; then
14720 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14721 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14723 if test "x$enable_fonts" != xno
; then
14724 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14725 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14727 if test "x$enable_fonts" != xno
; then
14728 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14729 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14731 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14732 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14733 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14734 wine_fn_config_symlink wine
14736 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14738 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14740 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14742 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14744 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14746 ac_config_commands
="$ac_config_commands include/wine"
14749 wine_fn_config_makerules Make.rules
14750 MAKE_RULES
=Make.rules
14751 ac_config_files
="$ac_config_files Make.rules"
14753 wine_fn_config_makerules Maketest.rules Make.rules
14754 MAKE_TEST_RULES
=Maketest.rules
14755 ac_config_files
="$ac_config_files Maketest.rules"
14757 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14758 MAKE_DLL_RULES
=dlls
/Makedll.rules
14759 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14761 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14762 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14763 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14765 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14766 MAKE_PROG_RULES
=programs
/Makeprog.rules
14767 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14770 wine_fn_config_dll acledit enable_acledit
14771 wine_fn_config_dll aclui enable_aclui aclui
14772 wine_fn_config_dll activeds enable_activeds activeds
14773 wine_fn_config_dll actxprxy enable_actxprxy
14774 wine_fn_config_lib adsiid
14775 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14776 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14777 wine_fn_config_dll advpack enable_advpack advpack
14778 wine_fn_config_test dlls
/advpack
/tests advpack_test
14779 wine_fn_config_dll amstream enable_amstream
14780 wine_fn_config_test dlls
/amstream
/tests amstream_test
14781 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14782 wine_fn_config_dll atl enable_atl atl
14783 wine_fn_config_test dlls
/atl
/tests atl_test
14784 wine_fn_config_dll authz enable_authz
14785 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14786 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14787 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14788 wine_fn_config_dll avifile.dll16 enable_win16
14789 wine_fn_config_dll avrt enable_avrt avrt
14790 wine_fn_config_dll bcrypt enable_bcrypt
14791 wine_fn_config_dll browseui enable_browseui
14792 wine_fn_config_test dlls
/browseui
/tests browseui_test
14793 wine_fn_config_dll cabinet enable_cabinet cabinet
14794 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14795 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14796 wine_fn_config_dll cards enable_cards cards
14797 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14798 wine_fn_config_dll clusapi enable_clusapi clusapi
14799 wine_fn_config_dll comcat enable_comcat
14800 wine_fn_config_test dlls
/comcat
/tests comcat_test
14801 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14802 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14803 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14804 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14805 wine_fn_config_dll
comm.drv16 enable_win16
14806 wine_fn_config_dll commdlg.dll16 enable_win16
14807 wine_fn_config_dll compobj.dll16 enable_win16
14808 wine_fn_config_dll compstui enable_compstui compstui
14809 wine_fn_config_dll credui enable_credui credui
14810 wine_fn_config_test dlls
/credui
/tests credui_test
14811 wine_fn_config_dll crtdll enable_crtdll crtdll
14812 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14813 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14814 wine_fn_config_dll cryptdlg enable_cryptdlg
14815 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14816 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14817 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14818 wine_fn_config_dll cryptui enable_cryptui cryptui
14819 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14820 wine_fn_config_dll ctapi32 enable_ctapi32
14821 wine_fn_config_dll ctl3d.dll16 enable_win16
14822 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14823 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14824 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14825 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14826 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14827 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14828 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14829 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14830 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14831 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14832 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14833 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14834 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14835 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14836 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14837 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14838 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14839 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14840 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14841 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14842 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 d3dcompiler
14843 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14844 wine_fn_config_dll d3dim enable_d3dim d3dim
14845 wine_fn_config_dll d3drm enable_d3drm d3drm
14846 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14847 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14848 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14849 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14850 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14851 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14852 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14853 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14854 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14855 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14856 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14857 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14858 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14859 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14860 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14861 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14862 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14863 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14864 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14865 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14866 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14867 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14868 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14869 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14870 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14871 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14872 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14873 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14874 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14875 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14876 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14877 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14878 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14879 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14880 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14881 wine_fn_config_dll dbgeng enable_dbgeng dbgeng
14882 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14883 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14884 wine_fn_config_dll ddeml.dll16 enable_win16
14885 wine_fn_config_dll ddraw enable_ddraw ddraw
14886 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14887 wine_fn_config_dll ddrawex enable_ddrawex
14888 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14889 wine_fn_config_dll devenum enable_devenum
14890 wine_fn_config_dll dinput enable_dinput dinput
"data_formats.c"
14891 wine_fn_config_test dlls
/dinput
/tests dinput_test
14892 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14893 wine_fn_config_dll dispdib.dll16 enable_win16
14894 wine_fn_config_dll dispex enable_dispex
14895 wine_fn_config_test dlls
/dispex
/tests dispex_test
14896 wine_fn_config_dll display.drv16 enable_win16
14897 wine_fn_config_dll dmband enable_dmband
14898 wine_fn_config_dll dmcompos enable_dmcompos
14899 wine_fn_config_dll dmime enable_dmime
14900 wine_fn_config_test dlls
/dmime
/tests dmime_test
14901 wine_fn_config_dll dmloader enable_dmloader
14902 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14903 wine_fn_config_dll dmscript enable_dmscript
14904 wine_fn_config_dll dmstyle enable_dmstyle
14905 wine_fn_config_dll dmsynth enable_dmsynth
14906 wine_fn_config_dll dmusic enable_dmusic
14907 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14908 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14909 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14910 wine_fn_config_dll dplay enable_dplay dplay
14911 wine_fn_config_dll dplayx enable_dplayx dplayx
14912 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14913 wine_fn_config_dll dpnaddr enable_dpnaddr
14914 wine_fn_config_dll dpnet enable_dpnet dpnet
14915 wine_fn_config_dll dpnhpast enable_dpnhpast
14916 wine_fn_config_dll dpnlobby enable_dpnlobby
14917 wine_fn_config_dll dpwsockx enable_dpwsockx
14918 wine_fn_config_dll drmclien enable_drmclien
14919 wine_fn_config_dll dsound enable_dsound dsound
14920 wine_fn_config_test dlls
/dsound
/tests dsound_test
14921 wine_fn_config_dll dssenh enable_dssenh
14922 wine_fn_config_dll dswave enable_dswave
14923 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14924 wine_fn_config_dll dxdiagn enable_dxdiagn
14925 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14926 wine_fn_config_lib dxerr8
14927 wine_fn_config_lib dxerr9
14928 wine_fn_config_dll dxgi enable_dxgi dxgi
14929 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14930 wine_fn_config_lib dxguid
14931 wine_fn_config_dll explorerframe enable_explorerframe
14932 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
14933 wine_fn_config_dll faultrep enable_faultrep faultrep
14934 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
14935 wine_fn_config_dll fltlib enable_fltlib
14936 wine_fn_config_dll fusion enable_fusion
14937 wine_fn_config_test dlls
/fusion
/tests fusion_test
14938 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14939 wine_fn_config_dll gameux enable_gameux
14940 wine_fn_config_test dlls
/gameux
/tests gameux_test
14941 wine_fn_config_dll gdi.exe16 enable_win16
14942 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14943 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14944 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14945 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14946 wine_fn_config_dll glu32 enable_glu32 glu32
14947 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14948 wine_fn_config_dll gpkcsp enable_gpkcsp
14949 wine_fn_config_dll hal enable_hal
14950 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14951 wine_fn_config_dll hid enable_hid hid
14952 wine_fn_config_dll hlink enable_hlink hlink
14953 wine_fn_config_test dlls
/hlink
/tests hlink_test
14954 wine_fn_config_dll hnetcfg enable_hnetcfg
14955 wine_fn_config_dll httpapi enable_httpapi
14956 wine_fn_config_dll iccvid enable_iccvid
14957 wine_fn_config_dll icmp enable_icmp
14958 wine_fn_config_dll ifsmgr.vxd enable_win16
14959 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14960 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14961 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14962 wine_fn_config_dll imm.dll16 enable_win16
14963 wine_fn_config_dll imm32 enable_imm32 imm32
14964 wine_fn_config_test dlls
/imm32
/tests imm32_test
14965 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14966 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14967 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl
14968 wine_fn_config_dll inetmib1 enable_inetmib1
14969 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14970 wine_fn_config_dll infosoft enable_infosoft
14971 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14972 wine_fn_config_dll initpki enable_initpki
14973 wine_fn_config_dll inkobj enable_inkobj
14974 wine_fn_config_dll inseng enable_inseng
14975 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14976 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14977 wine_fn_config_dll itircl enable_itircl
14978 wine_fn_config_dll itss enable_itss
14979 wine_fn_config_test dlls
/itss
/tests itss_test
14980 wine_fn_config_dll jscript enable_jscript
14981 wine_fn_config_test dlls
/jscript
/tests jscript_test
14982 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14983 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14984 wine_fn_config_dll keyboard.drv16 enable_win16
14985 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14986 wine_fn_config_dll ktmw32 enable_ktmw32
14987 wine_fn_config_dll loadperf enable_loadperf loadperf
14988 wine_fn_config_dll localspl enable_localspl
14989 wine_fn_config_test dlls
/localspl
/tests localspl_test
14990 wine_fn_config_dll localui enable_localui
14991 wine_fn_config_test dlls
/localui
/tests localui_test
14992 wine_fn_config_dll lz32 enable_lz32 lz32
14993 wine_fn_config_test dlls
/lz32
/tests lz32_test
14994 wine_fn_config_dll lzexpand.dll16 enable_win16
14995 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14996 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14997 wine_fn_config_dll mapistub enable_mapistub
14998 wine_fn_config_dll mciavi32 enable_mciavi32
14999 wine_fn_config_dll mcicda enable_mcicda
15000 wine_fn_config_dll mciqtz32 enable_mciqtz32
15001 wine_fn_config_dll mciseq enable_mciseq
15002 wine_fn_config_dll mciwave enable_mciwave
15003 wine_fn_config_dll midimap enable_midimap
15004 wine_fn_config_dll mlang enable_mlang mlang
15005 wine_fn_config_test dlls
/mlang
/tests mlang_test
15006 wine_fn_config_dll mmdevapi enable_mmdevapi
15007 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15008 wine_fn_config_dll mmdevldr.vxd enable_win16
15009 wine_fn_config_dll mmsystem.dll16 enable_win16
15010 wine_fn_config_dll monodebg.vxd enable_win16
15011 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15012 wine_fn_config_dll mouse.drv16 enable_win16
15013 wine_fn_config_dll mpr enable_mpr mpr
15014 wine_fn_config_dll mprapi enable_mprapi mprapi
15015 wine_fn_config_dll msacm.dll16 enable_win16
15016 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15017 wine_fn_config_dll msacm32 enable_msacm32 msacm32
15018 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15019 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15020 wine_fn_config_dll mscat32 enable_mscat32
15021 wine_fn_config_dll mscms enable_mscms mscms
15022 wine_fn_config_test dlls
/mscms
/tests mscms_test
15023 wine_fn_config_dll mscoree enable_mscoree
15024 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15025 wine_fn_config_dll msctf enable_msctf
15026 wine_fn_config_test dlls
/msctf
/tests msctf_test
15027 wine_fn_config_dll msdaps enable_msdaps
15028 wine_fn_config_dll msdmo enable_msdmo msdmo
15029 wine_fn_config_dll msftedit enable_msftedit
15030 wine_fn_config_dll msg711.acm enable_msg711_acm
15031 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15032 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15033 wine_fn_config_dll mshtml enable_mshtml mshtml
15034 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15035 wine_fn_config_dll msi enable_msi msi
15036 wine_fn_config_test dlls
/msi
/tests msi_test
15037 wine_fn_config_dll msimg32 enable_msimg32 msimg32
15038 wine_fn_config_dll msimtf enable_msimtf
15039 wine_fn_config_dll msisip enable_msisip
15040 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15041 wine_fn_config_dll msnet32 enable_msnet32
15042 wine_fn_config_dll msrle32 enable_msrle32
15043 wine_fn_config_dll mssign32 enable_mssign32
15044 wine_fn_config_dll mssip32 enable_mssip32
15045 wine_fn_config_dll mstask enable_mstask
15046 wine_fn_config_test dlls
/mstask
/tests mstask_test
15047 wine_fn_config_dll msvcirt enable_msvcirt
15048 wine_fn_config_dll msvcp80 enable_msvcp80
15049 wine_fn_config_dll msvcp90 enable_msvcp90
15050 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15051 wine_fn_config_dll msvcr100 enable_msvcr100
15052 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
15053 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
15054 wine_fn_config_dll msvcr80 enable_msvcr80
15055 wine_fn_config_dll msvcr90 enable_msvcr90
15056 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15057 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
15058 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15059 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
15060 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
15061 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
15062 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15063 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
15064 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15065 wine_fn_config_dll msvidc32 enable_msvidc32
15066 wine_fn_config_dll msvideo.dll16 enable_win16
15067 wine_fn_config_dll mswsock enable_mswsock mswsock
15068 wine_fn_config_dll msxml3 enable_msxml3
15069 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15070 wine_fn_config_dll msxml4 enable_msxml4
15071 wine_fn_config_dll msxml6 enable_msxml6
15072 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
15073 wine_fn_config_dll netapi32 enable_netapi32 netapi32
15074 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15075 wine_fn_config_dll newdev enable_newdev newdev
15076 wine_fn_config_dll npmshtml enable_npmshtml
15077 wine_fn_config_dll ntdll enable_ntdll ntdll
15078 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15079 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
15080 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15081 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
15082 wine_fn_config_dll ntprint enable_ntprint
15083 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15084 wine_fn_config_dll objsel enable_objsel
15085 wine_fn_config_dll odbc32 enable_odbc32 odbc32
15086 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
15087 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15088 wine_fn_config_dll ole2.dll16 enable_win16
15089 wine_fn_config_dll ole2conv.dll16 enable_win16
15090 wine_fn_config_dll ole2disp.dll16 enable_win16
15091 wine_fn_config_dll ole2nls.dll16 enable_win16
15092 wine_fn_config_dll ole2prox.dll16 enable_win16
15093 wine_fn_config_dll ole2thk.dll16 enable_win16
15094 wine_fn_config_dll ole32 enable_ole32 ole32
15095 wine_fn_config_test dlls
/ole32
/tests ole32_test
15096 wine_fn_config_dll oleacc enable_oleacc oleacc
15097 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15098 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
15099 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15100 wine_fn_config_dll olecli.dll16 enable_win16
15101 wine_fn_config_dll olecli32 enable_olecli32 olecli32
15102 wine_fn_config_dll oledb32 enable_oledb32
15103 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15104 wine_fn_config_dll oledlg enable_oledlg oledlg
15105 wine_fn_config_dll olepro32 enable_olepro32 olepro32
15106 wine_fn_config_dll olesvr.dll16 enable_win16
15107 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
15108 wine_fn_config_dll olethk32 enable_olethk32
15109 wine_fn_config_dll openal32 enable_openal32
15110 wine_fn_config_dll opencl enable_opencl
15111 wine_fn_config_dll opengl32 enable_opengl32 opengl32
15112 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15113 wine_fn_config_dll pdh enable_pdh pdh
15114 wine_fn_config_test dlls
/pdh
/tests pdh_test
15115 wine_fn_config_dll pidgen enable_pidgen
15116 wine_fn_config_dll powrprof enable_powrprof powrprof
15117 wine_fn_config_dll printui enable_printui
15118 wine_fn_config_dll propsys enable_propsys propsys
15119 wine_fn_config_test dlls
/propsys
/tests propsys_test
15120 wine_fn_config_dll psapi enable_psapi psapi
15121 wine_fn_config_test dlls
/psapi
/tests psapi_test
15122 wine_fn_config_dll pstorec enable_pstorec
15123 wine_fn_config_dll qcap enable_qcap
15124 wine_fn_config_dll qedit enable_qedit
15125 wine_fn_config_test dlls
/qedit
/tests qedit_test
15126 wine_fn_config_dll qmgr enable_qmgr
15127 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15128 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15129 wine_fn_config_dll quartz enable_quartz quartz
15130 wine_fn_config_test dlls
/quartz
/tests quartz_test
15131 wine_fn_config_dll query enable_query
15132 wine_fn_config_dll rasapi16.dll16 enable_win16
15133 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
15134 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15135 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
15136 wine_fn_config_dll resutils enable_resutils resutils
15137 wine_fn_config_dll riched20 enable_riched20 riched20
15138 wine_fn_config_test dlls
/riched20
/tests riched20_test
15139 wine_fn_config_dll riched32 enable_riched32
15140 wine_fn_config_test dlls
/riched32
/tests riched32_test
15141 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
15142 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15143 wine_fn_config_dll rsabase enable_rsabase
15144 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
15145 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15146 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15147 wine_fn_config_dll rtutils enable_rtutils rtutils
15148 wine_fn_config_dll samlib enable_samlib
15149 wine_fn_config_dll sane.ds enable_sane_ds
15150 wine_fn_config_dll sccbase enable_sccbase
15151 wine_fn_config_dll schannel enable_schannel
15152 wine_fn_config_test dlls
/schannel
/tests schannel_test
15153 wine_fn_config_dll secur32 enable_secur32 secur32
15154 wine_fn_config_test dlls
/secur32
/tests secur32_test
15155 wine_fn_config_dll security enable_security
15156 wine_fn_config_dll sensapi enable_sensapi sensapi
15157 wine_fn_config_dll serialui enable_serialui serialui
15158 wine_fn_config_test dlls
/serialui
/tests serialui_test
15159 wine_fn_config_dll setupapi enable_setupapi setupapi
15160 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15161 wine_fn_config_dll setupx.dll16 enable_win16
15162 wine_fn_config_dll sfc enable_sfc sfc
15163 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
15164 wine_fn_config_dll shdoclc enable_shdoclc
15165 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
15166 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15167 wine_fn_config_dll shell.dll16 enable_win16
15168 wine_fn_config_dll shell32 enable_shell32 shell32
15169 wine_fn_config_test dlls
/shell32
/tests shell32_test
15170 wine_fn_config_dll shfolder enable_shfolder shfolder
15171 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
15172 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15173 wine_fn_config_dll slbcsp enable_slbcsp
15174 wine_fn_config_dll slc enable_slc slc
15175 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
15176 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15177 wine_fn_config_dll softpub enable_softpub
15178 wine_fn_config_dll sound.drv16 enable_win16
15179 wine_fn_config_dll spoolss enable_spoolss spoolss
15180 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15181 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15182 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15183 wine_fn_config_dll sti enable_sti sti
15184 wine_fn_config_test dlls
/sti
/tests sti_test
15185 wine_fn_config_dll storage.dll16 enable_win16
15186 wine_fn_config_dll stress.dll16 enable_win16
15187 wine_fn_config_lib strmbase
15188 wine_fn_config_lib strmiids
15189 wine_fn_config_dll svrapi enable_svrapi
15190 wine_fn_config_dll sxs enable_sxs
15191 wine_fn_config_dll system.drv16 enable_win16
15192 wine_fn_config_dll t2embed enable_t2embed
15193 wine_fn_config_dll tapi32 enable_tapi32 tapi32
15194 wine_fn_config_dll toolhelp.dll16 enable_win16
15195 wine_fn_config_dll traffic enable_traffic
15196 wine_fn_config_dll twain.dll16 enable_win16
15197 wine_fn_config_dll twain_32 enable_twain_32
15198 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15199 wine_fn_config_dll typelib.dll16 enable_win16
15200 wine_fn_config_dll unicows enable_unicows unicows
15201 wine_fn_config_dll updspapi enable_updspapi
15202 wine_fn_config_dll url enable_url url
15203 wine_fn_config_dll urlmon enable_urlmon urlmon
15204 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15205 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
15206 wine_fn_config_dll user.exe16 enable_win16
15207 wine_fn_config_dll user32 enable_user32 user32
15208 wine_fn_config_test dlls
/user32
/tests user32_test
15209 wine_fn_config_dll userenv enable_userenv userenv
15210 wine_fn_config_test dlls
/userenv
/tests userenv_test
15211 wine_fn_config_dll usp10 enable_usp10 usp10
15212 wine_fn_config_test dlls
/usp10
/tests usp10_test
15213 wine_fn_config_lib uuid
15214 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
15215 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15216 wine_fn_config_dll vdhcp.vxd enable_win16
15217 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
15218 wine_fn_config_dll ver.dll16 enable_win16
15219 wine_fn_config_dll version enable_version version
15220 wine_fn_config_test dlls
/version
/tests version_test
15221 wine_fn_config_dll vmm.vxd enable_win16
15222 wine_fn_config_dll vnbt.vxd enable_win16
15223 wine_fn_config_dll vnetbios.vxd enable_win16
15224 wine_fn_config_dll vtdapi.vxd enable_win16
15225 wine_fn_config_dll vwin32.vxd enable_win16
15226 wine_fn_config_dll w32skrnl enable_win16
15227 wine_fn_config_dll w32sys.dll16 enable_win16
15228 wine_fn_config_dll wbemprox enable_wbemprox
15229 wine_fn_config_dll wer enable_wer wer
15230 wine_fn_config_test dlls
/wer
/tests wer_test
15231 wine_fn_config_dll wiaservc enable_wiaservc
15232 wine_fn_config_dll win32s16.dll16 enable_win16
15233 wine_fn_config_dll win87em.dll16 enable_win16
15234 wine_fn_config_dll winaspi.dll16 enable_win16
15235 wine_fn_config_dll windebug.dll16 enable_win16
15236 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
15237 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15238 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15239 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15240 wine_fn_config_lib winecrt0
15241 wine_fn_config_dll wined3d enable_wined3d wined3d
15242 wine_fn_config_dll wineesd.drv enable_wineesd_drv
15243 wine_fn_config_dll winegstreamer enable_winegstreamer
15244 wine_fn_config_dll winejack.drv enable_winejack_drv
15245 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15246 wine_fn_config_dll winemapi enable_winemapi
15247 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15248 wine_fn_config_dll winenas.drv enable_winenas_drv
15249 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15250 wine_fn_config_dll wineps.drv enable_wineps_drv
15251 wine_fn_config_dll wineps16.drv16 enable_win16
15252 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15253 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15254 wine_fn_config_dll winex11.drv enable_winex11_drv
15255 wine_fn_config_dll wing.dll16 enable_win16
15256 wine_fn_config_dll wing32 enable_wing32
15257 wine_fn_config_dll winhttp enable_winhttp winhttp
15258 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15259 wine_fn_config_dll wininet enable_wininet wininet
15260 wine_fn_config_test dlls
/wininet
/tests wininet_test
15261 wine_fn_config_dll winmm enable_winmm winmm
15262 wine_fn_config_test dlls
/winmm
/tests winmm_test
15263 wine_fn_config_dll winnls.dll16 enable_win16
15264 wine_fn_config_dll winnls32 enable_winnls32 winnls32
15265 wine_fn_config_dll winscard enable_winscard winscard
15266 wine_fn_config_dll winsock.dll16 enable_win16
15267 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
15268 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15269 wine_fn_config_dll wintab.dll16 enable_win16
15270 wine_fn_config_dll wintab32 enable_wintab32 wintab32
15271 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15272 wine_fn_config_dll wintrust enable_wintrust wintrust
15273 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15274 wine_fn_config_dll wlanapi enable_wlanapi
15275 wine_fn_config_dll wldap32 enable_wldap32 wldap32
15276 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15277 wine_fn_config_dll wmi enable_wmi
15278 wine_fn_config_dll wmiutils enable_wmiutils
15279 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
15280 wine_fn_config_dll wow32 enable_win16 wow32
15281 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
15282 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15283 wine_fn_config_dll wsock32 enable_wsock32 wsock32
15284 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
15285 wine_fn_config_dll wuapi enable_wuapi
15286 wine_fn_config_dll wuaueng enable_wuaueng
15287 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15288 wine_fn_config_dll xinput1_1 enable_xinput1_1
15289 wine_fn_config_dll xinput1_2 enable_xinput1_2
15290 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
15291 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15292 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15293 wine_fn_config_dll xmllite enable_xmllite
15294 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15295 wine_fn_config_makefile documentation enable_documentation
15296 wine_fn_config_makefile fonts enable_fonts
15297 wine_fn_config_makefile include enable_include
15298 wine_fn_config_makefile libs
/port enable_libs_port
15299 wine_fn_config_makefile libs
/wine enable_libs_wine
15300 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15301 wine_fn_config_makefile loader enable_loader
15302 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15303 wine_fn_config_program attrib enable_attrib
install
15304 wine_fn_config_program cacls enable_cacls
install
15305 wine_fn_config_program
clock enable_clock
install
15306 wine_fn_config_program cmd enable_cmd
install
15307 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15308 wine_fn_config_program cmdlgtst enable_cmdlgtst
15309 wine_fn_config_program control enable_control
install
15310 wine_fn_config_program dxdiag enable_dxdiag
install
15311 wine_fn_config_program eject enable_eject
install
15312 wine_fn_config_program
expand enable_expand
install
15313 wine_fn_config_program explorer enable_explorer
install
15314 wine_fn_config_program extrac32 enable_extrac32
install
15315 wine_fn_config_program hh enable_hh
install
15316 wine_fn_config_program icinfo enable_icinfo
install
15317 wine_fn_config_program iexplore enable_iexplore
install
15318 wine_fn_config_program ipconfig enable_ipconfig
install
15319 wine_fn_config_program lodctr enable_lodctr
install
15320 wine_fn_config_program mofcomp enable_mofcomp
install
15321 wine_fn_config_program mshta enable_mshta
install
15322 wine_fn_config_program msiexec enable_msiexec installbin
15323 wine_fn_config_program net enable_net
install
15324 wine_fn_config_program netsh enable_netsh
install
15325 wine_fn_config_program ngen enable_ngen
install
15326 wine_fn_config_program notepad enable_notepad installbin
15327 wine_fn_config_program oleview enable_oleview
install
15328 wine_fn_config_program
ping enable_ping
install
15329 wine_fn_config_program progman enable_progman
install
15330 wine_fn_config_program reg enable_reg
install
15331 wine_fn_config_program regedit enable_regedit installbin
15332 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15333 wine_fn_config_program regsvcs enable_regsvcs
install
15334 wine_fn_config_program regsvr32 enable_regsvr32 installbin
15335 wine_fn_config_program rpcss enable_rpcss
install
15336 wine_fn_config_program rundll.exe16 enable_win16
install
15337 wine_fn_config_program rundll32 enable_rundll32
install
15338 wine_fn_config_program sc enable_sc
install
15339 wine_fn_config_program secedit enable_secedit
install
15340 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15341 wine_fn_config_program services enable_services
install
15342 wine_fn_config_program spoolsv enable_spoolsv
install
15343 wine_fn_config_program start enable_start
install
15344 wine_fn_config_program svchost enable_svchost
install
15345 wine_fn_config_program taskkill enable_taskkill
install
15346 wine_fn_config_program taskmgr enable_taskmgr
install
15347 wine_fn_config_program termsv enable_termsv
install
15348 wine_fn_config_program uninstaller enable_uninstaller
install
15349 wine_fn_config_program unlodctr enable_unlodctr
install
15350 wine_fn_config_program view enable_view
15351 wine_fn_config_program wineboot enable_wineboot installbin
15352 wine_fn_config_program winebrowser enable_winebrowser
install
15353 wine_fn_config_program winecfg enable_winecfg installbin
15354 wine_fn_config_program wineconsole enable_wineconsole installbin
15355 wine_fn_config_program winedbg enable_winedbg installbin
15356 wine_fn_config_program winedevice enable_winedevice
install
15357 wine_fn_config_program winefile enable_winefile installbin
15358 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15359 wine_fn_config_program winemine enable_winemine installbin
15360 wine_fn_config_program winepath enable_winepath installbin
15361 wine_fn_config_program winetest enable_winetest
15362 wine_fn_config_program winevdm enable_win16
install
15363 wine_fn_config_program winhelp.exe16 enable_win16
install
15364 wine_fn_config_program winhlp32 enable_winhlp32
install
15365 wine_fn_config_program winoldap.mod16 enable_win16
install
15366 wine_fn_config_program winver enable_winver
install
15367 wine_fn_config_program wmic enable_wmic
install
15368 wine_fn_config_program wordpad enable_wordpad
install
15369 wine_fn_config_program
write enable_write
install
15370 wine_fn_config_program wscript enable_wscript
install
15371 wine_fn_config_program xcopy enable_xcopy
install
15372 wine_fn_config_makefile server enable_server
15373 wine_fn_config_tool tools
15374 wine_fn_config_tool tools
/widl
15375 wine_fn_config_tool tools
/winebuild
15376 wine_fn_config_tool tools
/winedump
15377 wine_fn_config_tool tools
/winegcc
15378 wine_fn_config_tool tools
/wmc
15379 wine_fn_config_tool tools
/wrc
15381 ac_config_commands
="$ac_config_commands Makefile"
15384 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15388 if test -n "$with_wine64"
15390 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server $with_wine64/loader/wine
15392 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15393 $with_wine64/loader/wine:
15394 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15396 \$(RM) fonts server $with_wine64/loader/wine"
15399 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
15400 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
15402 cat >confcache
<<\_ACEOF
15403 # This file is a shell script that caches the results of configure
15404 # tests run on this system so they can be shared between configure
15405 # scripts and configure runs, see configure's option --config-cache.
15406 # It is not useful on other systems. If it contains results you don't
15407 # want to keep, you may remove or edit it.
15409 # config.status only pays attention to the cache file if you give it
15410 # the --recheck option to rerun configure.
15412 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15413 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15414 # following values.
15418 # The following way of writing the cache mishandles newlines in values,
15419 # but we know of no workaround that is simple, portable, and efficient.
15420 # So, we kill variables containing newlines.
15421 # Ultrix sh set writes to stderr and can't be redirected directly,
15422 # and sets the high bit in the cache file unless we assign to the vars.
15424 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15425 eval ac_val
=\$
$ac_var
15429 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15430 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15433 _ | IFS | as_nl
) ;; #(
15434 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15435 *) { eval $ac_var=; unset $ac_var;} ;;
15441 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15442 *${as_nl}ac_space
=\
*)
15443 # `set' does not quote correctly, so add quotes: double-quote
15444 # substitution turns \\\\ into \\, and sed turns \\ into \.
15447 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15450 # `set' quotes correctly as required by POSIX, so do not add quotes.
15451 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15460 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15462 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15464 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15465 if test -w "$cache_file"; then
15466 test "x$cache_file" != "x/dev/null" &&
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15468 $as_echo "$as_me: updating cache $cache_file" >&6;}
15469 cat confcache
>$cache_file
15471 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15472 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15477 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15478 # Let make expand exec_prefix.
15479 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15481 DEFS
=-DHAVE_CONFIG_H
15486 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15487 # 1. Remove the extension, and $U if already installed.
15488 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15489 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15490 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15491 # will be set to the directory where LIBOBJS objects are built.
15492 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15493 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15495 LIBOBJS
=$ac_libobjs
15497 LTLIBOBJS
=$ac_ltlibobjs
15501 : ${CONFIG_STATUS=./config.status}
15503 ac_clean_files_save
=$ac_clean_files
15504 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15506 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15508 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15510 # Generated by $as_me.
15511 # Run this file to recreate the current configuration.
15512 # Compiler output produced by configure, useful for debugging
15513 # configure, is in config.log if it exists.
15516 ac_cs_recheck=false
15519 SHELL=\${CONFIG_SHELL-$SHELL}
15522 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15523 ## -------------------- ##
15524 ## M4sh Initialization. ##
15525 ## -------------------- ##
15527 # Be more Bourne compatible
15528 DUALCASE
=1; export DUALCASE
# for MKS sh
15529 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15532 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15533 # is contrary to our usage. Disable this feature.
15534 alias -g '${1+"$@"}'='"$@"'
15535 setopt NO_GLOB_SUBST
15537 case `(set -o) 2>/dev/null` in #(
15549 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15550 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15551 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15552 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15553 # Prefer a ksh shell builtin over an external printf program on Solaris,
15554 # but without wasting forks for bash or zsh.
15555 if test -z "$BASH_VERSION$ZSH_VERSION" \
15556 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15557 as_echo='print
-r --'
15558 as_echo_n='print
-rn --'
15559 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15560 as_echo='printf %s
\n'
15561 as_echo_n='printf %s
'
15563 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15564 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15565 as_echo_n='/usr
/ucb
/echo -n'
15567 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15568 as_echo_n_body='eval
15572 expr "X$arg" : "X\\(.*\\)$as_nl";
15573 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15575 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15577 export as_echo_n_body
15578 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15580 export as_echo_body
15581 as_echo='sh
-c $as_echo_body as_echo
'
15584 # The user is always right.
15585 if test "${PATH_SEPARATOR+set}" != set; then
15587 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15588 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15595 # We need space, tab and new line, in precisely that order. Quoting is
15596 # there to prevent editors from complaining about space-tab.
15597 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15598 # splitting by setting IFS to empty value.)
15601 # Find who we are. Look in the path if we contain no directory separator.
15603 *[\\/]* ) as_myself=$0 ;;
15604 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15605 for as_dir in $PATH
15608 test -z "$as_dir" && as_dir=.
15609 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15615 # We did not find ourselves, most probably we were run as `sh COMMAND'
15616 # in which case we are not to be found in the path.
15617 if test "x$as_myself" = x
; then
15620 if test ! -f "$as_myself"; then
15621 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15625 # Unset variables that we do not need and which cause bugs (e.g. in
15626 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15627 # suppresses any "Segmentation fault" message there. '((' could
15628 # trigger a bug in pdksh 5.2.14.
15629 for as_var
in BASH_ENV ENV MAIL MAILPATH
15630 do eval test x\
${$as_var+set} = xset \
15631 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15644 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15647 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15648 # ----------------------------------------
15649 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15650 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15651 # script with STATUS, using 1 if that was 0.
15654 as_status
=$1; test $as_status -eq 0 && as_status
=1
15656 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15657 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15659 $as_echo "$as_me: error: $2" >&2
15660 as_fn_exit
$as_status
15664 # as_fn_set_status STATUS
15665 # -----------------------
15666 # Set $? to STATUS, without forking.
15667 as_fn_set_status
()
15670 } # as_fn_set_status
15672 # as_fn_exit STATUS
15673 # -----------------
15674 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15678 as_fn_set_status
$1
15684 # Portably unset VAR.
15687 { eval $1=; unset $1;}
15689 as_unset
=as_fn_unset
15690 # as_fn_append VAR VALUE
15691 # ----------------------
15692 # Append the text in VALUE to the end of the definition contained in VAR. Take
15693 # advantage of any shell optimizations that allow amortized linear growth over
15694 # repeated appends, instead of the typical quadratic growth present in naive
15696 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15697 eval 'as_fn_append ()
15708 # as_fn_arith ARG...
15709 # ------------------
15710 # Perform arithmetic evaluation on the ARGs, and store the result in the
15711 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15712 # must be portable across $(()) and expr.
15713 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15714 eval 'as_fn_arith ()
15721 as_val
=`expr "$@" || test $? -eq 1`
15726 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15727 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15733 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15734 as_basename
=basename
15739 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15745 as_me
=`$as_basename -- "$0" ||
15746 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15747 X"$0" : 'X\(//\)$' \| \
15748 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15750 sed '/^.*\/\([^/][^/]*\)\/*$/{
15764 # Avoid depending upon Character Ranges.
15765 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15766 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15767 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15768 as_cr_digits
='0123456789'
15769 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15771 ECHO_C
= ECHO_N
= ECHO_T
=
15772 case `echo -n x` in #(((((
15774 case `echo 'xy\c'` in
15775 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15777 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15784 rm -f conf$$ conf$$.exe conf$$.
file
15785 if test -d conf$$.dir
; then
15786 rm -f conf$$.dir
/conf$$.
file
15789 mkdir conf$$.dir
2>/dev
/null
15791 if (echo >conf$$.
file) 2>/dev
/null
; then
15792 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15794 # ... but there are two gotchas:
15795 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15796 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15797 # In both cases, we have to default to `cp -p'.
15798 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15800 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15808 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15809 rmdir conf$$.dir
2>/dev
/null
15814 # Create "$as_dir" as a directory, including parents if necessary.
15819 -*) as_dir
=.
/$as_dir;;
15821 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15825 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15826 *) as_qdir
=$as_dir;;
15828 as_dirs
="'$as_qdir' $as_dirs"
15829 as_dir
=`$as_dirname -- "$as_dir" ||
15830 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15831 X"$as_dir" : 'X\(//\)[^/]' \| \
15832 X"$as_dir" : 'X\(//\)$' \| \
15833 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15834 $as_echo X"$as_dir" |
15835 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15839 /^X\(\/\/\)[^/].*/{
15852 test -d "$as_dir" && break
15854 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15855 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15859 if mkdir
-p .
2>/dev
/null
; then
15860 as_mkdir_p
='mkdir -p "$as_dir"'
15862 test -d .
/-p && rmdir .
/-p
15866 if test -x / >/dev
/null
2>&1; then
15867 as_test_x
='test -x'
15869 if ls -dL / >/dev
/null
2>&1; then
15876 if test -d "$1"; then
15882 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15883 ???[sx]*):;;*)false;;esac;fi
15887 as_executable_p
=$as_test_x
15889 # Sed expression to map a string onto a valid CPP name.
15890 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15892 # Sed expression to map a string onto a valid variable name.
15893 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15897 ## ----------------------------------- ##
15898 ## Main body of $CONFIG_STATUS script. ##
15899 ## ----------------------------------- ##
15901 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15903 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15904 # Save the log message, to keep $0 and so on meaningful, and to
15905 # report actual input values of CONFIG_FILES etc. instead of their
15906 # values after options handling.
15908 This file was extended by Wine $as_me 1.3.9, which was
15909 generated by GNU Autoconf 2.67. Invocation command line was
15911 CONFIG_FILES = $CONFIG_FILES
15912 CONFIG_HEADERS = $CONFIG_HEADERS
15913 CONFIG_LINKS = $CONFIG_LINKS
15914 CONFIG_COMMANDS = $CONFIG_COMMANDS
15917 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15922 case $ac_config_files in *"
15923 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15926 case $ac_config_headers in *"
15927 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15931 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15932 # Files that config.status was made for.
15933 config_files="$ac_config_files"
15934 config_headers="$ac_config_headers"
15935 config_links="$ac_config_links"
15936 config_commands="$ac_config_commands"
15940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15942 \`$as_me' instantiates files and other configuration actions
15943 from templates according to the current configuration. Unless the files
15944 and actions are specified as TAGs, all are instantiated by default.
15946 Usage: $0 [OPTION]... [TAG]...
15948 -h, --help print this help, then exit
15949 -V, --version print version number and configuration settings, then exit
15950 --config print configuration, then exit
15951 -q, --quiet, --silent
15952 do not print progress messages
15953 -d, --debug don't remove temporary files
15954 --recheck update $as_me by reconfiguring in the same conditions
15955 --file=FILE[:TEMPLATE]
15956 instantiate the configuration file FILE
15957 --header=FILE[:TEMPLATE]
15958 instantiate the configuration header FILE
15960 Configuration files:
15963 Configuration headers:
15966 Configuration links:
15969 Configuration commands:
15972 Report bugs to <wine-devel@winehq.org>.
15973 Wine home page: <http://www.winehq.org>."
15976 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15977 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15979 Wine config.status 1.3.9
15980 configured by $0, generated by GNU Autoconf 2.67,
15981 with options \\"\$ac_cs_config\\"
15983 Copyright (C) 2010 Free Software Foundation, Inc.
15984 This config.status script is free software; the Free Software Foundation
15985 gives unlimited permission to copy, distribute and modify it."
15990 test -n "\$AWK" || AWK=awk
15993 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15994 # The default lists apply if the user does not specify any file.
16000 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16001 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16005 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16017 # Handling of the options.
16018 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16020 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16021 $as_echo "$ac_cs_version"; exit ;;
16022 --config |
--confi |
--conf |
--con |
--co |
--c )
16023 $as_echo "$ac_cs_config"; exit ;;
16024 --debug |
--debu |
--deb |
--de |
--d |
-d )
16026 --file |
--fil |
--fi |
--f )
16029 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16030 '') as_fn_error $?
"missing file argument" ;;
16032 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16033 ac_need_defaults
=false
;;
16034 --header |
--heade |
--head |
--hea )
16037 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16039 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16040 ac_need_defaults
=false
;;
16042 # Conflict between --help and --header
16043 as_fn_error $?
"ambiguous option: \`$1'
16044 Try \`$0 --help' for more information.";;
16045 --help |
--hel |
-h )
16046 $as_echo "$ac_cs_usage"; exit ;;
16047 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16048 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16051 # This is an error.
16052 -*) as_fn_error $?
"unrecognized option: \`$1'
16053 Try \`$0 --help' for more information." ;;
16055 *) as_fn_append ac_config_targets
" $1"
16056 ac_need_defaults
=false
;;
16062 ac_configure_extra_args
=
16064 if $ac_cs_silent; then
16066 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16070 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16071 if \$ac_cs_recheck; then
16072 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16074 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16075 CONFIG_SHELL='$SHELL'
16076 export CONFIG_SHELL
16081 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16085 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16086 ## Running $as_me. ##
16092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16096 wine_fn_output_makefile ()
16098 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16099 $ALL_MAKEFILE_DEPENDS
16101 as_fn_error $? "could not create Makefile" "$LINENO" 5
16106 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16108 # Handling of arguments.
16109 for ac_config_target
in $ac_config_targets
16111 case $ac_config_target in
16112 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16113 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16114 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16115 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16116 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16117 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16118 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16119 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16120 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16121 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16122 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16123 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16124 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16125 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16126 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16127 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16128 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16129 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16130 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16131 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16132 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16133 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16134 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16136 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16141 # If the user did not use the arguments to specify the items to instantiate,
16142 # then the envvar interface is used. Set only those that are not.
16143 # We use the long form for the default assignment because of an extremely
16144 # bizarre bug on SunOS 4.1.3.
16145 if $ac_need_defaults; then
16146 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16147 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16148 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16149 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16152 # Have a temporary directory for convenience. Make it in the build tree
16153 # simply because there is no reason against having it here, and in addition,
16154 # creating and moving files from /tmp can sometimes cause problems.
16155 # Hook for its removal unless debugging.
16156 # Note that there is a small window in which the directory will not be cleaned:
16157 # after its creation but before its name has been assigned to `$tmp'.
16161 trap 'exit_status=$?
16162 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16164 trap 'as_fn_exit 1' 1 2 13 15
16166 # Create a (secure) tmp directory for tmp files.
16169 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16170 test -n "$tmp" && test -d "$tmp"
16173 tmp
=.
/conf$$
-$RANDOM
16174 (umask 077 && mkdir
"$tmp")
16175 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16177 # Set up the scripts for CONFIG_FILES section.
16178 # No need to generate them if there are no CONFIG_FILES.
16179 # This happens for instance with `./config.status config.h'.
16180 if test -n "$CONFIG_FILES"; then
16182 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16183 ac_cs_awk_getline
=:
16184 ac_cs_awk_pipe_init
=
16185 ac_cs_awk_read_file
='
16186 while ((getline aline < (F[key])) > 0)
16189 ac_cs_awk_pipe_fini
=
16191 ac_cs_awk_getline
=false
16192 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16193 ac_cs_awk_read_file
='
16195 print "cat " F[key] " &&"
16196 '$ac_cs_awk_pipe_init
16197 # The final `:' finishes the AND list.
16198 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16200 ac_cr
=`echo X | tr X '\015'`
16201 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16202 # But we know of no other shell where ac_cr would be empty at this
16203 # point, so we can use a bashism as a fallback.
16204 if test "x$ac_cr" = x
; then
16205 eval ac_cr
=\$
\'\\r
\'
16207 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16208 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16211 ac_cs_awk_cr
=$ac_cr
16214 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16217 # Create commands to substitute file output variables.
16219 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16220 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
16221 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16224 } >conf$
$files.sh
&&
16225 . .
/conf$
$files.sh ||
16226 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16227 rm -f conf$
$files.sh
16230 echo "cat >conf$$subs.awk <<_ACEOF" &&
16231 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16233 } >conf$$subs.sh ||
16234 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16235 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16237 for ac_last_try in false false false false false :; do
16238 . ./conf$$subs.sh ||
16239 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16241 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16242 if test $ac_delim_n = $ac_delim_num; then
16244 elif $ac_last_try; then
16245 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16247 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16250 rm -f conf$$subs.sh
16252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16253 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16257 s/^/S["/; s
/!.
*/"]=/
16267 s/\(.\{148\}\)..*/\1/
16269 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16274 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16281 s/\(.\{148\}\)..*/\1/
16283 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16287 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16292 ' <conf$$subs.awk | sed '
16297 ' >>$CONFIG_STATUS || ac_write_fail=1
16298 rm -f conf$$subs.awk
16299 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16301 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16302 for (key in S) S_is_set[key] = 1
16304 \$ac_cs_awk_pipe_init
16308 nfields = split(line, field, "@
")
16310 len = length(field[1])
16311 for (i = 2; i < nfields; i++) {
16313 keylen = length(key)
16314 if (S_is_set[key]) {
16316 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16317 len += length(value) + length(field[++i])
16322 if (nfields == 3 && !substed) {
16324 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16325 \$ac_cs_awk_read_file
16331 \$ac_cs_awk_pipe_fini
16334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16335 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16336 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16339 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16340 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16343 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16344 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16345 # trailing colons and then remove the whole line if VPATH becomes empty
16346 # (actually we leave an empty line to preserve line numbers).
16347 if test "x
$srcdir" = x.; then
16348 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16366 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16367 fi # test -n "$CONFIG_FILES"
16369 # Set up the scripts for CONFIG_HEADERS section.
16370 # No need to generate them if there are no CONFIG_HEADERS.
16371 # This happens for instance with `./config.status Makefile'.
16372 if test -n "$CONFIG_HEADERS"; then
16373 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16377 # Transform confdefs.h into an awk script `defines.awk', embedded as
16378 # here-document in config.status, that substitutes the proper values into
16379 # config.h.in to produce config.h.
16381 # Create a delimiter string that does not exist in confdefs.h, to ease
16382 # handling of long lines.
16384 for ac_last_try in false false :; do
16385 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16386 if test -z "$ac_t"; then
16388 elif $ac_last_try; then
16389 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16391 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16395 # For the awk script, D is an array of macro values keyed by name,
16396 # likewise P contains macro parameters if any. Preserve backslash
16397 # newline sequences.
16399 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16401 s/.\{148\}/&'"$ac_delim"'/g
16404 s/^[ ]*#[ ]*define[ ][ ]*/ /
16411 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16413 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16417 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16418 D["\
1"]=" \
3\\\\\\n
"\\/p
16420 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16425 s/.\{148\}/&'"$ac_delim"'/g
16430 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16433 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16435 ' <confdefs.h | sed '
16436 s/'"$ac_delim"'/"\\\
16437 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16440 for (key in D) D_is_set[key] = 1
16443 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16445 split(line, arg, " ")
16446 if (arg[1] == "#") {
16450 defundef
= substr
(arg
[1], 2)
16453 split(mac1
, mac2
, "(") #)
16455 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16456 if (D_is_set
[macro
]) {
16457 # Preserve the white space surrounding the "#".
16458 print prefix
"define", macro P
[macro
] D
[macro
]
16461 # Replace #undef with comments. This is necessary, for example,
16462 # in the case of _POSIX_SOURCE, which is predefined and required
16463 # on some systems where configure will not decide to define it.
16464 if (defundef
== "undef") {
16465 print
"/*", prefix defundef
, macro
, "*/"
16473 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16474 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16475 fi # test -n "$CONFIG_HEADERS"
16478 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16483 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16485 case $ac_mode$ac_tag in
16487 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16488 :[FH
]-) ac_tag
=-:-;;
16489 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16506 -) ac_f
="$tmp/stdin";;
16507 *) # Look for the file first in the build tree, then in the source tree
16508 # (if the path is not absolute). The absolute path cannot be DOS-style,
16509 # because $ac_f cannot contain `:'.
16513 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16515 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16517 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16518 as_fn_append ac_file_inputs
" '$ac_f'"
16521 # Let's still pretend it is `configure' which instantiates (i.e., don't
16522 # use $as_me), people would be surprised to read:
16523 # /* config.h. Generated by config.status. */
16524 configure_input
='Generated from '`
16525 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16527 if test x
"$ac_file" != x-
; then
16528 configure_input
="$ac_file. $configure_input"
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16530 $as_echo "$as_me: creating $ac_file" >&6;}
16532 # Neutralize special characters interpreted by sed in replacement strings.
16533 case $configure_input in #(
16534 *\
&* |
*\|
* |
*\\* )
16535 ac_sed_conf_input
=`$as_echo "$configure_input" |
16536 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16537 *) ac_sed_conf_input
=$configure_input;;
16541 *:-:* |
*:-) cat >"$tmp/stdin" \
16542 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16547 ac_dir
=`$as_dirname -- "$ac_file" ||
16548 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16549 X"$ac_file" : 'X\(//\)[^/]' \| \
16550 X"$ac_file" : 'X\(//\)$' \| \
16551 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16552 $as_echo X"$ac_file" |
16553 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16557 /^X\(\/\/\)[^/].*/{
16570 as_dir
="$ac_dir"; as_fn_mkdir_p
16574 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16576 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16577 # A ".." for each directory in $ac_dir_suffix.
16578 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16579 case $ac_top_builddir_sub in
16580 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16581 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16584 ac_abs_top_builddir
=$ac_pwd
16585 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16586 # for backward compatibility:
16587 ac_top_builddir
=$ac_top_build_prefix
16590 .
) # We are building in place.
16592 ac_top_srcdir
=$ac_top_builddir_sub
16593 ac_abs_top_srcdir
=$ac_pwd ;;
16594 [\\/]* | ?
:[\\/]* ) # Absolute name.
16595 ac_srcdir
=$srcdir$ac_dir_suffix;
16596 ac_top_srcdir
=$srcdir
16597 ac_abs_top_srcdir
=$srcdir ;;
16598 *) # Relative name.
16599 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16600 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16601 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16603 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16613 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16614 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16618 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16619 # If the template does not know about datarootdir, expand it.
16620 # FIXME: This hack should be removed a few years after 2.60.
16621 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16632 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16633 *datarootdir
*) ac_datarootdir_seen
=yes;;
16634 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16636 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16638 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16639 ac_datarootdir_hack='
16640 s&@datadir@&$datadir&g
16641 s&@docdir@&$docdir&g
16642 s&@infodir@&$infodir&g
16643 s&@localedir@&$localedir&g
16644 s&@mandir@&$mandir&g
16645 s&\\\${datarootdir}&$datarootdir&g' ;;
16649 # Neutralize VPATH when `$srcdir' = `.'.
16650 # Shell code in configure.ac might set extrasub.
16651 # FIXME: do we really want to maintain this feature?
16652 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16653 ac_sed_extra="$ac_vpsub
16656 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16658 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16659 s|@configure_input@|
$ac_sed_conf_input|
;t t
16660 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16661 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16662 s
&@srcdir@
&$ac_srcdir&;t t
16663 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16664 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16665 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16666 s
&@builddir@
&$ac_builddir&;t t
16667 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16668 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16669 s
&@INSTALL@
&$ac_INSTALL&;t t
16670 $ac_datarootdir_hack
16672 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16673 if $ac_cs_awk_getline; then
16674 $AWK -f "$tmp/subs.
awk"
16676 $AWK -f "$tmp/subs.
awk" | $SHELL
16678 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16680 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16681 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16682 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16684 which seems to be undefined. Please make sure it is defined" >&5
16685 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16686 which seems to be undefined. Please make sure it is defined" >&2;}
16690 -) cat "$tmp/out" && rm -f "$tmp/out";;
16691 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16693 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16699 if test x"$ac_file" != x-; then
16701 $as_echo "/* $configure_input */" \
16702 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16703 } >"$tmp/config.h" \
16704 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16705 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16707 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16710 mv "$tmp/config.h" "$ac_file" \
16711 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16714 $as_echo "/* $configure_input */" \
16715 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16716 || as_fn_error $? "could not create -" "$LINENO" 5
16724 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16727 # Prefer the file from the source tree if names are identical.
16728 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16729 ac_source=$srcdir/$ac_source
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16733 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16735 if test ! -r "$ac_source"; then
16736 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16740 # Try a relative symlink, then a hard link, then a copy.
16742 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16743 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16745 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16746 ln "$ac_source" "$ac_file" 2>/dev/null ||
16747 cp -p "$ac_source" "$ac_file" ||
16748 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16751 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16752 $as_echo "$as_me: executing $ac_file commands" >&6;}
16757 case $ac_file$ac_mode in
16758 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16759 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16760 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16761 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16762 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16763 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16764 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16765 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16766 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16767 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16768 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16769 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16770 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16771 "Makefile":C) wine_fn_output_makefile Makefile ;;
16779 ac_clean_files=$ac_clean_files_save
16781 test $ac_write_fail = 0 ||
16782 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16785 # configure is writing to config.log, and then calls config.status.
16786 # config.status does its own redirection, appending to config.log.
16787 # Unfortunately, on DOS this fails, as config.log is still kept open
16788 # by configure, so config.status won't be able to
write to it
; its
16789 # output is simply discarded. So we exec the FD to /dev/null,
16790 # effectively closing config.log, so it can be properly (re)opened and
16791 # appended to by config.status. When coming back to configure, we
16792 # need to make the FD available again.
16793 if test "$no_create" != yes; then
16795 ac_config_status_args
=
16796 test "$silent" = yes &&
16797 ac_config_status_args
="$ac_config_status_args --quiet"
16799 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16801 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16802 # would make configure fail if this is the last instruction.
16803 $ac_cs_success || as_fn_exit
1
16805 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16807 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16811 if test "$no_create" = "yes"
16817 if test "x$wine_notices != "x
; then
16820 for msg
in $wine_notices; do
16822 if test -n "$msg"; then
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16824 $as_echo "$as_me: $msg" >&6;}
16829 for msg
in $wine_warnings; do
16831 if test -n "$msg"; then
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16834 $as_echo "$as_me: WARNING: $msg" >&2;}
16840 $as_me: Finished. Do '${ac_make}' to compile Wine.