2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.67 for Wine 1.3.12.
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.12'
556 PACKAGE_STRING
='Wine 1.3.12'
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
662 APPLICATIONSERVICESLIB
752 program_transform_name
763 ac_subst_files
='MAKE_RULES
769 enable_option_checking
773 enable_maintainer_mode
821 ac_precious_vars
='build_alias
836 # Initialize some variables set by options.
838 ac_init_version
=false
839 ac_unrecognized_opts
=
841 # The variables have the same names as the options, with
842 # dashes changed to underlines.
850 program_transform_name
=s
,x
,x
,
858 # Installation directory options.
859 # These are left unexpanded so users can "make install exec_prefix=/foo"
860 # and all the variables that are supposed to be based on exec_prefix
861 # by default will actually change.
862 # Use braces instead of parens because sh, perl, etc. also accept them.
863 # (The list follows the same order as the GNU Coding Standards.)
864 bindir
='${exec_prefix}/bin'
865 sbindir
='${exec_prefix}/sbin'
866 libexecdir
='${exec_prefix}/libexec'
867 datarootdir
='${prefix}/share'
868 datadir
='${datarootdir}'
869 sysconfdir
='${prefix}/etc'
870 sharedstatedir
='${prefix}/com'
871 localstatedir
='${prefix}/var'
872 includedir
='${prefix}/include'
873 oldincludedir
='/usr/include'
874 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
875 infodir
='${datarootdir}/info'
880 libdir
='${exec_prefix}/lib'
881 localedir
='${datarootdir}/locale'
882 mandir
='${datarootdir}/man'
888 # If the previous option needs an argument, assign it.
889 if test -n "$ac_prev"; then
890 eval $ac_prev=\
$ac_option
896 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
901 # Accept the important Cygnus configure options, so we can diagnose typos.
903 case $ac_dashdash$ac_option in
907 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
909 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
912 -build |
--build |
--buil |
--bui |
--bu)
913 ac_prev
=build_alias
;;
914 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
915 build_alias
=$ac_optarg ;;
917 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
918 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
919 ac_prev
=cache_file
;;
920 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
921 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
922 cache_file
=$ac_optarg ;;
925 cache_file
=config.cache
;;
927 -datadir |
--datadir |
--datadi |
--datad)
929 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
930 datadir
=$ac_optarg ;;
932 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
933 |
--dataroo |
--dataro |
--datar)
934 ac_prev
=datarootdir
;;
935 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
936 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
937 datarootdir
=$ac_optarg ;;
939 -disable-* |
--disable-*)
940 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
941 # Reject names that are not valid shell variable names.
942 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
943 as_fn_error $?
"invalid feature name: $ac_useropt"
944 ac_useropt_orig
=$ac_useropt
945 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
946 case $ac_user_opts in
950 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
951 ac_unrecognized_sep
=', ';;
953 eval enable_
$ac_useropt=no
;;
955 -docdir |
--docdir |
--docdi |
--doc |
--do)
957 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
960 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
962 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
965 -enable-* |
--enable-*)
966 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
967 # Reject names that are not valid shell variable names.
968 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
969 as_fn_error $?
"invalid feature name: $ac_useropt"
970 ac_useropt_orig
=$ac_useropt
971 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
972 case $ac_user_opts in
976 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
977 ac_unrecognized_sep
=', ';;
979 eval enable_
$ac_useropt=\
$ac_optarg ;;
981 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
982 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
983 |
--exec |
--exe |
--ex)
984 ac_prev
=exec_prefix
;;
985 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
986 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
987 |
--exec=* |
--exe=* |
--ex=*)
988 exec_prefix
=$ac_optarg ;;
990 -gas |
--gas |
--ga |
--g)
991 # Obsolete; use --with-gas.
994 -help |
--help |
--hel |
--he |
-h)
996 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
997 ac_init_help
=recursive
;;
998 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
999 ac_init_help
=short
;;
1001 -host |
--host |
--hos |
--ho)
1002 ac_prev
=host_alias
;;
1003 -host=* |
--host=* |
--hos=* |
--ho=*)
1004 host_alias
=$ac_optarg ;;
1006 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1008 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1010 htmldir
=$ac_optarg ;;
1012 -includedir |
--includedir |
--includedi |
--included |
--include \
1013 |
--includ |
--inclu |
--incl |
--inc)
1014 ac_prev
=includedir
;;
1015 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1016 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1017 includedir
=$ac_optarg ;;
1019 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1021 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1022 infodir
=$ac_optarg ;;
1024 -libdir |
--libdir |
--libdi |
--libd)
1026 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1027 libdir
=$ac_optarg ;;
1029 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1030 |
--libexe |
--libex |
--libe)
1031 ac_prev
=libexecdir
;;
1032 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1033 |
--libexe=* |
--libex=* |
--libe=*)
1034 libexecdir
=$ac_optarg ;;
1036 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1037 ac_prev
=localedir
;;
1038 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1039 localedir
=$ac_optarg ;;
1041 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1042 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1043 ac_prev
=localstatedir
;;
1044 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1045 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1046 localstatedir
=$ac_optarg ;;
1048 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1050 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1051 mandir
=$ac_optarg ;;
1053 -nfp |
--nfp |
--nf)
1054 # Obsolete; use --without-fp.
1057 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1058 |
--no-cr |
--no-c |
-n)
1061 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1062 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1065 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1066 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1067 |
--oldin |
--oldi |
--old |
--ol |
--o)
1068 ac_prev
=oldincludedir
;;
1069 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1070 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1071 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1072 oldincludedir
=$ac_optarg ;;
1074 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1076 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1077 prefix
=$ac_optarg ;;
1079 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1080 |
--program-pre |
--program-pr |
--program-p)
1081 ac_prev
=program_prefix
;;
1082 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1083 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1084 program_prefix
=$ac_optarg ;;
1086 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1087 |
--program-suf |
--program-su |
--program-s)
1088 ac_prev
=program_suffix
;;
1089 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1090 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1091 program_suffix
=$ac_optarg ;;
1093 -program-transform-name |
--program-transform-name \
1094 |
--program-transform-nam |
--program-transform-na \
1095 |
--program-transform-n |
--program-transform- \
1096 |
--program-transform |
--program-transfor \
1097 |
--program-transfo |
--program-transf \
1098 |
--program-trans |
--program-tran \
1099 |
--progr-tra |
--program-tr |
--program-t)
1100 ac_prev
=program_transform_name
;;
1101 -program-transform-name=* |
--program-transform-name=* \
1102 |
--program-transform-nam=* |
--program-transform-na=* \
1103 |
--program-transform-n=* |
--program-transform-=* \
1104 |
--program-transform=* |
--program-transfor=* \
1105 |
--program-transfo=* |
--program-transf=* \
1106 |
--program-trans=* |
--program-tran=* \
1107 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1108 program_transform_name
=$ac_optarg ;;
1110 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1112 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1113 pdfdir
=$ac_optarg ;;
1115 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1117 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1120 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1121 |
-silent |
--silent |
--silen |
--sile |
--sil)
1124 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1126 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1128 sbindir
=$ac_optarg ;;
1130 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1131 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1132 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1134 ac_prev
=sharedstatedir
;;
1135 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1136 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1137 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1139 sharedstatedir
=$ac_optarg ;;
1141 -site |
--site |
--sit)
1143 -site=* |
--site=* |
--sit=*)
1146 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1148 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1149 srcdir
=$ac_optarg ;;
1151 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1152 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1153 ac_prev
=sysconfdir
;;
1154 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1155 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1156 sysconfdir
=$ac_optarg ;;
1158 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1159 ac_prev
=target_alias
;;
1160 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1161 target_alias
=$ac_optarg ;;
1163 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1166 -version |
--version |
--versio |
--versi |
--vers |
-V)
1167 ac_init_version
=: ;;
1170 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1171 # Reject names that are not valid shell variable names.
1172 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1173 as_fn_error $?
"invalid package name: $ac_useropt"
1174 ac_useropt_orig
=$ac_useropt
1175 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1176 case $ac_user_opts in
1180 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1181 ac_unrecognized_sep
=', ';;
1183 eval with_
$ac_useropt=\
$ac_optarg ;;
1185 -without-* |
--without-*)
1186 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1187 # Reject names that are not valid shell variable names.
1188 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1189 as_fn_error $?
"invalid package name: $ac_useropt"
1190 ac_useropt_orig
=$ac_useropt
1191 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1192 case $ac_user_opts in
1196 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1197 ac_unrecognized_sep
=', ';;
1199 eval with_
$ac_useropt=no
;;
1202 # Obsolete; use --with-x.
1205 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1206 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1207 ac_prev
=x_includes
;;
1208 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1209 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1210 x_includes
=$ac_optarg ;;
1212 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1213 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1214 ac_prev
=x_libraries
;;
1215 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1216 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1217 x_libraries
=$ac_optarg ;;
1219 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1220 Try \`$0 --help' for more information"
1224 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1225 # Reject names that are not valid shell variable names.
1226 case $ac_envvar in #(
1227 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1228 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1230 eval $ac_envvar=\
$ac_optarg
1231 export $ac_envvar ;;
1234 # FIXME: should be removed in autoconf 3.0.
1235 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1236 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1237 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1238 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1244 if test -n "$ac_prev"; then
1245 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1246 as_fn_error $?
"missing argument to $ac_option"
1249 if test -n "$ac_unrecognized_opts"; then
1250 case $enable_option_checking in
1252 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1253 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1257 # Check all directory arguments for consistency.
1258 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1259 datadir sysconfdir sharedstatedir localstatedir includedir \
1260 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1261 libdir localedir mandir
1263 eval ac_val
=\$
$ac_var
1264 # Remove trailing slashes.
1267 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1268 eval $ac_var=\
$ac_val;;
1270 # Be sure to have absolute directory names.
1272 [\\/$
]* | ?
:[\\/]* ) continue;;
1273 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1275 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1278 # There might be people who depend on the old broken behavior: `$host'
1279 # used to hold the argument of --host etc.
1280 # FIXME: To remove some day.
1283 target
=$target_alias
1285 # FIXME: To remove some day.
1286 if test "x$host_alias" != x
; then
1287 if test "x$build_alias" = x
; then
1288 cross_compiling
=maybe
1289 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1290 If a cross compiler is detected then cross compile mode will be used" >&2
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1299 test "$silent" = yes && exec 6>/dev
/null
1302 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di
=`ls -di .` &&
1304 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $?
"working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $?
"pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted
=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir
=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted
=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1346 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 for ac_var
in $ac_precious_vars; do
1363 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1365 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures Wine 1.3.12 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --x-includes=DIR X include files are
in DIR
1435 --x-libraries=DIR X library files are
in DIR
1438 --build=BUILD configure
for building on BUILD
[guessed
]
1439 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1443 if test -n "$ac_init_help"; then
1444 case $ac_init_help in
1445 short | recursive
) echo "Configuration of Wine 1.3.12:";;
1450 --disable-option-checking ignore unrecognized
--enable/--with options
1451 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1452 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1453 --disable-win16 do not include Win16 support
1454 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1456 --disable-tests do not build the regression tests
1457 --enable-maintainer-mode
1458 enable maintainer-specific build rules
1459 --disable-largefile omit support for large files
1462 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1463 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1464 --without-alsa do not use the Alsa sound support
1465 --without-capi do not use CAPI (ISDN support)
1466 --without-cms do not use CMS (color management support)
1467 --without-coreaudio do not use the CoreAudio sound support
1468 --without-cups do not use CUPS
1469 --without-curses do not use (n)curses
1470 --without-esd do not use the EsounD sound support
1471 --without-fontconfig do not use fontconfig
1472 --without-freetype do not use the FreeType library
1473 --without-gettextpo do not use the GetTextPO library
1474 --without-gphoto do not use gphoto (Digital Camera support)
1475 --without-glu do not use the GLU library
1476 --without-gnutls do not use GnuTLS (schannel support)
1477 --without-gsm do not use libgsm (GSM 06.10 codec support)
1478 --without-gstreamer do not use GStreamer (codecs support)
1479 --without-hal do not use HAL (dynamic device support)
1480 --without-jack do not use the Jack sound support
1481 --without-jpeg do not use JPEG
1482 --without-ldap do not use LDAP
1483 --without-mpg123 do not use the mpg123 library
1484 --without-nas do not use the NAS sound support
1485 --without-openal do not use OpenAL
1486 --without-opencl do not use OpenCL
1487 --without-opengl do not use OpenGL
1488 --without-openssl do not use OpenSSL
1489 --without-oss do not use the OSS sound support
1490 --without-png do not use PNG
1491 --without-pthread do not use the pthread library
1492 --without-sane do not use SANE (scanner support)
1493 --without-tiff do not use TIFF
1494 --without-v4l do not use v4l1 (v4l support)
1495 --without-xcomposite do not use the Xcomposite extension
1496 --without-xcursor do not use the Xcursor extension
1497 --without-xinerama do not use Xinerama (multi-monitor support)
1498 --without-xinput do not use the Xinput extension
1499 --without-xml do not use XML
1500 --without-xrandr do not use Xrandr (resolution changes)
1501 --without-xrender do not use the Xrender extension
1502 --without-xshape do not use the Xshape extension
1503 --without-xshm do not use XShm (shared memory extension)
1504 --without-xslt do not use XSLT
1505 --without-xxf86vm do not use XFree video mode extension
1506 --with-wine-tools=DIR use Wine tools from directory DIR
1507 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1508 --with-x use the X Window System
1510 Some influential environment variables:
1511 CC C compiler command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1514 nonstandard directory <lib dir>
1515 LIBS libraries to pass to the linker, e.g. -l<library>
1516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1517 you have headers in a nonstandard directory <include dir>
1518 CXX C++ compiler command
1519 CXXFLAGS C++ compiler flags
1521 XMKMF Path to xmkmf, Makefile generator for X Window System
1523 Use these variables to override the choices made by `configure' or to
help
1524 it to
find libraries and programs with nonstandard names
/locations.
1526 Report bugs to
<wine-devel@winehq.org
>.
1527 Wine home page
: <http
://www.winehq.org
>.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1535 test -d "$ac_dir" ||
1536 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1541 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1543 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1548 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir
=$ac_pwd
1552 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir
=$ac_top_build_prefix
1557 .
) # We are building in place.
1559 ac_top_srcdir
=$ac_top_builddir_sub
1560 ac_abs_top_srcdir
=$ac_pwd ;;
1561 [\\/]* | ?
:[\\/]* ) # Absolute name.
1562 ac_srcdir
=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir
=$srcdir
1564 ac_abs_top_srcdir
=$srcdir ;;
1566 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1590 Wine configure
1.3.12
1591 generated by GNU Autoconf
2.67
1593 Copyright
(C
) 2010 Free Software Foundation
, Inc.
1594 This configure
script is free software
; the Free Software Foundation
1595 gives unlimited permission to copy
, distribute and modify it.
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile
()
1609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1610 rm -f conftest.
$ac_objext
1611 if { { ac_try
="$ac_compile"
1613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_compile") 2>conftest.err
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest.$ac_objext; then :
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_compile
1642 # ac_fn_cxx_try_compile LINENO
1643 # ----------------------------
1644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_cxx_try_compile ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext
1649 if { { ac_try="$ac_compile"
1651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1652 *) ac_try_echo
=$ac_try;;
1654 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_compile") 2>conftest.err
1658 if test -s conftest.err
; then
1659 grep -v '^ *+' conftest.err
>conftest.er1
1660 cat conftest.er1
>&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_cxx_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest.
$ac_objext; then :
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.
$ac_ext >&5
1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1676 as_fn_set_status
$ac_retval
1678 } # ac_fn_cxx_try_compile
1680 # ac_fn_c_try_link LINENO
1681 # -----------------------
1682 # Try to link conftest.$ac_ext, and return whether this succeeded.
1685 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1686 rm -f conftest.
$ac_objext conftest
$ac_exeext
1687 if { { ac_try
="$ac_link"
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_link") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } && {
1703 test -z "$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1705 } && test -s conftest$ac_exeext && {
1706 test "$cross_compiling" = yes ||
1707 $as_test_x conftest$ac_exeext
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1718 # interfere with the next link command; also delete a directory that is
1719 # left behind by Apple's compiler. We do this before executing the actions.
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 as_fn_set_status $ac_retval
1724 } # ac_fn_c_try_link
1726 # ac_fn_c_try_cpp LINENO
1727 # ----------------------
1728 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if { { ac_try="$ac_cpp conftest.$ac_ext"
1734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1735 *) ac_try_echo
=$ac_try;;
1737 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741 if test -s conftest.err
; then
1742 grep -v '^ *+' conftest.err
>conftest.er1
1743 cat conftest.er1
>&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } > conftest.i
&& {
1748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.
$ac_ext >&5
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1759 as_fn_set_status
$ac_retval
1763 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1764 # -------------------------------------------------------
1765 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1766 # the include files in INCLUDES and setting the cache variable VAR
1768 ac_fn_c_check_header_mongrel
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 if eval "test \"\${$3+set}\"" = set; then :
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if eval "test \"\${$3+set}\"" = set; then :
1775 $as_echo_n "(cached) " >&6
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1781 # Is the header compilable?
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1783 $as_echo_n "checking $2 usability... " >&6; }
1784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile
"$LINENO"; then :
1790 ac_header_compiler
=yes
1792 ac_header_compiler
=no
1794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1796 $as_echo "$ac_header_compiler" >&6; }
1798 # Is the header present?
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1800 $as_echo_n "checking $2 presence... " >&6; }
1801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1805 if ac_fn_c_try_cpp
"$LINENO"; then :
1806 ac_header_preproc
=yes
1808 ac_header_preproc
=no
1810 rm -f conftest.err conftest.i conftest.
$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1812 $as_echo "$ac_header_preproc" >&6; }
1814 # So? What about this header?
1815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1818 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1824 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1826 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1828 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1830 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1833 ( $as_echo "## ------------------------------------ ##
1834 ## Report this to wine-devel@winehq.org ##
1835 ## ------------------------------------ ##"
1836 ) |
sed "s/^/$as_me: WARNING: /" >&2
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1840 $as_echo_n "checking for $2... " >&6; }
1841 if eval "test \"\${$3+set}\"" = set; then :
1842 $as_echo_n "(cached) " >&6
1844 eval "$3=\$ac_header_compiler"
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1848 $as_echo "$ac_res" >&6; }
1850 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1852 } # ac_fn_c_check_header_mongrel
1854 # ac_fn_c_try_run LINENO
1855 # ----------------------
1856 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1857 # that executables *can* be run.
1860 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1861 if { { ac_try
="$ac_link"
1863 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1864 *) ac_try_echo=$ac_try;;
1866 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1867 $as_echo "$ac_try_echo"; } >&5
1868 (eval "$ac_link") 2>&5
1870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1871 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1872 { { case "(($ac_try" in
1873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1874 *) ac_try_echo
=$ac_try;;
1876 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1877 $as_echo "$ac_try_echo"; } >&5
1878 (eval "$ac_try") 2>&5
1880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1881 test $ac_status = 0; }; }; then :
1884 $as_echo "$as_me: program exited with status $ac_status" >&5
1885 $as_echo "$as_me: failed program was:" >&5
1886 sed 's/^/| /' conftest.
$ac_ext >&5
1888 ac_retval
=$ac_status
1890 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1891 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1892 as_fn_set_status
$ac_retval
1896 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1897 # -------------------------------------------------------
1898 # Tests whether HEADER exists and can be compiled using the include files in
1899 # INCLUDES, setting the cache variable VAR accordingly.
1900 ac_fn_c_check_header_compile
()
1902 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1904 $as_echo_n "checking for $2... " >&6; }
1905 if eval "test \"\${$3+set}\"" = set; then :
1906 $as_echo_n "(cached) " >&6
1908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1909 /* end confdefs.h. */
1913 if ac_fn_c_try_compile
"$LINENO"; then :
1918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1922 $as_echo "$ac_res" >&6; }
1923 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1925 } # ac_fn_c_check_header_compile
1927 # ac_fn_c_check_func LINENO FUNC VAR
1928 # ----------------------------------
1929 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1930 ac_fn_c_check_func
()
1932 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1934 $as_echo_n "checking for $2... " >&6; }
1935 if eval "test \"\${$3+set}\"" = set; then :
1936 $as_echo_n "(cached) " >&6
1938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1940 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1942 #define $2 innocuous_$2
1944 /* System header to define __stub macros and hopefully few prototypes,
1945 which can conflict with char $2 (); below.
1946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1947 <limits.h> exists even on freestanding compilers. */
1950 # include <limits.h>
1952 # include <assert.h>
1957 /* Override any GCC internal prototype to avoid an error.
1958 Use char because int might match the return type of a GCC
1959 builtin and then its argument prototype would still apply. */
1964 /* The GNU C library defines this for functions which it implements
1965 to always fail with ENOSYS. Some functions are actually named
1966 something starting with __ and the normal name is an alias. */
1967 #if defined __stub_$2 || defined __stub___$2
1979 if ac_fn_c_try_link
"$LINENO"; then :
1984 rm -f core conftest.err conftest.
$ac_objext \
1985 conftest
$ac_exeext conftest.
$ac_ext
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; }
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1992 } # ac_fn_c_check_func
1994 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1995 # ----------------------------------------------------
1996 # Tries to find if the field MEMBER exists in type AGGR, after including
1997 # INCLUDES, setting cache variable VAR accordingly.
1998 ac_fn_c_check_member
()
2000 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2002 $as_echo_n "checking for $2.$3... " >&6; }
2003 if eval "test \"\${$4+set}\"" = set; then :
2004 $as_echo_n "(cached) " >&6
2006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2007 /* end confdefs.h. */
2019 if ac_fn_c_try_compile
"$LINENO"; then :
2022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2023 /* end confdefs.h. */
2029 if (sizeof ac_aggr.$3)
2035 if ac_fn_c_try_compile
"$LINENO"; then :
2040 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2046 $as_echo "$ac_res" >&6; }
2047 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2049 } # ac_fn_c_check_member
2051 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2052 # -------------------------------------------
2053 # Tests whether TYPE exists after having included INCLUDES, setting cache
2054 # variable VAR accordingly.
2055 ac_fn_c_check_type
()
2057 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2059 $as_echo_n "checking for $2... " >&6; }
2060 if eval "test \"\${$3+set}\"" = set; then :
2061 $as_echo_n "(cached) " >&6
2064 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2065 /* end confdefs.h. */
2076 if ac_fn_c_try_compile
"$LINENO"; then :
2077 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2078 /* end confdefs.h. */
2089 if ac_fn_c_try_compile
"$LINENO"; then :
2094 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2100 $as_echo "$ac_res" >&6; }
2101 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2103 } # ac_fn_c_check_type
2104 cat >config.log
<<_ACEOF
2105 This file contains any messages produced by compilers while
2106 running configure, to aid debugging if configure makes a mistake.
2108 It was created by Wine $as_me 1.3.12, which was
2109 generated by GNU Autoconf 2.67. Invocation command line was
2121 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2122 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2123 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2124 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2125 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2127 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2128 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2130 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2131 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2132 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2133 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2134 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2135 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2136 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2140 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2144 test -z "$as_dir" && as_dir
=.
2145 $as_echo "PATH: $as_dir"
2161 # Keep a trace of the command line.
2162 # Strip out --no-create and --no-recursion so they do not pile up.
2163 # Strip out --silent because we don't want to record it for future runs.
2164 # Also quote any args containing shell meta-characters.
2165 # Make two passes to allow for proper duplicate-argument suppression.
2169 ac_must_keep_next
=false
2175 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2176 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2177 |
-silent |
--silent |
--silen |
--sile |
--sil)
2180 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2183 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2185 as_fn_append ac_configure_args1
" '$ac_arg'"
2186 if test $ac_must_keep_next = true
; then
2187 ac_must_keep_next
=false
# Got value, back to normal.
2190 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2191 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2192 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2193 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2194 case "$ac_configure_args0 " in
2195 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2198 -* ) ac_must_keep_next
=true
;;
2201 as_fn_append ac_configure_args
" '$ac_arg'"
2206 { ac_configure_args0
=; unset ac_configure_args0
;}
2207 { ac_configure_args1
=; unset ac_configure_args1
;}
2209 # When interrupted or exit'd, cleanup temporary files, and complete
2210 # config.log. We remove comments because anyway the quotes in there
2211 # would cause problems or look ugly.
2212 # WARNING: Use '\'' to represent an apostrophe within the trap.
2213 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2214 trap 'exit_status=$?
2215 # Save into config.log some information that might help in debugging.
2219 $as_echo "## ---------------- ##
2220 ## Cache variables. ##
2221 ## ---------------- ##"
2223 # The following way of writing the cache mishandles newlines in values,
2225 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2226 eval ac_val=\$$ac_var
2230 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2231 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2234 _ | IFS | as_nl) ;; #(
2235 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2236 *) { eval $ac_var=; unset $ac_var;} ;;
2241 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2242 *${as_nl}ac_space=\ *)
2244 "s/'\''/'\''\\\\'\'''\''/g;
2245 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2248 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2255 $as_echo "## ----------------- ##
2256 ## Output variables. ##
2257 ## ----------------- ##"
2259 for ac_var in $ac_subst_vars
2261 eval ac_val=\$$ac_var
2263 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2265 $as_echo "$ac_var='\''$ac_val'\''"
2269 if test -n "$ac_subst_files"; then
2270 $as_echo "## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##"
2274 for ac_var
in $ac_subst_files
2276 eval ac_val
=\$
$ac_var
2278 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2280 $as_echo "$ac_var='\''$ac_val'\''"
2285 if test -s confdefs.h; then
2286 $as_echo "## ----------- ##
2293 test "$ac_signal" != 0 &&
2294 $as_echo "$as_me: caught signal $ac_signal"
2295 $as_echo "$as_me: exit $exit_status"
2297 rm -f core *.core core.conftest.* &&
2298 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2301 for ac_signal
in 1 2 13 15; do
2302 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2306 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2307 rm -f -r conftest
* confdefs.h
2309 $as_echo "/* confdefs.h */" > confdefs.h
2311 # Predefined preprocessor variables.
2313 cat >>confdefs.h
<<_ACEOF
2314 #define PACKAGE_NAME "$PACKAGE_NAME"
2317 cat >>confdefs.h
<<_ACEOF
2318 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2321 cat >>confdefs.h
<<_ACEOF
2322 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2325 cat >>confdefs.h
<<_ACEOF
2326 #define PACKAGE_STRING "$PACKAGE_STRING"
2329 cat >>confdefs.h
<<_ACEOF
2330 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2333 cat >>confdefs.h
<<_ACEOF
2334 #define PACKAGE_URL "$PACKAGE_URL"
2338 # Let the site file select an alternate cache file if it wants to.
2339 # Prefer an explicitly selected file to automatically selected ones.
2342 if test -n "$CONFIG_SITE"; then
2343 # We do not want a PATH search for config.site.
2344 case $CONFIG_SITE in #((
2345 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2346 */*) ac_site_file1
=$CONFIG_SITE;;
2347 *) ac_site_file1
=.
/$CONFIG_SITE;;
2349 elif test "x$prefix" != xNONE
; then
2350 ac_site_file1
=$prefix/share
/config.site
2351 ac_site_file2
=$prefix/etc
/config.site
2353 ac_site_file1
=$ac_default_prefix/share
/config.site
2354 ac_site_file2
=$ac_default_prefix/etc
/config.site
2356 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2358 test "x$ac_site_file" = xNONE
&& continue
2359 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2360 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2361 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2362 sed 's/^/| /' "$ac_site_file" >&5
2364 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 as_fn_error $?
"failed to load site script $ac_site_file
2367 See \`config.log' for more details" "$LINENO" 5 ; }
2371 if test -r "$cache_file"; then
2372 # Some versions of bash will fail to source /dev/null (special files
2373 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2374 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2375 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2376 $as_echo "$as_me: loading cache $cache_file" >&6;}
2378 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2379 *) .
"./$cache_file";;
2383 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2384 $as_echo "$as_me: creating cache $cache_file" >&6;}
2388 # Check that the precious variables saved in the cache have kept the same
2390 ac_cache_corrupted
=false
2391 for ac_var
in $ac_precious_vars; do
2392 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2393 eval ac_new_set
=\
$ac_env_${ac_var}_set
2394 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2395 eval ac_new_val
=\
$ac_env_${ac_var}_value
2396 case $ac_old_set,$ac_new_set in
2398 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2399 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2400 ac_cache_corrupted
=: ;;
2402 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2403 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2404 ac_cache_corrupted
=: ;;
2407 if test "x$ac_old_val" != "x$ac_new_val"; then
2408 # differences in whitespace do not lead to failure.
2409 ac_old_val_w
=`echo x $ac_old_val`
2410 ac_new_val_w
=`echo x $ac_new_val`
2411 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2413 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2414 ac_cache_corrupted
=:
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2417 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2418 eval $ac_var=\
$ac_old_val
2420 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2421 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2422 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2423 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2426 # Pass precious variables to config.status.
2427 if test "$ac_new_set" = set; then
2429 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2430 *) ac_arg
=$ac_var=$ac_new_val ;;
2432 case " $ac_configure_args " in
2433 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2434 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2438 if $ac_cache_corrupted; then
2439 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2442 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2443 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2445 ## -------------------- ##
2446 ## Main body of script. ##
2447 ## -------------------- ##
2450 ac_cpp
='$CPP $CPPFLAGS'
2451 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2452 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2453 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2457 ac_config_headers
="$ac_config_headers include/config.h"
2460 for ac_dir
in tools
"$srcdir"/tools
; do
2461 if test -f "$ac_dir/install-sh"; then
2463 ac_install_sh
="$ac_aux_dir/install-sh -c"
2465 elif test -f "$ac_dir/install.sh"; then
2467 ac_install_sh
="$ac_aux_dir/install.sh -c"
2469 elif test -f "$ac_dir/shtool"; then
2471 ac_install_sh
="$ac_aux_dir/shtool install -c"
2475 if test -z "$ac_aux_dir"; then
2476 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2479 # These three variables are undocumented and unsupported,
2480 # and are intended to be withdrawn in a future Autoconf release.
2481 # They can cause serious problems if a builder's source tree is in a directory
2482 # whose full name contains unusual characters.
2483 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2484 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2485 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2491 # Check whether --enable-win16 was given.
2492 if test "${enable_win16+set}" = set; then :
2493 enableval
=$enable_win16;
2496 # Check whether --enable-win64 was given.
2497 if test "${enable_win64+set}" = set; then :
2498 enableval
=$enable_win64;
2501 # Check whether --enable-tests was given.
2502 if test "${enable_tests+set}" = set; then :
2503 enableval
=$enable_tests;
2506 # Check whether --enable-maintainer-mode was given.
2507 if test "${enable_maintainer_mode+set}" = set; then :
2508 enableval
=$enable_maintainer_mode;
2513 # Check whether --with-alsa was given.
2514 if test "${with_alsa+set}" = set; then :
2515 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2519 # Check whether --with-capi was given.
2520 if test "${with_capi+set}" = set; then :
2521 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2525 # Check whether --with-cms was given.
2526 if test "${with_cms+set}" = set; then :
2527 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2531 # Check whether --with-coreaudio was given.
2532 if test "${with_coreaudio+set}" = set; then :
2533 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2537 # Check whether --with-cups was given.
2538 if test "${with_cups+set}" = set; then :
2543 # Check whether --with-curses was given.
2544 if test "${with_curses+set}" = set; then :
2545 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2549 # Check whether --with-esd was given.
2550 if test "${with_esd+set}" = set; then :
2555 # Check whether --with-fontconfig was given.
2556 if test "${with_fontconfig+set}" = set; then :
2557 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2561 # Check whether --with-freetype was given.
2562 if test "${with_freetype+set}" = set; then :
2563 withval
=$with_freetype;
2567 # Check whether --with-gettextpo was given.
2568 if test "${with_gettextpo+set}" = set; then :
2569 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2573 # Check whether --with-gphoto was given.
2574 if test "${with_gphoto+set}" = set; then :
2575 withval
=$with_gphoto;
2579 # Check whether --with-glu was given.
2580 if test "${with_glu+set}" = set; then :
2581 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2585 # Check whether --with-gnutls was given.
2586 if test "${with_gnutls+set}" = set; then :
2587 withval
=$with_gnutls;
2591 # Check whether --with-gsm was given.
2592 if test "${with_gsm+set}" = set; then :
2593 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2597 # Check whether --with-gstreamer was given.
2598 if test "${with_gstreamer+set}" = set; then :
2599 withval
=$with_gstreamer;
2603 # Check whether --with-hal was given.
2604 if test "${with_hal+set}" = set; then :
2609 # Check whether --with-jack was given.
2610 if test "${with_jack+set}" = set; then :
2611 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2615 # Check whether --with-jpeg was given.
2616 if test "${with_jpeg+set}" = set; then :
2617 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2621 # Check whether --with-ldap was given.
2622 if test "${with_ldap+set}" = set; then :
2623 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2627 # Check whether --with-mpg123 was given.
2628 if test "${with_mpg123+set}" = set; then :
2629 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2633 # Check whether --with-nas was given.
2634 if test "${with_nas+set}" = set; then :
2635 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2639 # Check whether --with-openal was given.
2640 if test "${with_openal+set}" = set; then :
2641 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2645 # Check whether --with-opencl was given.
2646 if test "${with_opencl+set}" = set; then :
2647 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2651 # Check whether --with-opengl was given.
2652 if test "${with_opengl+set}" = set; then :
2653 withval
=$with_opengl;
2657 # Check whether --with-openssl was given.
2658 if test "${with_openssl+set}" = set; then :
2659 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2663 # Check whether --with-oss was given.
2664 if test "${with_oss+set}" = set; then :
2665 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
2669 # Check whether --with-png was given.
2670 if test "${with_png+set}" = set; then :
2671 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2675 # Check whether --with-pthread was given.
2676 if test "${with_pthread+set}" = set; then :
2677 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2681 # Check whether --with-sane was given.
2682 if test "${with_sane+set}" = set; then :
2687 # Check whether --with-tiff was given.
2688 if test "${with_tiff+set}" = set; then :
2689 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2693 # Check whether --with-v4l was given.
2694 if test "${with_v4l+set}" = set; then :
2699 # Check whether --with-xcomposite was given.
2700 if test "${with_xcomposite+set}" = set; then :
2701 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2705 # Check whether --with-xcursor was given.
2706 if test "${with_xcursor+set}" = set; then :
2707 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2711 # Check whether --with-xinerama was given.
2712 if test "${with_xinerama+set}" = set; then :
2713 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2717 # Check whether --with-xinput was given.
2718 if test "${with_xinput+set}" = set; then :
2719 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2723 # Check whether --with-xml was given.
2724 if test "${with_xml+set}" = set; then :
2729 # Check whether --with-xrandr was given.
2730 if test "${with_xrandr+set}" = set; then :
2731 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2735 # Check whether --with-xrender was given.
2736 if test "${with_xrender+set}" = set; then :
2737 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2741 # Check whether --with-xshape was given.
2742 if test "${with_xshape+set}" = set; then :
2743 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2747 # Check whether --with-xshm was given.
2748 if test "${with_xshm+set}" = set; then :
2749 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2753 # Check whether --with-xslt was given.
2754 if test "${with_xslt+set}" = set; then :
2759 # Check whether --with-xxf86vm was given.
2760 if test "${with_xxf86vm+set}" = set; then :
2761 withval
=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h
=no
; ac_cv_header_X11_extensions_xf86vmproto_h
=no
; fi
2766 # Check whether --with-wine-tools was given.
2767 if test "${with_wine_tools+set}" = set; then :
2768 withval
=$with_wine_tools;
2772 # Check whether --with-wine64 was given.
2773 if test "${with_wine64+set}" = set; then :
2774 withval
=$with_wine64;
2778 # Make sure we can run config.sub.
2779 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2780 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2783 $as_echo_n "checking build system type... " >&6; }
2784 if test "${ac_cv_build+set}" = set; then :
2785 $as_echo_n "(cached) " >&6
2787 ac_build_alias
=$build_alias
2788 test "x$ac_build_alias" = x
&&
2789 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2790 test "x$ac_build_alias" = x
&&
2791 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2792 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2793 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2797 $as_echo "$ac_cv_build" >&6; }
2798 case $ac_cv_build in
2800 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5 ;;
2803 ac_save_IFS
=$IFS; IFS
='-'
2809 # Remember, the first character of IFS is used to create $*,
2810 # except with old shells:
2813 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2817 $as_echo_n "checking host system type... " >&6; }
2818 if test "${ac_cv_host+set}" = set; then :
2819 $as_echo_n "(cached) " >&6
2821 if test "x$host_alias" = x
; then
2822 ac_cv_host
=$ac_cv_build
2824 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2825 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2830 $as_echo "$ac_cv_host" >&6; }
2833 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5 ;;
2836 ac_save_IFS
=$IFS; IFS
='-'
2842 # Remember, the first character of IFS is used to create $*,
2843 # except with old shells:
2846 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2852 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2853 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2854 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2860 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2862 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2863 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2864 $as_echo_n "(cached) " >&6
2866 cat >conftest.
make <<\_ACEOF
2869 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2872 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2874 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2876 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2880 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2882 $as_echo "yes" >&6; }
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2887 SET_MAKE
="MAKE=${MAKE-make}"
2891 ac_cpp
='$CPP $CPPFLAGS'
2892 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2895 if test -n "$ac_tool_prefix"; then
2896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2897 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2899 $as_echo_n "checking for $ac_word... " >&6; }
2900 if test "${ac_cv_prog_CC+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 if test -n "$CC"; then
2904 ac_cv_prog_CC
="$CC" # Let the user override the test.
2906 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2910 test -z "$as_dir" && as_dir
=.
2911 for ac_exec_ext
in '' $ac_executable_extensions; do
2912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2913 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 if test -n "$CC"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2926 $as_echo "$CC" >&6; }
2928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2929 $as_echo "no" >&6; }
2934 if test -z "$ac_cv_prog_CC"; then
2936 # Extract the first word of "gcc", so it can be a program name with args.
2937 set dummy gcc
; ac_word
=$2
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2939 $as_echo_n "checking for $ac_word... " >&6; }
2940 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2941 $as_echo_n "(cached) " >&6
2943 if test -n "$ac_ct_CC"; then
2944 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2946 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2950 test -z "$as_dir" && as_dir
=.
2951 for ac_exec_ext
in '' $ac_executable_extensions; do
2952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2953 ac_cv_prog_ac_ct_CC
="gcc"
2954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2963 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2964 if test -n "$ac_ct_CC"; then
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2966 $as_echo "$ac_ct_CC" >&6; }
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2969 $as_echo "no" >&6; }
2972 if test "x$ac_ct_CC" = x
; then
2975 case $cross_compiling:$ac_tool_warned in
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2979 ac_tool_warned
=yes ;;
2987 if test -z "$CC"; then
2988 if test -n "$ac_tool_prefix"; then
2989 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2990 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2992 $as_echo_n "checking for $ac_word... " >&6; }
2993 if test "${ac_cv_prog_CC+set}" = set; then :
2994 $as_echo_n "(cached) " >&6
2996 if test -n "$CC"; then
2997 ac_cv_prog_CC
="$CC" # Let the user override the test.
2999 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3003 test -z "$as_dir" && as_dir
=.
3004 for ac_exec_ext
in '' $ac_executable_extensions; do
3005 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3006 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3007 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3017 if test -n "$CC"; then
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3019 $as_echo "$CC" >&6; }
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3022 $as_echo "no" >&6; }
3028 if test -z "$CC"; then
3029 # Extract the first word of "cc", so it can be a program name with args.
3030 set dummy cc
; ac_word
=$2
3031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3032 $as_echo_n "checking for $ac_word... " >&6; }
3033 if test "${ac_cv_prog_CC+set}" = set; then :
3034 $as_echo_n "(cached) " >&6
3036 if test -n "$CC"; then
3037 ac_cv_prog_CC
="$CC" # Let the user override the test.
3040 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3044 test -z "$as_dir" && as_dir
=.
3045 for ac_exec_ext
in '' $ac_executable_extensions; do
3046 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3047 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3048 ac_prog_rejected
=yes
3052 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3059 if test $ac_prog_rejected = yes; then
3060 # We found a bogon in the path, so make sure we never use it.
3061 set dummy
$ac_cv_prog_CC
3063 if test $# != 0; then
3064 # We chose a different compiler from the bogus one.
3065 # However, it has the same basename, so the bogon will be chosen
3066 # first if we set CC to just the basename; use the full file name.
3068 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3074 if test -n "$CC"; then
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3076 $as_echo "$CC" >&6; }
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3079 $as_echo "no" >&6; }
3084 if test -z "$CC"; then
3085 if test -n "$ac_tool_prefix"; then
3086 for ac_prog
in cl.exe
3088 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3089 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3091 $as_echo_n "checking for $ac_word... " >&6; }
3092 if test "${ac_cv_prog_CC+set}" = set; then :
3093 $as_echo_n "(cached) " >&6
3095 if test -n "$CC"; then
3096 ac_cv_prog_CC
="$CC" # Let the user override the test.
3098 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3102 test -z "$as_dir" && as_dir
=.
3103 for ac_exec_ext
in '' $ac_executable_extensions; do
3104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3105 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3116 if test -n "$CC"; then
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3118 $as_echo "$CC" >&6; }
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3121 $as_echo "no" >&6; }
3125 test -n "$CC" && break
3128 if test -z "$CC"; then
3130 for ac_prog
in cl.exe
3132 # Extract the first word of "$ac_prog", so it can be a program name with args.
3133 set dummy
$ac_prog; ac_word
=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$ac_ct_CC"; then
3140 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir
=.
3147 for ac_exec_ext
in '' $ac_executable_extensions; do
3148 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3149 ac_cv_prog_ac_ct_CC
="$ac_prog"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3160 if test -n "$ac_ct_CC"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3162 $as_echo "$ac_ct_CC" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3169 test -n "$ac_ct_CC" && break
3172 if test "x$ac_ct_CC" = x
; then
3175 case $cross_compiling:$ac_tool_warned in
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3178 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3179 ac_tool_warned
=yes ;;
3188 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3189 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3190 as_fn_error $?
"no acceptable C compiler found in \$PATH
3191 See \`config.log' for more details" "$LINENO" 5 ; }
3193 # Provide some information about the compiler.
3194 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3197 for ac_option
in --version -v -V -qversion; do
3198 { { ac_try
="$ac_compiler $ac_option >&5"
3200 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3201 *) ac_try_echo=$ac_try;;
3203 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3204 $as_echo "$ac_try_echo"; } >&5
3205 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3207 if test -s conftest.err; then
3209 ... rest of stderr output deleted ...
3210 10q' conftest.err >conftest.er1
3211 cat conftest.er1 >&5
3213 rm -f conftest.er1 conftest.err
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3229 ac_clean_files_save=$ac_clean_files
3230 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3231 # Try to create an executable without -o first, disregard a.out.
3232 # It will help us diagnose broken compilers, and finding out an intuition
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3235 $as_echo_n "checking whether the C compiler works... " >&6; }
3236 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3238 # The possible output files:
3239 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3242 for ac_file in $ac_files
3245 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3246 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3251 if { { ac_try="$ac_link_default"
3253 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3254 *) ac_try_echo
=$ac_try;;
3256 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_link_default") 2>&5
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }; then :
3262 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3263 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3264 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3265 # so that the user can short-circuit this test for compilers unknown to
3267 for ac_file
in $ac_files ''
3269 test -f "$ac_file" ||
continue
3271 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3274 # We found the default executable, but exeext='' is most
3278 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3280 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3282 # We set ac_cv_exeext here because the later test for it is not
3283 # safe: cross compilers may not add the suffix if given an `-o'
3284 # argument, so we may need to know it at that point already.
3285 # Even if this section looks crufty: it has the advantage of
3292 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3297 if test -z "$ac_file"; then :
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3299 $as_echo "no" >&6; }
3300 $as_echo "$as_me: failed program was:" >&5
3301 sed 's/^/| /' conftest.
$ac_ext >&5
3303 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3304 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3305 as_fn_error
77 "C compiler cannot create executables
3306 See \`config.log' for more details" "$LINENO" 5 ; }
3308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3309 $as_echo "yes" >&6; }
3311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3312 $as_echo_n "checking for C compiler default output file name... " >&6; }
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3314 $as_echo "$ac_file" >&6; }
3315 ac_exeext
=$ac_cv_exeext
3317 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3318 ac_clean_files
=$ac_clean_files_save
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3320 $as_echo_n "checking for suffix of executables... " >&6; }
3321 if { { ac_try
="$ac_link"
3323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3324 *) ac_try_echo=$ac_try;;
3326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3327 $as_echo "$ac_try_echo"; } >&5
3328 (eval "$ac_link") 2>&5
3330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3331 test $ac_status = 0; }; then :
3332 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3333 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3334 # work properly (i.e., refer to `conftest.exe'), while it won't with
3336 for ac_file
in conftest.exe conftest conftest.
*; do
3337 test -f "$ac_file" ||
continue
3339 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3340 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3346 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3347 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3348 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3349 See \`config.log' for more details" "$LINENO" 5 ; }
3351 rm -f conftest conftest
$ac_cv_exeext
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3353 $as_echo "$ac_cv_exeext" >&6; }
3355 rm -f conftest.
$ac_ext
3356 EXEEXT
=$ac_cv_exeext
3358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3359 /* end confdefs.h. */
3364 FILE *f = fopen ("conftest.out", "w");
3365 return ferror (f) || fclose (f) != 0;
3371 ac_clean_files
="$ac_clean_files conftest.out"
3372 # Check that the compiler produces executables we can run. If not, either
3373 # the compiler is broken, or we cross compile.
3374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3375 $as_echo_n "checking whether we are cross compiling... " >&6; }
3376 if test "$cross_compiling" != yes; then
3377 { { ac_try
="$ac_link"
3379 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3380 *) ac_try_echo=$ac_try;;
3382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3383 $as_echo "$ac_try_echo"; } >&5
3384 (eval "$ac_link") 2>&5
3386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3387 test $ac_status = 0; }
3388 if { ac_try='./conftest$ac_cv_exeext'
3389 { { case "(($ac_try" in
3390 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3391 *) ac_try_echo
=$ac_try;;
3393 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3394 $as_echo "$ac_try_echo"; } >&5
3395 (eval "$ac_try") 2>&5
3397 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3398 test $ac_status = 0; }; }; then
3401 if test "$cross_compiling" = maybe
; then
3404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3406 as_fn_error $?
"cannot run C compiled programs.
3407 If you meant to cross compile, use \`--host'.
3408 See \`config.log' for more details" "$LINENO" 5 ; }
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3413 $as_echo "$cross_compiling" >&6; }
3415 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3416 ac_clean_files
=$ac_clean_files_save
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3418 $as_echo_n "checking for suffix of object files... " >&6; }
3419 if test "${ac_cv_objext+set}" = set; then :
3420 $as_echo_n "(cached) " >&6
3422 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3423 /* end confdefs.h. */
3433 rm -f conftest.o conftest.obj
3434 if { { ac_try
="$ac_compile"
3436 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3437 *) ac_try_echo=$ac_try;;
3439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3440 $as_echo "$ac_try_echo"; } >&5
3441 (eval "$ac_compile") 2>&5
3443 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3444 test $ac_status = 0; }; then :
3445 for ac_file in conftest.o conftest.obj conftest.*; do
3446 test -f "$ac_file" || continue;
3448 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3449 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3454 $as_echo "$as_me: failed program was:" >&5
3455 sed 's/^/| /' conftest.$ac_ext >&5
3457 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3458 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3459 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3460 See \
`config.log' for more details" "$LINENO" 5 ; }
3462 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3465 $as_echo "$ac_cv_objext" >&6; }
3466 OBJEXT=$ac_cv_objext
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3469 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3470 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3471 $as_echo_n "(cached) " >&6
3473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3474 /* end confdefs.h. */
3487 if ac_fn_c_try_compile "$LINENO"; then :
3492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3493 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3497 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3498 if test $ac_compiler_gnu = yes; then
3503 ac_test_CFLAGS=${CFLAGS+set}
3504 ac_save_CFLAGS=$CFLAGS
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3506 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3507 if test "${ac_cv_prog_cc_g+set}" = set; then :
3508 $as_echo_n "(cached) " >&6
3510 ac_save_c_werror_flag=$ac_c_werror_flag
3511 ac_c_werror_flag=yes
3514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3515 /* end confdefs.h. */
3525 if ac_fn_c_try_compile "$LINENO"; then :
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3540 if ac_fn_c_try_compile "$LINENO"; then :
3543 ac_c_werror_flag=$ac_save_c_werror_flag
3545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3546 /* end confdefs.h. */
3556 if ac_fn_c_try_compile "$LINENO"; then :
3559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3564 ac_c_werror_flag=$ac_save_c_werror_flag
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3567 $as_echo "$ac_cv_prog_cc_g" >&6; }
3568 if test "$ac_test_CFLAGS" = set; then
3569 CFLAGS=$ac_save_CFLAGS
3570 elif test $ac_cv_prog_cc_g = yes; then
3571 if test "$GCC" = yes; then
3577 if test "$GCC" = yes; then
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3584 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3585 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3586 $as_echo_n "(cached) " >&6
3588 ac_cv_prog_cc_c89=no
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3594 #include <sys/types.h>
3595 #include <sys/stat.h>
3596 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3597 struct buf { int x; };
3598 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3599 static char *e (p, i)
3605 static char *f (char * (*g) (char **, int), char **p, ...)
3610 s = g (p, va_arg (v,int));
3615 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3616 function prototypes and stuff, but not '\xHH' hex character constants.
3617 These don't provoke an error unfortunately, instead are silently treated
3618 as 'x'. The following induces an error, until -std is added to get
3619 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3620 array size at least. It's necessary to write '\x00'==0 to get something
3621 that's true only with -std. */
3622 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3624 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3625 inside strings and character constants. */
3627 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3629 int test (int i, double x);
3630 struct s1 {int (*f) (int a);};
3631 struct s2 {int (*f) (double a);};
3632 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3638 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3643 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3644 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3646 CC="$ac_save_CC $ac_arg"
3647 if ac_fn_c_try_compile "$LINENO"; then :
3648 ac_cv_prog_cc_c89=$ac_arg
3650 rm -f core conftest.err conftest.$ac_objext
3651 test "x$ac_cv_prog_cc_c89" != "xno" && break
3653 rm -f conftest.$ac_ext
3658 case "x$ac_cv_prog_cc_c89" in
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3661 $as_echo "none needed" >&6; } ;;
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3664 $as_echo "unsupported" >&6; } ;;
3666 CC="$CC $ac_cv_prog_cc_c89"
3667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3668 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3670 if test "x$ac_cv_prog_cc_c89" != xno; then :
3675 ac_cpp='$CPP $CPPFLAGS'
3676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3681 ac_cpp='$CXXCPP $CPPFLAGS'
3682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3685 if test -z "$CXX"; then
3686 if test -n "$CCC"; then
3689 if test -n "$ac_tool_prefix"; then
3690 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3692 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3693 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3695 $as_echo_n "checking for $ac_word... " >&6; }
3696 if test "${ac_cv_prog_CXX+set}" = set; then :
3697 $as_echo_n "(cached) " >&6
3699 if test -n "$CXX"; then
3700 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3720 if test -n "$CXX"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3722 $as_echo "$CXX" >&6; }
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3725 $as_echo "no" >&6; }
3729 test -n "$CXX" && break
3732 if test -z "$CXX"; then
3734 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3736 # Extract the first word of "$ac_prog", so it can be a program name with args.
3737 set dummy $ac_prog; ac_word=$2
3738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3739 $as_echo_n "checking for $ac_word... " >&6; }
3740 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3741 $as_echo_n "(cached) " >&6
3743 if test -n "$ac_ct_CXX"; then
3744 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3750 test -z "$as_dir" && as_dir=.
3751 for ac_exec_ext in '' $ac_executable_extensions; do
3752 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3753 ac_cv_prog_ac_ct_CXX="$ac_prog"
3754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3763 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3764 if test -n "$ac_ct_CXX"; then
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3766 $as_echo "$ac_ct_CXX" >&6; }
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3769 $as_echo "no" >&6; }
3773 test -n "$ac_ct_CXX" && break
3776 if test "x$ac_ct_CXX" = x; then
3779 case $cross_compiling:$ac_tool_warned in
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3782 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3783 ac_tool_warned=yes ;;
3791 # Provide some information about the compiler.
3792 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3795 for ac_option in --version -v -V -qversion; do
3796 { { ac_try="$ac_compiler $ac_option >&5"
3798 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3799 *) ac_try_echo
=$ac_try;;
3801 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3802 $as_echo "$ac_try_echo"; } >&5
3803 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3805 if test -s conftest.err
; then
3807 ... rest of stderr output deleted ...
3808 10q' conftest.err
>conftest.er1
3809 cat conftest.er1
>&5
3811 rm -f conftest.er1 conftest.err
3812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3813 test $ac_status = 0; }
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3817 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3818 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3819 $as_echo_n "(cached) " >&6
3821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3822 /* end confdefs.h. */
3835 if ac_fn_cxx_try_compile
"$LINENO"; then :
3840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3841 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3845 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3846 if test $ac_compiler_gnu = yes; then
3851 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3852 ac_save_CXXFLAGS
=$CXXFLAGS
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3854 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3855 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3856 $as_echo_n "(cached) " >&6
3858 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3859 ac_cxx_werror_flag
=yes
3862 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3873 if ac_fn_cxx_try_compile
"$LINENO"; then :
3874 ac_cv_prog_cxx_g
=yes
3877 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3888 if ac_fn_cxx_try_compile
"$LINENO"; then :
3891 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3894 /* end confdefs.h. */
3904 if ac_fn_cxx_try_compile
"$LINENO"; then :
3905 ac_cv_prog_cxx_g
=yes
3907 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3911 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3912 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3915 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3916 if test "$ac_test_CXXFLAGS" = set; then
3917 CXXFLAGS
=$ac_save_CXXFLAGS
3918 elif test $ac_cv_prog_cxx_g = yes; then
3919 if test "$GXX" = yes; then
3925 if test "$GXX" = yes; then
3932 ac_cpp
='$CPP $CPPFLAGS'
3933 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3934 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3935 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3937 if test -n "$ac_tool_prefix"; then
3938 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3939 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3941 $as_echo_n "checking for $ac_word... " >&6; }
3942 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3943 $as_echo_n "(cached) " >&6
3945 if test -n "$CPPBIN"; then
3946 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3948 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3952 test -z "$as_dir" && as_dir
=.
3953 for ac_exec_ext
in '' $ac_executable_extensions; do
3954 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3955 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3965 CPPBIN
=$ac_cv_prog_CPPBIN
3966 if test -n "$CPPBIN"; then
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3968 $as_echo "$CPPBIN" >&6; }
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3971 $as_echo "no" >&6; }
3976 if test -z "$ac_cv_prog_CPPBIN"; then
3977 ac_ct_CPPBIN
=$CPPBIN
3978 # Extract the first word of "cpp", so it can be a program name with args.
3979 set dummy cpp
; ac_word
=$2
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981 $as_echo_n "checking for $ac_word... " >&6; }
3982 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3983 $as_echo_n "(cached) " >&6
3985 if test -n "$ac_ct_CPPBIN"; then
3986 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3988 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3992 test -z "$as_dir" && as_dir
=.
3993 for ac_exec_ext
in '' $ac_executable_extensions; do
3994 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3995 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4005 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4006 if test -n "$ac_ct_CPPBIN"; then
4007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4008 $as_echo "$ac_ct_CPPBIN" >&6; }
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4011 $as_echo "no" >&6; }
4014 if test "x$ac_ct_CPPBIN" = x
; then
4017 case $cross_compiling:$ac_tool_warned in
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4020 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4021 ac_tool_warned
=yes ;;
4023 CPPBIN
=$ac_ct_CPPBIN
4026 CPPBIN
="$ac_cv_prog_CPPBIN"
4030 cat >>confdefs.h
<<_ACEOF
4031 #define EXEEXT "$ac_exeext"
4037 if test "x$enable_win64" = "xyes"
4041 LD
="${LD:-ld} -arch x86_64"
4042 AS
="${AS:-as} -arch x86_64"
4044 notice_platform
="64-bit "
4050 LD
="${LD:-ld} -arch i386"
4051 AS
="${AS:-as} -arch i386"
4053 notice_platform
="32-bit "
4056 enable_win16
=${enable_win16:-yes}
4060 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4065 $as_echo_n "checking whether $CC works... " >&6; }
4067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4068 /* end confdefs.h. */
4078 if ac_fn_c_try_link
"$LINENO"; then :
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4080 $as_echo "yes" >&6; }
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4083 $as_echo "no" >&6; }
4084 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4086 rm -f core conftest.err conftest.
$ac_objext \
4087 conftest
$ac_exeext conftest.
$ac_ext
4088 LD
="${LD:-ld} -m elf_i386"
4091 notice_platform
="32-bit "
4094 enable_win16
=${enable_win16:-yes}
4096 if test "x${GCC}" = "xyes"
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4099 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4101 /* end confdefs.h. */
4106 void func(__builtin_ms_va_list *args);
4111 if ac_fn_c_try_compile
"$LINENO"; then :
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4113 $as_echo "yes" >&6; }
4115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4116 $as_echo "no" >&6; }
4117 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4119 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4125 *-mingw32*|
*-cygwin*)
4126 enable_win16
=${enable_win16:-no}
4127 CFLAGS
="$CFLAGS -D_WIN32"
4130 enable_win16
=${enable_win16:-yes}
4134 enable_win16
=${enable_win16:-no}
4136 enable_winetest
=${enable_winetest:-$enable_tests}
4138 if test -n "$with_wine64"
4140 if test "x$enable_win64" = "xyes"
4142 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4143 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4147 enable_fonts
=${enable_fonts:-no}
4148 enable_server
=${enable_server:-no}
4149 enable_tools
=${enable_tools:-no}
4150 elif test "x$enable_win64" = "xyes"
4152 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4156 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4157 if test "${wine_cv_toolsdir+set}" = set; then :
4158 $as_echo_n "(cached) " >&6
4160 wine_cv_toolsdir
="$with_wine_tools"
4161 if test -z "$with_wine_tools"; then
4162 if test "$cross_compiling" = "yes"; then
4163 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4164 elif test -n "$with_wine64"; then
4165 wine_cv_toolsdir
="$with_wine64"
4168 if test -z "$wine_cv_toolsdir"; then
4169 wine_cv_toolsdir
="\$(top_builddir)"
4170 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4171 case "$wine_cv_toolsdir" in
4173 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4176 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4180 $as_echo "$wine_cv_toolsdir" >&6; }
4181 TOOLSDIR
=$wine_cv_toolsdir
4183 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4185 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4191 # Extract the first word of "$ac_prog", so it can be a program name with args.
4192 set dummy
$ac_prog; ac_word
=$2
4193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4194 $as_echo_n "checking for $ac_word... " >&6; }
4195 if test "${ac_cv_prog_FLEX+set}" = set; then :
4196 $as_echo_n "(cached) " >&6
4198 if test -n "$FLEX"; then
4199 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4201 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4205 test -z "$as_dir" && as_dir
=.
4206 for ac_exec_ext
in '' $ac_executable_extensions; do
4207 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4208 ac_cv_prog_FLEX
="$ac_prog"
4209 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4218 FLEX
=$ac_cv_prog_FLEX
4219 if test -n "$FLEX"; then
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4221 $as_echo "$FLEX" >&6; }
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4224 $as_echo "no" >&6; }
4228 test -n "$FLEX" && break
4230 test -n "$FLEX" || FLEX
="none"
4232 if test "$FLEX" = "none"
4234 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4237 $as_echo_n "checking whether flex is recent enough... " >&6; }
4238 cat >conftest.l
<<EOF
4240 #include "prediluvian.h"
4244 if $FLEX -t conftest.l
>/dev
/null
2>&5
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4247 $as_echo "yes" >&6; }
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4250 $as_echo "no" >&6; }
4251 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4254 for ac_prog
in bison
4256 # Extract the first word of "$ac_prog", so it can be a program name with args.
4257 set dummy
$ac_prog; ac_word
=$2
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4259 $as_echo_n "checking for $ac_word... " >&6; }
4260 if test "${ac_cv_prog_BISON+set}" = set; then :
4261 $as_echo_n "(cached) " >&6
4263 if test -n "$BISON"; then
4264 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4266 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4270 test -z "$as_dir" && as_dir
=.
4271 for ac_exec_ext
in '' $ac_executable_extensions; do
4272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4273 ac_cv_prog_BISON
="$ac_prog"
4274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4283 BISON
=$ac_cv_prog_BISON
4284 if test -n "$BISON"; then
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4286 $as_echo "$BISON" >&6; }
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4289 $as_echo "no" >&6; }
4293 test -n "$BISON" && break
4295 test -n "$BISON" || BISON
="none"
4297 if test "$BISON" = "none"
4299 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4302 if test -n "$ac_tool_prefix"; then
4303 for ac_prog
in ar gar
4305 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4306 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4308 $as_echo_n "checking for $ac_word... " >&6; }
4309 if test "${ac_cv_prog_AR+set}" = set; then :
4310 $as_echo_n "(cached) " >&6
4312 if test -n "$AR"; then
4313 ac_cv_prog_AR
="$AR" # Let the user override the test.
4315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4319 test -z "$as_dir" && as_dir
=.
4320 for ac_exec_ext
in '' $ac_executable_extensions; do
4321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4322 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4333 if test -n "$AR"; then
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4335 $as_echo "$AR" >&6; }
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4338 $as_echo "no" >&6; }
4342 test -n "$AR" && break
4345 if test -z "$AR"; then
4347 for ac_prog
in ar gar
4349 # Extract the first word of "$ac_prog", so it can be a program name with args.
4350 set dummy
$ac_prog; ac_word
=$2
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4352 $as_echo_n "checking for $ac_word... " >&6; }
4353 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4354 $as_echo_n "(cached) " >&6
4356 if test -n "$ac_ct_AR"; then
4357 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4359 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4363 test -z "$as_dir" && as_dir
=.
4364 for ac_exec_ext
in '' $ac_executable_extensions; do
4365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4366 ac_cv_prog_ac_ct_AR
="$ac_prog"
4367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4376 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4377 if test -n "$ac_ct_AR"; then
4378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4379 $as_echo "$ac_ct_AR" >&6; }
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4382 $as_echo "no" >&6; }
4386 test -n "$ac_ct_AR" && break
4389 if test "x$ac_ct_AR" = x
; then
4392 case $cross_compiling:$ac_tool_warned in
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4395 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4396 ac_tool_warned
=yes ;;
4404 if test -n "$ac_tool_prefix"; then
4405 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4406 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4408 $as_echo_n "checking for $ac_word... " >&6; }
4409 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4410 $as_echo_n "(cached) " >&6
4412 if test -n "$RANLIB"; then
4413 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4415 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4419 test -z "$as_dir" && as_dir
=.
4420 for ac_exec_ext
in '' $ac_executable_extensions; do
4421 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4422 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4423 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4432 RANLIB
=$ac_cv_prog_RANLIB
4433 if test -n "$RANLIB"; then
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4435 $as_echo "$RANLIB" >&6; }
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4438 $as_echo "no" >&6; }
4443 if test -z "$ac_cv_prog_RANLIB"; then
4444 ac_ct_RANLIB
=$RANLIB
4445 # Extract the first word of "ranlib", so it can be a program name with args.
4446 set dummy ranlib
; ac_word
=$2
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4448 $as_echo_n "checking for $ac_word... " >&6; }
4449 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4450 $as_echo_n "(cached) " >&6
4452 if test -n "$ac_ct_RANLIB"; then
4453 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4455 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4459 test -z "$as_dir" && as_dir
=.
4460 for ac_exec_ext
in '' $ac_executable_extensions; do
4461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4462 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4463 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4472 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4473 if test -n "$ac_ct_RANLIB"; then
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4475 $as_echo "$ac_ct_RANLIB" >&6; }
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4478 $as_echo "no" >&6; }
4481 if test "x$ac_ct_RANLIB" = x
; then
4484 case $cross_compiling:$ac_tool_warned in
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4487 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4488 ac_tool_warned
=yes ;;
4490 RANLIB
=$ac_ct_RANLIB
4493 RANLIB
="$ac_cv_prog_RANLIB"
4496 if test -n "$ac_tool_prefix"; then
4497 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4498 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4500 $as_echo_n "checking for $ac_word... " >&6; }
4501 if test "${ac_cv_prog_STRIP+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4504 if test -n "$STRIP"; then
4505 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4507 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4511 test -z "$as_dir" && as_dir
=.
4512 for ac_exec_ext
in '' $ac_executable_extensions; do
4513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4514 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4515 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4524 STRIP
=$ac_cv_prog_STRIP
4525 if test -n "$STRIP"; then
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4527 $as_echo "$STRIP" >&6; }
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4530 $as_echo "no" >&6; }
4535 if test -z "$ac_cv_prog_STRIP"; then
4537 # Extract the first word of "strip", so it can be a program name with args.
4538 set dummy strip
; ac_word
=$2
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4540 $as_echo_n "checking for $ac_word... " >&6; }
4541 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4542 $as_echo_n "(cached) " >&6
4544 if test -n "$ac_ct_STRIP"; then
4545 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4547 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4551 test -z "$as_dir" && as_dir
=.
4552 for ac_exec_ext
in '' $ac_executable_extensions; do
4553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4554 ac_cv_prog_ac_ct_STRIP
="strip"
4555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4564 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4565 if test -n "$ac_ct_STRIP"; then
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4567 $as_echo "$ac_ct_STRIP" >&6; }
4569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4570 $as_echo "no" >&6; }
4573 if test "x$ac_ct_STRIP" = x
; then
4576 case $cross_compiling:$ac_tool_warned in
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4579 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4580 ac_tool_warned
=yes ;;
4585 STRIP
="$ac_cv_prog_STRIP"
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4589 $as_echo_n "checking whether ln -s works... " >&6; }
4591 if test "$LN_S" = "ln -s"; then
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4593 $as_echo "yes" >&6; }
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4596 $as_echo "no, using $LN_S" >&6; }
4599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4600 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4601 if test "${ac_cv_path_GREP+set}" = set; then :
4602 $as_echo_n "(cached) " >&6
4604 if test -z "$GREP"; then
4605 ac_path_GREP_found
=false
4606 # Loop through the user's path and test for each of PROGNAME-LIST
4607 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4608 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4611 test -z "$as_dir" && as_dir
=.
4612 for ac_prog
in grep ggrep
; do
4613 for ac_exec_ext
in '' $ac_executable_extensions; do
4614 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4615 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4616 # Check for GNU ac_path_GREP and select it if it is found.
4617 # Check for GNU $ac_path_GREP
4618 case `"$ac_path_GREP" --version 2>&1` in
4620 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4623 $as_echo_n 0123456789 >"conftest.in"
4626 cat "conftest.in" "conftest.in" >"conftest.tmp"
4627 mv "conftest.tmp" "conftest.in"
4628 cp "conftest.in" "conftest.nl"
4629 $as_echo 'GREP' >> "conftest.nl"
4630 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4631 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4632 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4633 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4634 # Best one so far, save it but keep looking for a better one
4635 ac_cv_path_GREP
="$ac_path_GREP"
4636 ac_path_GREP_max
=$ac_count
4638 # 10*(2^10) chars as input seems more than enough
4639 test $ac_count -gt 10 && break
4641 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4644 $ac_path_GREP_found && break 3
4649 if test -z "$ac_cv_path_GREP"; then
4650 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4653 ac_cv_path_GREP
=$GREP
4657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4658 $as_echo "$ac_cv_path_GREP" >&6; }
4659 GREP
="$ac_cv_path_GREP"
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4663 $as_echo_n "checking for egrep... " >&6; }
4664 if test "${ac_cv_path_EGREP+set}" = set; then :
4665 $as_echo_n "(cached) " >&6
4667 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4668 then ac_cv_path_EGREP
="$GREP -E"
4670 if test -z "$EGREP"; then
4671 ac_path_EGREP_found
=false
4672 # Loop through the user's path and test for each of PROGNAME-LIST
4673 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4674 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4677 test -z "$as_dir" && as_dir
=.
4678 for ac_prog
in egrep; do
4679 for ac_exec_ext
in '' $ac_executable_extensions; do
4680 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4681 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4682 # Check for GNU ac_path_EGREP and select it if it is found.
4683 # Check for GNU $ac_path_EGREP
4684 case `"$ac_path_EGREP" --version 2>&1` in
4686 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4689 $as_echo_n 0123456789 >"conftest.in"
4692 cat "conftest.in" "conftest.in" >"conftest.tmp"
4693 mv "conftest.tmp" "conftest.in"
4694 cp "conftest.in" "conftest.nl"
4695 $as_echo 'EGREP' >> "conftest.nl"
4696 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4697 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4698 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4699 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4700 # Best one so far, save it but keep looking for a better one
4701 ac_cv_path_EGREP
="$ac_path_EGREP"
4702 ac_path_EGREP_max
=$ac_count
4704 # 10*(2^10) chars as input seems more than enough
4705 test $ac_count -gt 10 && break
4707 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4710 $ac_path_EGREP_found && break 3
4715 if test -z "$ac_cv_path_EGREP"; then
4716 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4719 ac_cv_path_EGREP
=$EGREP
4724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4725 $as_echo "$ac_cv_path_EGREP" >&6; }
4726 EGREP
="$ac_cv_path_EGREP"
4729 # Extract the first word of "ldconfig", so it can be a program name with args.
4730 set dummy ldconfig
; ac_word
=$2
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4732 $as_echo_n "checking for $ac_word... " >&6; }
4733 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4734 $as_echo_n "(cached) " >&6
4738 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4741 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4742 for as_dir
in /sbin
/usr
/sbin
$PATH
4745 test -z "$as_dir" && as_dir
=.
4746 for ac_exec_ext
in '' $ac_executable_extensions; do
4747 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4748 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4749 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4756 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4760 LDCONFIG
=$ac_cv_path_LDCONFIG
4761 if test -n "$LDCONFIG"; then
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4763 $as_echo "$LDCONFIG" >&6; }
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4766 $as_echo "no" >&6; }
4770 # Find a good install program. We prefer a C program (faster),
4771 # so one script is as good as another. But avoid the broken or
4772 # incompatible versions:
4773 # SysV /etc/install, /usr/sbin/install
4774 # SunOS /usr/etc/install
4775 # IRIX /sbin/install
4777 # AmigaOS /C/install, which installs bootblocks on floppy discs
4778 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4779 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4780 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4781 # OS/2's system install, which has a completely different semantic
4782 # ./install, which can be erroneously created by make from ./install.sh.
4783 # Reject install programs that cannot install multiple files.
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4785 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4786 if test -z "$INSTALL"; then
4787 if test "${ac_cv_path_install+set}" = set; then :
4788 $as_echo_n "(cached) " >&6
4790 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4794 test -z "$as_dir" && as_dir
=.
4795 # Account for people who put trailing slashes in PATH elements.
4796 case $as_dir/ in #((
4797 .
/ | .
// |
/[cC
]/* | \
4798 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4799 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4802 # OSF1 and SCO ODT 3.0 have their own names for install.
4803 # Don't use installbsd from OSF since it installs stuff as root
4805 for ac_prog
in ginstall scoinst
install; do
4806 for ac_exec_ext
in '' $ac_executable_extensions; do
4807 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4808 if test $ac_prog = install &&
4809 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4810 # AIX install. It has an incompatible calling convention.
4812 elif test $ac_prog = install &&
4813 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4814 # program-specific install script used by HP pwplus--don't use.
4817 rm -rf conftest.one conftest.two conftest.dir
4818 echo one
> conftest.one
4819 echo two
> conftest.two
4821 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4822 test -s conftest.one
&& test -s conftest.two
&&
4823 test -s conftest.dir
/conftest.one
&&
4824 test -s conftest.dir
/conftest.two
4826 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4839 rm -rf conftest.one conftest.two conftest.dir
4842 if test "${ac_cv_path_install+set}" = set; then
4843 INSTALL
=$ac_cv_path_install
4845 # As a last resort, use the slow shell script. Don't cache a
4846 # value for INSTALL within a source directory, because that will
4847 # break other packages using the cache if that directory is
4848 # removed, or if the value is a relative name.
4849 INSTALL
=$ac_install_sh
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4853 $as_echo "$INSTALL" >&6; }
4855 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4856 # It thinks the first close brace ends the variable substitution.
4857 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4859 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4861 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4864 [\\/$
]* | ?
:[\\/]* ) ;;
4865 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4868 for ac_prog
in lclint lint
4870 # Extract the first word of "$ac_prog", so it can be a program name with args.
4871 set dummy
$ac_prog; ac_word
=$2
4872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4873 $as_echo_n "checking for $ac_word... " >&6; }
4874 if test "${ac_cv_prog_LINT+set}" = set; then :
4875 $as_echo_n "(cached) " >&6
4877 if test -n "$LINT"; then
4878 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4880 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4884 test -z "$as_dir" && as_dir
=.
4885 for ac_exec_ext
in '' $ac_executable_extensions; do
4886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4887 ac_cv_prog_LINT
="$ac_prog"
4888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4897 LINT
=$ac_cv_prog_LINT
4898 if test -n "$LINT"; then
4899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4900 $as_echo "$LINT" >&6; }
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4903 $as_echo "no" >&6; }
4907 test -n "$LINT" && break
4910 if test "$LINT" = "lint"
4912 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4917 for ac_prog
in fontforge
4919 # Extract the first word of "$ac_prog", so it can be a program name with args.
4920 set dummy
$ac_prog; ac_word
=$2
4921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4922 $as_echo_n "checking for $ac_word... " >&6; }
4923 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4924 $as_echo_n "(cached) " >&6
4926 if test -n "$FONTFORGE"; then
4927 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4929 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4933 test -z "$as_dir" && as_dir
=.
4934 for ac_exec_ext
in '' $ac_executable_extensions; do
4935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4936 ac_cv_prog_FONTFORGE
="$ac_prog"
4937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4946 FONTFORGE
=$ac_cv_prog_FONTFORGE
4947 if test -n "$FONTFORGE"; then
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4949 $as_echo "$FONTFORGE" >&6; }
4951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4952 $as_echo "no" >&6; }
4956 test -n "$FONTFORGE" && break
4958 test -n "$FONTFORGE" || FONTFORGE
="false"
4960 for ac_prog
in pkg-config
4962 # Extract the first word of "$ac_prog", so it can be a program name with args.
4963 set dummy
$ac_prog; ac_word
=$2
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4965 $as_echo_n "checking for $ac_word... " >&6; }
4966 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4967 $as_echo_n "(cached) " >&6
4969 if test -n "$PKG_CONFIG"; then
4970 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4972 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4976 test -z "$as_dir" && as_dir
=.
4977 for ac_exec_ext
in '' $ac_executable_extensions; do
4978 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4979 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4989 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4990 if test -n "$PKG_CONFIG"; then
4991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4992 $as_echo "$PKG_CONFIG" >&6; }
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4995 $as_echo "no" >&6; }
4999 test -n "$PKG_CONFIG" && break
5001 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
5005 # Extract the first word of "$ac_prog", so it can be a program name with args.
5006 set dummy
$ac_prog; ac_word
=$2
5007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5008 $as_echo_n "checking for $ac_word... " >&6; }
5009 if test "${ac_cv_prog_RSVG+set}" = set; then :
5010 $as_echo_n "(cached) " >&6
5012 if test -n "$RSVG"; then
5013 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5015 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5019 test -z "$as_dir" && as_dir
=.
5020 for ac_exec_ext
in '' $ac_executable_extensions; do
5021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5022 ac_cv_prog_RSVG
="$ac_prog"
5023 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 RSVG
=$ac_cv_prog_RSVG
5033 if test -n "$RSVG"; then
5034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5035 $as_echo "$RSVG" >&6; }
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5038 $as_echo "no" >&6; }
5042 test -n "$RSVG" && break
5044 test -n "$RSVG" || RSVG
="false"
5046 for ac_prog
in convert
5048 # Extract the first word of "$ac_prog", so it can be a program name with args.
5049 set dummy
$ac_prog; ac_word
=$2
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5051 $as_echo_n "checking for $ac_word... " >&6; }
5052 if test "${ac_cv_prog_CONVERT+set}" = set; then :
5053 $as_echo_n "(cached) " >&6
5055 if test -n "$CONVERT"; then
5056 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5058 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5062 test -z "$as_dir" && as_dir
=.
5063 for ac_exec_ext
in '' $ac_executable_extensions; do
5064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5065 ac_cv_prog_CONVERT
="$ac_prog"
5066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5075 CONVERT
=$ac_cv_prog_CONVERT
5076 if test -n "$CONVERT"; then
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5078 $as_echo "$CONVERT" >&6; }
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5081 $as_echo "no" >&6; }
5085 test -n "$CONVERT" && break
5087 test -n "$CONVERT" || CONVERT
="false"
5089 for ac_prog
in icotool
5091 # Extract the first word of "$ac_prog", so it can be a program name with args.
5092 set dummy
$ac_prog; ac_word
=$2
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5094 $as_echo_n "checking for $ac_word... " >&6; }
5095 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5096 $as_echo_n "(cached) " >&6
5098 if test -n "$ICOTOOL"; then
5099 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5101 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5105 test -z "$as_dir" && as_dir
=.
5106 for ac_exec_ext
in '' $ac_executable_extensions; do
5107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5108 ac_cv_prog_ICOTOOL
="$ac_prog"
5109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5118 ICOTOOL
=$ac_cv_prog_ICOTOOL
5119 if test -n "$ICOTOOL"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5121 $as_echo "$ICOTOOL" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5128 test -n "$ICOTOOL" && break
5130 test -n "$ICOTOOL" || ICOTOOL
="false"
5133 if test "x$enable_maintainer_mode" != "xyes"
5138 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5 ; fi
5139 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5 ; fi
5141 if test "$CONVERT" = false
5143 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5146 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5147 convert_version
=`convert --version | head -n1`
5148 if test "x$convert_version" != "x"
5150 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5151 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5152 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5157 if test "$CONVERT" = false
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5160 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5161 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5164 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5168 if test "$ICOTOOL" = false
5170 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5173 $as_echo_n "checking for recent enough icotool... " >&6; }
5174 icotool_version
=`icotool --version | head -n1`
5175 if test "x$icotool_version" != "x"
5177 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5178 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5179 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5182 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5185 if test "$ICOTOOL" = false
5187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5188 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5189 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5192 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5200 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5201 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5204 ac_check_lib_save_LIBS
=$LIBS
5206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5209 /* Override any GCC internal prototype to avoid an error.
5210 Use char because int might match the return type of a GCC
5211 builtin and then its argument prototype would still apply. */
5215 char i386_set_ldt ();
5219 return i386_set_ldt ();
5224 if ac_fn_c_try_link
"$LINENO"; then :
5225 ac_cv_lib_i386_i386_set_ldt
=yes
5227 ac_cv_lib_i386_i386_set_ldt
=no
5229 rm -f core conftest.err conftest.
$ac_objext \
5230 conftest
$ac_exeext conftest.
$ac_ext
5231 LIBS
=$ac_check_lib_save_LIBS
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5234 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5235 if test "x$ac_cv_lib_i386_i386_set_ldt" = x
""yes; then :
5236 cat >>confdefs.h
<<_ACEOF
5237 #define HAVE_LIBI386 1
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5245 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5246 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5247 $as_echo_n "(cached) " >&6
5249 ac_check_lib_save_LIBS
=$LIBS
5250 LIBS
="-lossaudio $LIBS"
5251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5254 /* Override any GCC internal prototype to avoid an error.
5255 Use char because int might match the return type of a GCC
5256 builtin and then its argument prototype would still apply. */
5264 return _oss_ioctl ();
5269 if ac_fn_c_try_link
"$LINENO"; then :
5270 ac_cv_lib_ossaudio__oss_ioctl
=yes
5272 ac_cv_lib_ossaudio__oss_ioctl
=no
5274 rm -f core conftest.err conftest.
$ac_objext \
5275 conftest
$ac_exeext conftest.
$ac_ext
5276 LIBS
=$ac_check_lib_save_LIBS
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5279 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5280 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x
""yes; then :
5281 cat >>confdefs.h
<<_ACEOF
5282 #define HAVE_LIBOSSAUDIO 1
5285 LIBS
="-lossaudio $LIBS"
5296 # Check whether --enable-largefile was given.
5297 if test "${enable_largefile+set}" = set; then :
5298 enableval
=$enable_largefile;
5301 if test "$enable_largefile" != no
; then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5304 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5305 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5306 $as_echo_n "(cached) " >&6
5308 ac_cv_sys_largefile_CC
=no
5309 if test "$GCC" != yes; then
5312 # IRIX 6.2 and later do not support large files by default,
5313 # so use the C compiler's -n32 option if that helps.
5314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5315 /* end confdefs.h. */
5316 #include <sys/types.h>
5317 /* Check that off_t can represent 2**63 - 1 correctly.
5318 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5319 since some C++ compilers masquerading as C compilers
5320 incorrectly reject 9223372036854775807. */
5321 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5322 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5323 && LARGE_OFF_T % 2147483647 == 1)
5333 if ac_fn_c_try_compile
"$LINENO"; then :
5336 rm -f core conftest.err conftest.
$ac_objext
5338 if ac_fn_c_try_compile
"$LINENO"; then :
5339 ac_cv_sys_largefile_CC
=' -n32'; break
5341 rm -f core conftest.err conftest.
$ac_objext
5345 rm -f conftest.
$ac_ext
5348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5349 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5350 if test "$ac_cv_sys_largefile_CC" != no
; then
5351 CC
=$CC$ac_cv_sys_largefile_CC
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5355 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5356 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5357 $as_echo_n "(cached) " >&6
5360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5361 /* end confdefs.h. */
5362 #include <sys/types.h>
5363 /* Check that off_t can represent 2**63 - 1 correctly.
5364 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5365 since some C++ compilers masquerading as C compilers
5366 incorrectly reject 9223372036854775807. */
5367 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5368 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5369 && LARGE_OFF_T % 2147483647 == 1)
5379 if ac_fn_c_try_compile
"$LINENO"; then :
5380 ac_cv_sys_file_offset_bits
=no
; break
5382 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5383 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5384 /* end confdefs.h. */
5385 #define _FILE_OFFSET_BITS 64
5386 #include <sys/types.h>
5387 /* Check that off_t can represent 2**63 - 1 correctly.
5388 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5389 since some C++ compilers masquerading as C compilers
5390 incorrectly reject 9223372036854775807. */
5391 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5392 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5393 && LARGE_OFF_T % 2147483647 == 1)
5403 if ac_fn_c_try_compile
"$LINENO"; then :
5404 ac_cv_sys_file_offset_bits
=64; break
5406 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5407 ac_cv_sys_file_offset_bits
=unknown
5411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5412 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5413 case $ac_cv_sys_file_offset_bits in #(
5416 cat >>confdefs.h
<<_ACEOF
5417 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5422 if test $ac_cv_sys_file_offset_bits = unknown
; then
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5424 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5425 if test "${ac_cv_sys_large_files+set}" = set; then :
5426 $as_echo_n "(cached) " >&6
5429 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5430 /* end confdefs.h. */
5431 #include <sys/types.h>
5432 /* Check that off_t can represent 2**63 - 1 correctly.
5433 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5434 since some C++ compilers masquerading as C compilers
5435 incorrectly reject 9223372036854775807. */
5436 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5437 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5438 && LARGE_OFF_T % 2147483647 == 1)
5448 if ac_fn_c_try_compile
"$LINENO"; then :
5449 ac_cv_sys_large_files
=no
; break
5451 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5452 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5453 /* end confdefs.h. */
5454 #define _LARGE_FILES 1
5455 #include <sys/types.h>
5456 /* Check that off_t can represent 2**63 - 1 correctly.
5457 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5458 since some C++ compilers masquerading as C compilers
5459 incorrectly reject 9223372036854775807. */
5460 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5461 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5462 && LARGE_OFF_T % 2147483647 == 1)
5472 if ac_fn_c_try_compile
"$LINENO"; then :
5473 ac_cv_sys_large_files
=1; break
5475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5476 ac_cv_sys_large_files
=unknown
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5481 $as_echo "$ac_cv_sys_large_files" >&6; }
5482 case $ac_cv_sys_large_files in #(
5485 cat >>confdefs.h
<<_ACEOF
5486 #define _LARGE_FILES $ac_cv_sys_large_files
5496 ac_cpp
='$CPP $CPPFLAGS'
5497 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5498 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5499 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5501 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5502 # On Suns, sometimes $CPP names a directory.
5503 if test -n "$CPP" && test -d "$CPP"; then
5506 if test -z "$CPP"; then
5507 if test "${ac_cv_prog_CPP+set}" = set; then :
5508 $as_echo_n "(cached) " >&6
5510 # Double quotes because CPP needs to be expanded
5511 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5514 for ac_c_preproc_warn_flag
in '' yes
5516 # Use a header file that comes with gcc, so configuring glibc
5517 # with a fresh cross-compiler works.
5518 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5519 # <limits.h> exists even on freestanding compilers.
5520 # On the NeXT, cc -E runs the code through the compiler's parser,
5521 # not just through cpp. "Syntax error" is here to catch this case.
5522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5523 /* end confdefs.h. */
5525 # include <limits.h>
5527 # include <assert.h>
5531 if ac_fn_c_try_cpp
"$LINENO"; then :
5534 # Broken: fails on valid input.
5537 rm -f conftest.err conftest.i conftest.
$ac_ext
5539 # OK, works on sane cases. Now check whether nonexistent headers
5540 # can be detected and how.
5541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5542 /* end confdefs.h. */
5543 #include <ac_nonexistent.h>
5545 if ac_fn_c_try_cpp
"$LINENO"; then :
5546 # Broken: success on invalid input.
5549 # Passes both tests.
5553 rm -f conftest.err conftest.i conftest.
$ac_ext
5556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5557 rm -f conftest.i conftest.err conftest.
$ac_ext
5558 if $ac_preproc_ok; then :
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5571 $as_echo "$CPP" >&6; }
5573 for ac_c_preproc_warn_flag
in '' yes
5575 # Use a header file that comes with gcc, so configuring glibc
5576 # with a fresh cross-compiler works.
5577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5578 # <limits.h> exists even on freestanding compilers.
5579 # On the NeXT, cc -E runs the code through the compiler's parser,
5580 # not just through cpp. "Syntax error" is here to catch this case.
5581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5582 /* end confdefs.h. */
5584 # include <limits.h>
5586 # include <assert.h>
5590 if ac_fn_c_try_cpp
"$LINENO"; then :
5593 # Broken: fails on valid input.
5596 rm -f conftest.err conftest.i conftest.
$ac_ext
5598 # OK, works on sane cases. Now check whether nonexistent headers
5599 # can be detected and how.
5600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5601 /* end confdefs.h. */
5602 #include <ac_nonexistent.h>
5604 if ac_fn_c_try_cpp
"$LINENO"; then :
5605 # Broken: success on invalid input.
5608 # Passes both tests.
5612 rm -f conftest.err conftest.i conftest.
$ac_ext
5615 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5616 rm -f conftest.i conftest.err conftest.
$ac_ext
5617 if $ac_preproc_ok; then :
5620 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5621 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5622 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5623 See \`config.log' for more details" "$LINENO" 5 ; }
5627 ac_cpp
='$CPP $CPPFLAGS'
5628 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5629 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5630 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5634 $as_echo_n "checking for ANSI C header files... " >&6; }
5635 if test "${ac_cv_header_stdc+set}" = set; then :
5636 $as_echo_n "(cached) " >&6
5638 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5639 /* end confdefs.h. */
5653 if ac_fn_c_try_compile
"$LINENO"; then :
5654 ac_cv_header_stdc
=yes
5656 ac_cv_header_stdc
=no
5658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5660 if test $ac_cv_header_stdc = yes; then
5661 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5667 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5668 $EGREP "memchr" >/dev
/null
2>&1; then :
5671 ac_cv_header_stdc
=no
5677 if test $ac_cv_header_stdc = yes; then
5678 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5685 $EGREP "free" >/dev
/null
2>&1; then :
5688 ac_cv_header_stdc
=no
5694 if test $ac_cv_header_stdc = yes; then
5695 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5696 if test "$cross_compiling" = yes; then :
5699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5700 /* end confdefs.h. */
5703 #if ((' ' & 0x0FF) == 0x020)
5704 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5705 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5707 # define ISLOWER(c) \
5708 (('a' <= (c) && (c) <= 'i') \
5709 || ('j' <= (c) && (c) <= 'r') \
5710 || ('s' <= (c) && (c) <= 'z'))
5711 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5714 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5719 for (i = 0; i < 256; i++)
5720 if (XOR (islower (i), ISLOWER (i))
5721 || toupper (i) != TOUPPER (i))
5726 if ac_fn_c_try_run
"$LINENO"; then :
5729 ac_cv_header_stdc
=no
5731 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5732 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5738 $as_echo "$ac_cv_header_stdc" >&6; }
5739 if test $ac_cv_header_stdc = yes; then
5741 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5745 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5746 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5747 inttypes.h stdint.h unistd.h
5749 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5750 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5752 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5753 cat >>confdefs.h
<<_ACEOF
5754 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5764 ApplicationServices
/ApplicationServices.h \
5765 AudioToolbox
/AudioConverter.h \
5766 AudioUnit
/AudioUnit.h \
5769 CoreAudio
/CoreAudio.h \
5770 DiskArbitration
/DiskArbitration.h \
5772 IOKit
/hid
/IOHIDLib.h \
5775 QuickTime
/ImageCompression.h \
5789 fontconfig
/fontconfig.h \
5823 machine
/soundcard.h \
5830 netinet
/in_systm.h \
5899 valgrind
/memcheck.h \
5900 valgrind
/valgrind.h \
5904 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5905 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5906 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5907 cat >>confdefs.h
<<_ACEOF
5908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5916 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5917 if test "${ac_cv_header_stat_broken+set}" = set; then :
5918 $as_echo_n "(cached) " >&6
5920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 #include <sys/types.h>
5923 #include <sys/stat.h>
5925 #if defined S_ISBLK && defined S_IFDIR
5926 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5929 #if defined S_ISBLK && defined S_IFCHR
5930 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5933 #if defined S_ISLNK && defined S_IFREG
5934 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5937 #if defined S_ISSOCK && defined S_IFREG
5938 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5942 if ac_fn_c_try_compile
"$LINENO"; then :
5943 ac_cv_header_stat_broken
=no
5945 ac_cv_header_stat_broken
=yes
5947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5950 $as_echo "$ac_cv_header_stat_broken" >&6; }
5951 if test $ac_cv_header_stat_broken = yes; then
5953 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5959 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5963 #ifdef HAVE_SYS_PARAM_H
5964 # include <sys/param.h>
5967 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5968 cat >>confdefs.h
<<_ACEOF
5969 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5984 netinet
/if_ether.h \
5985 netinet
/if_inarp.h \
5993 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5994 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5995 #ifdef HAVE_SYS_SOCKET_H
5996 # include <sys/socket.h>
5998 #ifdef HAVE_SYS_SOCKETVAR_H
5999 # include <sys/socketvar.h>
6001 #ifdef HAVE_NET_ROUTE_H
6002 # include <net/route.h>
6004 #ifdef HAVE_NETINET_IN_H
6005 # include <netinet/in.h>
6007 #ifdef HAVE_NETINET_IN_SYSTM_H
6008 # include <netinet/in_systm.h>
6010 #ifdef HAVE_NET_IF_H
6011 # include <net/if.h>
6013 #ifdef HAVE_NETINET_IP_H
6014 # include <netinet/ip.h>
6017 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6018 cat >>confdefs.h
<<_ACEOF
6019 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6027 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6029 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6030 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6034 #ifdef HAVE_SYS_SOCKET_H
6035 # include <sys/socket.h>
6037 #ifdef HAVE_SYS_SOCKETVAR_H
6038 # include <sys/socketvar.h>
6040 #ifdef HAVE_SYS_TIMEOUT_H
6041 # include <sys/timeout.h>
6043 #ifdef HAVE_NETINET_IN_H
6044 # include <netinet/in.h>
6046 #ifdef HAVE_NETINET_IN_SYSTM_H
6047 # include <netinet/in_systm.h>
6049 #ifdef HAVE_NETINET_IP_H
6050 # include <netinet/ip.h>
6052 #ifdef HAVE_NETINET_IP_VAR_H
6053 # include <netinet/ip_var.h>
6055 #ifdef HAVE_NETINET_IP_ICMP_H
6056 # include <netinet/ip_icmp.h>
6058 #ifdef HAVE_NETINET_UDP_H
6059 # include <netinet/udp.h>
6061 #ifdef HAVE_NETINET_TCP_H
6062 # include <netinet/tcp.h>
6064 #ifdef HAVE_NETINET_TCP_TIMER_H
6065 #include <netinet/tcp_timer.h>
6068 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6069 cat >>confdefs.h
<<_ACEOF
6070 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6078 for ac_header
in linux
/ipx.h linux
/irda.h
6080 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6081 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6082 #ifdef HAVE_ASM_TYPES_H
6083 # include <asm/types.h>
6085 #ifdef HAVE_SYS_SOCKET_H
6086 # include <sys/socket.h>
6088 #ifdef HAVE_LINUX_TYPES_H
6089 # include <linux/types.h>
6092 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6093 cat >>confdefs.h
<<_ACEOF
6094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6102 for ac_header
in mach-o
/dyld_images.h
6104 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6105 # include <stdbool.h>
6107 #ifdef HAVE_STDINT_H
6108 # include <stdint.h>
6111 if test "x$ac_cv_header_mach_o_dyld_images_h" = x
""yes; then :
6112 cat >>confdefs.h
<<_ACEOF
6113 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6121 for ac_header
in resolv.h
6123 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6124 #ifdef HAVE_SYS_SOCKET_H
6125 # include <sys/socket.h>
6127 #ifdef HAVE_NETINET_IN_H
6128 # include <netinet/in.h>
6130 #ifdef HAVE_ARPA_NAMESER_H
6131 # include <arpa/nameser.h>
6134 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
6135 cat >>confdefs.h
<<_ACEOF
6136 #define HAVE_RESOLV_H 1
6144 for ac_header
in ifaddrs.h
6146 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6148 if test "x$ac_cv_header_ifaddrs_h" = x
""yes; then :
6149 cat >>confdefs.h
<<_ACEOF
6150 #define HAVE_IFADDRS_H 1
6158 for ac_header
in ucontext.h
6160 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6162 if test "x$ac_cv_header_ucontext_h" = x
""yes; then :
6163 cat >>confdefs.h
<<_ACEOF
6164 #define HAVE_UCONTEXT_H 1
6172 for ac_header
in sys
/thr.h
6174 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6175 #ifdef HAVE_UCONTEXT_H
6176 #include <ucontext.h>
6179 if test "x$ac_cv_header_sys_thr_h" = x
""yes; then :
6180 cat >>confdefs.h
<<_ACEOF
6181 #define HAVE_SYS_THR_H 1
6189 for ac_header
in pthread_np.h
6191 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6192 #include <pthread.h>
6195 if test "x$ac_cv_header_pthread_np_h" = x
""yes; then :
6196 cat >>confdefs.h
<<_ACEOF
6197 #define HAVE_PTHREAD_NP_H 1
6205 for ac_header
in linux
/videodev.h
6207 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6208 #include <sys/time.h>
6210 #include <sys/types.h>
6211 #ifdef HAVE_ASM_TYPES_H
6212 #include <asm/types.h>
6215 if test "x$ac_cv_header_linux_videodev_h" = x
""yes; then :
6216 cat >>confdefs.h
<<_ACEOF
6217 #define HAVE_LINUX_VIDEODEV_H 1
6225 for ac_header
in linux
/capi.h
6227 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6229 if test "x$ac_cv_header_linux_capi_h" = x
""yes; then :
6230 cat >>confdefs.h
<<_ACEOF
6231 #define HAVE_LINUX_CAPI_H 1
6242 DLLFLAGS
="-D_REENTRANT"
6256 STATIC_IMPLIBEXT
="def.a"
6257 # Extract the first word of "ldd", so it can be a program name with args.
6258 set dummy ldd
; ac_word
=$2
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6260 $as_echo_n "checking for $ac_word... " >&6; }
6261 if test "${ac_cv_path_LDD+set}" = set; then :
6262 $as_echo_n "(cached) " >&6
6266 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6269 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6270 as_dummy
="/sbin:/usr/sbin:$PATH"
6271 for as_dir
in $as_dummy
6274 test -z "$as_dir" && as_dir
=.
6275 for ac_exec_ext
in '' $ac_executable_extensions; do
6276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6277 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6285 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6290 if test -n "$LDD"; then
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6292 $as_echo "$LDD" >&6; }
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6295 $as_echo "no" >&6; }
6302 if test -n "$ac_tool_prefix"; then
6303 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6304 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6306 $as_echo_n "checking for $ac_word... " >&6; }
6307 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6308 $as_echo_n "(cached) " >&6
6310 if test -n "$DLLTOOL"; then
6311 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6313 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6317 test -z "$as_dir" && as_dir
=.
6318 for ac_exec_ext
in '' $ac_executable_extensions; do
6319 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6320 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6330 DLLTOOL
=$ac_cv_prog_DLLTOOL
6331 if test -n "$DLLTOOL"; then
6332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6333 $as_echo "$DLLTOOL" >&6; }
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6336 $as_echo "no" >&6; }
6341 if test -z "$ac_cv_prog_DLLTOOL"; then
6342 ac_ct_DLLTOOL
=$DLLTOOL
6343 # Extract the first word of "dlltool", so it can be a program name with args.
6344 set dummy dlltool
; ac_word
=$2
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6346 $as_echo_n "checking for $ac_word... " >&6; }
6347 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6348 $as_echo_n "(cached) " >&6
6350 if test -n "$ac_ct_DLLTOOL"; then
6351 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6353 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6357 test -z "$as_dir" && as_dir
=.
6358 for ac_exec_ext
in '' $ac_executable_extensions; do
6359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6360 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6370 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6371 if test -n "$ac_ct_DLLTOOL"; then
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6373 $as_echo "$ac_ct_DLLTOOL" >&6; }
6375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6376 $as_echo "no" >&6; }
6379 if test "x$ac_ct_DLLTOOL" = x
; then
6382 case $cross_compiling:$ac_tool_warned in
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6385 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6386 ac_tool_warned
=yes ;;
6388 DLLTOOL
=$ac_ct_DLLTOOL
6391 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6394 if test -n "$ac_tool_prefix"; then
6395 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6396 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6398 $as_echo_n "checking for $ac_word... " >&6; }
6399 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6400 $as_echo_n "(cached) " >&6
6402 if test -n "$DLLWRAP"; then
6403 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6405 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6409 test -z "$as_dir" && as_dir
=.
6410 for ac_exec_ext
in '' $ac_executable_extensions; do
6411 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6412 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6422 DLLWRAP
=$ac_cv_prog_DLLWRAP
6423 if test -n "$DLLWRAP"; then
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6425 $as_echo "$DLLWRAP" >&6; }
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6428 $as_echo "no" >&6; }
6433 if test -z "$ac_cv_prog_DLLWRAP"; then
6434 ac_ct_DLLWRAP
=$DLLWRAP
6435 # Extract the first word of "dllwrap", so it can be a program name with args.
6436 set dummy dllwrap
; ac_word
=$2
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6438 $as_echo_n "checking for $ac_word... " >&6; }
6439 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6440 $as_echo_n "(cached) " >&6
6442 if test -n "$ac_ct_DLLWRAP"; then
6443 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6449 test -z "$as_dir" && as_dir
=.
6450 for ac_exec_ext
in '' $ac_executable_extensions; do
6451 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6452 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6463 if test -n "$ac_ct_DLLWRAP"; then
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6465 $as_echo "$ac_ct_DLLWRAP" >&6; }
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6468 $as_echo "no" >&6; }
6471 if test "x$ac_ct_DLLWRAP" = x
; then
6474 case $cross_compiling:$ac_tool_warned in
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6477 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6478 ac_tool_warned
=yes ;;
6480 DLLWRAP
=$ac_ct_DLLWRAP
6483 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6486 if test "$DLLWRAP" = "false"; then
6492 STATIC_IMPLIBEXT
="a"
6493 enable_iphlpapi
=${enable_iphlpapi:-no}
6494 enable_kernel32
=${enable_kernel32:-no}
6495 enable_msvcrt
=${enable_msvcrt:-no}
6496 enable_ntdll
=${enable_ntdll:-no}
6497 enable_ws2_32
=${enable_ws2_32:-no}
6498 enable_loader
=${enable_loader:-no}
6499 enable_server
=${enable_server:-no}
6500 with_x
=${with_x:-no}
6501 with_pthread
=${with_pthread:-no}
6506 DLLFLAGS
="$DLLFLAGS -fPIC"
6507 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6508 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6509 LDSHARED
="\$(CC) -dynamiclib"
6511 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6512 SECURITYLIB
="-framework Security -framework CoreFoundation"
6514 COREFOUNDATIONLIB
="-framework CoreFoundation"
6516 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6518 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6520 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6522 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6524 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6527 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6529 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6532 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6534 FRAMEWORK_OPENAL
="-framework OpenAL"
6537 cat >>confdefs.h
<<_ACEOF
6538 #define HAVE_OPENAL 1
6541 ac_cv_lib_openal
=yes
6543 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6545 LIBOPENCL
="-framework OpenCL"
6547 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6549 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6551 ac_save_LIBS
="$LIBS"
6552 LIBS
="$LIBS $IOKITLIB"
6553 for ac_func
in IOHIDManagerCreate
6555 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6556 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6557 cat >>confdefs.h
<<_ACEOF
6558 #define HAVE_IOHIDMANAGERCREATE 1
6564 LIBS
="$ac_save_LIBS"
6568 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6570 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6572 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6574 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6576 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6578 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6580 CARBONLIB
="-framework Carbon"
6582 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6584 if test "x$enable_win16" = "xyes"
6586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6587 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6588 if test "$cross_compiling" = yes; then :
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6590 $as_echo "cross-compiling, assuming yes" >&6; }
6592 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6593 /* end confdefs.h. */
6596 "good:\tnop;nop\n\t"
6597 ".globl _testfunc\n"
6598 "_testfunc:\tcallw good");
6599 extern void testfunc();
6603 unsigned short *p = (unsigned short *)testfunc;
6604 return p[0] != 0xe866 || p[1] != 0xfffa
6609 if ac_fn_c_try_run
"$LINENO"; then :
6610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6611 $as_echo "yes" >&6; }
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6614 $as_echo "no" >&6; }
6615 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
6617 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6618 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6624 DLLFLAGS
="$DLLFLAGS -fPIC"
6626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6627 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6628 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6629 $as_echo_n "(cached) " >&6
6631 ac_wine_try_cflags_saved
=$CFLAGS
6632 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6634 /* end confdefs.h. */
6637 if ac_fn_c_try_link
"$LINENO"; then :
6638 ac_cv_c_dll_gnuelf
="yes"
6640 ac_cv_c_dll_gnuelf
="no"
6642 rm -f core conftest.err conftest.
$ac_objext \
6643 conftest
$ac_exeext conftest.
$ac_ext
6644 CFLAGS
=$ac_wine_try_cflags_saved
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6647 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6648 if test "$ac_cv_c_dll_gnuelf" = "yes"
6650 LDSHARED
="\$(CC) -shared"
6651 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6653 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6654 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6655 $as_echo_n "(cached) " >&6
6657 ac_wine_try_cflags_saved
=$CFLAGS
6658 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6659 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6660 /* end confdefs.h. */
6661 int main(int argc, char **argv) { return 0; }
6663 if ac_fn_c_try_link
"$LINENO"; then :
6664 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6666 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6668 rm -f core conftest.err conftest.
$ac_objext \
6669 conftest
$ac_exeext conftest.
$ac_ext
6670 CFLAGS
=$ac_wine_try_cflags_saved
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6673 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6674 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6675 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6678 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6679 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6680 $as_echo_n "(cached) " >&6
6682 ac_wine_try_cflags_saved
=$CFLAGS
6683 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6684 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6685 /* end confdefs.h. */
6686 int main(int argc, char **argv) { return 0; }
6688 if ac_fn_c_try_link
"$LINENO"; then :
6689 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6691 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6693 rm -f core conftest.err conftest.
$ac_objext \
6694 conftest
$ac_exeext conftest.
$ac_ext
6695 CFLAGS
=$ac_wine_try_cflags_saved
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6698 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6699 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6700 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6705 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6706 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6707 $as_echo_n "(cached) " >&6
6709 ac_wine_try_cflags_saved
=$CFLAGS
6710 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6711 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6712 /* end confdefs.h. */
6713 int main(int argc, char **argv) { return 0; }
6715 if ac_fn_c_try_link
"$LINENO"; then :
6716 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6718 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6720 rm -f core conftest.err conftest.
$ac_objext \
6721 conftest
$ac_exeext conftest.
$ac_ext
6722 CFLAGS
=$ac_wine_try_cflags_saved
6724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6725 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6726 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6727 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6730 { $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
6731 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6732 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6733 $as_echo_n "(cached) " >&6
6735 ac_wine_try_cflags_saved
=$CFLAGS
6736 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6737 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6738 /* end confdefs.h. */
6739 int main(int argc, char **argv) { return 0; }
6741 if ac_fn_c_try_link
"$LINENO"; then :
6742 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6744 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6746 rm -f core conftest.err conftest.
$ac_objext \
6747 conftest
$ac_exeext conftest.
$ac_ext
6748 CFLAGS
=$ac_wine_try_cflags_saved
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6751 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6752 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6753 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6756 echo '{ global: *; };' >conftest.map
6757 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -shared -Wl,--version-script=conftest.map" | $as_tr_sh`
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6759 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6760 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6761 $as_echo_n "(cached) " >&6
6763 ac_wine_try_cflags_saved
=$CFLAGS
6764 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6766 /* end confdefs.h. */
6767 int main(int argc, char **argv) { return 0; }
6769 if ac_fn_c_try_link
"$LINENO"; then :
6770 eval "$as_ac_var=yes"
6772 eval "$as_ac_var=no"
6774 rm -f core conftest.err conftest.
$ac_objext \
6775 conftest
$ac_exeext conftest.
$ac_ext
6776 CFLAGS
=$ac_wine_try_cflags_saved
6778 eval ac_res
=\$
$as_ac_var
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6780 $as_echo "$ac_res" >&6; }
6781 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6782 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6787 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6788 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6789 $as_echo_n "(cached) " >&6
6791 ac_wine_try_cflags_saved
=$CFLAGS
6792 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6793 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6794 /* end confdefs.h. */
6795 int main(int argc, char **argv) { return 0; }
6797 if ac_fn_c_try_link
"$LINENO"; then :
6798 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6800 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6802 rm -f core conftest.err conftest.
$ac_objext \
6803 conftest
$ac_exeext conftest.
$ac_ext
6804 CFLAGS
=$ac_wine_try_cflags_saved
6806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6807 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6808 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6809 LDEXECFLAGS
="-Wl,--export-dynamic"
6813 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6815 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6816 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6817 $as_echo_n "(cached) " >&6
6819 ac_wine_try_cflags_saved
=$CFLAGS
6820 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6821 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6822 /* end confdefs.h. */
6823 int main(int argc, char **argv) { return 0; }
6825 if ac_fn_c_try_link
"$LINENO"; then :
6826 eval "$as_ac_var=yes"
6828 eval "$as_ac_var=no"
6830 rm -f core conftest.err conftest.
$ac_objext \
6831 conftest
$ac_exeext conftest.
$ac_ext
6832 CFLAGS
=$ac_wine_try_cflags_saved
6834 eval ac_res
=\$
$as_ac_var
6835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6836 $as_echo "$ac_res" >&6; }
6837 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6838 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6839 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6841 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6843 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6844 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6845 $as_echo_n "(cached) " >&6
6847 ac_wine_try_cflags_saved
=$CFLAGS
6848 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6850 /* end confdefs.h. */
6851 int main(int argc, char **argv) { return 0; }
6853 if ac_fn_c_try_link
"$LINENO"; then :
6854 eval "$as_ac_var=yes"
6856 eval "$as_ac_var=no"
6858 rm -f core conftest.err conftest.
$ac_objext \
6859 conftest
$ac_exeext conftest.
$ac_ext
6860 CFLAGS
=$ac_wine_try_cflags_saved
6862 eval ac_res
=\$
$as_ac_var
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6864 $as_echo "$ac_res" >&6; }
6865 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6866 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6867 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6872 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6873 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6874 $as_echo_n "(cached) " >&6
6876 ac_wine_try_cflags_saved
=$CFLAGS
6877 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6878 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6879 /* end confdefs.h. */
6880 int main(int argc, char **argv) { return 0; }
6882 if ac_fn_c_try_link
"$LINENO"; then :
6883 ac_cv_cflags__Wl___enable_new_dtags
=yes
6885 ac_cv_cflags__Wl___enable_new_dtags
=no
6887 rm -f core conftest.err conftest.
$ac_objext \
6888 conftest
$ac_exeext conftest.
$ac_ext
6889 CFLAGS
=$ac_wine_try_cflags_saved
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6892 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6893 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6894 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6898 *i
[3456789]86* | x86_64
)
6899 as_ac_var
=`$as_echo "ac_cv_cflags_-Wl,--section-start,.interp=0x7bf00400" | $as_tr_sh`
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6901 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6902 if eval "test \"\${$as_ac_var+set}\"" = set; then :
6903 $as_echo_n "(cached) " >&6
6905 ac_wine_try_cflags_saved
=$CFLAGS
6906 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6909 int main(int argc, char **argv) { return 0; }
6911 if ac_fn_c_try_link
"$LINENO"; then :
6912 eval "$as_ac_var=yes"
6914 eval "$as_ac_var=no"
6916 rm -f core conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6918 CFLAGS
=$ac_wine_try_cflags_saved
6920 eval ac_res
=\$
$as_ac_var
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6922 $as_echo "$ac_res" >&6; }
6923 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6925 freebsd
*) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6926 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6930 # Extract the first word of "prelink", so it can be a program name with args.
6931 set dummy prelink
; ac_word
=$2
6932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6933 $as_echo_n "checking for $ac_word... " >&6; }
6934 if test "${ac_cv_path_PRELINK+set}" = set; then :
6935 $as_echo_n "(cached) " >&6
6939 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6942 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6943 for as_dir
in /sbin
/usr
/sbin
$PATH
6946 test -z "$as_dir" && as_dir
=.
6947 for ac_exec_ext
in '' $ac_executable_extensions; do
6948 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6949 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
6950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6957 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
6961 PRELINK
=$ac_cv_path_PRELINK
6962 if test -n "$PRELINK"; then
6963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
6964 $as_echo "$PRELINK" >&6; }
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6967 $as_echo "no" >&6; }
6971 if test "x$PRELINK" = xfalse
6973 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
6979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6980 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6981 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6982 $as_echo_n "(cached) " >&6
6984 ac_wine_try_cflags_saved
=$CFLAGS
6985 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6987 /* end confdefs.h. */
6990 if ac_fn_c_try_link
"$LINENO"; then :
6991 ac_cv_c_dll_unixware
="yes"
6993 ac_cv_c_dll_unixware
="no"
6995 rm -f core conftest.err conftest.
$ac_objext \
6996 conftest
$ac_exeext conftest.
$ac_ext
6997 CFLAGS
=$ac_wine_try_cflags_saved
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7000 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7001 if test "$ac_cv_c_dll_unixware" = "yes"
7003 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7004 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7008 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7009 if test "${ac_cv_c_dll_hpux+set}" = set; then :
7010 $as_echo_n "(cached) " >&6
7012 ac_wine_try_cflags_saved
=$CFLAGS
7013 CFLAGS
="$CFLAGS -shared"
7014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7015 /* end confdefs.h. */
7018 if ac_fn_c_try_link
"$LINENO"; then :
7019 ac_cv_c_dll_hpux
="yes"
7021 ac_cv_c_dll_hpux
="no"
7023 rm -f core conftest.err conftest.
$ac_objext \
7024 conftest
$ac_exeext conftest.
$ac_ext
7025 CFLAGS
=$ac_wine_try_cflags_saved
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7028 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7029 if test "$ac_cv_c_dll_hpux" = "yes"
7033 LDDLLFLAGS
="-shared -fPIC"
7034 LDSHARED
="\$(CC) -shared"
7041 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7042 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7044 if test "$LIBEXT" = "a"; then
7045 as_fn_error $?
"could not find a way to build shared libraries.
7046 It is currently not possible to build Wine without shared library
7047 (.so) support to allow transparent switch between .so and .dll files.
7048 If you are using Linux, you will need a newer binutils.
7052 CROSSTEST_DISABLE
=\
#
7054 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7058 ac_prefix_list
="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc " ;;
7060 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 " ;;
7062 ac_prefix_list
="" ;;
7064 for ac_prog
in $ac_prefix_list
7066 # Extract the first word of "$ac_prog", so it can be a program name with args.
7067 set dummy
$ac_prog; ac_word
=$2
7068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7069 $as_echo_n "checking for $ac_word... " >&6; }
7070 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7071 $as_echo_n "(cached) " >&6
7073 if test -n "$CROSSCC"; then
7074 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7076 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7080 test -z "$as_dir" && as_dir
=.
7081 for ac_exec_ext
in '' $ac_executable_extensions; do
7082 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7083 ac_cv_prog_CROSSCC
="$ac_prog"
7084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7093 CROSSCC
=$ac_cv_prog_CROSSCC
7094 if test -n "$CROSSCC"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7096 $as_echo "$CROSSCC" >&6; }
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7099 $as_echo "no" >&6; }
7103 test -n "$CROSSCC" && break
7105 test -n "$CROSSCC" || CROSSCC
="false"
7107 if test "$CROSSCC" != "false"
7111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7112 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7113 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7114 /* end confdefs.h. */
7124 if ac_fn_c_try_compile
"$LINENO"; then :
7125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7126 $as_echo "yes" >&6; }
7133 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7137 if test -n "$target"
7139 CROSSTEST_DISABLE
=""
7140 CROSSTARGET
="$target"
7144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7145 $as_echo "no" >&6; }
7147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7153 if test "$ac_cv_header_pthread_h" = "yes"
7155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7156 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7157 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7158 $as_echo_n "(cached) " >&6
7160 ac_check_lib_save_LIBS
=$LIBS
7161 LIBS
="-lpthread $LIBS"
7162 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7165 /* Override any GCC internal prototype to avoid an error.
7166 Use char because int might match the return type of a GCC
7167 builtin and then its argument prototype would still apply. */
7171 char pthread_create ();
7175 return pthread_create ();
7180 if ac_fn_c_try_link
"$LINENO"; then :
7181 ac_cv_lib_pthread_pthread_create
=yes
7183 ac_cv_lib_pthread_pthread_create
=no
7185 rm -f core conftest.err conftest.
$ac_objext \
7186 conftest
$ac_exeext conftest.
$ac_ext
7187 LIBS
=$ac_check_lib_save_LIBS
7189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7190 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7191 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7192 LIBPTHREAD
="-lpthread"
7197 if test "x$LIBPTHREAD" = "x"; then :
7198 case "x$with_pthread" in
7200 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7201 Wine cannot support threads without libpthread.
7202 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7208 $as_echo_n "checking for X... " >&6; }
7211 # Check whether --with-x was given.
7212 if test "${with_x+set}" = set; then :
7216 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7217 if test "x$with_x" = xno
; then
7218 # The user explicitly disabled X.
7221 case $x_includes,$x_libraries in #(
7222 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5 ;; #(
7223 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7224 $as_echo_n "(cached) " >&6
7226 # One or both of the vars are not set, and there is no cached value.
7227 ac_x_includes
=no ac_x_libraries
=no
7228 rm -f -r conftest.dir
7229 if mkdir conftest.dir
; then
7231 cat >Imakefile
<<'_ACEOF'
7233 @echo incroot='${INCROOT}'
7235 @echo usrlibdir='${USRLIBDIR}'
7237 @echo libdir='${LIBDIR}'
7239 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7240 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7241 for ac_var
in incroot usrlibdir libdir
; do
7242 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7244 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7245 for ac_extension
in a so sl dylib la dll
; do
7246 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7247 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7248 ac_im_usrlibdir
=$ac_im_libdir; break
7251 # Screen out bogus values from the imake configuration. They are
7252 # bogus both because they are the default anyway, and because
7253 # using them would break gcc on systems where it needs fixed includes.
7254 case $ac_im_incroot in
7255 /usr
/include
) ac_x_includes
= ;;
7256 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7258 case $ac_im_usrlibdir in
7259 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7260 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7264 rm -f -r conftest.dir
7267 # Standard set of common directories for X headers.
7268 # Check X11 before X11Rn because it is often a symlink to the current release.
7282 /usr/local/X11/include
7283 /usr/local/X11R7/include
7284 /usr/local/X11R6/include
7285 /usr/local/X11R5/include
7286 /usr/local/X11R4/include
7288 /usr/local/include/X11
7289 /usr/local/include/X11R7
7290 /usr/local/include/X11R6
7291 /usr/local/include/X11R5
7292 /usr/local/include/X11R4
7296 /usr/XFree86/include/X11
7300 /usr/unsupported/include
7302 /usr/local/x11r5/include
7303 /usr/lpp/Xamples/include
7305 /usr/openwin/include
7306 /usr/openwin/share/include'
7308 if test "$ac_x_includes" = no
; then
7309 # Guess where to find include files, by looking for Xlib.h.
7310 # First, try using that file with no special directory specified.
7311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 #include <X11/Xlib.h>
7315 if ac_fn_c_try_cpp
"$LINENO"; then :
7316 # We can compile using X headers with no special include directory.
7319 for ac_dir
in $ac_x_header_dirs; do
7320 if test -r "$ac_dir/X11/Xlib.h"; then
7321 ac_x_includes
=$ac_dir
7326 rm -f conftest.err conftest.i conftest.
$ac_ext
7327 fi # $ac_x_includes = no
7329 if test "$ac_x_libraries" = no
; then
7330 # Check for the libraries.
7331 # See if we find them without any special options.
7332 # Don't add to $LIBS permanently.
7335 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7336 /* end confdefs.h. */
7337 #include <X11/Xlib.h>
7346 if ac_fn_c_try_link
"$LINENO"; then :
7348 # We can link X programs with no special library path.
7352 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7354 # Don't even attempt the hair of trying to link an X program!
7355 for ac_extension
in a so sl dylib la dll
; do
7356 if test -r "$ac_dir/libX11.$ac_extension"; then
7357 ac_x_libraries
=$ac_dir
7363 rm -f core conftest.err conftest.
$ac_objext \
7364 conftest
$ac_exeext conftest.
$ac_ext
7365 fi # $ac_x_libraries = no
7367 case $ac_x_includes,$ac_x_libraries in #(
7369 # Didn't find X, or a directory has "'" in its name.
7370 ac_cv_have_x
="have_x=no";; #(
7372 # Record where we found X for the cache.
7373 ac_cv_have_x
="have_x=yes\
7374 ac_x_includes='$ac_x_includes'\
7375 ac_x_libraries='$ac_x_libraries'"
7381 eval "$ac_cv_have_x"
7384 if test "$have_x" != yes; then
7385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7386 $as_echo "$have_x" >&6; }
7389 # If each of the values was on the command line, it overrides each guess.
7390 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7391 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7392 # Update the cache value to reflect the command line values.
7393 ac_cv_have_x
="have_x=yes\
7394 ac_x_includes='$x_includes'\
7395 ac_x_libraries='$x_libraries'"
7396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7397 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7400 if test "$no_x" = yes; then
7401 # Not all programs may use this symbol, but it does not hurt to define it.
7403 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7405 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7407 if test -n "$x_includes"; then
7408 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7411 # It would also be nice to do this for all -L options, not just this one.
7412 if test -n "$x_libraries"; then
7413 X_LIBS
="$X_LIBS -L$x_libraries"
7414 # For Solaris; some versions of Sun CC require a space after -R and
7415 # others require no space. Words are not sufficient . . . .
7416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7417 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7418 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7419 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7420 ac_c_werror_flag
=yes
7421 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7422 /* end confdefs.h. */
7432 if ac_fn_c_try_link
"$LINENO"; then :
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7434 $as_echo "no" >&6; }
7435 X_LIBS
="$X_LIBS -R$x_libraries"
7437 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7449 if ac_fn_c_try_link
"$LINENO"; then :
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7451 $as_echo "yes" >&6; }
7452 X_LIBS
="$X_LIBS -R $x_libraries"
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7455 $as_echo "neither works" >&6; }
7457 rm -f core conftest.err conftest.
$ac_objext \
7458 conftest
$ac_exeext conftest.
$ac_ext
7460 rm -f core conftest.err conftest.
$ac_objext \
7461 conftest
$ac_exeext conftest.
$ac_ext
7462 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7466 # Check for system-dependent libraries X programs must link with.
7467 # Do this before checking for the system-independent R6 libraries
7468 # (-lICE), since we may need -lsocket or whatever for X linking.
7470 if test "$ISC" = yes; then
7471 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7473 # Martyn Johnson says this is needed for Ultrix, if the X
7474 # libraries were built with DECnet support. And Karl Berry says
7475 # the Alpha needs dnet_stub (dnet does not exist).
7476 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7478 /* end confdefs.h. */
7480 /* Override any GCC internal prototype to avoid an error.
7481 Use char because int might match the return type of a GCC
7482 builtin and then its argument prototype would still apply. */
7486 char XOpenDisplay ();
7490 return XOpenDisplay ();
7495 if ac_fn_c_try_link
"$LINENO"; then :
7498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7499 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7500 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7501 $as_echo_n "(cached) " >&6
7503 ac_check_lib_save_LIBS
=$LIBS
7505 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7506 /* end confdefs.h. */
7508 /* Override any GCC internal prototype to avoid an error.
7509 Use char because int might match the return type of a GCC
7510 builtin and then its argument prototype would still apply. */
7518 return dnet_ntoa ();
7523 if ac_fn_c_try_link
"$LINENO"; then :
7524 ac_cv_lib_dnet_dnet_ntoa
=yes
7526 ac_cv_lib_dnet_dnet_ntoa
=no
7528 rm -f core conftest.err conftest.
$ac_objext \
7529 conftest
$ac_exeext conftest.
$ac_ext
7530 LIBS
=$ac_check_lib_save_LIBS
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7533 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7534 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7535 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7538 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7540 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7541 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7542 $as_echo_n "(cached) " >&6
7544 ac_check_lib_save_LIBS
=$LIBS
7545 LIBS
="-ldnet_stub $LIBS"
7546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7547 /* end confdefs.h. */
7549 /* Override any GCC internal prototype to avoid an error.
7550 Use char because int might match the return type of a GCC
7551 builtin and then its argument prototype would still apply. */
7559 return dnet_ntoa ();
7564 if ac_fn_c_try_link
"$LINENO"; then :
7565 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7567 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7569 rm -f core conftest.err conftest.
$ac_objext \
7570 conftest
$ac_exeext conftest.
$ac_ext
7571 LIBS
=$ac_check_lib_save_LIBS
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7574 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7575 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7576 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7581 rm -f core conftest.err conftest.
$ac_objext \
7582 conftest
$ac_exeext conftest.
$ac_ext
7583 LIBS
="$ac_xsave_LIBS"
7585 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7586 # to get the SysV transport functions.
7587 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7589 # The nsl library prevents programs from opening the X display
7590 # on Irix 5.2, according to T.E. Dickey.
7591 # The functions gethostbyname, getservbyname, and inet_addr are
7592 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7593 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7594 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7598 if test $ac_cv_func_gethostbyname = no
; then
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7600 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7601 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7604 ac_check_lib_save_LIBS
=$LIBS
7606 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7607 /* end confdefs.h. */
7609 /* Override any GCC internal prototype to avoid an error.
7610 Use char because int might match the return type of a GCC
7611 builtin and then its argument prototype would still apply. */
7615 char gethostbyname ();
7619 return gethostbyname ();
7624 if ac_fn_c_try_link
"$LINENO"; then :
7625 ac_cv_lib_nsl_gethostbyname
=yes
7627 ac_cv_lib_nsl_gethostbyname
=no
7629 rm -f core conftest.err conftest.
$ac_objext \
7630 conftest
$ac_exeext conftest.
$ac_ext
7631 LIBS
=$ac_check_lib_save_LIBS
7633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7634 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7635 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7636 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7639 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7641 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7642 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7643 $as_echo_n "(cached) " >&6
7645 ac_check_lib_save_LIBS
=$LIBS
7647 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7648 /* end confdefs.h. */
7650 /* Override any GCC internal prototype to avoid an error.
7651 Use char because int might match the return type of a GCC
7652 builtin and then its argument prototype would still apply. */
7656 char gethostbyname ();
7660 return gethostbyname ();
7665 if ac_fn_c_try_link
"$LINENO"; then :
7666 ac_cv_lib_bsd_gethostbyname
=yes
7668 ac_cv_lib_bsd_gethostbyname
=no
7670 rm -f core conftest.err conftest.
$ac_objext \
7671 conftest
$ac_exeext conftest.
$ac_ext
7672 LIBS
=$ac_check_lib_save_LIBS
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7675 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7676 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7677 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7683 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7684 # socket/setsockopt and other routines are undefined under SCO ODT
7685 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7686 # on later versions), says Simon Leinen: it contains gethostby*
7687 # variants that don't use the name server (or something). -lsocket
7688 # must be given before -lnsl if both are needed. We assume that
7689 # if connect needs -lnsl, so does gethostbyname.
7690 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7691 if test "x$ac_cv_func_connect" = x
""yes; then :
7695 if test $ac_cv_func_connect = no
; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7697 $as_echo_n "checking for connect in -lsocket... " >&6; }
7698 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7699 $as_echo_n "(cached) " >&6
7701 ac_check_lib_save_LIBS
=$LIBS
7702 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7706 /* Override any GCC internal prototype to avoid an error.
7707 Use char because int might match the return type of a GCC
7708 builtin and then its argument prototype would still apply. */
7721 if ac_fn_c_try_link
"$LINENO"; then :
7722 ac_cv_lib_socket_connect
=yes
7724 ac_cv_lib_socket_connect
=no
7726 rm -f core conftest.err conftest.
$ac_objext \
7727 conftest
$ac_exeext conftest.
$ac_ext
7728 LIBS
=$ac_check_lib_save_LIBS
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7731 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7732 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7733 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7738 # Guillermo Gomez says -lposix is necessary on A/UX.
7739 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7740 if test "x$ac_cv_func_remove" = x
""yes; then :
7744 if test $ac_cv_func_remove = no
; then
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7746 $as_echo_n "checking for remove in -lposix... " >&6; }
7747 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7750 ac_check_lib_save_LIBS
=$LIBS
7751 LIBS
="-lposix $LIBS"
7752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7753 /* end confdefs.h. */
7755 /* Override any GCC internal prototype to avoid an error.
7756 Use char because int might match the return type of a GCC
7757 builtin and then its argument prototype would still apply. */
7770 if ac_fn_c_try_link
"$LINENO"; then :
7771 ac_cv_lib_posix_remove
=yes
7773 ac_cv_lib_posix_remove
=no
7775 rm -f core conftest.err conftest.
$ac_objext \
7776 conftest
$ac_exeext conftest.
$ac_ext
7777 LIBS
=$ac_check_lib_save_LIBS
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7780 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7781 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7782 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7787 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7788 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7789 if test "x$ac_cv_func_shmat" = x
""yes; then :
7793 if test $ac_cv_func_shmat = no
; then
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7795 $as_echo_n "checking for shmat in -lipc... " >&6; }
7796 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7797 $as_echo_n "(cached) " >&6
7799 ac_check_lib_save_LIBS
=$LIBS
7801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7802 /* end confdefs.h. */
7804 /* Override any GCC internal prototype to avoid an error.
7805 Use char because int might match the return type of a GCC
7806 builtin and then its argument prototype would still apply. */
7819 if ac_fn_c_try_link
"$LINENO"; then :
7820 ac_cv_lib_ipc_shmat
=yes
7822 ac_cv_lib_ipc_shmat
=no
7824 rm -f core conftest.err conftest.
$ac_objext \
7825 conftest
$ac_exeext conftest.
$ac_ext
7826 LIBS
=$ac_check_lib_save_LIBS
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7829 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7830 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7831 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7837 # Check for libraries that X11R6 Xt/Xaw programs need.
7838 ac_save_LDFLAGS
=$LDFLAGS
7839 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7840 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7841 # check for ICE first), but we must link in the order -lSM -lICE or
7842 # we get undefined symbols. So assume we have SM if we have ICE.
7843 # These have to be linked with before -lX11, unlike the other
7844 # libraries we check for below, so use a different variable.
7845 # John Interrante, Karl Berry
7846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7847 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7848 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7849 $as_echo_n "(cached) " >&6
7851 ac_check_lib_save_LIBS
=$LIBS
7852 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7853 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7854 /* end confdefs.h. */
7856 /* Override any GCC internal prototype to avoid an error.
7857 Use char because int might match the return type of a GCC
7858 builtin and then its argument prototype would still apply. */
7862 char IceConnectionNumber ();
7866 return IceConnectionNumber ();
7871 if ac_fn_c_try_link
"$LINENO"; then :
7872 ac_cv_lib_ICE_IceConnectionNumber
=yes
7874 ac_cv_lib_ICE_IceConnectionNumber
=no
7876 rm -f core conftest.err conftest.
$ac_objext \
7877 conftest
$ac_exeext conftest.
$ac_ext
7878 LIBS
=$ac_check_lib_save_LIBS
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7881 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7882 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7883 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7886 LDFLAGS
=$ac_save_LDFLAGS
7891 if test "$have_x" = "yes"
7894 ac_save_CPPFLAGS
="$CPPFLAGS"
7895 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7898 $as_echo_n "checking for -lX11... " >&6; }
7899 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7900 $as_echo_n "(cached) " >&6
7902 ac_check_soname_save_LIBS
=$LIBS
7903 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7904 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7905 /* end confdefs.h. */
7907 /* Override any GCC internal prototype to avoid an error.
7908 Use char because int might match the return type of a GCC
7909 builtin and then its argument prototype would still apply. */
7913 char XCreateWindow ();
7917 return XCreateWindow ();
7922 if ac_fn_c_try_link
"$LINENO"; then :
7924 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7925 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'` ;;
7926 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7929 rm -f core conftest.err conftest.
$ac_objext \
7930 conftest
$ac_exeext conftest.
$ac_ext
7931 LIBS
=$ac_check_soname_save_LIBS
7933 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7935 $as_echo "not found" >&6; }
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7939 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7941 cat >>confdefs.h
<<_ACEOF
7942 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7948 $as_echo_n "checking for -lXext... " >&6; }
7949 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7950 $as_echo_n "(cached) " >&6
7952 ac_check_soname_save_LIBS
=$LIBS
7953 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7955 /* end confdefs.h. */
7957 /* Override any GCC internal prototype to avoid an error.
7958 Use char because int might match the return type of a GCC
7959 builtin and then its argument prototype would still apply. */
7963 char XextCreateExtension ();
7967 return XextCreateExtension ();
7972 if ac_fn_c_try_link
"$LINENO"; then :
7974 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7975 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'` ;;
7976 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7979 rm -f core conftest.err conftest.
$ac_objext \
7980 conftest
$ac_exeext conftest.
$ac_ext
7981 LIBS
=$ac_check_soname_save_LIBS
7983 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7985 $as_echo "not found" >&6; }
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7989 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7991 cat >>confdefs.h
<<_ACEOF
7992 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7998 for ac_header
in X11
/Xlib.h \
8001 X11
/Xcursor
/Xcursor.h \
8002 X11
/extensions
/shape.h \
8003 X11
/extensions
/XInput.h \
8004 X11
/extensions
/XShm.h \
8005 X11
/extensions
/Xcomposite.h \
8006 X11
/extensions
/Xinerama.h \
8007 X11
/extensions
/Xrandr.h \
8008 X11
/extensions
/Xrender.h \
8009 X11
/extensions
/xf86vmode.h \
8010 X11
/extensions
/xf86vmproto.h
8012 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8013 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8014 # include <X11/Xlib.h>
8016 #ifdef HAVE_X11_XUTIL_H
8017 # include <X11/Xutil.h>
8020 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8021 cat >>confdefs.h
<<_ACEOF
8022 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8030 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8033 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8034 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
8035 $as_echo_n "(cached) " >&6
8037 ac_check_lib_save_LIBS
=$LIBS
8038 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8040 /* end confdefs.h. */
8042 /* Override any GCC internal prototype to avoid an error.
8043 Use char because int might match the return type of a GCC
8044 builtin and then its argument prototype would still apply. */
8048 char XkbQueryExtension ();
8052 return XkbQueryExtension ();
8057 if ac_fn_c_try_link
"$LINENO"; then :
8058 ac_cv_lib_X11_XkbQueryExtension
=yes
8060 ac_cv_lib_X11_XkbQueryExtension
=no
8062 rm -f core conftest.err conftest.
$ac_objext \
8063 conftest
$ac_exeext conftest.
$ac_ext
8064 LIBS
=$ac_check_lib_save_LIBS
8066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8067 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8068 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
8070 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8076 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8079 $as_echo_n "checking for -lXcursor... " >&6; }
8080 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8081 $as_echo_n "(cached) " >&6
8083 ac_check_soname_save_LIBS
=$LIBS
8084 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8085 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8086 /* end confdefs.h. */
8088 /* Override any GCC internal prototype to avoid an error.
8089 Use char because int might match the return type of a GCC
8090 builtin and then its argument prototype would still apply. */
8094 char XcursorImageLoadCursor ();
8098 return XcursorImageLoadCursor ();
8103 if ac_fn_c_try_link
"$LINENO"; then :
8105 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8106 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'` ;;
8107 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8110 rm -f core conftest.err conftest.
$ac_objext \
8111 conftest
$ac_exeext conftest.
$ac_ext
8112 LIBS
=$ac_check_soname_save_LIBS
8114 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8116 $as_echo "not found" >&6; }
8119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8120 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8122 cat >>confdefs.h
<<_ACEOF
8123 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8129 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8130 case "x$with_xcursor" in
8131 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8133 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8134 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8138 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8141 $as_echo_n "checking for -lXi... " >&6; }
8142 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8143 $as_echo_n "(cached) " >&6
8145 ac_check_soname_save_LIBS
=$LIBS
8146 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8148 /* end confdefs.h. */
8150 /* Override any GCC internal prototype to avoid an error.
8151 Use char because int might match the return type of a GCC
8152 builtin and then its argument prototype would still apply. */
8156 char XOpenDevice ();
8160 return XOpenDevice ();
8165 if ac_fn_c_try_link
"$LINENO"; then :
8167 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8168 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'` ;;
8169 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8174 LIBS
=$ac_check_soname_save_LIBS
8176 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8178 $as_echo "not found" >&6; }
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8182 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8184 cat >>confdefs.h
<<_ACEOF
8185 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8191 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8192 case "x$with_xinput" in
8193 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8195 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8196 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8200 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8203 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8204 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8205 $as_echo_n "(cached) " >&6
8207 ac_check_lib_save_LIBS
=$LIBS
8208 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8209 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8210 /* end confdefs.h. */
8212 /* Override any GCC internal prototype to avoid an error.
8213 Use char because int might match the return type of a GCC
8214 builtin and then its argument prototype would still apply. */
8218 char XShmQueryExtension ();
8222 return XShmQueryExtension ();
8227 if ac_fn_c_try_link
"$LINENO"; then :
8228 ac_cv_lib_Xext_XShmQueryExtension
=yes
8230 ac_cv_lib_Xext_XShmQueryExtension
=no
8232 rm -f core conftest.err conftest.
$ac_objext \
8233 conftest
$ac_exeext conftest.
$ac_ext
8234 LIBS
=$ac_check_lib_save_LIBS
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8237 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8238 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8240 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8245 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8246 case "x$with_xshm" in
8247 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8249 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8250 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8254 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8257 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8258 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8259 $as_echo_n "(cached) " >&6
8261 ac_check_lib_save_LIBS
=$LIBS
8262 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8264 /* end confdefs.h. */
8266 /* Override any GCC internal prototype to avoid an error.
8267 Use char because int might match the return type of a GCC
8268 builtin and then its argument prototype would still apply. */
8272 char XShapeQueryExtension ();
8276 return XShapeQueryExtension ();
8281 if ac_fn_c_try_link
"$LINENO"; then :
8282 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8284 ac_cv_lib_Xext_XShapeQueryExtension
=no
8286 rm -f core conftest.err conftest.
$ac_objext \
8287 conftest
$ac_exeext conftest.
$ac_ext
8288 LIBS
=$ac_check_lib_save_LIBS
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8291 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8292 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8294 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8299 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8300 case "x$with_xshape" in
8301 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8303 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8304 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8308 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8311 $as_echo_n "checking for -lXxf86vm... " >&6; }
8312 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8313 $as_echo_n "(cached) " >&6
8315 ac_check_soname_save_LIBS
=$LIBS
8316 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8317 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8318 /* end confdefs.h. */
8320 /* Override any GCC internal prototype to avoid an error.
8321 Use char because int might match the return type of a GCC
8322 builtin and then its argument prototype would still apply. */
8326 char XF86VidModeQueryExtension ();
8330 return XF86VidModeQueryExtension ();
8335 if ac_fn_c_try_link
"$LINENO"; then :
8337 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8338 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'` ;;
8339 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8342 rm -f core conftest.err conftest.
$ac_objext \
8343 conftest
$ac_exeext conftest.
$ac_ext
8344 LIBS
=$ac_check_soname_save_LIBS
8346 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8348 $as_echo "not found" >&6; }
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8352 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8354 cat >>confdefs.h
<<_ACEOF
8355 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8361 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8362 case "x$with_xxf86vm" in
8363 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8365 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8366 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8370 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"
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8373 $as_echo_n "checking for -lXrender... " >&6; }
8374 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8375 $as_echo_n "(cached) " >&6
8377 ac_check_soname_save_LIBS
=$LIBS
8378 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8380 /* end confdefs.h. */
8382 /* Override any GCC internal prototype to avoid an error.
8383 Use char because int might match the return type of a GCC
8384 builtin and then its argument prototype would still apply. */
8388 char XRenderQueryExtension ();
8392 return XRenderQueryExtension ();
8397 if ac_fn_c_try_link
"$LINENO"; then :
8399 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8400 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'` ;;
8401 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8404 rm -f core conftest.err conftest.
$ac_objext \
8405 conftest
$ac_exeext conftest.
$ac_ext
8406 LIBS
=$ac_check_soname_save_LIBS
8408 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8410 $as_echo "not found" >&6; }
8413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8414 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8416 cat >>confdefs.h
<<_ACEOF
8417 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8421 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8422 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8423 $as_echo_n "(cached) " >&6
8425 ac_check_lib_save_LIBS
=$LIBS
8426 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8427 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8430 /* Override any GCC internal prototype to avoid an error.
8431 Use char because int might match the return type of a GCC
8432 builtin and then its argument prototype would still apply. */
8436 char XRenderSetPictureTransform ();
8440 return XRenderSetPictureTransform ();
8445 if ac_fn_c_try_link
"$LINENO"; then :
8446 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8448 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8450 rm -f core conftest.err conftest.
$ac_objext \
8451 conftest
$ac_exeext conftest.
$ac_ext
8452 LIBS
=$ac_check_lib_save_LIBS
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8455 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8456 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8458 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8465 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8466 case "x$with_xrender" in
8467 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8469 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8470 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8474 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8477 /* end confdefs.h. */
8478 #include <X11/Xlib.h>
8479 #include <X11/extensions/Xrandr.h>
8483 static typeof(XRRSetScreenConfigAndRate) * func;
8488 if ac_fn_c_try_compile
"$LINENO"; then :
8489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8490 $as_echo_n "checking for -lXrandr... " >&6; }
8491 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8492 $as_echo_n "(cached) " >&6
8494 ac_check_soname_save_LIBS
=$LIBS
8495 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8496 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8497 /* end confdefs.h. */
8499 /* Override any GCC internal prototype to avoid an error.
8500 Use char because int might match the return type of a GCC
8501 builtin and then its argument prototype would still apply. */
8505 char XRRQueryExtension ();
8509 return XRRQueryExtension ();
8514 if ac_fn_c_try_link
"$LINENO"; then :
8516 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8517 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'` ;;
8518 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8521 rm -f core conftest.err conftest.
$ac_objext \
8522 conftest
$ac_exeext conftest.
$ac_ext
8523 LIBS
=$ac_check_soname_save_LIBS
8525 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8527 $as_echo "not found" >&6; }
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8531 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8533 cat >>confdefs.h
<<_ACEOF
8534 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8540 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8542 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8543 case "x$with_xrandr" in
8544 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8546 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8547 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8551 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8553 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8554 /* end confdefs.h. */
8555 #include <X11/Xlib.h>
8556 #include <X11/extensions/Xinerama.h>
8560 static typeof(XineramaQueryScreens) * func;
8565 if ac_fn_c_try_compile
"$LINENO"; then :
8566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8567 $as_echo_n "checking for -lXinerama... " >&6; }
8568 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8569 $as_echo_n "(cached) " >&6
8571 ac_check_soname_save_LIBS
=$LIBS
8572 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8573 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8576 /* Override any GCC internal prototype to avoid an error.
8577 Use char because int might match the return type of a GCC
8578 builtin and then its argument prototype would still apply. */
8582 char XineramaQueryScreens ();
8586 return XineramaQueryScreens ();
8591 if ac_fn_c_try_link
"$LINENO"; then :
8593 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8594 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'` ;;
8595 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8598 rm -f core conftest.err conftest.
$ac_objext \
8599 conftest
$ac_exeext conftest.
$ac_ext
8600 LIBS
=$ac_check_soname_save_LIBS
8602 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8604 $as_echo "not found" >&6; }
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8608 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8610 cat >>confdefs.h
<<_ACEOF
8611 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8617 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8619 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8620 case "x$with_xinerama" in
8621 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8623 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8624 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8628 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8631 $as_echo_n "checking for -lXcomposite... " >&6; }
8632 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8633 $as_echo_n "(cached) " >&6
8635 ac_check_soname_save_LIBS
=$LIBS
8636 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8637 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8638 /* end confdefs.h. */
8640 /* Override any GCC internal prototype to avoid an error.
8641 Use char because int might match the return type of a GCC
8642 builtin and then its argument prototype would still apply. */
8646 char XCompositeRedirectWindow ();
8650 return XCompositeRedirectWindow ();
8655 if ac_fn_c_try_link
"$LINENO"; then :
8657 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8658 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'` ;;
8659 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8662 rm -f core conftest.err conftest.
$ac_objext \
8663 conftest
$ac_exeext conftest.
$ac_ext
8664 LIBS
=$ac_check_soname_save_LIBS
8666 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8668 $as_echo "not found" >&6; }
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8672 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8674 cat >>confdefs.h
<<_ACEOF
8675 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8681 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8682 case "x$with_xcomposite" in
8683 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8685 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8686 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8690 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8691 #include <X11/Xlib.h>
8694 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8696 cat >>confdefs.h
<<_ACEOF
8697 #define HAVE_XICCALLBACK_CALLBACK 1
8706 if test "x$with_opengl" != "xno"
8708 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8710 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8711 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8712 # include <GL/glx.h>
8715 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8716 cat >>confdefs.h
<<_ACEOF
8717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8724 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8727 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8728 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8729 $as_echo_n "(cached) " >&6
8731 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8737 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8742 if ac_fn_c_try_compile
"$LINENO"; then :
8743 wine_cv_opengl_header_version_OK
="yes"
8745 wine_cv_opengl_header_version_OK
="no"
8747 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8750 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8752 if test "$wine_cv_opengl_header_version_OK" = "yes"
8754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8755 $as_echo_n "checking for -lGL... " >&6; }
8756 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8757 $as_echo_n "(cached) " >&6
8759 ac_check_soname_save_LIBS
=$LIBS
8760 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8762 /* end confdefs.h. */
8764 /* Override any GCC internal prototype to avoid an error.
8765 Use char because int might match the return type of a GCC
8766 builtin and then its argument prototype would still apply. */
8770 char glXCreateContext ();
8774 return glXCreateContext ();
8779 if ac_fn_c_try_link
"$LINENO"; then :
8781 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8782 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'` ;;
8783 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8786 rm -f core conftest.err conftest.
$ac_objext \
8787 conftest
$ac_exeext conftest.
$ac_ext
8788 LIBS
=$ac_check_soname_save_LIBS
8790 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8792 $as_echo "not found" >&6; }
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8794 $as_echo_n "checking for -lGL... " >&6; }
8795 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8796 $as_echo_n "(cached) " >&6
8798 ac_check_soname_save_LIBS
=$LIBS
8799 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"
8800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8801 /* end confdefs.h. */
8803 /* Override any GCC internal prototype to avoid an error.
8804 Use char because int might match the return type of a GCC
8805 builtin and then its argument prototype would still apply. */
8809 char glXCreateContext ();
8813 return glXCreateContext ();
8818 if ac_fn_c_try_link
"$LINENO"; then :
8820 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8821 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'` ;;
8822 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8825 rm -f core conftest.err conftest.
$ac_objext \
8826 conftest
$ac_exeext conftest.
$ac_ext
8827 LIBS
=$ac_check_soname_save_LIBS
8829 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8831 $as_echo "not found" >&6; }
8832 if test -f /usr
/X11R
6/lib
/libGL.a
8834 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8835 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8837 opengl_msg
="No OpenGL library found on this system."
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"
8847 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"
8849 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8854 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8856 cat >>confdefs.h
<<_ACEOF
8857 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8862 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8865 if test "$ac_cv_header_GL_glu_h" = "yes"
8867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8868 $as_echo_n "checking for -lGLU... " >&6; }
8869 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8870 $as_echo_n "(cached) " >&6
8872 ac_check_soname_save_LIBS
=$LIBS
8873 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8874 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8877 /* Override any GCC internal prototype to avoid an error.
8878 Use char because int might match the return type of a GCC
8879 builtin and then its argument prototype would still apply. */
8887 return gluLookAt ();
8892 if ac_fn_c_try_link
"$LINENO"; then :
8894 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8895 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'` ;;
8896 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8899 rm -f core conftest.err conftest.
$ac_objext \
8900 conftest
$ac_exeext conftest.
$ac_ext
8901 LIBS
=$ac_check_soname_save_LIBS
8903 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8905 $as_echo "not found" >&6; }
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8909 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8911 cat >>confdefs.h
<<_ACEOF
8912 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8918 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8919 case "x$with_glu" in
8920 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8922 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8923 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8927 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8930 opengl_msg
="OpenGL development headers not found."
8932 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8933 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8935 enable_opengl32
=${enable_opengl32:-no}
8936 enable_glu32
=${enable_glu32:-no}
8938 if test -n "$opengl_msg"; then :
8939 case "x$with_opengl" in
8940 x
) as_fn_append wine_warnings
"|$opengl_msg
8941 OpenGL and Direct3D won't be supported." ;;
8943 *) as_fn_error $?
"$opengl_msg
8944 OpenGL and Direct3D won't be supported.
8945 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8951 for ac_header
in audio
/audiolib.h
8953 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8954 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8955 cat >>confdefs.h
<<_ACEOF
8956 #define HAVE_AUDIO_AUDIOLIB_H 1
8958 for ac_header
in audio
/soundlib.h
8960 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8962 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8963 cat >>confdefs.h
<<_ACEOF
8964 #define HAVE_AUDIO_SOUNDLIB_H 1
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8972 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8973 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8974 $as_echo_n "(cached) " >&6
8976 ac_check_lib_save_LIBS
=$LIBS
8977 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8979 /* end confdefs.h. */
8981 /* Override any GCC internal prototype to avoid an error.
8982 Use char because int might match the return type of a GCC
8983 builtin and then its argument prototype would still apply. */
8987 char AuCreateFlow ();
8991 return AuCreateFlow ();
8996 if ac_fn_c_try_link
"$LINENO"; then :
8997 ac_cv_lib_audio_AuCreateFlow
=yes
8999 ac_cv_lib_audio_AuCreateFlow
=no
9001 rm -f core conftest.err conftest.
$ac_objext \
9002 conftest
$ac_exeext conftest.
$ac_ext
9003 LIBS
=$ac_check_lib_save_LIBS
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
9006 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
9007 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
9009 $as_echo "#define HAVE_NAS 1" >>confdefs.h
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
9012 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
9013 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9016 ac_check_lib_save_LIBS
=$LIBS
9017 LIBS
="-lXau $X_LIBS $LIBS"
9018 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9019 /* end confdefs.h. */
9021 /* Override any GCC internal prototype to avoid an error.
9022 Use char because int might match the return type of a GCC
9023 builtin and then its argument prototype would still apply. */
9027 char XauGetBestAuthByAddr ();
9031 return XauGetBestAuthByAddr ();
9036 if ac_fn_c_try_link
"$LINENO"; then :
9037 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
9039 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
9041 rm -f core conftest.err conftest.
$ac_objext \
9042 conftest
$ac_exeext conftest.
$ac_ext
9043 LIBS
=$ac_check_lib_save_LIBS
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
9046 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
9047 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
9048 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9050 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9061 CPPFLAGS
="$ac_save_CPPFLAGS"
9066 enable_winex11_drv
=${enable_winex11_drv:-no}
9067 enable_opengl32
=${enable_opengl32:-no}
9068 enable_glu32
=${enable_glu32:-no}
9070 if test "x$XLIB" = "x"; then :
9073 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9074 without X support, which probably isn't what you want. You will need
9075 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9076 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9080 if test "$ac_cv_header_CL_cl_h" = "yes"
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9083 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9084 if test "${ac_cv_lib_OpenCL_clGetPlatformInfo+set}" = set; then :
9085 $as_echo_n "(cached) " >&6
9087 ac_check_lib_save_LIBS
=$LIBS
9088 LIBS
="-lOpenCL $LIBS"
9089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9090 /* end confdefs.h. */
9092 /* Override any GCC internal prototype to avoid an error.
9093 Use char because int might match the return type of a GCC
9094 builtin and then its argument prototype would still apply. */
9098 char clGetPlatformInfo ();
9102 return clGetPlatformInfo ();
9107 if ac_fn_c_try_link
"$LINENO"; then :
9108 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9110 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9112 rm -f core conftest.err conftest.
$ac_objext \
9113 conftest
$ac_exeext conftest.
$ac_ext
9114 LIBS
=$ac_check_lib_save_LIBS
9116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9117 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9118 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = x
""yes; then :
9119 LIBOPENCL
="-lOpenCL"
9124 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9125 case "x$with_opencl" in
9126 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9128 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9129 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9132 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9141 if test "x$with_xml" != "xno"
9143 ac_save_CPPFLAGS
="$CPPFLAGS"
9144 if test "$PKG_CONFIG" != "false"
9146 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9147 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9149 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9150 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9152 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9153 for ac_header
in libxml
/parser.h
9155 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9156 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
9157 cat >>confdefs.h
<<_ACEOF
9158 #define HAVE_LIBXML_PARSER_H 1
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9161 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9162 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9163 $as_echo_n "(cached) " >&6
9165 ac_check_lib_save_LIBS
=$LIBS
9166 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9167 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9168 /* end confdefs.h. */
9170 /* Override any GCC internal prototype to avoid an error.
9171 Use char because int might match the return type of a GCC
9172 builtin and then its argument prototype would still apply. */
9176 char xmlParseMemory ();
9180 return xmlParseMemory ();
9185 if ac_fn_c_try_link
"$LINENO"; then :
9186 ac_cv_lib_xml2_xmlParseMemory
=yes
9188 ac_cv_lib_xml2_xmlParseMemory
=no
9190 rm -f core conftest.err conftest.
$ac_objext \
9191 conftest
$ac_exeext conftest.
$ac_ext
9192 LIBS
=$ac_check_lib_save_LIBS
9194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9195 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9196 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
9198 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9200 XML2LIBS
="$ac_xml_libs"
9201 XML2INCL
="$ac_xml_cflags"
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9205 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9206 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9207 $as_echo_n "(cached) " >&6
9209 ac_check_lib_save_LIBS
=$LIBS
9210 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9211 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9212 /* end confdefs.h. */
9214 /* Override any GCC internal prototype to avoid an error.
9215 Use char because int might match the return type of a GCC
9216 builtin and then its argument prototype would still apply. */
9220 char xmlReadMemory ();
9224 return xmlReadMemory ();
9229 if ac_fn_c_try_link
"$LINENO"; then :
9230 ac_cv_lib_xml2_xmlReadMemory
=yes
9232 ac_cv_lib_xml2_xmlReadMemory
=no
9234 rm -f core conftest.err conftest.
$ac_objext \
9235 conftest
$ac_exeext conftest.
$ac_ext
9236 LIBS
=$ac_check_lib_save_LIBS
9238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9239 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9240 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9242 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9247 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9248 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9249 $as_echo_n "(cached) " >&6
9251 ac_check_lib_save_LIBS
=$LIBS
9252 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9253 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9254 /* end confdefs.h. */
9256 /* Override any GCC internal prototype to avoid an error.
9257 Use char because int might match the return type of a GCC
9258 builtin and then its argument prototype would still apply. */
9262 char xmlNewDocPI ();
9266 return xmlNewDocPI ();
9271 if ac_fn_c_try_link
"$LINENO"; then :
9272 ac_cv_lib_xml2_xmlNewDocPI
=yes
9274 ac_cv_lib_xml2_xmlNewDocPI
=no
9276 rm -f core conftest.err conftest.
$ac_objext \
9277 conftest
$ac_exeext conftest.
$ac_ext
9278 LIBS
=$ac_check_lib_save_LIBS
9280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9281 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9282 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9284 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9289 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9290 if test "${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+set}" = set; then :
9291 $as_echo_n "(cached) " >&6
9293 ac_check_lib_save_LIBS
=$LIBS
9294 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9296 /* end confdefs.h. */
9298 /* Override any GCC internal prototype to avoid an error.
9299 Use char because int might match the return type of a GCC
9300 builtin and then its argument prototype would still apply. */
9304 char xmlSchemaSetParserStructuredErrors ();
9308 return xmlSchemaSetParserStructuredErrors ();
9313 if ac_fn_c_try_link
"$LINENO"; then :
9314 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9316 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9318 rm -f core conftest.err conftest.
$ac_objext \
9319 conftest
$ac_exeext conftest.
$ac_ext
9320 LIBS
=$ac_check_lib_save_LIBS
9322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9323 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9324 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = x
""yes; then :
9326 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9331 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9332 if test "${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+set}" = set; then :
9333 $as_echo_n "(cached) " >&6
9335 ac_check_lib_save_LIBS
=$LIBS
9336 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9338 /* end confdefs.h. */
9340 /* Override any GCC internal prototype to avoid an error.
9341 Use char because int might match the return type of a GCC
9342 builtin and then its argument prototype would still apply. */
9346 char xmlSchemaSetValidStructuredErrors ();
9350 return xmlSchemaSetValidStructuredErrors ();
9355 if ac_fn_c_try_link
"$LINENO"; then :
9356 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9358 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9360 rm -f core conftest.err conftest.
$ac_objext \
9361 conftest
$ac_exeext conftest.
$ac_ext
9362 LIBS
=$ac_check_lib_save_LIBS
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9365 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9366 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = x
""yes; then :
9368 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9373 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9374 if test "${ac_cv_lib_xml2_xmlFirstElementChild+set}" = set; then :
9375 $as_echo_n "(cached) " >&6
9377 ac_check_lib_save_LIBS
=$LIBS
9378 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9379 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9380 /* end confdefs.h. */
9382 /* Override any GCC internal prototype to avoid an error.
9383 Use char because int might match the return type of a GCC
9384 builtin and then its argument prototype would still apply. */
9388 char xmlFirstElementChild ();
9392 return xmlFirstElementChild ();
9397 if ac_fn_c_try_link
"$LINENO"; then :
9398 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9400 ac_cv_lib_xml2_xmlFirstElementChild
=no
9402 rm -f core conftest.err conftest.
$ac_objext \
9403 conftest
$ac_exeext conftest.
$ac_ext
9404 LIBS
=$ac_check_lib_save_LIBS
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9407 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9408 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = x
""yes; then :
9410 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9414 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9416 if test "x$ac_cv_type_xmlDocProperties" = x
""yes; then :
9418 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9427 CPPFLAGS
="$ac_save_CPPFLAGS"
9429 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9430 case "x$with_xml" in
9431 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9433 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9434 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9438 if test "x$with_xslt" != "xno"
9440 if test "$PKG_CONFIG" != "false"
9442 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9443 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9445 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9446 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9448 ac_save_CPPFLAGS
="$CPPFLAGS"
9449 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9450 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9452 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9453 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9454 # include <libxslt/pattern.h>
9457 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9458 cat >>confdefs.h
<<_ACEOF
9459 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9466 CPPFLAGS
="$ac_save_CPPFLAGS"
9467 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9470 $as_echo_n "checking for -lxslt... " >&6; }
9471 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9472 $as_echo_n "(cached) " >&6
9474 ac_check_soname_save_LIBS
=$LIBS
9475 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9477 /* end confdefs.h. */
9479 /* Override any GCC internal prototype to avoid an error.
9480 Use char because int might match the return type of a GCC
9481 builtin and then its argument prototype would still apply. */
9485 char xsltCompilePattern ();
9489 return xsltCompilePattern ();
9494 if ac_fn_c_try_link
"$LINENO"; then :
9496 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9497 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'` ;;
9498 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9501 rm -f core conftest.err conftest.
$ac_objext \
9502 conftest
$ac_exeext conftest.
$ac_ext
9503 LIBS
=$ac_check_soname_save_LIBS
9505 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9507 $as_echo "not found" >&6; }
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9511 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9513 cat >>confdefs.h
<<_ACEOF
9514 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9517 XSLTINCL
="$ac_xslt_cflags"
9521 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9522 case "x$with_xslt" in
9523 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9525 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9526 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9532 if test "x$with_hal" != "xno"
9534 ac_save_CPPFLAGS
="$CPPFLAGS"
9535 if test "$PKG_CONFIG" != "false"
9537 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9538 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9539 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9541 for ac_header
in dbus
/dbus.h hal
/libhal.h
9543 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9544 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9545 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9546 cat >>confdefs.h
<<_ACEOF
9547 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9554 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9557 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9558 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9559 $as_echo_n "(cached) " >&6
9561 ac_check_lib_save_LIBS
=$LIBS
9562 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9564 /* end confdefs.h. */
9566 /* Override any GCC internal prototype to avoid an error.
9567 Use char because int might match the return type of a GCC
9568 builtin and then its argument prototype would still apply. */
9572 char dbus_connection_close ();
9576 return dbus_connection_close ();
9581 if ac_fn_c_try_link
"$LINENO"; then :
9582 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9584 ac_cv_lib_dbus_1_dbus_connection_close
=no
9586 rm -f core conftest.err conftest.
$ac_objext \
9587 conftest
$ac_exeext conftest.
$ac_ext
9588 LIBS
=$ac_check_lib_save_LIBS
9590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9591 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9592 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9594 $as_echo_n "checking for -lhal... " >&6; }
9595 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_soname_save_LIBS
=$LIBS
9599 LIBS
="-lhal $ac_hal_libs $LIBS"
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9609 char libhal_ctx_new ();
9613 return libhal_ctx_new ();
9618 if ac_fn_c_try_link
"$LINENO"; then :
9620 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9621 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'` ;;
9622 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9625 rm -f core conftest.err conftest.
$ac_objext \
9626 conftest
$ac_exeext conftest.
$ac_ext
9627 LIBS
=$ac_check_soname_save_LIBS
9629 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9631 $as_echo "not found" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9635 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9637 cat >>confdefs.h
<<_ACEOF
9638 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9641 HALINCL
="$ac_hal_cflags"
9646 CPPFLAGS
="$ac_save_CPPFLAGS"
9648 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9649 case "x$with_hal" in
9650 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9652 *) as_fn_error $?
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9653 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9657 if test "x$with_gnutls" != "xno"
9659 ac_save_CPPFLAGS
="$CPPFLAGS"
9660 if test "$PKG_CONFIG" != "false"
9662 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9663 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9664 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9666 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9667 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9670 #include <gnutls/gnutls.h>
9674 typeof(gnutls_mac_get_key_size) *pfunc;
9679 if ac_fn_c_try_compile
"$LINENO"; then :
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9681 $as_echo_n "checking for -lgnutls... " >&6; }
9682 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9683 $as_echo_n "(cached) " >&6
9685 ac_check_soname_save_LIBS
=$LIBS
9686 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9696 char gnutls_global_init ();
9700 return gnutls_global_init ();
9705 if ac_fn_c_try_link
"$LINENO"; then :
9707 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9712 rm -f core conftest.err conftest.
$ac_objext \
9713 conftest
$ac_exeext conftest.
$ac_ext
9714 LIBS
=$ac_check_soname_save_LIBS
9716 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9718 $as_echo "not found" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9722 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9724 cat >>confdefs.h
<<_ACEOF
9725 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9728 GNUTLSINCL
="$ac_gnutls_cflags"
9732 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9736 CPPFLAGS
="$ac_save_CPPFLAGS"
9738 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9739 case "x$with_gnutls" in
9740 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9742 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9743 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9748 if test "$ac_cv_header_ncurses_h" = "yes"
9750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9751 $as_echo_n "checking for -lncurses... " >&6; }
9752 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9753 $as_echo_n "(cached) " >&6
9755 ac_check_soname_save_LIBS
=$LIBS
9756 LIBS
="-lncurses $LIBS"
9757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9758 /* end confdefs.h. */
9760 /* Override any GCC internal prototype to avoid an error.
9761 Use char because int might match the return type of a GCC
9762 builtin and then its argument prototype would still apply. */
9775 if ac_fn_c_try_link
"$LINENO"; then :
9777 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9778 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'` ;;
9779 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9782 rm -f core conftest.err conftest.
$ac_objext \
9783 conftest
$ac_exeext conftest.
$ac_ext
9784 LIBS
=$ac_check_soname_save_LIBS
9786 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9788 $as_echo "not found" >&6; }
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9792 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9794 cat >>confdefs.h
<<_ACEOF
9795 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9798 CURSESLIBS
="-lncurses"
9800 elif test "$ac_cv_header_curses_h" = "yes"
9802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9803 $as_echo_n "checking for -lcurses... " >&6; }
9804 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9805 $as_echo_n "(cached) " >&6
9807 ac_check_soname_save_LIBS
=$LIBS
9808 LIBS
="-lcurses $LIBS"
9809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9810 /* end confdefs.h. */
9812 /* Override any GCC internal prototype to avoid an error.
9813 Use char because int might match the return type of a GCC
9814 builtin and then its argument prototype would still apply. */
9827 if ac_fn_c_try_link
"$LINENO"; then :
9829 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9830 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'` ;;
9831 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9834 rm -f core conftest.err conftest.
$ac_objext \
9835 conftest
$ac_exeext conftest.
$ac_ext
9836 LIBS
=$ac_check_soname_save_LIBS
9838 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9840 $as_echo "not found" >&6; }
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9844 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9846 cat >>confdefs.h
<<_ACEOF
9847 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9850 CURSESLIBS
="-lcurses"
9853 ac_save_LIBS
="$LIBS"
9854 LIBS
="$LIBS $CURSESLIBS"
9855 for ac_func
in mousemask
9857 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9858 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9859 cat >>confdefs.h
<<_ACEOF
9860 #define HAVE_MOUSEMASK 1
9866 LIBS
="$ac_save_LIBS"
9867 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9868 case "x$with_curses" in
9869 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9871 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9872 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9876 if test "x$with_sane" != "xno"
9878 ac_save_CPPFLAGS
="$CPPFLAGS"
9879 # Extract the first word of "sane-config", so it can be a program name with args.
9880 set dummy sane-config
; ac_word
=$2
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9882 $as_echo_n "checking for $ac_word... " >&6; }
9883 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9884 $as_echo_n "(cached) " >&6
9886 if test -n "$sane_devel"; then
9887 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9889 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9893 test -z "$as_dir" && as_dir
=.
9894 for ac_exec_ext
in '' $ac_executable_extensions; do
9895 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9896 ac_cv_prog_sane_devel
="sane-config"
9897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9904 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9907 sane_devel
=$ac_cv_prog_sane_devel
9908 if test -n "$sane_devel"; then
9909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9910 $as_echo "$sane_devel" >&6; }
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9913 $as_echo "no" >&6; }
9917 if test "$sane_devel" != "no"
9919 ac_sane_incl
="`$sane_devel --cflags`"
9920 ac_sane_libs
="`$sane_devel --ldflags`"
9921 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9923 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9924 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9926 $as_echo_n "checking for -lsane... " >&6; }
9927 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9928 $as_echo_n "(cached) " >&6
9930 ac_check_soname_save_LIBS
=$LIBS
9931 LIBS
="-lsane $ac_sane_libs $LIBS"
9932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9933 /* end confdefs.h. */
9935 /* Override any GCC internal prototype to avoid an error.
9936 Use char because int might match the return type of a GCC
9937 builtin and then its argument prototype would still apply. */
9945 return sane_init ();
9950 if ac_fn_c_try_link
"$LINENO"; then :
9952 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9953 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'` ;;
9954 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9957 rm -f core conftest.err conftest.
$ac_objext \
9958 conftest
$ac_exeext conftest.
$ac_ext
9959 LIBS
=$ac_check_soname_save_LIBS
9961 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9963 $as_echo "not found" >&6; }
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9967 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9969 cat >>confdefs.h
<<_ACEOF
9970 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9973 SANEINCL
="$ac_sane_incl"
9979 CPPFLAGS
="$ac_save_CPPFLAGS"
9981 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9982 case "x$with_sane" in
9983 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9985 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9986 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9990 if test "x$with_v4l" != "xno"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9993 $as_echo_n "checking for -lv4l1... " >&6; }
9994 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9995 $as_echo_n "(cached) " >&6
9997 ac_check_soname_save_LIBS
=$LIBS
9999 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10002 /* Override any GCC internal prototype to avoid an error.
10003 Use char because int might match the return type of a GCC
10004 builtin and then its argument prototype would still apply. */
10012 return v4l1_open ();
10017 if ac_fn_c_try_link
"$LINENO"; then :
10019 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10024 rm -f core conftest.err conftest.
$ac_objext \
10025 conftest
$ac_exeext conftest.
$ac_ext
10026 LIBS
=$ac_check_soname_save_LIBS
10028 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10030 $as_echo "not found" >&6; }
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10034 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10036 cat >>confdefs.h
<<_ACEOF
10037 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10043 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10044 case "x$with_v4l" in
10045 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10047 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10048 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10052 if test "x$with_gphoto" != "xno"
10054 ac_save_CPPFLAGS
="$CPPFLAGS"
10055 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10056 set dummy gphoto2-config
; ac_word
=$2
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10058 $as_echo_n "checking for $ac_word... " >&6; }
10059 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
10060 $as_echo_n "(cached) " >&6
10062 if test -n "$gphoto2_devel"; then
10063 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10072 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10080 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10083 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10084 if test -n "$gphoto2_devel"; then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10086 $as_echo "$gphoto2_devel" >&6; }
10088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10089 $as_echo "no" >&6; }
10093 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10094 set dummy gphoto2-port-config
; ac_word
=$2
10095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10096 $as_echo_n "checking for $ac_word... " >&6; }
10097 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
10098 $as_echo_n "(cached) " >&6
10100 if test -n "$gphoto2port_devel"; then
10101 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10103 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10104 for as_dir
in $PATH
10107 test -z "$as_dir" && as_dir
=.
10108 for ac_exec_ext
in '' $ac_executable_extensions; do
10109 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10110 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10111 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10118 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10121 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10122 if test -n "$gphoto2port_devel"; then
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10124 $as_echo "$gphoto2port_devel" >&6; }
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10127 $as_echo "no" >&6; }
10131 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10133 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10135 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10138 -L/usr
/lib|
-L/usr
/lib64
) ;;
10139 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10142 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10144 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10145 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10146 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
10147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10148 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10149 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
10150 $as_echo_n "(cached) " >&6
10152 ac_check_lib_save_LIBS
=$LIBS
10153 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10154 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10157 /* Override any GCC internal prototype to avoid an error.
10158 Use char because int might match the return type of a GCC
10159 builtin and then its argument prototype would still apply. */
10163 char gp_camera_new ();
10167 return gp_camera_new ();
10172 if ac_fn_c_try_link
"$LINENO"; then :
10173 ac_cv_lib_gphoto2_gp_camera_new
=yes
10175 ac_cv_lib_gphoto2_gp_camera_new
=no
10177 rm -f core conftest.err conftest.
$ac_objext \
10178 conftest
$ac_exeext conftest.
$ac_ext
10179 LIBS
=$ac_check_lib_save_LIBS
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10182 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10183 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
10185 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10187 GPHOTO2LIBS
="$ac_gphoto2_libs"
10189 GPHOTO2INCL
="$ac_gphoto2_incl"
10196 CPPFLAGS
="$ac_save_CPPFLAGS"
10198 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10199 case "x$with_gphoto" in
10200 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10202 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10203 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10208 if test "$ac_cv_header_resolv_h" = "yes"
10210 ac_save_LIBS
="$LIBS"
10211 for lib
in '' -lresolv
10213 LIBS
="$lib $ac_save_LIBS"
10214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 #ifdef HAVE_NETINET_IN_H
10217 #include <netinet/in.h>
10219 #include <resolv.h>
10223 res_query("foo",ns_c_in,0,0,0);
10228 if ac_fn_c_try_link
"$LINENO"; then :
10230 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10235 rm -f core conftest.err conftest.
$ac_objext \
10236 conftest
$ac_exeext conftest.
$ac_ext
10237 if test "${RESOLVLIBS+set}" = set; then
10241 LIBS
="$ac_save_LIBS"
10246 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10249 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10250 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
10251 $as_echo_n "(cached) " >&6
10253 ac_check_lib_save_LIBS
=$LIBS
10254 LIBS
="-llcms $LIBS"
10255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10258 /* Override any GCC internal prototype to avoid an error.
10259 Use char because int might match the return type of a GCC
10260 builtin and then its argument prototype would still apply. */
10264 char cmsOpenProfileFromFile ();
10268 return cmsOpenProfileFromFile ();
10273 if ac_fn_c_try_link
"$LINENO"; then :
10274 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10276 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10278 rm -f core conftest.err conftest.
$ac_objext \
10279 conftest
$ac_exeext conftest.
$ac_ext
10280 LIBS
=$ac_check_lib_save_LIBS
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10283 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10284 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
10286 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10292 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10293 case "x$with_cms" in
10294 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10296 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10297 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10301 if test "x$with_freetype" != "xno"
10303 for ac_prog
in freetype-config freetype2-config
10305 # Extract the first word of "$ac_prog", so it can be a program name with args.
10306 set dummy
$ac_prog; ac_word
=$2
10307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10308 $as_echo_n "checking for $ac_word... " >&6; }
10309 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10310 $as_echo_n "(cached) " >&6
10312 if test -n "$ft_devel"; then
10313 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10316 for as_dir
in $PATH
10319 test -z "$as_dir" && as_dir
=.
10320 for ac_exec_ext
in '' $ac_executable_extensions; do
10321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10322 ac_cv_prog_ft_devel
="$ac_prog"
10323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10332 ft_devel
=$ac_cv_prog_ft_devel
10333 if test -n "$ft_devel"; then
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10335 $as_echo "$ft_devel" >&6; }
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10338 $as_echo "no" >&6; }
10342 test -n "$ft_devel" && break
10344 test -n "$ft_devel" || ft_devel
="no"
10346 if test "$ft_devel" != "no"
10348 ac_freetype_incl
=`$ft_devel --cflags`
10349 ac_freetype_libs
=`$ft_devel --libs`
10351 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10353 $as_echo_n "checking for -lfreetype... " >&6; }
10354 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10355 $as_echo_n "(cached) " >&6
10357 ac_check_soname_save_LIBS
=$LIBS
10358 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10359 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10360 /* end confdefs.h. */
10362 /* Override any GCC internal prototype to avoid an error.
10363 Use char because int might match the return type of a GCC
10364 builtin and then its argument prototype would still apply. */
10368 char FT_Init_FreeType ();
10372 return FT_Init_FreeType ();
10377 if ac_fn_c_try_link
"$LINENO"; then :
10379 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10380 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'` ;;
10381 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10384 rm -f core conftest.err conftest.
$ac_objext \
10385 conftest
$ac_exeext conftest.
$ac_ext
10386 LIBS
=$ac_check_soname_save_LIBS
10388 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10390 $as_echo "not found" >&6; }
10393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10394 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10396 cat >>confdefs.h
<<_ACEOF
10397 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10402 if test "$ft_lib" = "yes"
10404 ac_save_CPPFLAGS
="$CPPFLAGS"
10405 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10406 for ac_header
in ft2build.h \
10407 freetype
/freetype.h \
10408 freetype
/ftglyph.h \
10409 freetype
/fttypes.h \
10410 freetype
/tttables.h \
10411 freetype
/ftsnames.h \
10412 freetype
/ttnameid.h \
10413 freetype
/ftoutln.h \
10414 freetype
/ftwinfnt.h \
10415 freetype
/ftmodapi.h \
10416 freetype
/ftlcdfil.h \
10417 freetype
/internal
/sfnt.h
10419 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10420 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10421 # include <ft2build.h>
10424 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10425 cat >>confdefs.h
<<_ACEOF
10426 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10433 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10435 #include <ft2build.h>
10436 #include <freetype/fttrigon.h>
10438 if ac_fn_c_try_cpp
"$LINENO"; then :
10440 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10442 wine_cv_fttrigon
=yes
10444 wine_cv_fttrigon
=no
10446 rm -f conftest.err conftest.i conftest.
$ac_ext
10447 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10449 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10451 cat >>confdefs.h
<<_ACEOF
10452 #define HAVE_FT_TRUETYPEENGINETYPE 1
10458 ac_save_CFLAGS
="$CFLAGS"
10459 CFLAGS
="$CFLAGS $ac_freetype_libs"
10460 for ac_func
in FT_Load_Sfnt_Table
10462 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10463 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10464 cat >>confdefs.h
<<_ACEOF
10465 #define HAVE_FT_LOAD_SFNT_TABLE 1
10471 CFLAGS
="$ac_save_CFLAGS"
10472 CPPFLAGS
="$ac_save_CPPFLAGS"
10473 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10476 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10478 FREETYPELIBS
="$ac_freetype_libs"
10480 FREETYPEINCL
="$ac_freetype_incl"
10485 if test "x$FREETYPELIBS" = "x"; then :
10486 case "x$with_freetype" in
10488 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10489 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10492 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10495 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10496 if test "${ac_cv_c_ppdev+set}" = set; then :
10497 $as_echo_n "(cached) " >&6
10499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10501 #ifdef HAVE_SYS_IOCTL_H
10502 # include <sys/ioctl.h>
10504 #include <linux/ppdev.h>
10508 ioctl (1,PPCLAIM,0)
10513 if ac_fn_c_try_compile
"$LINENO"; then :
10514 ac_cv_c_ppdev
="yes"
10518 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10521 $as_echo "$ac_cv_c_ppdev" >&6; }
10522 if test "$ac_cv_c_ppdev" = "yes"
10525 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10529 ac_wine_check_funcs_save_LIBS
="$LIBS"
10530 LIBS
="$LIBS $LIBPTHREAD"
10532 pthread_attr_get_np \
10533 pthread_getattr_np \
10534 pthread_get_stackaddr_np \
10535 pthread_get_stacksize_np
10537 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10538 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10539 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10540 cat >>confdefs.h
<<_ACEOF
10541 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10547 LIBS
="$ac_wine_check_funcs_save_LIBS"
10549 if test "$ac_cv_header_zlib_h" = "yes"
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10552 $as_echo_n "checking for inflate in -lz... " >&6; }
10553 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10554 $as_echo_n "(cached) " >&6
10556 ac_check_lib_save_LIBS
=$LIBS
10558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10559 /* end confdefs.h. */
10561 /* Override any GCC internal prototype to avoid an error.
10562 Use char because int might match the return type of a GCC
10563 builtin and then its argument prototype would still apply. */
10576 if ac_fn_c_try_link
"$LINENO"; then :
10577 ac_cv_lib_z_inflate
=yes
10579 ac_cv_lib_z_inflate
=no
10581 rm -f core conftest.err conftest.
$ac_objext \
10582 conftest
$ac_exeext conftest.
$ac_ext
10583 LIBS
=$ac_check_lib_save_LIBS
10585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10586 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10587 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10589 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10597 if test "x$enable_tools" != xno
10599 if test "$ac_cv_header_gettext_po_h" = "yes"
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10602 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10603 if test "${ac_cv_lib_gettextpo_po_message_msgctxt+set}" = set; then :
10604 $as_echo_n "(cached) " >&6
10606 ac_check_lib_save_LIBS
=$LIBS
10607 LIBS
="-lgettextpo $LIBS"
10608 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10609 /* end confdefs.h. */
10611 /* Override any GCC internal prototype to avoid an error.
10612 Use char because int might match the return type of a GCC
10613 builtin and then its argument prototype would still apply. */
10617 char po_message_msgctxt ();
10621 return po_message_msgctxt ();
10626 if ac_fn_c_try_link
"$LINENO"; then :
10627 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10629 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10631 rm -f core conftest.err conftest.
$ac_objext \
10632 conftest
$ac_exeext conftest.
$ac_ext
10633 LIBS
=$ac_check_lib_save_LIBS
10635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10636 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10637 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = x
""yes; then :
10639 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10641 LIBGETTEXTPO
="-lgettextpo"
10646 if test "x$LIBGETTEXTPO" = "x"; then :
10647 case "x$with_gettextpo" in
10648 x
) as_fn_append wine_warnings
"|GetText ${notice_platform}development files not found (or too old). Internationalization won't be fully supported." ;;
10650 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old). Internationalization won't be fully supported.
10651 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10656 if test "x$with_esd" != xno
10658 save_CFLAGS
="$CFLAGS"
10659 # Extract the first word of "esd-config", so it can be a program name with args.
10660 set dummy esd-config
; ac_word
=$2
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10662 $as_echo_n "checking for $ac_word... " >&6; }
10663 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10664 $as_echo_n "(cached) " >&6
10668 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10671 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10672 for as_dir
in $PATH
10675 test -z "$as_dir" && as_dir
=.
10676 for ac_exec_ext
in '' $ac_executable_extensions; do
10677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10678 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10686 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10690 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10691 if test -n "$ESDCONFIG"; then
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10693 $as_echo "$ESDCONFIG" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10696 $as_echo "no" >&6; }
10700 if test "x$ESDCONFIG" != "xno"
10703 for i
in `$ESDCONFIG --cflags`
10706 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10709 ac_esd_libs
=`$ESDCONFIG --libs`
10710 CFLAGS
="$CFLAGS $ac_esd_incl"
10712 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10713 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10714 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10716 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10717 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10718 $as_echo_n "(cached) " >&6
10720 ac_check_lib_save_LIBS
=$LIBS
10721 LIBS
="-lesd $ac_esd_libs $LIBS"
10722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10723 /* end confdefs.h. */
10725 /* Override any GCC internal prototype to avoid an error.
10726 Use char because int might match the return type of a GCC
10727 builtin and then its argument prototype would still apply. */
10731 char esd_open_sound ();
10735 return esd_open_sound ();
10740 if ac_fn_c_try_link
"$LINENO"; then :
10741 ac_cv_lib_esd_esd_open_sound
=yes
10743 ac_cv_lib_esd_esd_open_sound
=no
10745 rm -f core conftest.err conftest.
$ac_objext \
10746 conftest
$ac_exeext conftest.
$ac_ext
10747 LIBS
=$ac_check_lib_save_LIBS
10749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10750 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10751 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10752 ESDINCL
="$ac_esd_incl"
10754 ESDLIBS
="$ac_esd_libs"
10757 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10764 CFLAGS
="$save_CFLAGS"
10767 if test "x$with_gstreamer" != "xno"
10769 ac_save_CPPFLAGS
="$CPPFLAGS"
10770 if test "$PKG_CONFIG" != "false"; then
10772 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10775 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10778 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10779 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10780 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10781 if test "x$ac_cv_header_gst_gstpad_h" = x
""yes; then :
10782 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10783 if test "x$ac_cv_header_gst_app_gstappsink_h" = x
""yes; then :
10784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10785 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10786 if test "${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+set}" = set; then :
10787 $as_echo_n "(cached) " >&6
10789 ac_check_lib_save_LIBS
=$LIBS
10790 LIBS
="-lgstreamer-0.10 $LIBS"
10791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10794 /* Override any GCC internal prototype to avoid an error.
10795 Use char because int might match the return type of a GCC
10796 builtin and then its argument prototype would still apply. */
10800 char gst_pad_get_caps_reffed ();
10804 return gst_pad_get_caps_reffed ();
10809 if ac_fn_c_try_link
"$LINENO"; then :
10810 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10812 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10814 rm -f core conftest.err conftest.
$ac_objext \
10815 conftest
$ac_exeext conftest.
$ac_ext
10816 LIBS
=$ac_check_lib_save_LIBS
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10819 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10820 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = x
""yes; then :
10821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10822 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10823 if test "${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+set}" = set; then :
10824 $as_echo_n "(cached) " >&6
10826 ac_check_lib_save_LIBS
=$LIBS
10827 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10829 /* end confdefs.h. */
10831 /* Override any GCC internal prototype to avoid an error.
10832 Use char because int might match the return type of a GCC
10833 builtin and then its argument prototype would still apply. */
10837 char gst_app_buffer_new ();
10841 return gst_app_buffer_new ();
10846 if ac_fn_c_try_link
"$LINENO"; then :
10847 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10849 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10851 rm -f core conftest.err conftest.
$ac_objext \
10852 conftest
$ac_exeext conftest.
$ac_ext
10853 LIBS
=$ac_check_lib_save_LIBS
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10856 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10857 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = x
""yes; then :
10858 GSTREAMER_LIBS
="$ac_gst_libs"
10860 GSTREAMER_INCL
="$ac_gst_incl"
10873 CPPFLAGS
="$ac_save_CPPFLAGS"
10875 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10876 case "x$with_gstreamer" in
10877 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10879 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10880 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10883 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10887 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10890 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10891 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+set}" = set; then :
10892 $as_echo_n "(cached) " >&6
10894 ac_check_lib_save_LIBS
=$LIBS
10895 LIBS
="-lasound $LIBS"
10896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10905 char snd_pcm_hw_params_get_access_mask ();
10909 return snd_pcm_hw_params_get_access_mask ();
10914 if ac_fn_c_try_link
"$LINENO"; then :
10915 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10917 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10919 rm -f core conftest.err conftest.
$ac_objext \
10920 conftest
$ac_exeext conftest.
$ac_ext
10921 LIBS
=$ac_check_lib_save_LIBS
10923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10924 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10925 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = x
""yes; then :
10926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10927 /* end confdefs.h. */
10928 #ifdef HAVE_ALSA_ASOUNDLIB_H
10929 #include <alsa/asoundlib.h>
10930 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10931 #include <sys/asoundlib.h>
10936 int ret = snd_pcm_hw_params_get_access_mask(NULL, NULL)
10941 if ac_fn_c_try_compile
"$LINENO"; then :
10943 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10945 ALSALIBS
="-lasound"
10947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10953 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10956 $as_echo_n "checking for -lcapi20... " >&6; }
10957 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10958 $as_echo_n "(cached) " >&6
10960 ac_check_soname_save_LIBS
=$LIBS
10961 LIBS
="-lcapi20 $LIBS"
10962 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10963 /* end confdefs.h. */
10965 /* Override any GCC internal prototype to avoid an error.
10966 Use char because int might match the return type of a GCC
10967 builtin and then its argument prototype would still apply. */
10971 char capi20_register ();
10975 return capi20_register ();
10980 if ac_fn_c_try_link
"$LINENO"; then :
10982 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10983 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'` ;;
10984 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10987 rm -f core conftest.err conftest.
$ac_objext \
10988 conftest
$ac_exeext conftest.
$ac_ext
10989 LIBS
=$ac_check_soname_save_LIBS
10991 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10993 $as_echo "not found" >&6; }
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10997 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10999 cat >>confdefs.h
<<_ACEOF
11000 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11006 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11007 case "x$with_capi" in
11008 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11010 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11011 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11017 if test "x$with_cups" != "xno"
11019 ac_save_CPPFLAGS
="$CPPFLAGS"
11020 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11021 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11022 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11023 for ac_header
in cups
/cups.h
11025 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11026 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
11027 cat >>confdefs.h
<<_ACEOF
11028 #define HAVE_CUPS_CUPS_H 1
11030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11031 $as_echo_n "checking for -lcups... " >&6; }
11032 if test "${ac_cv_lib_soname_cups+set}" = set; then :
11033 $as_echo_n "(cached) " >&6
11035 ac_check_soname_save_LIBS
=$LIBS
11036 LIBS
="-lcups $ac_cups_libs $LIBS"
11037 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11038 /* end confdefs.h. */
11040 /* Override any GCC internal prototype to avoid an error.
11041 Use char because int might match the return type of a GCC
11042 builtin and then its argument prototype would still apply. */
11046 char cupsGetDefault ();
11050 return cupsGetDefault ();
11055 if ac_fn_c_try_link
"$LINENO"; then :
11057 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11058 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'` ;;
11059 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11062 rm -f core conftest.err conftest.
$ac_objext \
11063 conftest
$ac_exeext conftest.
$ac_ext
11064 LIBS
=$ac_check_soname_save_LIBS
11066 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11068 $as_echo "not found" >&6; }
11071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11072 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11074 cat >>confdefs.h
<<_ACEOF
11075 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11078 CUPSINCL
="$ac_cups_cflags"
11084 CPPFLAGS
="$ac_save_CPPFLAGS"
11086 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11087 case "x$with_cups" in
11088 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11090 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11091 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11095 if test "$ac_cv_header_jack_jack_h" = "yes"
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
11098 $as_echo_n "checking for -ljack... " >&6; }
11099 if test "${ac_cv_lib_soname_jack+set}" = set; then :
11100 $as_echo_n "(cached) " >&6
11102 ac_check_soname_save_LIBS
=$LIBS
11103 LIBS
="-ljack $LIBS"
11104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11113 char jack_client_new ();
11117 return jack_client_new ();
11122 if ac_fn_c_try_link
"$LINENO"; then :
11124 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11125 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'` ;;
11126 *) 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'` ;;
11129 rm -f core conftest.err conftest.
$ac_objext \
11130 conftest
$ac_exeext conftest.
$ac_ext
11131 LIBS
=$ac_check_soname_save_LIBS
11133 if test "x$ac_cv_lib_soname_jack" = "x"; then :
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11135 $as_echo "not found" >&6; }
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
11139 $as_echo "$ac_cv_lib_soname_jack" >&6; }
11141 cat >>confdefs.h
<<_ACEOF
11142 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
11149 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
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 $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"
11201 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11203 ac_save_CPPFLAGS
="$CPPFLAGS"
11204 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11205 $as_unset ac_cv_header_fontconfig_fontconfig_h
11206 for ac_header
in fontconfig
/fontconfig.h
11208 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11209 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
11210 cat >>confdefs.h
<<_ACEOF
11211 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11218 CPPFLAGS
="$ac_save_CPPFLAGS"
11219 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11221 FONTCONFIGINCL
="$X_CFLAGS"
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11224 $as_echo_n "checking for -lfontconfig... " >&6; }
11225 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
11226 $as_echo_n "(cached) " >&6
11228 ac_check_soname_save_LIBS
=$LIBS
11229 LIBS
="-lfontconfig $X_LIBS $LIBS"
11230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11233 /* Override any GCC internal prototype to avoid an error.
11234 Use char because int might match the return type of a GCC
11235 builtin and then its argument prototype would still apply. */
11248 if ac_fn_c_try_link
"$LINENO"; then :
11250 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11251 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'` ;;
11252 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11255 rm -f core conftest.err conftest.
$ac_objext \
11256 conftest
$ac_exeext conftest.
$ac_ext
11257 LIBS
=$ac_check_soname_save_LIBS
11259 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11261 $as_echo "not found" >&6; }
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11265 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11267 cat >>confdefs.h
<<_ACEOF
11268 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11275 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11276 case "x$with_fontconfig" in
11277 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11279 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11280 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11284 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11287 $as_echo_n "checking for -lssl... " >&6; }
11288 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
11289 $as_echo_n "(cached) " >&6
11291 ac_check_soname_save_LIBS
=$LIBS
11293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11294 /* end confdefs.h. */
11296 /* Override any GCC internal prototype to avoid an error.
11297 Use char because int might match the return type of a GCC
11298 builtin and then its argument prototype would still apply. */
11302 char SSL_library_init ();
11306 return SSL_library_init ();
11311 if ac_fn_c_try_link
"$LINENO"; then :
11313 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11314 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'` ;;
11315 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11318 rm -f core conftest.err conftest.
$ac_objext \
11319 conftest
$ac_exeext conftest.
$ac_ext
11320 LIBS
=$ac_check_soname_save_LIBS
11322 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11324 $as_echo "not found" >&6; }
11327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11328 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11330 cat >>confdefs.h
<<_ACEOF
11331 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11337 $as_echo_n "checking for -lcrypto... " >&6; }
11338 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11339 $as_echo_n "(cached) " >&6
11341 ac_check_soname_save_LIBS
=$LIBS
11342 LIBS
="-lcrypto $LIBS"
11343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11344 /* end confdefs.h. */
11346 /* Override any GCC internal prototype to avoid an error.
11347 Use char because int might match the return type of a GCC
11348 builtin and then its argument prototype would still apply. */
11352 char BIO_new_socket ();
11356 return BIO_new_socket ();
11361 if ac_fn_c_try_link
"$LINENO"; then :
11363 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11364 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'` ;;
11365 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11368 rm -f core conftest.err conftest.
$ac_objext \
11369 conftest
$ac_exeext conftest.
$ac_ext
11370 LIBS
=$ac_check_soname_save_LIBS
11372 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11374 $as_echo "not found" >&6; }
11377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11378 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11380 cat >>confdefs.h
<<_ACEOF
11381 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11387 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11388 case "x$with_openssl" in
11389 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11391 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11392 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11396 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11399 $as_echo_n "checking for -lgsm... " >&6; }
11400 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11403 ac_check_soname_save_LIBS
=$LIBS
11405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11406 /* end confdefs.h. */
11408 /* Override any GCC internal prototype to avoid an error.
11409 Use char because int might match the return type of a GCC
11410 builtin and then its argument prototype would still apply. */
11414 char gsm_create ();
11418 return gsm_create ();
11423 if ac_fn_c_try_link
"$LINENO"; then :
11425 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11426 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'` ;;
11427 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11430 rm -f core conftest.err conftest.
$ac_objext \
11431 conftest
$ac_exeext conftest.
$ac_ext
11432 LIBS
=$ac_check_soname_save_LIBS
11434 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11436 $as_echo "not found" >&6; }
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11440 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11442 cat >>confdefs.h
<<_ACEOF
11443 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11449 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11450 case "x$with_gsm" in
11451 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11453 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11454 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11458 if test "$ac_cv_header_jpeglib_h" = "yes"
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11461 $as_echo_n "checking for -ljpeg... " >&6; }
11462 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11463 $as_echo_n "(cached) " >&6
11465 ac_check_soname_save_LIBS
=$LIBS
11466 LIBS
="-ljpeg $LIBS"
11467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11476 char jpeg_start_decompress ();
11480 return jpeg_start_decompress ();
11485 if ac_fn_c_try_link
"$LINENO"; then :
11487 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11488 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'` ;;
11489 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11492 rm -f core conftest.err conftest.
$ac_objext \
11493 conftest
$ac_exeext conftest.
$ac_ext
11494 LIBS
=$ac_check_soname_save_LIBS
11496 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11498 $as_echo "not found" >&6; }
11501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11502 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11504 cat >>confdefs.h
<<_ACEOF
11505 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11511 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11512 case "x$with_jpeg" in
11513 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11515 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11516 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11520 if test "$ac_cv_header_png_h" = "yes"
11522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11523 $as_echo_n "checking for -lpng... " >&6; }
11524 if test "${ac_cv_lib_soname_png+set}" = set; then :
11525 $as_echo_n "(cached) " >&6
11527 ac_check_soname_save_LIBS
=$LIBS
11528 LIBS
="-lpng -lm -lz $LIBS"
11529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11532 /* Override any GCC internal prototype to avoid an error.
11533 Use char because int might match the return type of a GCC
11534 builtin and then its argument prototype would still apply. */
11538 char png_create_read_struct ();
11542 return png_create_read_struct ();
11547 if ac_fn_c_try_link
"$LINENO"; then :
11549 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11550 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'` ;;
11551 *) 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'` ;;
11554 rm -f core conftest.err conftest.
$ac_objext \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 LIBS
=$ac_check_soname_save_LIBS
11558 if test "x$ac_cv_lib_soname_png" = "x"; then :
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11560 $as_echo "not found" >&6; }
11563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11564 $as_echo "$ac_cv_lib_soname_png" >&6; }
11566 cat >>confdefs.h
<<_ACEOF
11567 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11573 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11574 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11575 $as_echo_n "(cached) " >&6
11577 ac_check_lib_save_LIBS
=$LIBS
11578 LIBS
="-lpng -lm -lz $LIBS"
11579 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11580 /* end confdefs.h. */
11582 /* Override any GCC internal prototype to avoid an error.
11583 Use char because int might match the return type of a GCC
11584 builtin and then its argument prototype would still apply. */
11588 char png_set_expand_gray_1_2_4_to_8 ();
11592 return png_set_expand_gray_1_2_4_to_8 ();
11597 if ac_fn_c_try_link
"$LINENO"; then :
11598 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11600 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11602 rm -f core conftest.err conftest.
$ac_objext \
11603 conftest
$ac_exeext conftest.
$ac_ext
11604 LIBS
=$ac_check_lib_save_LIBS
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11607 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11608 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11610 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11615 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11617 ac_save_CPPFLAGS
="$CPPFLAGS"
11618 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11619 $as_unset ac_cv_header_png_h
11620 for ac_header
in png.h
11622 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11623 if test "x$ac_cv_header_png_h" = x
""yes; then :
11624 cat >>confdefs.h
<<_ACEOF
11625 #define HAVE_PNG_H 1
11632 CPPFLAGS
="$ac_save_CPPFLAGS"
11633 if test "$ac_cv_header_png_h" = "yes"
11635 PNGINCL
="$X_CFLAGS"
11637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11638 $as_echo_n "checking for -lpng... " >&6; }
11639 if test "${ac_cv_lib_soname_png+set}" = set; then :
11640 $as_echo_n "(cached) " >&6
11642 ac_check_soname_save_LIBS
=$LIBS
11643 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11644 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11645 /* end confdefs.h. */
11647 /* Override any GCC internal prototype to avoid an error.
11648 Use char because int might match the return type of a GCC
11649 builtin and then its argument prototype would still apply. */
11653 char png_create_read_struct ();
11657 return png_create_read_struct ();
11662 if ac_fn_c_try_link
"$LINENO"; then :
11664 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11665 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'` ;;
11666 *) 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'` ;;
11669 rm -f core conftest.err conftest.
$ac_objext \
11670 conftest
$ac_exeext conftest.
$ac_ext
11671 LIBS
=$ac_check_soname_save_LIBS
11673 if test "x$ac_cv_lib_soname_png" = "x"; then :
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11675 $as_echo "not found" >&6; }
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11679 $as_echo "$ac_cv_lib_soname_png" >&6; }
11681 cat >>confdefs.h
<<_ACEOF
11682 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11688 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11689 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11690 $as_echo_n "(cached) " >&6
11692 ac_check_lib_save_LIBS
=$LIBS
11693 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11694 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11695 /* end confdefs.h. */
11697 /* Override any GCC internal prototype to avoid an error.
11698 Use char because int might match the return type of a GCC
11699 builtin and then its argument prototype would still apply. */
11703 char png_set_expand_gray_1_2_4_to_8 ();
11707 return png_set_expand_gray_1_2_4_to_8 ();
11712 if ac_fn_c_try_link
"$LINENO"; then :
11713 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11715 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11717 rm -f core conftest.err conftest.
$ac_objext \
11718 conftest
$ac_exeext conftest.
$ac_ext
11719 LIBS
=$ac_check_lib_save_LIBS
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11722 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11723 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11724 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11730 if test "x$ac_cv_lib_soname_png" = "x"; then :
11731 case "x$with_png" in
11732 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11734 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11735 This is an error since --with-png was requested." "$LINENO" 5 ;;
11739 if test "$ac_cv_header_tiffio_h" = "yes"
11741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11742 $as_echo_n "checking for -ltiff... " >&6; }
11743 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11744 $as_echo_n "(cached) " >&6
11746 ac_check_soname_save_LIBS
=$LIBS
11747 LIBS
="-ltiff $LIBS"
11748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11749 /* end confdefs.h. */
11751 /* Override any GCC internal prototype to avoid an error.
11752 Use char because int might match the return type of a GCC
11753 builtin and then its argument prototype would still apply. */
11757 char TIFFClientOpen ();
11761 return TIFFClientOpen ();
11766 if ac_fn_c_try_link
"$LINENO"; then :
11768 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11769 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'` ;;
11770 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11773 rm -f core conftest.err conftest.
$ac_objext \
11774 conftest
$ac_exeext conftest.
$ac_ext
11775 LIBS
=$ac_check_soname_save_LIBS
11777 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11779 $as_echo "not found" >&6; }
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11783 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11785 cat >>confdefs.h
<<_ACEOF
11786 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11792 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11793 case "x$with_tiff" in
11794 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11796 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11797 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11801 if test "$ac_cv_header_mpg123_h" = "yes"
11803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11804 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11805 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11806 $as_echo_n "(cached) " >&6
11808 ac_check_lib_save_LIBS
=$LIBS
11809 LIBS
="-lmpg123 $LIBS"
11810 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11811 /* end confdefs.h. */
11813 /* Override any GCC internal prototype to avoid an error.
11814 Use char because int might match the return type of a GCC
11815 builtin and then its argument prototype would still apply. */
11819 char mpg123_feed ();
11823 return mpg123_feed ();
11828 if ac_fn_c_try_link
"$LINENO"; then :
11829 ac_cv_lib_mpg123_mpg123_feed
=yes
11831 ac_cv_lib_mpg123_mpg123_feed
=no
11833 rm -f core conftest.err conftest.
$ac_objext \
11834 conftest
$ac_exeext conftest.
$ac_ext
11835 LIBS
=$ac_check_lib_save_LIBS
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11838 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11839 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11840 LIBMPG123
="-lmpg123"
11845 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11846 case "x$with_mpg123" in
11847 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11849 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11850 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11853 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}
11855 if test "$ac_cv_header_AL_al_h" = "yes"
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11858 $as_echo_n "checking for -lopenal... " >&6; }
11859 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11860 $as_echo_n "(cached) " >&6
11862 ac_check_soname_save_LIBS
=$LIBS
11863 LIBS
="-lopenal $LIBS"
11864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11865 /* end confdefs.h. */
11867 /* Override any GCC internal prototype to avoid an error.
11868 Use char because int might match the return type of a GCC
11869 builtin and then its argument prototype would still apply. */
11873 char alGetSource3i ();
11877 return alGetSource3i ();
11882 if ac_fn_c_try_link
"$LINENO"; then :
11884 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11885 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'` ;;
11886 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11889 rm -f core conftest.err conftest.
$ac_objext \
11890 conftest
$ac_exeext conftest.
$ac_ext
11891 LIBS
=$ac_check_soname_save_LIBS
11893 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11895 $as_echo "not found" >&6; }
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11899 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11901 cat >>confdefs.h
<<_ACEOF
11902 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11905 LIBOPENAL
="-lopenal"
11907 ac_cv_lib_openal
=yes
11909 cat >>confdefs.h
<<_ACEOF
11910 #define HAVE_OPENAL 1
11915 if test "x$ac_cv_lib_openal" != xyes
; then :
11916 case "x$with_openal" in
11917 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11919 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11920 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11923 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11925 if test "$ac_cv_header_kstat_h" = "yes"
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11928 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11929 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11930 $as_echo_n "(cached) " >&6
11932 ac_check_lib_save_LIBS
=$LIBS
11933 LIBS
="-lkstat $LIBS"
11934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11937 /* Override any GCC internal prototype to avoid an error.
11938 Use char because int might match the return type of a GCC
11939 builtin and then its argument prototype would still apply. */
11943 char kstat_open ();
11947 return kstat_open ();
11952 if ac_fn_c_try_link
"$LINENO"; then :
11953 ac_cv_lib_kstat_kstat_open
=yes
11955 ac_cv_lib_kstat_kstat_open
=no
11957 rm -f core conftest.err conftest.
$ac_objext \
11958 conftest
$ac_exeext conftest.
$ac_ext
11959 LIBS
=$ac_check_lib_save_LIBS
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11962 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11963 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11965 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11974 $as_echo_n "checking for -lodbc... " >&6; }
11975 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11976 $as_echo_n "(cached) " >&6
11978 ac_check_soname_save_LIBS
=$LIBS
11979 LIBS
="-lodbc $LIBS"
11980 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11981 /* end confdefs.h. */
11983 /* Override any GCC internal prototype to avoid an error.
11984 Use char because int might match the return type of a GCC
11985 builtin and then its argument prototype would still apply. */
11989 char SQLConnect ();
11993 return SQLConnect ();
11998 if ac_fn_c_try_link
"$LINENO"; then :
12000 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12001 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'` ;;
12002 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
12005 rm -f core conftest.err conftest.
$ac_objext \
12006 conftest
$ac_exeext conftest.
$ac_ext
12007 LIBS
=$ac_check_soname_save_LIBS
12009 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12011 $as_echo "not found" >&6; }
12012 cat >>confdefs.h
<<_ACEOF
12013 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12018 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12020 cat >>confdefs.h
<<_ACEOF
12021 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12027 if test "x$ALSALIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
12028 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
12029 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
12030 "$ac_cv_header_soundcard_h" != "yes" -a \
12031 "x$with_alsa$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnononononono
12033 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12039 if test "x${GCC}" = "xyes"
12041 EXTRACFLAGS
="-Wall -pipe"
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12044 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12045 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
12046 $as_echo_n "(cached) " >&6
12048 if test "$cross_compiling" = yes; then :
12049 ac_cv_c_gcc_strength_bug
="yes"
12051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12053 int L[4] = {0,1,2,3};
12057 static int Array[3];
12058 unsigned int B = 3;
12060 for(i=0; i<B; i++) Array[i] = i - 3;
12061 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12063 return (Array[1] != -2 || L[2] != 3)
12068 if ac_fn_c_try_run
"$LINENO"; then :
12069 ac_cv_c_gcc_strength_bug
="no"
12071 ac_cv_c_gcc_strength_bug
="yes"
12073 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12074 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12079 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12080 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12082 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12086 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12087 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
12088 $as_echo_n "(cached) " >&6
12090 ac_wine_try_cflags_saved
=$CFLAGS
12091 CFLAGS
="$CFLAGS -fno-builtin"
12092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12093 /* end confdefs.h. */
12094 int main(int argc, char **argv) { return 0; }
12096 if ac_fn_c_try_link
"$LINENO"; then :
12097 ac_cv_cflags__fno_builtin
=yes
12099 ac_cv_cflags__fno_builtin
=no
12101 rm -f core conftest.err conftest.
$ac_objext \
12102 conftest
$ac_exeext conftest.
$ac_ext
12103 CFLAGS
=$ac_wine_try_cflags_saved
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12106 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12107 if test $ac_cv_cflags__fno_builtin = yes; then :
12108 BUILTINFLAG
="-fno-builtin"
12111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12112 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12113 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
12114 $as_echo_n "(cached) " >&6
12116 ac_wine_try_cflags_saved
=$CFLAGS
12117 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12118 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12119 /* end confdefs.h. */
12120 int main(int argc, char **argv) { return 0; }
12122 if ac_fn_c_try_link
"$LINENO"; then :
12123 ac_cv_cflags__fno_strict_aliasing
=yes
12125 ac_cv_cflags__fno_strict_aliasing
=no
12127 rm -f core conftest.err conftest.
$ac_objext \
12128 conftest
$ac_exeext conftest.
$ac_ext
12129 CFLAGS
=$ac_wine_try_cflags_saved
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12132 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12133 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12134 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12137 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12138 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
12139 $as_echo_n "(cached) " >&6
12141 ac_wine_try_cflags_saved
=$CFLAGS
12142 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12144 /* end confdefs.h. */
12145 int main(int argc, char **argv) { return 0; }
12147 if ac_fn_c_try_link
"$LINENO"; then :
12148 ac_cv_cflags__Wdeclaration_after_statement
=yes
12150 ac_cv_cflags__Wdeclaration_after_statement
=no
12152 rm -f core conftest.err conftest.
$ac_objext \
12153 conftest
$ac_exeext conftest.
$ac_ext
12154 CFLAGS
=$ac_wine_try_cflags_saved
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12157 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12158 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12159 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12162 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12163 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
12164 $as_echo_n "(cached) " >&6
12166 ac_wine_try_cflags_saved
=$CFLAGS
12167 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12168 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12169 /* end confdefs.h. */
12170 int main(int argc, char **argv) { return 0; }
12172 if ac_fn_c_try_link
"$LINENO"; then :
12173 ac_cv_cflags__Wstrict_prototypes
=yes
12175 ac_cv_cflags__Wstrict_prototypes
=no
12177 rm -f core conftest.err conftest.
$ac_objext \
12178 conftest
$ac_exeext conftest.
$ac_ext
12179 CFLAGS
=$ac_wine_try_cflags_saved
12181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12182 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12183 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12184 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12187 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12188 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
12189 $as_echo_n "(cached) " >&6
12191 ac_wine_try_cflags_saved
=$CFLAGS
12192 CFLAGS
="$CFLAGS -Wtype-limits"
12193 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12194 /* end confdefs.h. */
12195 int main(int argc, char **argv) { return 0; }
12197 if ac_fn_c_try_link
"$LINENO"; then :
12198 ac_cv_cflags__Wtype_limits
=yes
12200 ac_cv_cflags__Wtype_limits
=no
12202 rm -f core conftest.err conftest.
$ac_objext \
12203 conftest
$ac_exeext conftest.
$ac_ext
12204 CFLAGS
=$ac_wine_try_cflags_saved
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12207 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12208 if test $ac_cv_cflags__Wtype_limits = yes; then :
12209 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12212 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12213 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
12214 $as_echo_n "(cached) " >&6
12216 ac_wine_try_cflags_saved
=$CFLAGS
12217 CFLAGS
="$CFLAGS -Wwrite-strings"
12218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12219 /* end confdefs.h. */
12220 int main(int argc, char **argv) { return 0; }
12222 if ac_fn_c_try_link
"$LINENO"; then :
12223 ac_cv_cflags__Wwrite_strings
=yes
12225 ac_cv_cflags__Wwrite_strings
=no
12227 rm -f core conftest.err conftest.
$ac_objext \
12228 conftest
$ac_exeext conftest.
$ac_ext
12229 CFLAGS
=$ac_wine_try_cflags_saved
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12232 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12233 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12234 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12237 saved_CFLAGS
="$CFLAGS"
12238 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12240 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12241 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
12242 $as_echo_n "(cached) " >&6
12244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12245 /* end confdefs.h. */
12246 #include <string.h>
12255 if ac_fn_c_try_compile
"$LINENO"; then :
12256 ac_cv_c_string_h_warnings
=no
12258 ac_cv_c_string_h_warnings
=yes
12260 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12263 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12264 CFLAGS
="$saved_CFLAGS"
12265 if test "$ac_cv_c_string_h_warnings" = "no"
12267 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12270 saved_CFLAGS
="$CFLAGS"
12271 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12273 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12274 if test "${ac_cv_c_logicalop_noisy+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12278 /* end confdefs.h. */
12279 #include <string.h>
12283 char*f(const char *h,char n) {return strchr(h,n);}
12288 if ac_fn_c_try_compile
"$LINENO"; then :
12289 ac_cv_c_logicalop_noisy
=no
12291 ac_cv_c_logicalop_noisy
=yes
12293 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12296 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12297 CFLAGS
="$saved_CFLAGS"
12298 if test "$ac_cv_c_logicalop_noisy" = "no"
12300 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12303 if test "x$enable_maintainer_mode" = "xyes"
12305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12306 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12307 if test "${ac_cv_cflags__Werror+set}" = set; then :
12308 $as_echo_n "(cached) " >&6
12310 ac_wine_try_cflags_saved
=$CFLAGS
12311 CFLAGS
="$CFLAGS -Werror"
12312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12313 /* end confdefs.h. */
12314 int main(int argc, char **argv) { return 0; }
12316 if ac_fn_c_try_link
"$LINENO"; then :
12317 ac_cv_cflags__Werror
=yes
12319 ac_cv_cflags__Werror
=no
12321 rm -f core conftest.err conftest.
$ac_objext \
12322 conftest
$ac_exeext conftest.
$ac_ext
12323 CFLAGS
=$ac_wine_try_cflags_saved
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12326 $as_echo "$ac_cv_cflags__Werror" >&6; }
12327 if test $ac_cv_cflags__Werror = yes; then :
12328 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12332 saved_CFLAGS
="$CFLAGS"
12333 CFLAGS
="$CFLAGS -Werror"
12334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12335 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12336 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12337 $as_echo_n "(cached) " >&6
12339 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12340 /* end confdefs.h. */
12341 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12350 if ac_fn_c_try_compile
"$LINENO"; then :
12351 ac_cv_have_ms_hook_prologue
="yes"
12353 ac_cv_have_ms_hook_prologue
="no"
12355 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12358 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12359 CFLAGS
="$saved_CFLAGS"
12360 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12363 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12366 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12373 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12374 if test "${ac_cv_c_fortify_enabled+set}" = set; then :
12375 $as_echo_n "(cached) " >&6
12377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12378 /* end confdefs.h. */
12379 #include <string.h>
12383 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12384 #error Fortify enabled
12390 if ac_fn_c_try_compile
"$LINENO"; then :
12391 ac_cv_c_fortify_enabled
=no
12393 ac_cv_c_fortify_enabled
=yes
12395 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12398 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12399 if test "$ac_cv_c_fortify_enabled" = yes
12401 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12406 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12407 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12408 $as_echo_n "(cached) " >&6
12410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 extern int ac_test;
12416 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12421 if ac_fn_c_try_link
"$LINENO"; then :
12422 ac_cv_c_extern_prefix
="yes"
12424 ac_cv_c_extern_prefix
="no"
12426 rm -f core conftest.err conftest.
$ac_objext \
12427 conftest
$ac_exeext conftest.
$ac_ext
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12430 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12435 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12436 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12437 $as_echo_n "(cached) " >&6
12439 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12440 /* end confdefs.h. */
12442 #define __stdcall __attribute__((__stdcall__))
12444 int __stdcall ac_test(int i) { return i; }
12448 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12453 if ac_fn_c_try_link
"$LINENO"; then :
12454 ac_cv_c_stdcall_suffix
="yes"
12456 ac_cv_c_stdcall_suffix
="no"
12458 rm -f core conftest.err conftest.
$ac_objext \
12459 conftest
$ac_exeext conftest.
$ac_ext
12461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12462 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12463 *) ac_cv_c_stdcall_suffix
="no" ;;
12467 if test "$ac_cv_c_extern_prefix" = "yes"
12469 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12471 asm_name_prefix
="_"
12473 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12479 if test "$ac_cv_c_stdcall_suffix" = "yes"
12481 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12484 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12490 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12491 if test "${ac_cv_asm_func_def+set}" = set; then :
12492 $as_echo_n "(cached) " >&6
12494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12500 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12505 if ac_fn_c_try_link
"$LINENO"; then :
12506 ac_cv_asm_func_def
=".def"
12508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12509 /* end confdefs.h. */
12514 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12519 if ac_fn_c_try_link
"$LINENO"; then :
12520 ac_cv_asm_func_def
=".type @function"
12522 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12528 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12533 if ac_fn_c_try_link
"$LINENO"; then :
12534 ac_cv_asm_func_def
=".type 2"
12536 ac_cv_asm_func_def
="unknown"
12538 rm -f core conftest.err conftest.
$ac_objext \
12539 conftest
$ac_exeext conftest.
$ac_ext
12541 rm -f core conftest.err conftest.
$ac_objext \
12542 conftest
$ac_exeext conftest.
$ac_ext
12544 rm -f core conftest.err conftest.
$ac_objext \
12545 conftest
$ac_exeext conftest.
$ac_ext
12547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12548 $as_echo "$ac_cv_asm_func_def" >&6; }
12551 case "$ac_cv_asm_func_def" in
12553 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12555 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12557 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12559 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12561 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12563 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12565 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12567 asm_func_header
="" ;;
12570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12571 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12572 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12573 $as_echo_n "(cached) " >&6
12575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12577 asm(".text\n\t.long 0");
12586 if ac_fn_c_try_compile
"$LINENO"; then :
12587 ac_cv_c_asm_outside_funcs
="yes"
12589 ac_cv_c_asm_outside_funcs
="no"
12591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12594 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12597 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12598 if test "${ac_cv_c_dot_previous+set}" = set; then :
12599 $as_echo_n "(cached) " >&6
12601 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12602 /* end confdefs.h. */
12607 asm(".text\nac_test:\t.long 0\n\t.previous");
12612 if ac_fn_c_try_link
"$LINENO"; then :
12613 ac_cv_c_dot_previous
="yes"
12615 ac_cv_c_dot_previous
="no"
12617 rm -f core conftest.err conftest.
$ac_objext \
12618 conftest
$ac_exeext conftest.
$ac_ext
12620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12621 $as_echo "$ac_cv_c_dot_previous" >&6; }
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12624 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12625 if test "${ac_cv_c_cfi_support+set}" = set; then :
12626 $as_echo_n "(cached) " >&6
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12630 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12639 if ac_fn_c_try_compile
"$LINENO"; then :
12640 ac_cv_c_cfi_support
="yes"
12642 ac_cv_c_cfi_support
="no"
12644 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12647 $as_echo "$ac_cv_c_cfi_support" >&6; }
12649 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12650 asm_func_trailer
=""
12651 if test "$ac_cv_c_dot_previous" = "yes"
12653 asm_func_trailer
="\\n\\t.previous"
12655 if test "$ac_cv_c_cfi_support" = "yes"
12657 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12658 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12660 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12662 UNWINDFLAGS
=-fasynchronous-unwind-tables
12665 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12669 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12672 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12674 cat >>confdefs.h
<<_ACEOF
12675 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12679 cat >>confdefs.h
<<_ACEOF
12680 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12685 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12688 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12698 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12703 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12711 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12718 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12723 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12725 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12732 ac_save_CFLAGS
="$CFLAGS"
12733 CFLAGS
="$CFLAGS $BUILTINFLAG"
12780 sched_setaffinity \
12809 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12810 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12811 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12812 cat >>confdefs.h
<<_ACEOF
12813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12819 CFLAGS
="$ac_save_CFLAGS"
12821 if test "$ac_cv_func_dlopen" = no
12823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12824 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12825 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12826 $as_echo_n "(cached) " >&6
12828 ac_check_lib_save_LIBS
=$LIBS
12830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12831 /* end confdefs.h. */
12833 /* Override any GCC internal prototype to avoid an error.
12834 Use char because int might match the return type of a GCC
12835 builtin and then its argument prototype would still apply. */
12848 if ac_fn_c_try_link
"$LINENO"; then :
12849 ac_cv_lib_dl_dlopen
=yes
12851 ac_cv_lib_dl_dlopen
=no
12853 rm -f core conftest.err conftest.
$ac_objext \
12854 conftest
$ac_exeext conftest.
$ac_ext
12855 LIBS
=$ac_check_lib_save_LIBS
12857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12858 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12859 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12860 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12866 ac_wine_check_funcs_save_LIBS
="$LIBS"
12867 LIBS
="$LIBS $LIBDL"
12868 for ac_func
in dladdr
12870 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12871 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12872 cat >>confdefs.h
<<_ACEOF
12873 #define HAVE_DLADDR 1
12879 LIBS
="$ac_wine_check_funcs_save_LIBS"
12881 if test "$ac_cv_func_poll" = no
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12884 $as_echo_n "checking for poll in -lpoll... " >&6; }
12885 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12886 $as_echo_n "(cached) " >&6
12888 ac_check_lib_save_LIBS
=$LIBS
12889 LIBS
="-lpoll $LIBS"
12890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 /* Override any GCC internal prototype to avoid an error.
12894 Use char because int might match the return type of a GCC
12895 builtin and then its argument prototype would still apply. */
12908 if ac_fn_c_try_link
"$LINENO"; then :
12909 ac_cv_lib_poll_poll
=yes
12911 ac_cv_lib_poll_poll
=no
12913 rm -f core conftest.err conftest.
$ac_objext \
12914 conftest
$ac_exeext conftest.
$ac_ext
12915 LIBS
=$ac_check_lib_save_LIBS
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12918 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12919 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12920 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12928 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12929 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12930 $as_echo_n "(cached) " >&6
12932 ac_func_search_save_LIBS
=$LIBS
12933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12934 /* end confdefs.h. */
12936 /* Override any GCC internal prototype to avoid an error.
12937 Use char because int might match the return type of a GCC
12938 builtin and then its argument prototype would still apply. */
12942 char gethostbyname ();
12946 return gethostbyname ();
12951 for ac_lib
in '' nsl
; do
12952 if test -z "$ac_lib"; then
12953 ac_res
="none required"
12956 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12958 if ac_fn_c_try_link
"$LINENO"; then :
12959 ac_cv_search_gethostbyname
=$ac_res
12961 rm -f core conftest.err conftest.
$ac_objext \
12963 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12967 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12970 ac_cv_search_gethostbyname
=no
12972 rm conftest.
$ac_ext
12973 LIBS
=$ac_func_search_save_LIBS
12975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12976 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12977 ac_res
=$ac_cv_search_gethostbyname
12978 if test "$ac_res" != no
; then :
12979 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12985 $as_echo_n "checking for library containing connect... " >&6; }
12986 if test "${ac_cv_search_connect+set}" = set; then :
12987 $as_echo_n "(cached) " >&6
12989 ac_func_search_save_LIBS
=$LIBS
12990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12991 /* end confdefs.h. */
12993 /* Override any GCC internal prototype to avoid an error.
12994 Use char because int might match the return type of a GCC
12995 builtin and then its argument prototype would still apply. */
13008 for ac_lib
in '' socket
; do
13009 if test -z "$ac_lib"; then
13010 ac_res
="none required"
13013 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13015 if ac_fn_c_try_link
"$LINENO"; then :
13016 ac_cv_search_connect
=$ac_res
13018 rm -f core conftest.err conftest.
$ac_objext \
13020 if test "${ac_cv_search_connect+set}" = set; then :
13024 if test "${ac_cv_search_connect+set}" = set; then :
13027 ac_cv_search_connect
=no
13029 rm conftest.
$ac_ext
13030 LIBS
=$ac_func_search_save_LIBS
13032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13033 $as_echo "$ac_cv_search_connect" >&6; }
13034 ac_res
=$ac_cv_search_connect
13035 if test "$ac_res" != no
; then :
13036 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13042 $as_echo_n "checking for library containing inet_aton... " >&6; }
13043 if test "${ac_cv_search_inet_aton+set}" = set; then :
13044 $as_echo_n "(cached) " >&6
13046 ac_func_search_save_LIBS
=$LIBS
13047 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13048 /* end confdefs.h. */
13050 /* Override any GCC internal prototype to avoid an error.
13051 Use char because int might match the return type of a GCC
13052 builtin and then its argument prototype would still apply. */
13060 return inet_aton ();
13065 for ac_lib
in '' resolv
; do
13066 if test -z "$ac_lib"; then
13067 ac_res
="none required"
13070 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13072 if ac_fn_c_try_link
"$LINENO"; then :
13073 ac_cv_search_inet_aton
=$ac_res
13075 rm -f core conftest.err conftest.
$ac_objext \
13077 if test "${ac_cv_search_inet_aton+set}" = set; then :
13081 if test "${ac_cv_search_inet_aton+set}" = set; then :
13084 ac_cv_search_inet_aton
=no
13086 rm conftest.
$ac_ext
13087 LIBS
=$ac_func_search_save_LIBS
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13090 $as_echo "$ac_cv_search_inet_aton" >&6; }
13091 ac_res
=$ac_cv_search_inet_aton
13092 if test "$ac_res" != no
; then :
13093 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13112 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13113 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13114 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13115 cat >>confdefs.h
<<_ACEOF
13116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13125 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13127 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13129 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
13130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13131 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13132 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
13133 $as_echo_n "(cached) " >&6
13135 ac_check_lib_save_LIBS
=$LIBS
13136 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13137 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13138 /* end confdefs.h. */
13140 /* Override any GCC internal prototype to avoid an error.
13141 Use char because int might match the return type of a GCC
13142 builtin and then its argument prototype would still apply. */
13146 char ldap_initialize ();
13150 return ldap_initialize ();
13155 if ac_fn_c_try_link
"$LINENO"; then :
13156 ac_cv_lib_ldap_r_ldap_initialize
=yes
13158 ac_cv_lib_ldap_r_ldap_initialize
=no
13160 rm -f core conftest.err conftest.
$ac_objext \
13161 conftest
$ac_exeext conftest.
$ac_ext
13162 LIBS
=$ac_check_lib_save_LIBS
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13165 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13166 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
13167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13168 $as_echo_n "checking for ber_init in -llber... " >&6; }
13169 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
13170 $as_echo_n "(cached) " >&6
13172 ac_check_lib_save_LIBS
=$LIBS
13173 LIBS
="-llber $LIBPTHREAD $LIBS"
13174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13175 /* end confdefs.h. */
13177 /* Override any GCC internal prototype to avoid an error.
13178 Use char because int might match the return type of a GCC
13179 builtin and then its argument prototype would still apply. */
13187 return ber_init ();
13192 if ac_fn_c_try_link
"$LINENO"; then :
13193 ac_cv_lib_lber_ber_init
=yes
13195 ac_cv_lib_lber_ber_init
=no
13197 rm -f core conftest.err conftest.
$ac_objext \
13198 conftest
$ac_exeext conftest.
$ac_ext
13199 LIBS
=$ac_check_lib_save_LIBS
13201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13202 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13203 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
13205 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13207 LDAPLIBS
="-lldap_r -llber"
13214 ac_wine_check_funcs_save_LIBS
="$LIBS"
13215 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13217 ldap_count_references \
13218 ldap_first_reference \
13219 ldap_next_reference \
13220 ldap_parse_reference \
13221 ldap_parse_sort_control \
13222 ldap_parse_sortresponse_control \
13223 ldap_parse_vlv_control \
13224 ldap_parse_vlvresponse_control
13226 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13227 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13228 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13229 cat >>confdefs.h
<<_ACEOF
13230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13236 LIBS
="$ac_wine_check_funcs_save_LIBS"
13238 if test "x$LDAPLIBS" = "x"; then :
13239 case "x$with_ldap" in
13240 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13242 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13243 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13248 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13249 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
13250 $as_echo_n "(cached) " >&6
13252 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13253 /* end confdefs.h. */
13254 #include <sys/stat.h>
13263 if ac_fn_c_try_compile
"$LINENO"; then :
13264 wine_cv_one_arg_mkdir
=yes
13266 wine_cv_one_arg_mkdir
=no
13268 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13271 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13272 if test "$wine_cv_one_arg_mkdir" = "yes"
13275 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
13281 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
13282 if test "${ac_cv_c_const+set}" = set; then :
13283 $as_echo_n "(cached) " >&6
13285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13286 /* end confdefs.h. */
13291 /* FIXME: Include the comments suggested by Paul. */
13292 #ifndef __cplusplus
13293 /* Ultrix mips cc rejects this. */
13294 typedef int charset[2];
13296 /* SunOS 4.1.1 cc rejects this. */
13297 char const *const *pcpcc;
13299 /* NEC SVR4.0.2 mips cc rejects this. */
13300 struct point {int x, y;};
13301 static struct point const zero = {0,0};
13302 /* AIX XL C 1.02.0.0 rejects this.
13303 It does not let you subtract one const X* pointer from another in
13304 an arm of an if-expression whose if-part is not a constant
13306 const char *g = "string";
13307 pcpcc = &g + (g ? g-g : 0);
13308 /* HPUX 7.0 cc rejects these. */
13310 ppc = (char**) pcpcc;
13311 pcpcc = (char const *const *) ppc;
13312 { /* SCO 3.2v4 cc rejects this. */
13314 char const *s = 0 ? (char *) 0 : (char const *) 0;
13319 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13320 int x[] = {25, 17};
13321 const int *foo = &x[0];
13324 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13325 typedef const int *iptr;
13329 { /* AIX XL C 1.02.0.0 rejects this saying
13330 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13331 struct s { int j; const int *ap[3]; };
13332 struct s *b; b->j = 5;
13334 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13335 const int foo = 10;
13336 if (!foo) return 0;
13338 return !cs[0] && !zero.x;
13345 if ac_fn_c_try_compile
"$LINENO"; then :
13350 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
13353 $as_echo "$ac_cv_c_const" >&6; }
13354 if test $ac_cv_c_const = no
; then
13356 $as_echo "#define const /**/" >>confdefs.h
13360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13361 $as_echo_n "checking for inline... " >&6; }
13362 if test "${ac_cv_c_inline+set}" = set; then :
13363 $as_echo_n "(cached) " >&6
13366 for ac_kw
in inline __inline__ __inline
; do
13367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13368 /* end confdefs.h. */
13369 #ifndef __cplusplus
13371 static $ac_kw foo_t static_foo () {return 0; }
13372 $ac_kw foo_t foo () {return 0; }
13376 if ac_fn_c_try_compile
"$LINENO"; then :
13377 ac_cv_c_inline
=$ac_kw
13379 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13380 test "$ac_cv_c_inline" != no
&& break
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13385 $as_echo "$ac_cv_c_inline" >&6; }
13387 case $ac_cv_c_inline in
13390 case $ac_cv_c_inline in
13392 *) ac_val
=$ac_cv_c_inline;;
13394 cat >>confdefs.h
<<_ACEOF
13395 #ifndef __cplusplus
13396 #define inline $ac_val
13402 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13403 if test "x$ac_cv_type_mode_t" = x
""yes; then :
13405 cat >>confdefs.h
<<_ACEOF
13406 #define HAVE_MODE_T 1
13411 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13412 if test "x$ac_cv_type_off_t" = x
""yes; then :
13414 cat >>confdefs.h
<<_ACEOF
13415 #define HAVE_OFF_T 1
13420 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13421 if test "x$ac_cv_type_pid_t" = x
""yes; then :
13423 cat >>confdefs.h
<<_ACEOF
13424 #define HAVE_PID_T 1
13429 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13430 if test "x$ac_cv_type_size_t" = x
""yes; then :
13432 cat >>confdefs.h
<<_ACEOF
13433 #define HAVE_SIZE_T 1
13438 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13439 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
13441 cat >>confdefs.h
<<_ACEOF
13442 #define HAVE_SSIZE_T 1
13447 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13448 if test "x$ac_cv_type_long_long" = x
""yes; then :
13450 cat >>confdefs.h
<<_ACEOF
13451 #define HAVE_LONG_LONG 1
13456 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13457 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
13459 cat >>confdefs.h
<<_ACEOF
13460 #define HAVE_FSBLKCNT_T 1
13465 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13466 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
13468 cat >>confdefs.h
<<_ACEOF
13469 #define HAVE_FSFILCNT_T 1
13475 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13476 #include <signal.h>
13478 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
13480 cat >>confdefs.h
<<_ACEOF
13481 #define HAVE_SIGSET_T 1
13487 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13489 if test "x$ac_cv_type_request_sense" = x
""yes; then :
13491 cat >>confdefs.h
<<_ACEOF
13492 #define HAVE_REQUEST_SENSE 1
13499 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13500 #ifdef HAVE_SYS_SOCKET_H
13501 #include <sys/socket.h>
13503 #ifdef HAVE_SYS_SOCKETVAR_H
13504 #include <sys/socketvar.h>
13506 #ifdef HAVE_NET_ROUTE_H
13507 #include <net/route.h>
13509 #ifdef HAVE_NETINET_IN_H
13510 #include <netinet/in.h>
13512 #ifdef HAVE_NETINET_IN_SYSTM_H
13513 #include <netinet/in_systm.h>
13515 #ifdef HAVE_NETINET_IP_H
13516 #include <netinet/ip.h>
13518 #ifdef HAVE_NETINET_IN_PCB_H
13519 #include <netinet/in_pcb.h>
13522 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
13524 cat >>confdefs.h
<<_ACEOF
13525 #define HAVE_STRUCT_XINPGEN 1
13532 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13533 #include <linux/input.h>
13536 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
13538 cat >>confdefs.h
<<_ACEOF
13539 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13547 $as_echo_n "checking for sigaddset... " >&6; }
13548 if test "${wine_cv_have_sigaddset+set}" = set; then :
13549 $as_echo_n "(cached) " >&6
13551 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13552 /* end confdefs.h. */
13553 #include <signal.h>
13557 sigset_t set; sigaddset(&set,SIGTERM);
13562 if ac_fn_c_try_link
"$LINENO"; then :
13563 wine_cv_have_sigaddset
=yes
13565 wine_cv_have_sigaddset
=no
13567 rm -f core conftest.err conftest.
$ac_objext \
13568 conftest
$ac_exeext conftest.
$ac_ext
13570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13571 $as_echo "$wine_cv_have_sigaddset" >&6; }
13572 if test "$wine_cv_have_sigaddset" = "yes"
13575 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13581 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13582 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13583 $as_echo_n "(cached) " >&6
13585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13586 /* end confdefs.h. */
13594 struct hostent *result;
13601 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13602 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13608 if ac_fn_c_try_link
"$LINENO"; then :
13609 wine_cv_linux_gethostbyname_r_6
=yes
13611 wine_cv_linux_gethostbyname_r_6
=no
13614 rm -f core conftest.err conftest.
$ac_objext \
13615 conftest
$ac_exeext conftest.
$ac_ext
13618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13619 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13620 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13623 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13627 if test "$ac_cv_header_linux_joystick_h" = "yes"
13629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13630 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13631 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13632 $as_echo_n "(cached) " >&6
13634 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13637 #include <sys/ioctl.h>
13638 #include <sys/types.h>
13639 #include <linux/joystick.h>
13641 struct js_event blub;
13642 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13643 #error "no 2.2 header"
13654 if ac_fn_c_try_compile
"$LINENO"; then :
13655 wine_cv_linux_joystick_22_api
=yes
13657 wine_cv_linux_joystick_22_api
=no
13659 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13663 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13664 if test "$wine_cv_linux_joystick_22_api" = "yes"
13667 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13673 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13674 #ifdef HAVE_SYS_PARAM_H
13675 # include <sys/param.h>
13677 #ifdef HAVE_SYS_MOUNT_H
13678 # include <sys/mount.h>
13680 #ifdef HAVE_SYS_VFS_H
13681 # include <sys/vfs.h>
13683 #ifdef HAVE_SYS_STATFS_H
13684 # include <sys/statfs.h>
13687 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13689 cat >>confdefs.h
<<_ACEOF
13690 #define HAVE_STRUCT_STATFS_F_BFREE 1
13695 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13696 #ifdef HAVE_SYS_PARAM_H
13697 # include <sys/param.h>
13699 #ifdef HAVE_SYS_MOUNT_H
13700 # include <sys/mount.h>
13702 #ifdef HAVE_SYS_VFS_H
13703 # include <sys/vfs.h>
13705 #ifdef HAVE_SYS_STATFS_H
13706 # include <sys/statfs.h>
13709 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13711 cat >>confdefs.h
<<_ACEOF
13712 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13717 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13718 #ifdef HAVE_SYS_PARAM_H
13719 # include <sys/param.h>
13721 #ifdef HAVE_SYS_MOUNT_H
13722 # include <sys/mount.h>
13724 #ifdef HAVE_SYS_VFS_H
13725 # include <sys/vfs.h>
13727 #ifdef HAVE_SYS_STATFS_H
13728 # include <sys/statfs.h>
13731 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13733 cat >>confdefs.h
<<_ACEOF
13734 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13739 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13740 #ifdef HAVE_SYS_PARAM_H
13741 # include <sys/param.h>
13743 #ifdef HAVE_SYS_MOUNT_H
13744 # include <sys/mount.h>
13746 #ifdef HAVE_SYS_VFS_H
13747 # include <sys/vfs.h>
13749 #ifdef HAVE_SYS_STATFS_H
13750 # include <sys/statfs.h>
13753 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13755 cat >>confdefs.h
<<_ACEOF
13756 #define HAVE_STRUCT_STATFS_F_FFREE 1
13761 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13762 #ifdef HAVE_SYS_PARAM_H
13763 # include <sys/param.h>
13765 #ifdef HAVE_SYS_MOUNT_H
13766 # include <sys/mount.h>
13768 #ifdef HAVE_SYS_VFS_H
13769 # include <sys/vfs.h>
13771 #ifdef HAVE_SYS_STATFS_H
13772 # include <sys/statfs.h>
13775 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13777 cat >>confdefs.h
<<_ACEOF
13778 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13783 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13784 #ifdef HAVE_SYS_PARAM_H
13785 # include <sys/param.h>
13787 #ifdef HAVE_SYS_MOUNT_H
13788 # include <sys/mount.h>
13790 #ifdef HAVE_SYS_VFS_H
13791 # include <sys/vfs.h>
13793 #ifdef HAVE_SYS_STATFS_H
13794 # include <sys/statfs.h>
13797 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13799 cat >>confdefs.h
<<_ACEOF
13800 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13807 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13808 #include <sys/statvfs.h>
13811 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13813 cat >>confdefs.h
<<_ACEOF
13814 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13821 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13822 #ifdef HAVE_SYS_SOCKET_H
13823 # include <sys/socket.h>
13825 #ifdef HAVE_SYS_UN_H
13826 # include <sys/un.h>
13829 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13831 cat >>confdefs.h
<<_ACEOF
13832 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13837 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13838 #ifdef HAVE_SYS_SOCKET_H
13839 # include <sys/socket.h>
13841 #ifdef HAVE_SYS_UN_H
13842 # include <sys/un.h>
13845 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13847 cat >>confdefs.h
<<_ACEOF
13848 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13853 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13854 #ifdef HAVE_SYS_SOCKET_H
13855 # include <sys/socket.h>
13857 #ifdef HAVE_SYS_UN_H
13858 # include <sys/un.h>
13861 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13863 cat >>confdefs.h
<<_ACEOF
13864 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13871 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13872 #ifdef HAVE_SCSI_SG_H
13873 #include <scsi/sg.h>
13876 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13878 cat >>confdefs.h
<<_ACEOF
13879 #define HAVE_SCSIREQ_T_CMD 1
13884 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>
13885 #ifdef HAVE_SCSI_SG_H
13886 #include <scsi/sg.h>
13889 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13891 cat >>confdefs.h
<<_ACEOF
13892 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13899 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13901 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13903 cat >>confdefs.h
<<_ACEOF
13904 #define HAVE_SIGINFO_T_SI_FD 1
13911 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13912 #ifdef HAVE_SYS_MTIO_H
13913 #include <sys/mtio.h>
13916 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13918 cat >>confdefs.h
<<_ACEOF
13919 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13924 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13925 #ifdef HAVE_SYS_MTIO_H
13926 #include <sys/mtio.h>
13929 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13931 cat >>confdefs.h
<<_ACEOF
13932 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13937 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13938 #ifdef HAVE_SYS_MTIO_H
13939 #include <sys/mtio.h>
13942 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13944 cat >>confdefs.h
<<_ACEOF
13945 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13952 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13953 #include <getopt.h>
13956 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13958 cat >>confdefs.h
<<_ACEOF
13959 #define HAVE_STRUCT_OPTION_NAME 1
13966 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13967 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13969 cat >>confdefs.h
<<_ACEOF
13970 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13975 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13976 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13978 cat >>confdefs.h
<<_ACEOF
13979 #define HAVE_STRUCT_STAT_ST_MTIM 1
13984 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13985 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13987 cat >>confdefs.h
<<_ACEOF
13988 #define HAVE_STRUCT_STAT_ST_CTIM 1
13993 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13994 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13996 cat >>confdefs.h
<<_ACEOF
13997 #define HAVE_STRUCT_STAT_ST_ATIM 1
14004 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
14005 #include <sys/types.h>
14007 #ifdef HAVE_NETINET_IN_H
14008 #include <netinet/in.h>
14011 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
14013 cat >>confdefs.h
<<_ACEOF
14014 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14021 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14022 #include <sys/types.h>
14024 #ifdef HAVE_NETINET_IN_H
14025 # include <netinet/in.h>
14027 #ifdef HAVE_ARPA_NAMESER_H
14028 # include <arpa/nameser.h>
14031 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
14033 cat >>confdefs.h
<<_ACEOF
14034 #define HAVE_NS_MSG__MSG_PTR 1
14041 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14042 #include <sys/types.h>
14044 #ifdef HAVE_ALIAS_H
14047 #ifdef HAVE_SYS_SOCKET_H
14048 #include <sys/socket.h>
14050 #ifdef HAVE_SYS_SOCKETVAR_H
14051 #include <sys/socketvar.h>
14053 #ifdef HAVE_SYS_TIMEOUT_H
14054 #include <sys/timeout.h>
14056 #ifdef HAVE_NETINET_IN_H
14057 #include <netinet/in.h>
14059 #ifdef HAVE_NETINET_IN_SYSTM_H
14060 #include <netinet/in_systm.h>
14062 #ifdef HAVE_NETINET_IP_H
14063 #include <netinet/ip.h>
14065 #ifdef HAVE_NETINET_IP_VAR_H
14066 #include <netinet/ip_var.h>
14068 #ifdef HAVE_NETINET_IP_ICMP_H
14069 #include <netinet/ip_icmp.h>
14071 #ifdef HAVE_NETINET_ICMP_VAR
14072 #include <netinet/icmp_var.h>
14075 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
14077 cat >>confdefs.h
<<_ACEOF
14078 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14085 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14086 #include <sys/types.h>
14088 #ifdef HAVE_NET_IF_H
14089 # include <net/if.h>
14092 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
14094 cat >>confdefs.h
<<_ACEOF
14095 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14103 $as_echo_n "checking for timezone variable... " >&6; }
14104 if test "${ac_cv_have_timezone+set}" = set; then :
14105 $as_echo_n "(cached) " >&6
14107 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14108 /* end confdefs.h. */
14118 if ac_fn_c_try_link
"$LINENO"; then :
14119 ac_cv_have_timezone
="yes"
14121 ac_cv_have_timezone
="no"
14123 rm -f core conftest.err conftest.
$ac_objext \
14124 conftest
$ac_exeext conftest.
$ac_ext
14126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14127 $as_echo "$ac_cv_have_timezone" >&6; }
14128 if test "$ac_cv_have_timezone" = "yes"
14131 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14135 $as_echo_n "checking for daylight variable... " >&6; }
14136 if test "${ac_cv_have_daylight+set}" = set; then :
14137 $as_echo_n "(cached) " >&6
14139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14150 if ac_fn_c_try_link
"$LINENO"; then :
14151 ac_cv_have_daylight
="yes"
14153 ac_cv_have_daylight
="no"
14155 rm -f core conftest.err conftest.
$ac_objext \
14156 conftest
$ac_exeext conftest.
$ac_ext
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14159 $as_echo "$ac_cv_have_daylight" >&6; }
14160 if test "$ac_cv_have_daylight" = "yes"
14163 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14168 $as_echo_n "checking for isinf... " >&6; }
14169 if test "${ac_cv_have_isinf+set}" = set; then :
14170 $as_echo_n "(cached) " >&6
14172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14173 /* end confdefs.h. */
14178 float f = 0.0; int i=isinf(f)
14183 if ac_fn_c_try_link
"$LINENO"; then :
14184 ac_cv_have_isinf
="yes"
14186 ac_cv_have_isinf
="no"
14188 rm -f core conftest.err conftest.
$ac_objext \
14189 conftest
$ac_exeext conftest.
$ac_ext
14191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14192 $as_echo "$ac_cv_have_isinf" >&6; }
14193 if test "$ac_cv_have_isinf" = "yes"
14196 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14201 $as_echo_n "checking for isnan... " >&6; }
14202 if test "${ac_cv_have_isnan+set}" = set; then :
14203 $as_echo_n "(cached) " >&6
14205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14211 float f = 0.0; int i=isnan(f)
14216 if ac_fn_c_try_link
"$LINENO"; then :
14217 ac_cv_have_isnan
="yes"
14219 ac_cv_have_isnan
="no"
14221 rm -f core conftest.err conftest.
$ac_objext \
14222 conftest
$ac_exeext conftest.
$ac_ext
14224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14225 $as_echo "$ac_cv_have_isnan" >&6; }
14226 if test "$ac_cv_have_isnan" = "yes"
14229 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14235 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14236 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14237 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
14238 $as_echo_n "(cached) " >&6
14240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14241 /* end confdefs.h. */
14246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14247 $EGREP "yes" >/dev
/null
2>&1; then :
14248 ac_cv_cpp_def___i386__
=yes
14250 ac_cv_cpp_def___i386__
=no
14255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14256 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14257 if test $ac_cv_cpp_def___i386__ = yes; then :
14258 CFLAGS
="$CFLAGS -D__i386__"
14259 LINTFLAGS
="$LINTFLAGS -D__i386__"
14261 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14262 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14263 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
14264 $as_echo_n "(cached) " >&6
14266 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14267 /* end confdefs.h. */
14272 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14273 $EGREP "yes" >/dev
/null
2>&1; then :
14274 ac_cv_cpp_def___x86_64__
=yes
14276 ac_cv_cpp_def___x86_64__
=no
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14282 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14283 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14284 CFLAGS
="$CFLAGS -D__x86_64__"
14285 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14287 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
14288 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
14289 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
14290 $as_echo_n "(cached) " >&6
14292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14298 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14299 $EGREP "yes" >/dev
/null
2>&1; then :
14300 ac_cv_cpp_def___ALPHA__
=yes
14302 ac_cv_cpp_def___ALPHA__
=no
14307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
14308 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
14309 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
14310 CFLAGS
="$CFLAGS -D__ALPHA__"
14311 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
14313 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14314 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14315 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
14316 $as_echo_n "(cached) " >&6
14318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14319 /* end confdefs.h. */
14324 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14325 $EGREP "yes" >/dev
/null
2>&1; then :
14326 ac_cv_cpp_def___sparc__
=yes
14328 ac_cv_cpp_def___sparc__
=no
14333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14334 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14335 if test $ac_cv_cpp_def___sparc__ = yes; then :
14336 CFLAGS
="$CFLAGS -D__sparc__"
14337 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14339 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14340 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14341 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
14342 $as_echo_n "(cached) " >&6
14344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14345 /* end confdefs.h. */
14346 #ifndef __powerpc__
14350 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14351 $EGREP "yes" >/dev
/null
2>&1; then :
14352 ac_cv_cpp_def___powerpc__
=yes
14354 ac_cv_cpp_def___powerpc__
=no
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14360 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14361 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14362 CFLAGS
="$CFLAGS -D__powerpc__"
14363 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14367 case $host_vendor in
14368 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14369 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14370 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14371 $as_echo_n "(cached) " >&6
14373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14374 /* end confdefs.h. */
14379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14380 $EGREP "yes" >/dev
/null
2>&1; then :
14381 ac_cv_cpp_def___sun__
=yes
14383 ac_cv_cpp_def___sun__
=no
14388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14389 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14390 if test $ac_cv_cpp_def___sun__ = yes; then :
14391 CFLAGS
="$CFLAGS -D__sun__"
14392 LINTFLAGS
="$LINTFLAGS -D__sun__"
14400 ac_config_commands
="$ac_config_commands include/stamp-h"
14403 ALL_MAKEFILE_DEPENDS
="
14404 # Rules automatically generated by configure
14409 Makefile: Makefile.in Make.vars.in Make.rules config.status
14410 @./config.status Make.tmp Makefile"
14413 ALL_WINETEST_DEPENDS
="# Test binaries"
14415 ALL_TEST_BINARIES
=""
14418 wine_fn_append_file
()
14420 as_fn_append
$1 " \\$as_nl $2"
14423 wine_fn_append_rule
()
14425 as_fn_append
$1 "$as_nl$2"
14428 wine_fn_has_flag
()
14430 expr ",$2," : ".*,$1,.*" >/dev
/null
14433 wine_fn_all_dir_rules
()
14437 ac_makedep
="\$(MAKEDEP)"
14438 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14439 if test $ac_dir != tools
14441 ac_alldeps
="$2 $ac_makedep"
14444 *.
in) ac_input
=$ac_input:$2 ;;
14445 *) ac_makedep
="$2 $ac_makedep" ;;
14448 wine_fn_append_file ALL_DIRS
$ac_dir
14449 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14450 "__clean__: $ac_dir/__clean__
14451 .PHONY: $ac_dir/__clean__
14452 $ac_dir/__clean__: $ac_dir/Makefile
14453 @cd $ac_dir && \$(MAKE) clean
14454 \$(RM) $ac_dir/Makefile
14455 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14456 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14457 depend: $ac_dir/__depend__
14458 .PHONY: $ac_dir/__depend__
14459 $ac_dir/__depend__: $ac_makedep dummy
14460 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14463 wine_fn_config_makefile
()
14467 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14471 wine_fn_all_dir_rules
$ac_dir Make.rules
14472 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14475 $ac_dir: $ac_dir/Makefile dummy
14476 @cd $ac_dir && \$(MAKE)
14478 @cd $ac_dir && \$(MAKE) install
14479 install-lib:: $ac_dir
14480 @cd $ac_dir && \$(MAKE) install-lib
14481 install-dev:: $ac_dir
14482 @cd $ac_dir && \$(MAKE) install-dev
14483 uninstall:: $ac_dir/Makefile
14484 @cd $ac_dir && \$(MAKE) uninstall"
14487 wine_fn_config_lib
()
14490 ac_dir
=dlls
/$ac_name
14491 wine_fn_all_dir_rules
$ac_dir dlls
/Makeimplib.rules
14492 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14493 "all __builddeps__: $ac_dir
14494 $ac_dir: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include dummy
14495 @cd $ac_dir && \$(MAKE)
14496 install install-dev:: $ac_dir
14497 @cd $ac_dir && \$(MAKE) install
14498 uninstall:: $ac_dir/Makefile
14499 @cd $ac_dir && \$(MAKE) uninstall"
14502 wine_fn_config_dll
()
14505 ac_dir
=dlls
/$ac_name
14508 ac_implib
=${4:-$ac_name}
14509 ac_file
=$ac_dir/lib
$ac_implib
14510 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14514 *16) ac_implibflags
=" -m16" ;;
14517 wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14519 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14520 test "$ac_enable" != enable_win16 ||
return 0
14522 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14525 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14526 @cd $ac_dir && \$(MAKE)
14527 install:: $ac_dir/Makefile __builddeps__
14528 @cd $ac_dir && \$(MAKE) install
14529 install-lib:: $ac_dir/Makefile __builddeps__
14530 @cd $ac_dir && \$(MAKE) install-lib
14531 uninstall manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14532 @cd $ac_dir && \$(MAKE) \$@"
14534 if test "x$enable_maintainer_mode" = xyes
14536 if wine_fn_has_flag mc
$ac_flags
14538 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14539 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14540 "$ac_dir/msg.pot: $ac_dir"
14542 if wine_fn_has_flag po
$ac_flags
14544 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14545 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14546 "$ac_dir/rsrc.pot: $ac_dir"
14551 if wine_fn_has_flag staticimplib
$ac_flags
14553 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14554 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14555 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14556 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14557 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14558 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14559 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14560 install-dev:: $ac_dir/Makefile __builddeps__
14561 @cd $ac_dir && \$(MAKE) install-dev"
14562 if test "x$CROSSTEST_DISABLE" = x
14564 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14565 "__builddeps__: $ac_file.cross.a
14566 $ac_file.cross.a: $ac_dir/Makefile dummy
14567 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14570 elif wine_fn_has_flag implib
$ac_flags
14572 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14573 "__builddeps__: $ac_file.$IMPLIBEXT
14574 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14575 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14576 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14577 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14578 install-dev:: $ac_dir/Makefile __builddeps__
14579 @cd $ac_dir && \$(MAKE) install-dev"
14580 if test "x$CROSSTEST_DISABLE" = x
14582 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14583 "__builddeps__: $ac_file.cross.a
14584 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14585 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14588 if test "$ac_name" != "$ac_implib"
14590 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14591 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14592 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14593 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14595 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14596 if test "x$CROSSTEST_DISABLE" = x
14598 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14599 "__builddeps__: dlls/lib$ac_implib.cross.a
14600 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14601 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14607 wine_fn_config_program
()
14610 ac_dir
=programs
/$ac_name
14613 wine_fn_all_dir_rules
$ac_dir programs
/Makeprog.rules
14615 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14618 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14621 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14622 @cd $ac_dir && \$(MAKE)"
14624 if test "x$enable_maintainer_mode" = xyes
14626 if wine_fn_has_flag mc
$ac_flags
14628 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14629 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14630 "$ac_dir/msg.pot: $ac_dir"
14632 if wine_fn_has_flag po
$ac_flags
14634 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14635 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14636 "$ac_dir/rsrc.pot: $ac_dir"
14640 wine_fn_has_flag
install $ac_flags ||
return
14641 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14642 "install install-lib:: $ac_dir/Makefile __builddeps__
14643 @cd $ac_dir && \$(MAKE) install
14644 uninstall:: $ac_dir/Makefile
14645 @cd $ac_dir && \$(MAKE) uninstall"
14646 if test -n "$DLLEXT" -a "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14648 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14649 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14650 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14652 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14657 wine_fn_config_test
()
14661 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14662 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14663 "$ac_name.exe: \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT
14664 cp \$(top_builddir)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14666 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14667 $ac_name.res: $ac_name.rc $ac_name.exe"
14668 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14670 if test "x$enable_tests" = x
""no
; then :
14673 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14674 "all programs/winetest: $ac_dir
14676 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14677 @cd $ac_dir && \$(MAKE)
14678 test: $ac_dir/__test__
14679 .PHONY: $ac_dir/__test__
14680 $ac_dir/__test__: dummy
14681 @cd $ac_dir && \$(MAKE) test
14683 \$(RM) $ac_dir/*.ok"
14685 if test "x$CROSSTEST_DISABLE" = x
14687 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14688 "crosstest: $ac_dir/__crosstest__
14689 .PHONY: $ac_dir/__crosstest__
14690 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14691 @cd $ac_dir && \$(MAKE) crosstest"
14696 wine_fn_config_tool
()
14699 wine_fn_all_dir_rules
$ac_dir Make.rules
14701 if test "x$enable_tools" = x
""no
; then :
14705 tools
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14707 @cd $ac_dir && \$(MAKE) install
14708 install-lib:: $ac_dir
14709 @cd $ac_dir && \$(MAKE) install-lib
14710 install-dev:: $ac_dir
14711 @cd $ac_dir && \$(MAKE) install-dev" ;;
14712 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14713 "install install-dev:: $ac_dir
14714 @cd $ac_dir && \$(MAKE) install" ;;
14716 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14717 "uninstall:: $ac_dir/Makefile
14718 @cd $ac_dir && \$(MAKE) uninstall
14719 all __tooldeps__: $ac_dir
14721 $ac_dir: $ac_dir/Makefile libs/port dummy
14722 @cd $ac_dir && \$(MAKE)"
14724 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14729 wine_fn_config_makerules
()
14733 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14734 "$ac_rules: $ac_rules.in $ac_deps config.status
14735 @./config.status $ac_rules
14740 wine_fn_config_symlink
()
14743 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14745 @./config.status $ac_link
14750 if test "x$CROSSTEST_DISABLE" != x
14752 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14754 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14756 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14757 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14758 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14759 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14760 if test "x$enable_fonts" != xno
; then
14761 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14762 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14764 if test "x$enable_fonts" != xno
; then
14765 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14766 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14768 if test "x$enable_fonts" != xno
; then
14769 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14770 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14772 if test "x$enable_fonts" != xno
; then
14773 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14774 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14776 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14777 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14778 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14779 wine_fn_config_symlink wine
14781 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14783 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14785 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14787 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14789 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14791 ac_config_commands
="$ac_config_commands include/wine"
14794 wine_fn_config_makerules Make.rules
14795 MAKE_RULES
=Make.rules
14796 ac_config_files
="$ac_config_files Make.rules"
14798 wine_fn_config_makerules Maketest.rules Make.rules
14799 MAKE_TEST_RULES
=Maketest.rules
14800 ac_config_files
="$ac_config_files Maketest.rules"
14802 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14803 MAKE_DLL_RULES
=dlls
/Makedll.rules
14804 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14806 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14807 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14808 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14810 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14811 MAKE_PROG_RULES
=programs
/Makeprog.rules
14812 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14815 wine_fn_config_dll acledit enable_acledit
14816 wine_fn_config_dll aclui enable_aclui implib
14817 wine_fn_config_dll activeds enable_activeds implib
14818 wine_fn_config_dll actxprxy enable_actxprxy
14819 wine_fn_config_lib adsiid
14820 wine_fn_config_dll advapi32 enable_advapi32 implib
14821 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14822 wine_fn_config_dll advpack enable_advpack implib
14823 wine_fn_config_test dlls
/advpack
/tests advpack_test
14824 wine_fn_config_dll amstream enable_amstream
14825 wine_fn_config_test dlls
/amstream
/tests amstream_test
14826 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
14827 wine_fn_config_dll atl enable_atl implib
14828 wine_fn_config_test dlls
/atl
/tests atl_test
14829 wine_fn_config_dll authz enable_authz
14830 wine_fn_config_dll avicap32 enable_avicap32 implib
14831 wine_fn_config_dll avifil32 enable_avifil32 po
,implib
14832 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14833 wine_fn_config_dll avifile.dll16 enable_win16
14834 wine_fn_config_dll avrt enable_avrt implib
14835 wine_fn_config_dll bcrypt enable_bcrypt
14836 wine_fn_config_dll browseui enable_browseui po
14837 wine_fn_config_test dlls
/browseui
/tests browseui_test
14838 wine_fn_config_dll cabinet enable_cabinet implib
14839 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14840 wine_fn_config_dll capi2032 enable_capi2032 implib
14841 wine_fn_config_dll cards enable_cards implib
14842 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
14843 wine_fn_config_dll clusapi enable_clusapi implib
14844 wine_fn_config_dll comcat enable_comcat
14845 wine_fn_config_test dlls
/comcat
/tests comcat_test
14846 wine_fn_config_dll comctl32 enable_comctl32 po
,implib
14847 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14848 wine_fn_config_dll comdlg32 enable_comdlg32 po
,implib
14849 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14850 wine_fn_config_dll
comm.drv16 enable_win16
14851 wine_fn_config_dll commdlg.dll16 enable_win16
14852 wine_fn_config_dll compobj.dll16 enable_win16
14853 wine_fn_config_dll compstui enable_compstui implib
14854 wine_fn_config_dll credui enable_credui po
,implib
14855 wine_fn_config_test dlls
/credui
/tests credui_test
14856 wine_fn_config_dll crtdll enable_crtdll implib
14857 wine_fn_config_dll crypt32 enable_crypt32 po
,implib
14858 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14859 wine_fn_config_dll cryptdlg enable_cryptdlg po
14860 wine_fn_config_dll cryptdll enable_cryptdll implib
14861 wine_fn_config_dll cryptnet enable_cryptnet implib
14862 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14863 wine_fn_config_dll cryptui enable_cryptui po
,implib
14864 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14865 wine_fn_config_dll ctapi32 enable_ctapi32
14866 wine_fn_config_dll ctl3d.dll16 enable_win16
14867 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
14868 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14869 wine_fn_config_dll d3d10 enable_d3d10 implib
14870 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14871 wine_fn_config_dll d3d10core enable_d3d10core implib
14872 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14873 wine_fn_config_dll d3d8 enable_d3d8 implib
14874 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14875 wine_fn_config_dll d3d9 enable_d3d9 implib
14876 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14877 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
14878 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
14879 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
14880 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
14881 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
14882 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
14883 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
14884 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
14885 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
14886 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
14887 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
14888 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
14889 wine_fn_config_dll d3dim enable_d3dim implib
14890 wine_fn_config_dll d3drm enable_d3drm implib
14891 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14892 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
14893 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
14894 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
14895 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
14896 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
14897 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
14898 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
14899 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
14900 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
14901 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
14902 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
14903 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14904 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14905 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14906 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14907 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14908 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14909 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14910 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14911 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14912 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14913 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14914 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14915 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
14916 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14917 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14918 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14919 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14920 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14921 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14922 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14923 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
14924 wine_fn_config_dll d3dxof enable_d3dxof implib
14925 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14926 wine_fn_config_dll dbgeng enable_dbgeng implib
14927 wine_fn_config_dll dbghelp enable_dbghelp implib
14928 wine_fn_config_dll dciman32 enable_dciman32 implib
14929 wine_fn_config_dll ddeml.dll16 enable_win16
14930 wine_fn_config_dll ddraw enable_ddraw implib
14931 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14932 wine_fn_config_dll ddrawex enable_ddrawex
14933 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14934 wine_fn_config_dll devenum enable_devenum po
14935 wine_fn_config_dll dinput enable_dinput implib
,staticimplib
14936 wine_fn_config_test dlls
/dinput
/tests dinput_test
14937 wine_fn_config_dll dinput8 enable_dinput8 implib
14938 wine_fn_config_dll dispdib.dll16 enable_win16
14939 wine_fn_config_dll dispex enable_dispex
14940 wine_fn_config_test dlls
/dispex
/tests dispex_test
14941 wine_fn_config_dll display.drv16 enable_win16
14942 wine_fn_config_dll dmband enable_dmband
14943 wine_fn_config_dll dmcompos enable_dmcompos
14944 wine_fn_config_dll dmime enable_dmime
14945 wine_fn_config_test dlls
/dmime
/tests dmime_test
14946 wine_fn_config_dll dmloader enable_dmloader
14947 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14948 wine_fn_config_dll dmscript enable_dmscript
14949 wine_fn_config_dll dmstyle enable_dmstyle
14950 wine_fn_config_dll dmsynth enable_dmsynth
14951 wine_fn_config_dll dmusic enable_dmusic
14952 wine_fn_config_dll dmusic32 enable_dmusic32 implib
14953 wine_fn_config_dll dnsapi enable_dnsapi implib
14954 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14955 wine_fn_config_dll dplay enable_dplay implib
14956 wine_fn_config_dll dplayx enable_dplayx implib
14957 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14958 wine_fn_config_dll dpnaddr enable_dpnaddr
14959 wine_fn_config_dll dpnet enable_dpnet implib
14960 wine_fn_config_dll dpnhpast enable_dpnhpast
14961 wine_fn_config_dll dpnlobby enable_dpnlobby
14962 wine_fn_config_dll dpwsockx enable_dpwsockx
14963 wine_fn_config_dll drmclien enable_drmclien
14964 wine_fn_config_dll dsound enable_dsound implib
14965 wine_fn_config_test dlls
/dsound
/tests dsound_test
14966 wine_fn_config_dll dssenh enable_dssenh
14967 wine_fn_config_dll dswave enable_dswave
14968 wine_fn_config_dll dwmapi enable_dwmapi implib
14969 wine_fn_config_dll dxdiagn enable_dxdiagn
14970 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14971 wine_fn_config_lib dxerr8
14972 wine_fn_config_lib dxerr9
14973 wine_fn_config_dll dxgi enable_dxgi implib
14974 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14975 wine_fn_config_lib dxguid
14976 wine_fn_config_dll explorerframe enable_explorerframe
14977 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
14978 wine_fn_config_dll faultrep enable_faultrep implib
14979 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
14980 wine_fn_config_dll fltlib enable_fltlib
14981 wine_fn_config_dll fusion enable_fusion
14982 wine_fn_config_test dlls
/fusion
/tests fusion_test
14983 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14984 wine_fn_config_dll gameux enable_gameux
14985 wine_fn_config_test dlls
/gameux
/tests gameux_test
14986 wine_fn_config_dll gdi.exe16 enable_win16
14987 wine_fn_config_dll gdi32 enable_gdi32 implib
14988 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14989 wine_fn_config_dll gdiplus enable_gdiplus implib
14990 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14991 wine_fn_config_dll glu32 enable_glu32 implib
14992 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14993 wine_fn_config_dll gpkcsp enable_gpkcsp
14994 wine_fn_config_dll hal enable_hal
14995 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
14996 wine_fn_config_dll hid enable_hid implib
14997 wine_fn_config_dll hlink enable_hlink implib
14998 wine_fn_config_test dlls
/hlink
/tests hlink_test
14999 wine_fn_config_dll hnetcfg enable_hnetcfg
15000 wine_fn_config_dll httpapi enable_httpapi
15001 wine_fn_config_dll iccvid enable_iccvid po
15002 wine_fn_config_dll icmp enable_icmp
15003 wine_fn_config_dll ifsmgr.vxd enable_win16
15004 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15005 wine_fn_config_dll imagehlp enable_imagehlp implib
15006 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15007 wine_fn_config_dll imm.dll16 enable_win16
15008 wine_fn_config_dll imm32 enable_imm32 implib
15009 wine_fn_config_test dlls
/imm32
/tests imm32_test
15010 wine_fn_config_dll inetcomm enable_inetcomm implib
15011 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15012 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15013 wine_fn_config_dll inetmib1 enable_inetmib1
15014 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15015 wine_fn_config_dll infosoft enable_infosoft
15016 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15017 wine_fn_config_dll initpki enable_initpki
15018 wine_fn_config_dll inkobj enable_inkobj
15019 wine_fn_config_dll inseng enable_inseng
15020 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15021 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15022 wine_fn_config_dll itircl enable_itircl
15023 wine_fn_config_dll itss enable_itss
15024 wine_fn_config_test dlls
/itss
/tests itss_test
15025 wine_fn_config_dll jscript enable_jscript po
15026 wine_fn_config_test dlls
/jscript
/tests jscript_test
15027 wine_fn_config_dll kernel32 enable_kernel32 mc
,implib
15028 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15029 wine_fn_config_dll keyboard.drv16 enable_win16
15030 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15031 wine_fn_config_dll ktmw32 enable_ktmw32
15032 wine_fn_config_dll loadperf enable_loadperf implib
15033 wine_fn_config_dll localspl enable_localspl po
15034 wine_fn_config_test dlls
/localspl
/tests localspl_test
15035 wine_fn_config_dll localui enable_localui po
15036 wine_fn_config_test dlls
/localui
/tests localui_test
15037 wine_fn_config_dll lz32 enable_lz32 implib
15038 wine_fn_config_test dlls
/lz32
/tests lz32_test
15039 wine_fn_config_dll lzexpand.dll16 enable_win16
15040 wine_fn_config_dll mapi32 enable_mapi32 po
,implib
15041 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15042 wine_fn_config_dll mapistub enable_mapistub
15043 wine_fn_config_dll mciavi32 enable_mciavi32
15044 wine_fn_config_dll mcicda enable_mcicda
15045 wine_fn_config_dll mciqtz32 enable_mciqtz32
15046 wine_fn_config_dll mciseq enable_mciseq
15047 wine_fn_config_dll mciwave enable_mciwave
15048 wine_fn_config_dll midimap enable_midimap
15049 wine_fn_config_dll mlang enable_mlang implib
15050 wine_fn_config_test dlls
/mlang
/tests mlang_test
15051 wine_fn_config_dll mmdevapi enable_mmdevapi
15052 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15053 wine_fn_config_dll mmdevldr.vxd enable_win16
15054 wine_fn_config_dll mmsystem.dll16 enable_win16
15055 wine_fn_config_dll monodebg.vxd enable_win16
15056 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15057 wine_fn_config_dll mouse.drv16 enable_win16
15058 wine_fn_config_dll mpr enable_mpr po
,implib
15059 wine_fn_config_dll mprapi enable_mprapi implib
15060 wine_fn_config_dll msacm.dll16 enable_win16
15061 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15062 wine_fn_config_dll msacm32 enable_msacm32 implib
15063 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15064 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15065 wine_fn_config_dll mscat32 enable_mscat32
15066 wine_fn_config_dll mscms enable_mscms implib
15067 wine_fn_config_test dlls
/mscms
/tests mscms_test
15068 wine_fn_config_dll mscoree enable_mscoree
15069 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15070 wine_fn_config_dll msctf enable_msctf
15071 wine_fn_config_test dlls
/msctf
/tests msctf_test
15072 wine_fn_config_dll msdaps enable_msdaps
15073 wine_fn_config_dll msdmo enable_msdmo implib
15074 wine_fn_config_dll msftedit enable_msftedit
15075 wine_fn_config_dll msg711.acm enable_msg711_acm
15076 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15077 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15078 wine_fn_config_dll mshtml enable_mshtml po
,implib
15079 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15080 wine_fn_config_dll msi enable_msi po
,implib
15081 wine_fn_config_test dlls
/msi
/tests msi_test
15082 wine_fn_config_dll msimg32 enable_msimg32 implib
15083 wine_fn_config_dll msimtf enable_msimtf
15084 wine_fn_config_dll msisip enable_msisip
15085 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15086 wine_fn_config_dll msnet32 enable_msnet32
15087 wine_fn_config_dll msrle32 enable_msrle32 po
15088 wine_fn_config_dll mssign32 enable_mssign32
15089 wine_fn_config_dll mssip32 enable_mssip32
15090 wine_fn_config_dll mstask enable_mstask
15091 wine_fn_config_test dlls
/mstask
/tests mstask_test
15092 wine_fn_config_dll msvcirt enable_msvcirt
15093 wine_fn_config_dll msvcp80 enable_msvcp80
15094 wine_fn_config_dll msvcp90 enable_msvcp90
15095 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15096 wine_fn_config_dll msvcr100 enable_msvcr100
15097 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15098 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15099 wine_fn_config_dll msvcr80 enable_msvcr80
15100 wine_fn_config_dll msvcr90 enable_msvcr90
15101 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15102 wine_fn_config_dll msvcrt enable_msvcrt implib
15103 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15104 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15105 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15106 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15107 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15108 wine_fn_config_dll msvfw32 enable_msvfw32 po
,implib
15109 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15110 wine_fn_config_dll msvidc32 enable_msvidc32 po
15111 wine_fn_config_dll msvideo.dll16 enable_win16
15112 wine_fn_config_dll mswsock enable_mswsock implib
15113 wine_fn_config_dll msxml enable_msxml
15114 wine_fn_config_dll msxml2 enable_msxml2
15115 wine_fn_config_dll msxml3 enable_msxml3
15116 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15117 wine_fn_config_dll msxml4 enable_msxml4
15118 wine_fn_config_dll msxml6 enable_msxml6
15119 wine_fn_config_dll nddeapi enable_nddeapi implib
15120 wine_fn_config_dll netapi32 enable_netapi32 implib
15121 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15122 wine_fn_config_dll newdev enable_newdev implib
15123 wine_fn_config_dll normaliz enable_normaliz implib
15124 wine_fn_config_dll npmshtml enable_npmshtml
15125 wine_fn_config_dll ntdll enable_ntdll implib
15126 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15127 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15128 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15129 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15130 wine_fn_config_dll ntprint enable_ntprint
15131 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15132 wine_fn_config_dll objsel enable_objsel
15133 wine_fn_config_dll odbc32 enable_odbc32 implib
15134 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15135 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15136 wine_fn_config_dll ole2.dll16 enable_win16
15137 wine_fn_config_dll ole2conv.dll16 enable_win16
15138 wine_fn_config_dll ole2disp.dll16 enable_win16
15139 wine_fn_config_dll ole2nls.dll16 enable_win16
15140 wine_fn_config_dll ole2prox.dll16 enable_win16
15141 wine_fn_config_dll ole2thk.dll16 enable_win16
15142 wine_fn_config_dll ole32 enable_ole32 implib
15143 wine_fn_config_test dlls
/ole32
/tests ole32_test
15144 wine_fn_config_dll oleacc enable_oleacc po
,implib
15145 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15146 wine_fn_config_dll oleaut32 enable_oleaut32 po
,implib
15147 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15148 wine_fn_config_dll olecli.dll16 enable_win16
15149 wine_fn_config_dll olecli32 enable_olecli32 implib
15150 wine_fn_config_dll oledb32 enable_oledb32
15151 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15152 wine_fn_config_dll oledlg enable_oledlg po
,implib
15153 wine_fn_config_dll olepro32 enable_olepro32 implib
15154 wine_fn_config_dll olesvr.dll16 enable_win16
15155 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15156 wine_fn_config_dll olethk32 enable_olethk32
15157 wine_fn_config_dll openal32 enable_openal32
15158 wine_fn_config_dll opencl enable_opencl
15159 wine_fn_config_dll opengl32 enable_opengl32 implib
15160 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15161 wine_fn_config_dll pdh enable_pdh implib
15162 wine_fn_config_test dlls
/pdh
/tests pdh_test
15163 wine_fn_config_dll pidgen enable_pidgen
15164 wine_fn_config_dll powrprof enable_powrprof implib
15165 wine_fn_config_dll printui enable_printui
15166 wine_fn_config_dll propsys enable_propsys implib
15167 wine_fn_config_test dlls
/propsys
/tests propsys_test
15168 wine_fn_config_dll psapi enable_psapi implib
15169 wine_fn_config_test dlls
/psapi
/tests psapi_test
15170 wine_fn_config_dll pstorec enable_pstorec
15171 wine_fn_config_dll qcap enable_qcap
15172 wine_fn_config_dll qedit enable_qedit
15173 wine_fn_config_test dlls
/qedit
/tests qedit_test
15174 wine_fn_config_dll qmgr enable_qmgr
15175 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15176 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15177 wine_fn_config_dll quartz enable_quartz implib
15178 wine_fn_config_test dlls
/quartz
/tests quartz_test
15179 wine_fn_config_dll query enable_query
15180 wine_fn_config_dll rasapi16.dll16 enable_win16
15181 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15182 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15183 wine_fn_config_dll rasdlg enable_rasdlg implib
15184 wine_fn_config_dll resutils enable_resutils implib
15185 wine_fn_config_dll riched20 enable_riched20 implib
15186 wine_fn_config_test dlls
/riched20
/tests riched20_test
15187 wine_fn_config_dll riched32 enable_riched32
15188 wine_fn_config_test dlls
/riched32
/tests riched32_test
15189 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15190 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15191 wine_fn_config_dll rsabase enable_rsabase
15192 wine_fn_config_dll rsaenh enable_rsaenh implib
15193 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15194 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15195 wine_fn_config_dll rtutils enable_rtutils implib
15196 wine_fn_config_dll samlib enable_samlib
15197 wine_fn_config_dll sane.ds enable_sane_ds po
15198 wine_fn_config_dll sccbase enable_sccbase
15199 wine_fn_config_dll schannel enable_schannel
15200 wine_fn_config_test dlls
/schannel
/tests schannel_test
15201 wine_fn_config_dll secur32 enable_secur32 implib
15202 wine_fn_config_test dlls
/secur32
/tests secur32_test
15203 wine_fn_config_dll security enable_security
15204 wine_fn_config_dll sensapi enable_sensapi implib
15205 wine_fn_config_dll serialui enable_serialui implib
15206 wine_fn_config_test dlls
/serialui
/tests serialui_test
15207 wine_fn_config_dll setupapi enable_setupapi po
,implib
15208 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15209 wine_fn_config_dll setupx.dll16 enable_win16
15210 wine_fn_config_dll sfc enable_sfc implib
15211 wine_fn_config_dll sfc_os enable_sfc_os implib
15212 wine_fn_config_dll shdoclc enable_shdoclc po
15213 wine_fn_config_dll shdocvw enable_shdocvw po
,implib
15214 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15215 wine_fn_config_dll shell.dll16 enable_win16
15216 wine_fn_config_dll shell32 enable_shell32 po
,implib
15217 wine_fn_config_test dlls
/shell32
/tests shell32_test
15218 wine_fn_config_dll shfolder enable_shfolder implib
15219 wine_fn_config_dll shlwapi enable_shlwapi po
,implib
15220 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15221 wine_fn_config_dll slbcsp enable_slbcsp
15222 wine_fn_config_dll slc enable_slc implib
15223 wine_fn_config_dll snmpapi enable_snmpapi implib
15224 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15225 wine_fn_config_dll softpub enable_softpub
15226 wine_fn_config_dll sound.drv16 enable_win16
15227 wine_fn_config_dll spoolss enable_spoolss implib
15228 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15229 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15230 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15231 wine_fn_config_dll sti enable_sti implib
15232 wine_fn_config_test dlls
/sti
/tests sti_test
15233 wine_fn_config_dll storage.dll16 enable_win16
15234 wine_fn_config_dll stress.dll16 enable_win16
15235 wine_fn_config_lib strmbase
15236 wine_fn_config_lib strmiids
15237 wine_fn_config_dll svrapi enable_svrapi
15238 wine_fn_config_dll sxs enable_sxs
15239 wine_fn_config_dll system.drv16 enable_win16
15240 wine_fn_config_dll t2embed enable_t2embed
15241 wine_fn_config_dll tapi32 enable_tapi32 implib
15242 wine_fn_config_dll toolhelp.dll16 enable_win16
15243 wine_fn_config_dll traffic enable_traffic
15244 wine_fn_config_dll twain.dll16 enable_win16
15245 wine_fn_config_dll twain_32 enable_twain_32
15246 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15247 wine_fn_config_dll typelib.dll16 enable_win16
15248 wine_fn_config_dll unicows enable_unicows implib
15249 wine_fn_config_dll updspapi enable_updspapi
15250 wine_fn_config_dll url enable_url implib
15251 wine_fn_config_dll urlmon enable_urlmon implib
15252 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15253 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15254 wine_fn_config_dll user.exe16 enable_win16
15255 wine_fn_config_dll user32 enable_user32 po
,implib
15256 wine_fn_config_test dlls
/user32
/tests user32_test
15257 wine_fn_config_dll userenv enable_userenv implib
15258 wine_fn_config_test dlls
/userenv
/tests userenv_test
15259 wine_fn_config_dll usp10 enable_usp10 implib
15260 wine_fn_config_test dlls
/usp10
/tests usp10_test
15261 wine_fn_config_lib uuid
15262 wine_fn_config_dll uxtheme enable_uxtheme implib
15263 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15264 wine_fn_config_dll vdhcp.vxd enable_win16
15265 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15266 wine_fn_config_dll ver.dll16 enable_win16
15267 wine_fn_config_dll version enable_version implib
15268 wine_fn_config_test dlls
/version
/tests version_test
15269 wine_fn_config_dll vmm.vxd enable_win16
15270 wine_fn_config_dll vnbt.vxd enable_win16
15271 wine_fn_config_dll vnetbios.vxd enable_win16
15272 wine_fn_config_dll vtdapi.vxd enable_win16
15273 wine_fn_config_dll vwin32.vxd enable_win16
15274 wine_fn_config_dll w32skrnl enable_win16
15275 wine_fn_config_dll w32sys.dll16 enable_win16
15276 wine_fn_config_dll wbemprox enable_wbemprox
15277 wine_fn_config_dll wer enable_wer implib
15278 wine_fn_config_test dlls
/wer
/tests wer_test
15279 wine_fn_config_dll wiaservc enable_wiaservc
15280 wine_fn_config_dll win32s16.dll16 enable_win16
15281 wine_fn_config_dll win87em.dll16 enable_win16
15282 wine_fn_config_dll winaspi.dll16 enable_win16
15283 wine_fn_config_dll windebug.dll16 enable_win16
15284 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15285 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15286 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15287 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15288 wine_fn_config_lib winecrt0
15289 wine_fn_config_dll wined3d enable_wined3d implib
15290 wine_fn_config_dll wineesd.drv enable_wineesd_drv
15291 wine_fn_config_dll winegstreamer enable_winegstreamer
15292 wine_fn_config_dll winejack.drv enable_winejack_drv
15293 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15294 wine_fn_config_dll winemapi enable_winemapi
15295 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15296 wine_fn_config_dll winenas.drv enable_winenas_drv
15297 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15298 wine_fn_config_dll wineps.drv enable_wineps_drv
15299 wine_fn_config_dll wineps16.drv16 enable_win16
15300 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15301 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15302 wine_fn_config_dll winex11.drv enable_winex11_drv
15303 wine_fn_config_dll wing.dll16 enable_win16
15304 wine_fn_config_dll wing32 enable_wing32
15305 wine_fn_config_dll winhttp enable_winhttp implib
15306 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15307 wine_fn_config_dll wininet enable_wininet po
,implib
15308 wine_fn_config_test dlls
/wininet
/tests wininet_test
15309 wine_fn_config_dll winmm enable_winmm po
,implib
15310 wine_fn_config_test dlls
/winmm
/tests winmm_test
15311 wine_fn_config_dll winnls.dll16 enable_win16
15312 wine_fn_config_dll winnls32 enable_winnls32 implib
15313 wine_fn_config_dll winscard enable_winscard implib
15314 wine_fn_config_dll winsock.dll16 enable_win16
15315 wine_fn_config_dll winspool.drv enable_winspool_drv po
,implib winspool
15316 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15317 wine_fn_config_dll wintab.dll16 enable_win16
15318 wine_fn_config_dll wintab32 enable_wintab32 implib
15319 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15320 wine_fn_config_dll wintrust enable_wintrust implib
15321 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15322 wine_fn_config_dll wlanapi enable_wlanapi
15323 wine_fn_config_dll wldap32 enable_wldap32 po
,implib
15324 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15325 wine_fn_config_dll wmi enable_wmi
15326 wine_fn_config_dll wmiutils enable_wmiutils
15327 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15328 wine_fn_config_dll wow32 enable_win16 implib
15329 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15330 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15331 wine_fn_config_dll wsock32 enable_wsock32 implib
15332 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15333 wine_fn_config_dll wuapi enable_wuapi
15334 wine_fn_config_dll wuaueng enable_wuaueng
15335 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15336 wine_fn_config_dll xinput1_1 enable_xinput1_1
15337 wine_fn_config_dll xinput1_2 enable_xinput1_2
15338 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15339 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15340 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15341 wine_fn_config_dll xmllite enable_xmllite
15342 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15343 wine_fn_config_makefile documentation enable_documentation
15344 wine_fn_config_makefile fonts enable_fonts
15345 wine_fn_config_makefile include enable_include
15346 wine_fn_config_makefile libs
/port enable_libs_port
15347 wine_fn_config_makefile libs
/wine enable_libs_wine
15348 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15349 wine_fn_config_makefile loader enable_loader
15350 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15351 wine_fn_config_program attrib enable_attrib
install
15352 wine_fn_config_program cacls enable_cacls
install
15353 wine_fn_config_program
clock enable_clock po
,install
15354 wine_fn_config_program cmd enable_cmd po
,install
15355 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15356 wine_fn_config_program cmdlgtst enable_cmdlgtst
15357 wine_fn_config_program control enable_control
install
15358 wine_fn_config_program dxdiag enable_dxdiag
install
15359 wine_fn_config_program eject enable_eject
install
15360 wine_fn_config_program
expand enable_expand
install
15361 wine_fn_config_program explorer enable_explorer
install
15362 wine_fn_config_program extrac32 enable_extrac32
install
15363 wine_fn_config_program hh enable_hh
install
15364 wine_fn_config_program icinfo enable_icinfo
install
15365 wine_fn_config_program iexplore enable_iexplore
install
15366 wine_fn_config_program ipconfig enable_ipconfig po
,install
15367 wine_fn_config_program lodctr enable_lodctr
install
15368 wine_fn_config_program mofcomp enable_mofcomp
install
15369 wine_fn_config_program mshta enable_mshta
install
15370 wine_fn_config_program msiexec enable_msiexec
install,installbin
15371 wine_fn_config_program net enable_net po
,install
15372 wine_fn_config_program netsh enable_netsh
install
15373 wine_fn_config_program ngen enable_ngen
install
15374 wine_fn_config_program notepad enable_notepad po
,install,installbin
15375 wine_fn_config_program oleview enable_oleview po
,install
15376 wine_fn_config_program
ping enable_ping
install
15377 wine_fn_config_program progman enable_progman po
,install
15378 wine_fn_config_program reg enable_reg po
,install
15379 wine_fn_config_program regedit enable_regedit po
,install,installbin
15380 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15381 wine_fn_config_program regsvcs enable_regsvcs
install
15382 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
15383 wine_fn_config_program rpcss enable_rpcss
install
15384 wine_fn_config_program rundll.exe16 enable_win16
install
15385 wine_fn_config_program rundll32 enable_rundll32
install
15386 wine_fn_config_program sc enable_sc
install
15387 wine_fn_config_program secedit enable_secedit
install
15388 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15389 wine_fn_config_program services enable_services
install
15390 wine_fn_config_program spoolsv enable_spoolsv
install
15391 wine_fn_config_program start enable_start po
,install
15392 wine_fn_config_program svchost enable_svchost
install
15393 wine_fn_config_program taskkill enable_taskkill po
,install
15394 wine_fn_config_program taskmgr enable_taskmgr po
,install
15395 wine_fn_config_program termsv enable_termsv
install
15396 wine_fn_config_program uninstaller enable_uninstaller po
,install
15397 wine_fn_config_program unlodctr enable_unlodctr
install
15398 wine_fn_config_program view enable_view po
15399 wine_fn_config_program wineboot enable_wineboot
install,installbin
15400 wine_fn_config_program winebrowser enable_winebrowser
install
15401 wine_fn_config_program winecfg enable_winecfg po
,install,installbin
15402 wine_fn_config_program wineconsole enable_wineconsole po
,install,installbin
15403 wine_fn_config_program winedbg enable_winedbg po
,install,installbin
15404 wine_fn_config_program winedevice enable_winedevice
install
15405 wine_fn_config_program winefile enable_winefile po
,install,installbin
15406 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15407 wine_fn_config_program winemine enable_winemine po
,install,installbin
15408 wine_fn_config_program winepath enable_winepath
install,installbin
15409 wine_fn_config_program winetest enable_winetest
15410 wine_fn_config_program winevdm enable_win16
install
15411 wine_fn_config_program winhelp.exe16 enable_win16
install
15412 wine_fn_config_program winhlp32 enable_winhlp32 po
,install
15413 wine_fn_config_program winoldap.mod16 enable_win16
install
15414 wine_fn_config_program winver enable_winver
install
15415 wine_fn_config_program wmic enable_wmic
install
15416 wine_fn_config_program wordpad enable_wordpad po
,install
15417 wine_fn_config_program
write enable_write po
,install
15418 wine_fn_config_program wscript enable_wscript
install
15419 wine_fn_config_program xcopy enable_xcopy po
,install
15420 wine_fn_config_makefile server enable_server
15421 wine_fn_config_tool tools
15422 wine_fn_config_tool tools
/widl
15423 wine_fn_config_tool tools
/winebuild
15424 wine_fn_config_tool tools
/winedump
15425 wine_fn_config_tool tools
/winegcc
15426 wine_fn_config_tool tools
/wmc
15427 wine_fn_config_tool tools
/wrc
15477 ac_config_commands
="$ac_config_commands Makefile"
15480 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15484 if test "x$enable_maintainer_mode" = xyes
15486 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15487 cd \$(srcdir) && autoconf --warnings=all
15488 \$(srcdir)/include/config.h.in: include/stamp-h.in
15489 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15490 cd \$(srcdir) && autoheader --warnings=all
15491 @echo timestamp > \$@
15493 ALL_POT_FILES =$ALL_POT_FILES
15494 all: \$(ALL_PO_FILES)
15495 \$(ALL_PO_FILES): \$(srcdir)/po/wine.pot
15496 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15497 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15498 msgcat -o \$@ \$(ALL_POT_FILES)"
15501 if test -n "$with_wine64"
15503 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15505 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15506 $with_wine64/loader/wine:
15507 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15508 $with_wine64/loader/wine-preloader:
15509 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15511 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15514 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
15515 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
15517 cat >confcache
<<\_ACEOF
15518 # This file is a shell script that caches the results of configure
15519 # tests run on this system so they can be shared between configure
15520 # scripts and configure runs, see configure's option --config-cache.
15521 # It is not useful on other systems. If it contains results you don't
15522 # want to keep, you may remove or edit it.
15524 # config.status only pays attention to the cache file if you give it
15525 # the --recheck option to rerun configure.
15527 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15528 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15529 # following values.
15533 # The following way of writing the cache mishandles newlines in values,
15534 # but we know of no workaround that is simple, portable, and efficient.
15535 # So, we kill variables containing newlines.
15536 # Ultrix sh set writes to stderr and can't be redirected directly,
15537 # and sets the high bit in the cache file unless we assign to the vars.
15539 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15540 eval ac_val
=\$
$ac_var
15544 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15545 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15548 _ | IFS | as_nl
) ;; #(
15549 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15550 *) { eval $ac_var=; unset $ac_var;} ;;
15556 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15557 *${as_nl}ac_space
=\
*)
15558 # `set' does not quote correctly, so add quotes: double-quote
15559 # substitution turns \\\\ into \\, and sed turns \\ into \.
15562 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15565 # `set' quotes correctly as required by POSIX, so do not add quotes.
15566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15575 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15577 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15579 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15580 if test -w "$cache_file"; then
15581 test "x$cache_file" != "x/dev/null" &&
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15583 $as_echo "$as_me: updating cache $cache_file" >&6;}
15584 cat confcache
>$cache_file
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15592 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15593 # Let make expand exec_prefix.
15594 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15596 DEFS
=-DHAVE_CONFIG_H
15601 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15602 # 1. Remove the extension, and $U if already installed.
15603 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15604 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15606 # will be set to the directory where LIBOBJS objects are built.
15607 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15608 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15610 LIBOBJS
=$ac_libobjs
15612 LTLIBOBJS
=$ac_ltlibobjs
15616 : ${CONFIG_STATUS=./config.status}
15618 ac_clean_files_save
=$ac_clean_files
15619 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15621 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15623 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15625 # Generated by $as_me.
15626 # Run this file to recreate the current configuration.
15627 # Compiler output produced by configure, useful for debugging
15628 # configure, is in config.log if it exists.
15631 ac_cs_recheck=false
15634 SHELL=\${CONFIG_SHELL-$SHELL}
15637 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15638 ## -------------------- ##
15639 ## M4sh Initialization. ##
15640 ## -------------------- ##
15642 # Be more Bourne compatible
15643 DUALCASE
=1; export DUALCASE
# for MKS sh
15644 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15647 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15648 # is contrary to our usage. Disable this feature.
15649 alias -g '${1+"$@"}'='"$@"'
15650 setopt NO_GLOB_SUBST
15652 case `(set -o) 2>/dev/null` in #(
15664 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15665 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15666 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15667 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15668 # Prefer a ksh shell builtin over an external printf program on Solaris,
15669 # but without wasting forks for bash or zsh.
15670 if test -z "$BASH_VERSION$ZSH_VERSION" \
15671 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15672 as_echo='print
-r --'
15673 as_echo_n='print
-rn --'
15674 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15675 as_echo='printf %s
\n'
15676 as_echo_n='printf %s
'
15678 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15679 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15680 as_echo_n='/usr
/ucb
/echo -n'
15682 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15683 as_echo_n_body='eval
15687 expr "X$arg" : "X\\(.*\\)$as_nl";
15688 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15690 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15692 export as_echo_n_body
15693 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15695 export as_echo_body
15696 as_echo='sh
-c $as_echo_body as_echo
'
15699 # The user is always right.
15700 if test "${PATH_SEPARATOR+set}" != set; then
15702 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15703 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15710 # We need space, tab and new line, in precisely that order. Quoting is
15711 # there to prevent editors from complaining about space-tab.
15712 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15713 # splitting by setting IFS to empty value.)
15716 # Find who we are. Look in the path if we contain no directory separator.
15718 *[\\/]* ) as_myself=$0 ;;
15719 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15720 for as_dir in $PATH
15723 test -z "$as_dir" && as_dir=.
15724 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15730 # We did not find ourselves, most probably we were run as `sh COMMAND'
15731 # in which case we are not to be found in the path.
15732 if test "x$as_myself" = x
; then
15735 if test ! -f "$as_myself"; then
15736 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15740 # Unset variables that we do not need and which cause bugs (e.g. in
15741 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15742 # suppresses any "Segmentation fault" message there. '((' could
15743 # trigger a bug in pdksh 5.2.14.
15744 for as_var
in BASH_ENV ENV MAIL MAILPATH
15745 do eval test x\
${$as_var+set} = xset \
15746 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15759 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15762 # as_fn_error STATUS ERROR [LINENO LOG_FD]
15763 # ----------------------------------------
15764 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15765 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15766 # script with STATUS, using 1 if that was 0.
15769 as_status
=$1; test $as_status -eq 0 && as_status
=1
15771 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15772 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
15774 $as_echo "$as_me: error: $2" >&2
15775 as_fn_exit
$as_status
15779 # as_fn_set_status STATUS
15780 # -----------------------
15781 # Set $? to STATUS, without forking.
15782 as_fn_set_status
()
15785 } # as_fn_set_status
15787 # as_fn_exit STATUS
15788 # -----------------
15789 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15793 as_fn_set_status
$1
15799 # Portably unset VAR.
15802 { eval $1=; unset $1;}
15804 as_unset
=as_fn_unset
15805 # as_fn_append VAR VALUE
15806 # ----------------------
15807 # Append the text in VALUE to the end of the definition contained in VAR. Take
15808 # advantage of any shell optimizations that allow amortized linear growth over
15809 # repeated appends, instead of the typical quadratic growth present in naive
15811 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15812 eval 'as_fn_append ()
15823 # as_fn_arith ARG...
15824 # ------------------
15825 # Perform arithmetic evaluation on the ARGs, and store the result in the
15826 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15827 # must be portable across $(()) and expr.
15828 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15829 eval 'as_fn_arith ()
15836 as_val
=`expr "$@" || test $? -eq 1`
15841 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15842 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15848 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15849 as_basename
=basename
15854 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15860 as_me
=`$as_basename -- "$0" ||
15861 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15862 X"$0" : 'X\(//\)$' \| \
15863 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15865 sed '/^.*\/\([^/][^/]*\)\/*$/{
15879 # Avoid depending upon Character Ranges.
15880 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15881 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15882 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15883 as_cr_digits
='0123456789'
15884 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15886 ECHO_C
= ECHO_N
= ECHO_T
=
15887 case `echo -n x` in #(((((
15889 case `echo 'xy\c'` in
15890 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15892 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15899 rm -f conf$$ conf$$.exe conf$$.
file
15900 if test -d conf$$.dir
; then
15901 rm -f conf$$.dir
/conf$$.
file
15904 mkdir conf$$.dir
2>/dev
/null
15906 if (echo >conf$$.
file) 2>/dev
/null
; then
15907 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15909 # ... but there are two gotchas:
15910 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15911 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15912 # In both cases, we have to default to `cp -p'.
15913 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15915 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15923 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15924 rmdir conf$$.dir
2>/dev
/null
15929 # Create "$as_dir" as a directory, including parents if necessary.
15934 -*) as_dir
=.
/$as_dir;;
15936 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15940 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15941 *) as_qdir
=$as_dir;;
15943 as_dirs
="'$as_qdir' $as_dirs"
15944 as_dir
=`$as_dirname -- "$as_dir" ||
15945 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15946 X"$as_dir" : 'X\(//\)[^/]' \| \
15947 X"$as_dir" : 'X\(//\)$' \| \
15948 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15949 $as_echo X"$as_dir" |
15950 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15954 /^X\(\/\/\)[^/].*/{
15967 test -d "$as_dir" && break
15969 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15970 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
15974 if mkdir
-p .
2>/dev
/null
; then
15975 as_mkdir_p
='mkdir -p "$as_dir"'
15977 test -d .
/-p && rmdir .
/-p
15981 if test -x / >/dev
/null
2>&1; then
15982 as_test_x
='test -x'
15984 if ls -dL / >/dev
/null
2>&1; then
15991 if test -d "$1"; then
15997 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15998 ???[sx]*):;;*)false;;esac;fi
16002 as_executable_p
=$as_test_x
16004 # Sed expression to map a string onto a valid CPP name.
16005 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16007 # Sed expression to map a string onto a valid variable name.
16008 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16012 ## ----------------------------------- ##
16013 ## Main body of $CONFIG_STATUS script. ##
16014 ## ----------------------------------- ##
16016 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16018 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16019 # Save the log message, to keep $0 and so on meaningful, and to
16020 # report actual input values of CONFIG_FILES etc. instead of their
16021 # values after options handling.
16023 This file was extended by Wine $as_me 1.3.12, which was
16024 generated by GNU Autoconf 2.67. Invocation command line was
16026 CONFIG_FILES = $CONFIG_FILES
16027 CONFIG_HEADERS = $CONFIG_HEADERS
16028 CONFIG_LINKS = $CONFIG_LINKS
16029 CONFIG_COMMANDS = $CONFIG_COMMANDS
16032 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16037 case $ac_config_files in *"
16038 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16041 case $ac_config_headers in *"
16042 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16046 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16047 # Files that config.status was made for.
16048 config_files="$ac_config_files"
16049 config_headers="$ac_config_headers"
16050 config_links="$ac_config_links"
16051 config_commands="$ac_config_commands"
16055 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16057 \`$as_me' instantiates files and other configuration actions
16058 from templates according to the current configuration. Unless the files
16059 and actions are specified as TAGs, all are instantiated by default.
16061 Usage: $0 [OPTION]... [TAG]...
16063 -h, --help print this help, then exit
16064 -V, --version print version number and configuration settings, then exit
16065 --config print configuration, then exit
16066 -q, --quiet, --silent
16067 do not print progress messages
16068 -d, --debug don't remove temporary files
16069 --recheck update $as_me by reconfiguring in the same conditions
16070 --file=FILE[:TEMPLATE]
16071 instantiate the configuration file FILE
16072 --header=FILE[:TEMPLATE]
16073 instantiate the configuration header FILE
16075 Configuration files:
16078 Configuration headers:
16081 Configuration links:
16084 Configuration commands:
16087 Report bugs to <wine-devel@winehq.org>.
16088 Wine home page: <http://www.winehq.org>."
16091 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16092 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16094 Wine config.status 1.3.12
16095 configured by $0, generated by GNU Autoconf 2.67,
16096 with options \\"\$ac_cs_config\\"
16098 Copyright (C) 2010 Free Software Foundation, Inc.
16099 This config.status script is free software; the Free Software Foundation
16100 gives unlimited permission to copy, distribute and modify it."
16105 test -n "\$AWK" || AWK=awk
16108 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16109 # The default lists apply if the user does not specify any file.
16115 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16116 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16120 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16132 # Handling of the options.
16133 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16135 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16136 $as_echo "$ac_cs_version"; exit ;;
16137 --config |
--confi |
--conf |
--con |
--co |
--c )
16138 $as_echo "$ac_cs_config"; exit ;;
16139 --debug |
--debu |
--deb |
--de |
--d |
-d )
16141 --file |
--fil |
--fi |
--f )
16144 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16145 '') as_fn_error $?
"missing file argument" ;;
16147 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16148 ac_need_defaults
=false
;;
16149 --header |
--heade |
--head |
--hea )
16152 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16154 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16155 ac_need_defaults
=false
;;
16157 # Conflict between --help and --header
16158 as_fn_error $?
"ambiguous option: \`$1'
16159 Try \`$0 --help' for more information.";;
16160 --help |
--hel |
-h )
16161 $as_echo "$ac_cs_usage"; exit ;;
16162 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16163 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16166 # This is an error.
16167 -*) as_fn_error $?
"unrecognized option: \`$1'
16168 Try \`$0 --help' for more information." ;;
16170 *) as_fn_append ac_config_targets
" $1"
16171 ac_need_defaults
=false
;;
16177 ac_configure_extra_args
=
16179 if $ac_cs_silent; then
16181 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16185 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16186 if \$ac_cs_recheck; then
16187 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16189 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16190 CONFIG_SHELL='$SHELL'
16191 export CONFIG_SHELL
16196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16200 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16201 ## Running $as_me. ##
16207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16211 wine_fn_output_makefile ()
16213 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16214 $ALL_MAKEFILE_DEPENDS
16216 as_fn_error $? "could not create Makefile" "$LINENO" 5
16221 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16223 # Handling of arguments.
16224 for ac_config_target
in $ac_config_targets
16226 case $ac_config_target in
16227 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16228 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16229 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16230 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16231 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16232 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16233 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16234 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16235 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16236 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16237 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16238 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16239 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16240 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16241 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16242 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16243 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16244 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16245 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16246 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16247 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16248 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16249 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16251 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
16256 # If the user did not use the arguments to specify the items to instantiate,
16257 # then the envvar interface is used. Set only those that are not.
16258 # We use the long form for the default assignment because of an extremely
16259 # bizarre bug on SunOS 4.1.3.
16260 if $ac_need_defaults; then
16261 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16262 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16263 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16264 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16267 # Have a temporary directory for convenience. Make it in the build tree
16268 # simply because there is no reason against having it here, and in addition,
16269 # creating and moving files from /tmp can sometimes cause problems.
16270 # Hook for its removal unless debugging.
16271 # Note that there is a small window in which the directory will not be cleaned:
16272 # after its creation but before its name has been assigned to `$tmp'.
16276 trap 'exit_status=$?
16277 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
16279 trap 'as_fn_exit 1' 1 2 13 15
16281 # Create a (secure) tmp directory for tmp files.
16284 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16285 test -n "$tmp" && test -d "$tmp"
16288 tmp
=.
/conf$$
-$RANDOM
16289 (umask 077 && mkdir
"$tmp")
16290 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16292 # Set up the scripts for CONFIG_FILES section.
16293 # No need to generate them if there are no CONFIG_FILES.
16294 # This happens for instance with `./config.status config.h'.
16295 if test -n "$CONFIG_FILES"; then
16297 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16298 ac_cs_awk_getline
=:
16299 ac_cs_awk_pipe_init
=
16300 ac_cs_awk_read_file
='
16301 while ((getline aline < (F[key])) > 0)
16304 ac_cs_awk_pipe_fini
=
16306 ac_cs_awk_getline
=false
16307 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16308 ac_cs_awk_read_file
='
16310 print "cat " F[key] " &&"
16311 '$ac_cs_awk_pipe_init
16312 # The final `:' finishes the AND list.
16313 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16315 ac_cr
=`echo X | tr X '\015'`
16316 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16317 # But we know of no other shell where ac_cr would be empty at this
16318 # point, so we can use a bashism as a fallback.
16319 if test "x$ac_cr" = x
; then
16320 eval ac_cr
=\$
\'\\r
\'
16322 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16323 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16326 ac_cs_awk_cr
=$ac_cr
16329 echo 'BEGIN {' >"$tmp/subs1.awk" &&
16332 # Create commands to substitute file output variables.
16334 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16335 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
16336 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16339 } >conf$
$files.sh
&&
16340 . .
/conf$
$files.sh ||
16341 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16342 rm -f conf$
$files.sh
16345 echo "cat >conf$$subs.awk <<_ACEOF" &&
16346 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16348 } >conf$$subs.sh ||
16349 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16350 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16352 for ac_last_try in false false false false false :; do
16353 . ./conf$$subs.sh ||
16354 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16356 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16357 if test $ac_delim_n = $ac_delim_num; then
16359 elif $ac_last_try; then
16360 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16362 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16365 rm -f conf$$subs.sh
16367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16368 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
16372 s/^/S["/; s
/!.
*/"]=/
16382 s/\(.\{148\}\)..*/\1/
16384 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16389 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16396 s/\(.\{148\}\)..*/\1/
16398 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16402 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16407 ' <conf$$subs.awk | sed '
16412 ' >>$CONFIG_STATUS || ac_write_fail=1
16413 rm -f conf$$subs.awk
16414 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16416 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
16417 for (key in S) S_is_set[key] = 1
16419 \$ac_cs_awk_pipe_init
16423 nfields = split(line, field, "@
")
16425 len = length(field[1])
16426 for (i = 2; i < nfields; i++) {
16428 keylen = length(key)
16429 if (S_is_set[key]) {
16431 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16432 len += length(value) + length(field[++i])
16437 if (nfields == 3 && !substed) {
16439 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16440 \$ac_cs_awk_read_file
16446 \$ac_cs_awk_pipe_fini
16449 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16450 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16451 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16454 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
16455 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16458 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16459 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16460 # trailing colons and then remove the whole line if VPATH becomes empty
16461 # (actually we leave an empty line to preserve line numbers).
16462 if test "x
$srcdir" = x.; then
16463 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16481 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16482 fi # test -n "$CONFIG_FILES"
16484 # Set up the scripts for CONFIG_HEADERS section.
16485 # No need to generate them if there are no CONFIG_HEADERS.
16486 # This happens for instance with `./config.status Makefile'.
16487 if test -n "$CONFIG_HEADERS"; then
16488 cat >"$tmp/defines.
awk" <<\_ACAWK ||
16492 # Transform confdefs.h into an awk script `defines.awk', embedded as
16493 # here-document in config.status, that substitutes the proper values into
16494 # config.h.in to produce config.h.
16496 # Create a delimiter string that does not exist in confdefs.h, to ease
16497 # handling of long lines.
16499 for ac_last_try in false false :; do
16500 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
16501 if test -z "$ac_t"; then
16503 elif $ac_last_try; then
16504 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16506 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16510 # For the awk script, D is an array of macro values keyed by name,
16511 # likewise P contains macro parameters if any. Preserve backslash
16512 # newline sequences.
16514 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16516 s/.\{148\}/&'"$ac_delim"'/g
16519 s/^[ ]*#[ ]*define[ ][ ]*/ /
16526 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16528 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16532 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16533 D["\
1"]=" \
3\\\\\\n
"\\/p
16535 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16540 s/.\{148\}/&'"$ac_delim"'/g
16545 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16548 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16550 ' <confdefs.h | sed '
16551 s/'"$ac_delim"'/"\\\
16552 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16554 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16555 for (key in D) D_is_set[key] = 1
16558 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16560 split(line, arg, " ")
16561 if (arg[1] == "#") {
16565 defundef
= substr
(arg
[1], 2)
16568 split(mac1
, mac2
, "(") #)
16570 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16571 if (D_is_set
[macro
]) {
16572 # Preserve the white space surrounding the "#".
16573 print prefix
"define", macro P
[macro
] D
[macro
]
16576 # Replace #undef with comments. This is necessary, for example,
16577 # in the case of _POSIX_SOURCE, which is predefined and required
16578 # on some systems where configure will not decide to define it.
16579 if (defundef
== "undef") {
16580 print
"/*", prefix defundef
, macro
, "*/"
16588 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16589 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16590 fi # test -n "$CONFIG_HEADERS"
16593 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16598 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16600 case $ac_mode$ac_tag in
16602 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5 ;;
16603 :[FH
]-) ac_tag
=-:-;;
16604 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16621 -) ac_f
="$tmp/stdin";;
16622 *) # Look for the file first in the build tree, then in the source tree
16623 # (if the path is not absolute). The absolute path cannot be DOS-style,
16624 # because $ac_f cannot contain `:'.
16628 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16630 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
16632 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16633 as_fn_append ac_file_inputs
" '$ac_f'"
16636 # Let's still pretend it is `configure' which instantiates (i.e., don't
16637 # use $as_me), people would be surprised to read:
16638 # /* config.h. Generated by config.status. */
16639 configure_input
='Generated from '`
16640 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16642 if test x
"$ac_file" != x-
; then
16643 configure_input
="$ac_file. $configure_input"
16644 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16645 $as_echo "$as_me: creating $ac_file" >&6;}
16647 # Neutralize special characters interpreted by sed in replacement strings.
16648 case $configure_input in #(
16649 *\
&* |
*\|
* |
*\\* )
16650 ac_sed_conf_input
=`$as_echo "$configure_input" |
16651 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16652 *) ac_sed_conf_input
=$configure_input;;
16656 *:-:* |
*:-) cat >"$tmp/stdin" \
16657 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16662 ac_dir
=`$as_dirname -- "$ac_file" ||
16663 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16664 X"$ac_file" : 'X\(//\)[^/]' \| \
16665 X"$ac_file" : 'X\(//\)$' \| \
16666 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16667 $as_echo X"$ac_file" |
16668 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16672 /^X\(\/\/\)[^/].*/{
16685 as_dir
="$ac_dir"; as_fn_mkdir_p
16689 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16691 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16692 # A ".." for each directory in $ac_dir_suffix.
16693 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16694 case $ac_top_builddir_sub in
16695 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16696 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16699 ac_abs_top_builddir
=$ac_pwd
16700 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16701 # for backward compatibility:
16702 ac_top_builddir
=$ac_top_build_prefix
16705 .
) # We are building in place.
16707 ac_top_srcdir
=$ac_top_builddir_sub
16708 ac_abs_top_srcdir
=$ac_pwd ;;
16709 [\\/]* | ?
:[\\/]* ) # Absolute name.
16710 ac_srcdir
=$srcdir$ac_dir_suffix;
16711 ac_top_srcdir
=$srcdir
16712 ac_abs_top_srcdir
=$srcdir ;;
16713 *) # Relative name.
16714 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16715 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16716 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16718 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16728 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16729 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16734 # If the template does not know about datarootdir, expand it.
16735 # FIXME: This hack should be removed a few years after 2.60.
16736 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16747 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16748 *datarootdir
*) ac_datarootdir_seen
=yes;;
16749 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16751 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16753 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16754 ac_datarootdir_hack='
16755 s&@datadir@&$datadir&g
16756 s&@docdir@&$docdir&g
16757 s&@infodir@&$infodir&g
16758 s&@localedir@&$localedir&g
16759 s&@mandir@&$mandir&g
16760 s&\\\${datarootdir}&$datarootdir&g' ;;
16764 # Neutralize VPATH when `$srcdir' = `.'.
16765 # Shell code in configure.ac might set extrasub.
16766 # FIXME: do we really want to maintain this feature?
16767 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16768 ac_sed_extra="$ac_vpsub
16771 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16773 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16774 s|@configure_input@|
$ac_sed_conf_input|
;t t
16775 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16776 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16777 s
&@srcdir@
&$ac_srcdir&;t t
16778 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16779 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16780 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16781 s
&@builddir@
&$ac_builddir&;t t
16782 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16783 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16784 s
&@INSTALL@
&$ac_INSTALL&;t t
16785 $ac_datarootdir_hack
16787 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16788 if $ac_cs_awk_getline; then
16789 $AWK -f "$tmp/subs.
awk"
16791 $AWK -f "$tmp/subs.
awk" | $SHELL
16793 || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
16795 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16796 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16797 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16799 which seems to be undefined. Please make sure it is defined" >&5
16800 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16801 which seems to be undefined. Please make sure it is defined" >&2;}
16805 -) cat "$tmp/out" && rm -f "$tmp/out";;
16806 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16808 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16814 if test x"$ac_file" != x-; then
16816 $as_echo "/* $configure_input */" \
16817 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16818 } >"$tmp/config.h" \
16819 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16820 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16821 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16822 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16825 mv "$tmp/config.h" "$ac_file" \
16826 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
16829 $as_echo "/* $configure_input */" \
16830 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16831 || as_fn_error $? "could not create -" "$LINENO" 5
16839 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16842 # Prefer the file from the source tree if names are identical.
16843 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16844 ac_source=$srcdir/$ac_source
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16848 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16850 if test ! -r "$ac_source"; then
16851 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
16855 # Try a relative symlink, then a hard link, then a copy.
16857 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16858 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16860 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16861 ln "$ac_source" "$ac_file" 2>/dev/null ||
16862 cp -p "$ac_source" "$ac_file" ||
16863 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16866 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16867 $as_echo "$as_me: executing $ac_file commands" >&6;}
16872 case $ac_file$ac_mode in
16873 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16874 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16875 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16876 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16877 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16878 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16879 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16880 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16881 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16882 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16883 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16884 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16885 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16886 "Makefile":C) wine_fn_output_makefile Makefile ;;
16894 ac_clean_files=$ac_clean_files_save
16896 test $ac_write_fail = 0 ||
16897 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
16900 # configure is writing to config.log, and then calls config.status.
16901 # config.status does its own redirection, appending to config.log.
16902 # Unfortunately, on DOS this fails, as config.log is still kept open
16903 # by configure, so config.status won't be able to
write to it
; its
16904 # output is simply discarded. So we exec the FD to /dev/null,
16905 # effectively closing config.log, so it can be properly (re)opened and
16906 # appended to by config.status. When coming back to configure, we
16907 # need to make the FD available again.
16908 if test "$no_create" != yes; then
16910 ac_config_status_args
=
16911 test "$silent" = yes &&
16912 ac_config_status_args
="$ac_config_status_args --quiet"
16914 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16916 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16917 # would make configure fail if this is the last instruction.
16918 $ac_cs_success || as_fn_exit
1
16920 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16922 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16926 if test "$no_create" = "yes"
16932 if test "x$wine_notices != "x
; then
16935 for msg
in $wine_notices; do
16937 if test -n "$msg"; then
16938 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16939 $as_echo "$as_me: $msg" >&6;}
16944 for msg
in $wine_warnings; do
16946 if test -n "$msg"; then
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16949 $as_echo "$as_me: WARNING: $msg" >&2;}
16955 $as_me: Finished. Do '${ac_make}' to compile Wine.