2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Wine 1.2.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
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 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
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&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, 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.2'
556 PACKAGE_STRING
='Wine 1.2'
557 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
558 PACKAGE_URL
='http://www.winehq.org'
560 ac_unique_file
="server/atom.c"
561 # Factoring default headers for most tests.
562 ac_includes_default
="\
564 #ifdef HAVE_SYS_TYPES_H
565 # include <sys/types.h>
567 #ifdef HAVE_SYS_STAT_H
568 # include <sys/stat.h>
574 # ifdef HAVE_STDLIB_H
579 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 #ifdef HAVE_STRINGS_H
585 # include <strings.h>
587 #ifdef HAVE_INTTYPES_H
588 # include <inttypes.h>
597 ac_subst_vars
='LTLIBOBJS
748 program_transform_name
759 ac_subst_files
='MAKE_RULES
765 enable_option_checking
769 enable_maintainer_mode
816 ac_precious_vars
='build_alias
831 # Initialize some variables set by options.
833 ac_init_version
=false
834 ac_unrecognized_opts
=
836 # The variables have the same names as the options, with
837 # dashes changed to underlines.
845 program_transform_name
=s
,x
,x
,
853 # Installation directory options.
854 # These are left unexpanded so users can "make install exec_prefix=/foo"
855 # and all the variables that are supposed to be based on exec_prefix
856 # by default will actually change.
857 # Use braces instead of parens because sh, perl, etc. also accept them.
858 # (The list follows the same order as the GNU Coding Standards.)
859 bindir
='${exec_prefix}/bin'
860 sbindir
='${exec_prefix}/sbin'
861 libexecdir
='${exec_prefix}/libexec'
862 datarootdir
='${prefix}/share'
863 datadir
='${datarootdir}'
864 sysconfdir
='${prefix}/etc'
865 sharedstatedir
='${prefix}/com'
866 localstatedir
='${prefix}/var'
867 includedir
='${prefix}/include'
868 oldincludedir
='/usr/include'
869 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
870 infodir
='${datarootdir}/info'
875 libdir
='${exec_prefix}/lib'
876 localedir
='${datarootdir}/locale'
877 mandir
='${datarootdir}/man'
883 # If the previous option needs an argument, assign it.
884 if test -n "$ac_prev"; then
885 eval $ac_prev=\
$ac_option
891 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
895 # Accept the important Cygnus configure options, so we can diagnose typos.
897 case $ac_dashdash$ac_option in
901 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
903 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
906 -build |
--build |
--buil |
--bui |
--bu)
907 ac_prev
=build_alias
;;
908 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
909 build_alias
=$ac_optarg ;;
911 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
912 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
913 ac_prev
=cache_file
;;
914 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
915 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
916 cache_file
=$ac_optarg ;;
919 cache_file
=config.cache
;;
921 -datadir |
--datadir |
--datadi |
--datad)
923 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
924 datadir
=$ac_optarg ;;
926 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
927 |
--dataroo |
--dataro |
--datar)
928 ac_prev
=datarootdir
;;
929 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
930 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
931 datarootdir
=$ac_optarg ;;
933 -disable-* |
--disable-*)
934 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
935 # Reject names that are not valid shell variable names.
936 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
937 as_fn_error
"invalid feature name: $ac_useropt"
938 ac_useropt_orig
=$ac_useropt
939 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
940 case $ac_user_opts in
944 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
945 ac_unrecognized_sep
=', ';;
947 eval enable_
$ac_useropt=no
;;
949 -docdir |
--docdir |
--docdi |
--doc |
--do)
951 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
954 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
956 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
959 -enable-* |
--enable-*)
960 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
963 as_fn_error
"invalid feature name: $ac_useropt"
964 ac_useropt_orig
=$ac_useropt
965 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
970 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
971 ac_unrecognized_sep
=', ';;
973 eval enable_
$ac_useropt=\
$ac_optarg ;;
975 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
976 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
977 |
--exec |
--exe |
--ex)
978 ac_prev
=exec_prefix
;;
979 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
980 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
981 |
--exec=* |
--exe=* |
--ex=*)
982 exec_prefix
=$ac_optarg ;;
984 -gas |
--gas |
--ga |
--g)
985 # Obsolete; use --with-gas.
988 -help |
--help |
--hel |
--he |
-h)
990 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
991 ac_init_help
=recursive
;;
992 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
993 ac_init_help
=short
;;
995 -host |
--host |
--hos |
--ho)
996 ac_prev
=host_alias
;;
997 -host=* |
--host=* |
--hos=* |
--ho=*)
998 host_alias
=$ac_optarg ;;
1000 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1002 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1004 htmldir
=$ac_optarg ;;
1006 -includedir |
--includedir |
--includedi |
--included |
--include \
1007 |
--includ |
--inclu |
--incl |
--inc)
1008 ac_prev
=includedir
;;
1009 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1010 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1011 includedir
=$ac_optarg ;;
1013 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1015 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1016 infodir
=$ac_optarg ;;
1018 -libdir |
--libdir |
--libdi |
--libd)
1020 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1021 libdir
=$ac_optarg ;;
1023 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1024 |
--libexe |
--libex |
--libe)
1025 ac_prev
=libexecdir
;;
1026 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1027 |
--libexe=* |
--libex=* |
--libe=*)
1028 libexecdir
=$ac_optarg ;;
1030 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1031 ac_prev
=localedir
;;
1032 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1033 localedir
=$ac_optarg ;;
1035 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1036 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1037 ac_prev
=localstatedir
;;
1038 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1039 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1040 localstatedir
=$ac_optarg ;;
1042 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1044 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1045 mandir
=$ac_optarg ;;
1047 -nfp |
--nfp |
--nf)
1048 # Obsolete; use --without-fp.
1051 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1052 |
--no-cr |
--no-c |
-n)
1055 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1056 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1059 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1060 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1061 |
--oldin |
--oldi |
--old |
--ol |
--o)
1062 ac_prev
=oldincludedir
;;
1063 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1064 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1065 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1066 oldincludedir
=$ac_optarg ;;
1068 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1070 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1071 prefix
=$ac_optarg ;;
1073 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1074 |
--program-pre |
--program-pr |
--program-p)
1075 ac_prev
=program_prefix
;;
1076 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1077 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1078 program_prefix
=$ac_optarg ;;
1080 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1081 |
--program-suf |
--program-su |
--program-s)
1082 ac_prev
=program_suffix
;;
1083 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1084 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1085 program_suffix
=$ac_optarg ;;
1087 -program-transform-name |
--program-transform-name \
1088 |
--program-transform-nam |
--program-transform-na \
1089 |
--program-transform-n |
--program-transform- \
1090 |
--program-transform |
--program-transfor \
1091 |
--program-transfo |
--program-transf \
1092 |
--program-trans |
--program-tran \
1093 |
--progr-tra |
--program-tr |
--program-t)
1094 ac_prev
=program_transform_name
;;
1095 -program-transform-name=* |
--program-transform-name=* \
1096 |
--program-transform-nam=* |
--program-transform-na=* \
1097 |
--program-transform-n=* |
--program-transform-=* \
1098 |
--program-transform=* |
--program-transfor=* \
1099 |
--program-transfo=* |
--program-transf=* \
1100 |
--program-trans=* |
--program-tran=* \
1101 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1102 program_transform_name
=$ac_optarg ;;
1104 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1106 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1107 pdfdir
=$ac_optarg ;;
1109 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1111 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1114 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1115 |
-silent |
--silent |
--silen |
--sile |
--sil)
1118 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1120 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1122 sbindir
=$ac_optarg ;;
1124 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1125 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1126 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1128 ac_prev
=sharedstatedir
;;
1129 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1130 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1131 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1133 sharedstatedir
=$ac_optarg ;;
1135 -site |
--site |
--sit)
1137 -site=* |
--site=* |
--sit=*)
1140 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1142 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1143 srcdir
=$ac_optarg ;;
1145 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1146 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1147 ac_prev
=sysconfdir
;;
1148 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1149 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1150 sysconfdir
=$ac_optarg ;;
1152 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1153 ac_prev
=target_alias
;;
1154 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1155 target_alias
=$ac_optarg ;;
1157 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1160 -version |
--version |
--versio |
--versi |
--vers |
-V)
1161 ac_init_version
=: ;;
1164 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1165 # Reject names that are not valid shell variable names.
1166 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1167 as_fn_error
"invalid package name: $ac_useropt"
1168 ac_useropt_orig
=$ac_useropt
1169 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1170 case $ac_user_opts in
1174 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1175 ac_unrecognized_sep
=', ';;
1177 eval with_
$ac_useropt=\
$ac_optarg ;;
1179 -without-* |
--without-*)
1180 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1181 # Reject names that are not valid shell variable names.
1182 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1183 as_fn_error
"invalid package name: $ac_useropt"
1184 ac_useropt_orig
=$ac_useropt
1185 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1186 case $ac_user_opts in
1190 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1191 ac_unrecognized_sep
=', ';;
1193 eval with_
$ac_useropt=no
;;
1196 # Obsolete; use --with-x.
1199 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1200 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1201 ac_prev
=x_includes
;;
1202 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1203 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1204 x_includes
=$ac_optarg ;;
1206 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1207 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1208 ac_prev
=x_libraries
;;
1209 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1210 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1211 x_libraries
=$ac_optarg ;;
1213 -*) as_fn_error
"unrecognized option: \`$ac_option'
1214 Try \`$0 --help' for more information."
1218 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1219 # Reject names that are not valid shell variable names.
1220 case $ac_envvar in #(
1221 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1222 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1224 eval $ac_envvar=\
$ac_optarg
1225 export $ac_envvar ;;
1228 # FIXME: should be removed in autoconf 3.0.
1229 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1230 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1231 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1232 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1238 if test -n "$ac_prev"; then
1239 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1240 as_fn_error
"missing argument to $ac_option"
1243 if test -n "$ac_unrecognized_opts"; then
1244 case $enable_option_checking in
1246 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1247 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1251 # Check all directory arguments for consistency.
1252 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1253 datadir sysconfdir sharedstatedir localstatedir includedir \
1254 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1255 libdir localedir mandir
1257 eval ac_val
=\$
$ac_var
1258 # Remove trailing slashes.
1261 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1262 eval $ac_var=\
$ac_val;;
1264 # Be sure to have absolute directory names.
1266 [\\/$
]* | ?
:[\\/]* ) continue;;
1267 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1269 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1272 # There might be people who depend on the old broken behavior: `$host'
1273 # used to hold the argument of --host etc.
1274 # FIXME: To remove some day.
1277 target
=$target_alias
1279 # FIXME: To remove some day.
1280 if test "x$host_alias" != x
; then
1281 if test "x$build_alias" = x
; then
1282 cross_compiling
=maybe
1283 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1284 If a cross compiler is detected then cross compile mode will be used." >&2
1285 elif test "x$build_alias" != "x$host_alias"; then
1291 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1293 test "$silent" = yes && exec 6>/dev
/null
1296 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1297 ac_ls_di
=`ls -di .` &&
1298 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1299 as_fn_error
"working directory cannot be determined"
1300 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1301 as_fn_error
"pwd does not report name of working directory"
1304 # Find the source files, if location was not specified.
1305 if test -z "$srcdir"; then
1306 ac_srcdir_defaulted
=yes
1307 # Try the directory containing this script, then the parent directory.
1308 ac_confdir
=`$as_dirname -- "$as_myself" ||
1309 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1310 X"$as_myself" : 'X\(//\)[^/]' \| \
1311 X"$as_myself" : 'X\(//\)$' \| \
1312 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1313 $as_echo X"$as_myself" |
1314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1332 if test ! -r "$srcdir/$ac_unique_file"; then
1336 ac_srcdir_defaulted
=no
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1339 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1340 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1342 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1344 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1346 # When building in place, set srcdir=.
1347 if test "$ac_abs_confdir" = "$ac_pwd"; then
1350 # Remove unnecessary trailing slashes from srcdir.
1351 # Double slashes in file names in object file debugging info
1352 # mess up M-x gdb in Emacs.
1354 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1356 for ac_var
in $ac_precious_vars; do
1357 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1358 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1359 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1360 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1364 # Report the --help message.
1366 if test "$ac_init_help" = "long"; then
1367 # Omit some internal or obsolete options to make the list less imposing.
1368 # This message is too long to be a string in the A/UX 3.1 sh.
1370 \`configure' configures Wine 1.2 to adapt to many kinds of systems.
1372 Usage: $0 [OPTION]... [VAR=VALUE]...
1374 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1375 VAR=VALUE. See below for descriptions of some of the useful variables.
1377 Defaults for the options are specified in brackets.
1380 -h, --help display this help and exit
1381 --help=short display options specific to this package
1382 --help=recursive display the short help of all the included packages
1383 -V, --version display version information and exit
1384 -q, --quiet, --silent do not print \`checking...' messages
1385 --cache-file=FILE cache test results in FILE [disabled]
1386 -C, --config-cache alias for \`--cache-file=config.cache'
1387 -n, --no-create do not create output files
1388 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1390 Installation directories:
1391 --prefix=PREFIX install architecture-independent files in PREFIX
1392 [$ac_default_prefix]
1393 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1396 By default, \`make install' will install all the files in
1397 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1398 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1399 for instance \`--prefix=\$HOME'.
1401 For better control, use the options below.
1403 Fine tuning of the installation directories:
1404 --bindir=DIR user executables [EPREFIX/bin]
1405 --sbindir=DIR system admin executables [EPREFIX/sbin]
1406 --libexecdir=DIR program executables [EPREFIX/libexec]
1407 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1408 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1409 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1410 --libdir=DIR object code libraries [EPREFIX/lib]
1411 --includedir=DIR C header files [PREFIX/include]
1412 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1413 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1414 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1415 --infodir=DIR info documentation [DATAROOTDIR/info]
1416 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1417 --mandir=DIR man documentation [DATAROOTDIR/man]
1418 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1419 --htmldir=DIR html documentation [DOCDIR]
1420 --dvidir=DIR dvi documentation [DOCDIR]
1421 --pdfdir=DIR pdf documentation [DOCDIR]
1422 --psdir=DIR ps documentation [DOCDIR]
1428 --x-includes=DIR X include files are
in DIR
1429 --x-libraries=DIR X library files are
in DIR
1432 --build=BUILD configure
for building on BUILD
[guessed
]
1433 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1437 if test -n "$ac_init_help"; then
1438 case $ac_init_help in
1439 short | recursive
) echo "Configuration of Wine 1.2:";;
1444 --disable-option-checking ignore unrecognized
--enable/--with options
1445 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1446 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1447 --disable-win16 do not include Win16 support
1448 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1450 --disable-tests do not build the regression tests
1451 --enable-maintainer-mode
1452 enable maintainer-specific build rules
1453 --disable-largefile omit support for large files
1456 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1457 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1458 --without-alsa do not use the Alsa sound support
1459 --without-audioio do not use the AudioIO sound support
1460 --without-capi do not use CAPI (ISDN support)
1461 --without-cms do not use CMS (color management support)
1462 --without-coreaudio do not use the CoreAudio sound support
1463 --without-cups do not use CUPS
1464 --without-curses do not use (n)curses
1465 --without-esd do not use the EsounD sound support
1466 --without-fontconfig do not use fontconfig
1467 --without-freetype do not use the FreeType library
1468 --without-gphoto do not use gphoto (Digital Camera support)
1469 --without-glu do not use the GLU library
1470 --without-gnutls do not use GnuTLS (schannel support)
1471 --without-gsm do not use libgsm (GSM 06.10 codec support)
1472 --without-hal do not use HAL (dynamic device support)
1473 --without-jack do not use the Jack sound support
1474 --without-jpeg do not use JPEG
1475 --without-ldap do not use LDAP
1476 --without-mpg123 do not use the mpg123 library
1477 --without-nas do not use the NAS sound support
1478 --without-openal do not use OpenAL
1479 --without-opengl do not use OpenGL
1480 --without-openssl do not use OpenSSL
1481 --without-oss do not use the OSS sound support
1482 --without-png do not use PNG
1483 --without-pthread do not use the pthread library
1484 --without-pulse do not use PulseAudio sound support
1485 --without-sane do not use SANE (scanner support)
1486 --without-tiff do not use TIFF
1487 --without-v4l do not use v4l1 (v4l support)
1488 --without-xcomposite do not use the Xcomposite extension
1489 --without-xcursor do not use the Xcursor extension
1490 --without-xinerama do not use Xinerama (multi-monitor support)
1491 --without-xinput do not use the Xinput extension
1492 --without-xml do not use XML
1493 --without-xrandr do not use Xrandr (resolution changes)
1494 --without-xrender do not use the Xrender extension
1495 --without-xshape do not use the Xshape extension
1496 --without-xshm do not use XShm (shared memory extension)
1497 --without-xslt do not use XSLT
1498 --without-xxf86vm do not use XFree video mode extension
1499 --with-wine-tools=DIR use Wine tools from directory DIR
1500 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1501 --with-x use the X Window System
1503 Some influential environment variables:
1504 CC C compiler command
1505 CFLAGS C compiler flags
1506 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1507 nonstandard directory <lib dir>
1508 LIBS libraries to pass to the linker, e.g. -l<library>
1509 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1510 you have headers in a nonstandard directory <include dir>
1511 CXX C++ compiler command
1512 CXXFLAGS C++ compiler flags
1514 XMKMF Path to xmkmf, Makefile generator for X Window System
1516 Use these variables to override the choices made by `configure' or to
help
1517 it to
find libraries and programs with nonstandard names
/locations.
1519 Report bugs to
<wine-devel@winehq.org
>.
1520 Wine home page
: <http
://www.winehq.org
>.
1525 if test "$ac_init_help" = "recursive"; then
1526 # If there are subdirs, report their specific --help.
1527 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1528 test -d "$ac_dir" ||
1529 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1534 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1536 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1537 # A ".." for each directory in $ac_dir_suffix.
1538 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1539 case $ac_top_builddir_sub in
1540 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1541 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1544 ac_abs_top_builddir
=$ac_pwd
1545 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1546 # for backward compatibility:
1547 ac_top_builddir
=$ac_top_build_prefix
1550 .
) # We are building in place.
1552 ac_top_srcdir
=$ac_top_builddir_sub
1553 ac_abs_top_srcdir
=$ac_pwd ;;
1554 [\\/]* | ?
:[\\/]* ) # Absolute name.
1555 ac_srcdir
=$srcdir$ac_dir_suffix;
1556 ac_top_srcdir
=$srcdir
1557 ac_abs_top_srcdir
=$srcdir ;;
1559 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1560 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1561 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1563 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1565 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1566 # Check for guested configure.
1567 if test -f "$ac_srcdir/configure.gnu"; then
1569 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1570 elif test -f "$ac_srcdir/configure"; then
1572 $SHELL "$ac_srcdir/configure" --help=recursive
1574 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1576 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1580 test -n "$ac_init_help" && exit $ac_status
1581 if $ac_init_version; then
1584 generated by GNU Autoconf
2.65
1586 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1587 This configure
script is free software
; the Free Software Foundation
1588 gives unlimited permission to copy
, distribute and modify it.
1593 ## ------------------------ ##
1594 ## Autoconf initialization. ##
1595 ## ------------------------ ##
1597 # ac_fn_c_try_compile LINENO
1598 # --------------------------
1599 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1600 ac_fn_c_try_compile
()
1602 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1603 rm -f conftest.
$ac_objext
1604 if { { ac_try
="$ac_compile"
1606 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1607 *) ac_try_echo=$ac_try;;
1609 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1610 $as_echo "$ac_try_echo"; } >&5
1611 (eval "$ac_compile") 2>conftest.err
1613 if test -s conftest.err; then
1614 grep -v '^ *+' conftest.err >conftest.er1
1615 cat conftest.er1 >&5
1616 mv -f conftest.er1 conftest.err
1618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1619 test $ac_status = 0; } && {
1620 test -z "$ac_c_werror_flag" ||
1621 test ! -s conftest.err
1622 } && test -s conftest.$ac_objext; then :
1625 $as_echo "$as_me: failed program was:" >&5
1626 sed 's/^/| /' conftest.$ac_ext >&5
1630 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1631 as_fn_set_status $ac_retval
1633 } # ac_fn_c_try_compile
1635 # ac_fn_cxx_try_compile LINENO
1636 # ----------------------------
1637 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1638 ac_fn_cxx_try_compile ()
1640 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1641 rm -f conftest.$ac_objext
1642 if { { ac_try="$ac_compile"
1644 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1645 *) ac_try_echo
=$ac_try;;
1647 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1648 $as_echo "$ac_try_echo"; } >&5
1649 (eval "$ac_compile") 2>conftest.err
1651 if test -s conftest.err
; then
1652 grep -v '^ *+' conftest.err
>conftest.er1
1653 cat conftest.er1
>&5
1654 mv -f conftest.er1 conftest.err
1656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1657 test $ac_status = 0; } && {
1658 test -z "$ac_cxx_werror_flag" ||
1659 test ! -s conftest.err
1660 } && test -s conftest.
$ac_objext; then :
1663 $as_echo "$as_me: failed program was:" >&5
1664 sed 's/^/| /' conftest.
$ac_ext >&5
1668 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1669 as_fn_set_status
$ac_retval
1671 } # ac_fn_cxx_try_compile
1673 # ac_fn_c_try_link LINENO
1674 # -----------------------
1675 # Try to link conftest.$ac_ext, and return whether this succeeded.
1678 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1679 rm -f conftest.
$ac_objext conftest
$ac_exeext
1680 if { { ac_try
="$ac_link"
1682 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1683 *) ac_try_echo=$ac_try;;
1685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1686 $as_echo "$ac_try_echo"; } >&5
1687 (eval "$ac_link") 2>conftest.err
1689 if test -s conftest.err; then
1690 grep -v '^ *+' conftest.err >conftest.er1
1691 cat conftest.er1 >&5
1692 mv -f conftest.er1 conftest.err
1694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1695 test $ac_status = 0; } && {
1696 test -z "$ac_c_werror_flag" ||
1697 test ! -s conftest.err
1698 } && test -s conftest$ac_exeext && {
1699 test "$cross_compiling" = yes ||
1700 $as_test_x conftest$ac_exeext
1704 $as_echo "$as_me: failed program was:" >&5
1705 sed 's/^/| /' conftest.$ac_ext >&5
1709 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1710 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1711 # interfere with the next link command; also delete a directory that is
1712 # left behind by Apple's compiler. We do this before executing the actions.
1713 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1714 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1715 as_fn_set_status $ac_retval
1717 } # ac_fn_c_try_link
1719 # ac_fn_c_try_cpp LINENO
1720 # ----------------------
1721 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_cpp conftest.$ac_ext"
1727 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1728 *) ac_try_echo
=$ac_try;;
1730 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1734 if test -s conftest.err
; then
1735 grep -v '^ *+' conftest.err
>conftest.er1
1736 cat conftest.er1
>&5
1737 mv -f conftest.er1 conftest.err
1739 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1740 test $ac_status = 0; } >/dev
/null
&& {
1741 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1742 test ! -s conftest.err
1746 $as_echo "$as_me: failed program was:" >&5
1747 sed 's/^/| /' conftest.
$ac_ext >&5
1751 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1752 as_fn_set_status
$ac_retval
1756 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1757 # -------------------------------------------------------
1758 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1759 # the include files in INCLUDES and setting the cache variable VAR
1761 ac_fn_c_check_header_mongrel
()
1763 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1764 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1766 $as_echo_n "checking for $2... " >&6; }
1767 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1768 $as_echo_n "(cached) " >&6
1771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1772 $as_echo "$ac_res" >&6; }
1774 # Is the header compilable?
1775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1776 $as_echo_n "checking $2 usability... " >&6; }
1777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1778 /* end confdefs.h. */
1782 if ac_fn_c_try_compile
"$LINENO"; then :
1783 ac_header_compiler
=yes
1785 ac_header_compiler
=no
1787 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1789 $as_echo "$ac_header_compiler" >&6; }
1791 # Is the header present?
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1793 $as_echo_n "checking $2 presence... " >&6; }
1794 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1795 /* end confdefs.h. */
1798 if ac_fn_c_try_cpp
"$LINENO"; then :
1799 ac_header_preproc
=yes
1801 ac_header_preproc
=no
1803 rm -f conftest.err conftest.
$ac_ext
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1805 $as_echo "$ac_header_preproc" >&6; }
1807 # So? What about this header?
1808 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1811 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1813 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1817 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1818 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1819 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1821 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1823 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1827 ## ------------------------------------ ##
1828 ## Report this to wine-devel@winehq.org ##
1829 ## ------------------------------------ ##
1831 ) |
sed "s/^/$as_me: WARNING: /" >&2
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1835 $as_echo_n "checking for $2... " >&6; }
1836 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1837 $as_echo_n "(cached) " >&6
1839 eval "$3=\$ac_header_compiler"
1842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1843 $as_echo "$ac_res" >&6; }
1845 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1847 } # ac_fn_c_check_header_mongrel
1849 # ac_fn_c_try_run LINENO
1850 # ----------------------
1851 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1852 # that executables *can* be run.
1855 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1856 if { { ac_try
="$ac_link"
1858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1859 *) ac_try_echo=$ac_try;;
1861 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1862 $as_echo "$ac_try_echo"; } >&5
1863 (eval "$ac_link") 2>&5
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1867 { { case "(($ac_try" in
1868 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1869 *) ac_try_echo
=$ac_try;;
1871 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_try") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; }; }; then :
1879 $as_echo "$as_me: program exited with status $ac_status" >&5
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.
$ac_ext >&5
1883 ac_retval
=$ac_status
1885 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1886 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1887 as_fn_set_status
$ac_retval
1891 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1892 # -------------------------------------------------------
1893 # Tests whether HEADER exists and can be compiled using the include files in
1894 # INCLUDES, setting the cache variable VAR accordingly.
1895 ac_fn_c_check_header_compile
()
1897 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1899 $as_echo_n "checking for $2... " >&6; }
1900 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1901 $as_echo_n "(cached) " >&6
1903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1904 /* end confdefs.h. */
1908 if ac_fn_c_try_compile
"$LINENO"; then :
1913 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1917 $as_echo "$ac_res" >&6; }
1918 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1920 } # ac_fn_c_check_header_compile
1922 # ac_fn_c_check_func LINENO FUNC VAR
1923 # ----------------------------------
1924 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1925 ac_fn_c_check_func
()
1927 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1929 $as_echo_n "checking for $2... " >&6; }
1930 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1931 $as_echo_n "(cached) " >&6
1933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1934 /* end confdefs.h. */
1935 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1937 #define $2 innocuous_$2
1939 /* System header to define __stub macros and hopefully few prototypes,
1940 which can conflict with char $2 (); below.
1941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1942 <limits.h> exists even on freestanding compilers. */
1945 # include <limits.h>
1947 # include <assert.h>
1952 /* Override any GCC internal prototype to avoid an error.
1953 Use char because int might match the return type of a GCC
1954 builtin and then its argument prototype would still apply. */
1959 /* The GNU C library defines this for functions which it implements
1960 to always fail with ENOSYS. Some functions are actually named
1961 something starting with __ and the normal name is an alias. */
1962 #if defined __stub_$2 || defined __stub___$2
1974 if ac_fn_c_try_link
"$LINENO"; then :
1979 rm -f core conftest.err conftest.
$ac_objext \
1980 conftest
$ac_exeext conftest.
$ac_ext
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1984 $as_echo "$ac_res" >&6; }
1985 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1987 } # ac_fn_c_check_func
1989 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1990 # ----------------------------------------------------
1991 # Tries to find if the field MEMBER exists in type AGGR, after including
1992 # INCLUDES, setting cache variable VAR accordingly.
1993 ac_fn_c_check_member
()
1995 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
1997 $as_echo_n "checking for $2.$3... " >&6; }
1998 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
1999 $as_echo_n "(cached) " >&6
2001 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2002 /* end confdefs.h. */
2014 if ac_fn_c_try_compile
"$LINENO"; then :
2017 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2018 /* end confdefs.h. */
2024 if (sizeof ac_aggr.$3)
2030 if ac_fn_c_try_compile
"$LINENO"; then :
2035 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2037 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2041 $as_echo "$ac_res" >&6; }
2042 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2044 } # ac_fn_c_check_member
2046 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2047 # -------------------------------------------
2048 # Tests whether TYPE exists after having included INCLUDES, setting cache
2049 # variable VAR accordingly.
2050 ac_fn_c_check_type
()
2052 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2056 $as_echo_n "(cached) " >&6
2059 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2071 if ac_fn_c_try_compile
"$LINENO"; then :
2072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2073 /* end confdefs.h. */
2084 if ac_fn_c_try_compile
"$LINENO"; then :
2089 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2091 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2095 $as_echo "$ac_res" >&6; }
2096 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2098 } # ac_fn_c_check_type
2099 cat >config.log
<<_ACEOF
2100 This file contains any messages produced by compilers while
2101 running configure, to aid debugging if configure makes a mistake.
2103 It was created by Wine $as_me 1.2, which was
2104 generated by GNU Autoconf 2.65. Invocation command line was
2116 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2117 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2118 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2119 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2120 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2122 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2123 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2125 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2126 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2127 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2128 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2129 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2130 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2131 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2135 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2139 test -z "$as_dir" && as_dir
=.
2140 $as_echo "PATH: $as_dir"
2156 # Keep a trace of the command line.
2157 # Strip out --no-create and --no-recursion so they do not pile up.
2158 # Strip out --silent because we don't want to record it for future runs.
2159 # Also quote any args containing shell meta-characters.
2160 # Make two passes to allow for proper duplicate-argument suppression.
2164 ac_must_keep_next
=false
2170 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2171 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2172 |
-silent |
--silent |
--silen |
--sile |
--sil)
2175 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2178 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2180 as_fn_append ac_configure_args1
" '$ac_arg'"
2181 if test $ac_must_keep_next = true
; then
2182 ac_must_keep_next
=false
# Got value, back to normal.
2185 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2186 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2187 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2188 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2189 case "$ac_configure_args0 " in
2190 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2193 -* ) ac_must_keep_next
=true
;;
2196 as_fn_append ac_configure_args
" '$ac_arg'"
2201 { ac_configure_args0
=; unset ac_configure_args0
;}
2202 { ac_configure_args1
=; unset ac_configure_args1
;}
2204 # When interrupted or exit'd, cleanup temporary files, and complete
2205 # config.log. We remove comments because anyway the quotes in there
2206 # would cause problems or look ugly.
2207 # WARNING: Use '\'' to represent an apostrophe within the trap.
2208 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2209 trap 'exit_status=$?
2210 # Save into config.log some information that might help in debugging.
2215 ## ---------------- ##
2216 ## Cache variables. ##
2217 ## ---------------- ##
2220 # The following way of writing the cache mishandles newlines in values,
2222 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2223 eval ac_val=\$$ac_var
2227 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2228 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2231 _ | IFS | as_nl) ;; #(
2232 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2233 *) { eval $ac_var=; unset $ac_var;} ;;
2238 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2239 *${as_nl}ac_space=\ *)
2241 "s/'\''/'\''\\\\'\'''\''/g;
2242 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2245 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2253 ## ----------------- ##
2254 ## Output variables. ##
2255 ## ----------------- ##
2258 for ac_var in $ac_subst_vars
2260 eval ac_val=\$$ac_var
2262 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2264 $as_echo "$ac_var='\''$ac_val'\''"
2268 if test -n "$ac_subst_files"; then
2270 ## ------------------- ##
2271 ## File substitutions. ##
2272 ## ------------------- ##
2275 for ac_var
in $ac_subst_files
2277 eval ac_val
=\$
$ac_var
2279 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2281 $as_echo "$ac_var='\''$ac_val'\''"
2286 if test -s confdefs.h; then
2296 test "$ac_signal" != 0 &&
2297 $as_echo "$as_me: caught signal $ac_signal"
2298 $as_echo "$as_me: exit $exit_status"
2300 rm -f core *.core core.conftest.* &&
2301 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2304 for ac_signal
in 1 2 13 15; do
2305 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2309 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2310 rm -f -r conftest
* confdefs.h
2312 $as_echo "/* confdefs.h */" > confdefs.h
2314 # Predefined preprocessor variables.
2316 cat >>confdefs.h
<<_ACEOF
2317 #define PACKAGE_NAME "$PACKAGE_NAME"
2320 cat >>confdefs.h
<<_ACEOF
2321 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2324 cat >>confdefs.h
<<_ACEOF
2325 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2328 cat >>confdefs.h
<<_ACEOF
2329 #define PACKAGE_STRING "$PACKAGE_STRING"
2332 cat >>confdefs.h
<<_ACEOF
2333 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2336 cat >>confdefs.h
<<_ACEOF
2337 #define PACKAGE_URL "$PACKAGE_URL"
2341 # Let the site file select an alternate cache file if it wants to.
2342 # Prefer an explicitly selected file to automatically selected ones.
2345 if test -n "$CONFIG_SITE"; then
2346 ac_site_file1
=$CONFIG_SITE
2347 elif test "x$prefix" != xNONE
; then
2348 ac_site_file1
=$prefix/share
/config.site
2349 ac_site_file2
=$prefix/etc
/config.site
2351 ac_site_file1
=$ac_default_prefix/share
/config.site
2352 ac_site_file2
=$ac_default_prefix/etc
/config.site
2354 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2356 test "x$ac_site_file" = xNONE
&& continue
2357 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2358 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2359 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2360 sed 's/^/| /' "$ac_site_file" >&5
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special files
2367 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2368 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2370 $as_echo "$as_me: loading cache $cache_file" >&6;}
2372 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2373 *) .
"./$cache_file";;
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2378 $as_echo "$as_me: creating cache $cache_file" >&6;}
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted
=false
2385 for ac_var
in $ac_precious_vars; do
2386 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2387 eval ac_new_set
=\
$ac_env_${ac_var}_set
2388 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2389 eval ac_new_val
=\
$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2393 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted
=: ;;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2397 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted
=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 # differences in whitespace do not lead to failure.
2403 ac_old_val_w
=`echo x $ac_old_val`
2404 ac_new_val_w
=`echo x $ac_new_val`
2405 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2408 ac_cache_corrupted
=:
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412 eval $ac_var=\
$ac_old_val
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2415 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2420 # Pass precious variables to config.status.
2421 if test "$ac_new_set" = set; then
2423 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2424 *) ac_arg
=$ac_var=$ac_new_val ;;
2426 case " $ac_configure_args " in
2427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2428 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2432 if $ac_cache_corrupted; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2439 ## -------------------- ##
2440 ## Main body of script. ##
2441 ## -------------------- ##
2444 ac_cpp
='$CPP $CPPFLAGS'
2445 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2451 ac_config_headers
="$ac_config_headers include/config.h"
2454 for ac_dir
in tools
"$srcdir"/tools
; do
2455 for ac_t
in install-sh
install.sh shtool
; do
2456 if test -f "$ac_dir/$ac_t"; then
2458 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2463 if test -z "$ac_aux_dir"; then
2464 as_fn_error
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2467 # These three variables are undocumented and unsupported,
2468 # and are intended to be withdrawn in a future Autoconf release.
2469 # They can cause serious problems if a builder's source tree is in a directory
2470 # whose full name contains unusual characters.
2471 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2472 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2473 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2479 # Check whether --enable-win16 was given.
2480 if test "${enable_win16+set}" = set; then :
2481 enableval
=$enable_win16;
2484 # Check whether --enable-win64 was given.
2485 if test "${enable_win64+set}" = set; then :
2486 enableval
=$enable_win64;
2489 # Check whether --enable-tests was given.
2490 if test "${enable_tests+set}" = set; then :
2491 enableval
=$enable_tests;
2494 # Check whether --enable-maintainer-mode was given.
2495 if test "${enable_maintainer_mode+set}" = set; then :
2496 enableval
=$enable_maintainer_mode;
2501 # Check whether --with-alsa was given.
2502 if test "${with_alsa+set}" = set; then :
2503 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2507 # Check whether --with-audioio was given.
2508 if test "${with_audioio+set}" = set; then :
2509 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
2513 # Check whether --with-capi was given.
2514 if test "${with_capi+set}" = set; then :
2515 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2519 # Check whether --with-cms was given.
2520 if test "${with_cms+set}" = set; then :
2521 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2525 # Check whether --with-coreaudio was given.
2526 if test "${with_coreaudio+set}" = set; then :
2527 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2531 # Check whether --with-cups was given.
2532 if test "${with_cups+set}" = set; then :
2537 # Check whether --with-curses was given.
2538 if test "${with_curses+set}" = set; then :
2539 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2543 # Check whether --with-esd was given.
2544 if test "${with_esd+set}" = set; then :
2549 # Check whether --with-fontconfig was given.
2550 if test "${with_fontconfig+set}" = set; then :
2551 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2555 # Check whether --with-freetype was given.
2556 if test "${with_freetype+set}" = set; then :
2557 withval
=$with_freetype;
2561 # Check whether --with-gphoto was given.
2562 if test "${with_gphoto+set}" = set; then :
2563 withval
=$with_gphoto;
2567 # Check whether --with-glu was given.
2568 if test "${with_glu+set}" = set; then :
2569 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2573 # Check whether --with-gnutls was given.
2574 if test "${with_gnutls+set}" = set; then :
2575 withval
=$with_gnutls;
2579 # Check whether --with-gsm was given.
2580 if test "${with_gsm+set}" = set; then :
2581 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2585 # Check whether --with-hal was given.
2586 if test "${with_hal+set}" = set; then :
2591 # Check whether --with-jack was given.
2592 if test "${with_jack+set}" = set; then :
2593 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2597 # Check whether --with-jpeg was given.
2598 if test "${with_jpeg+set}" = set; then :
2599 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2603 # Check whether --with-ldap was given.
2604 if test "${with_ldap+set}" = set; then :
2605 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2609 # Check whether --with-mpg123 was given.
2610 if test "${with_mpg123+set}" = set; then :
2611 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2615 # Check whether --with-nas was given.
2616 if test "${with_nas+set}" = set; then :
2617 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2621 # Check whether --with-openal was given.
2622 if test "${with_openal+set}" = set; then :
2623 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2627 # Check whether --with-opengl was given.
2628 if test "${with_opengl+set}" = set; then :
2629 withval
=$with_opengl;
2633 # Check whether --with-openssl was given.
2634 if test "${with_openssl+set}" = set; then :
2635 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2639 # Check whether --with-oss was given.
2640 if test "${with_oss+set}" = set; then :
2641 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
2645 # Check whether --with-png was given.
2646 if test "${with_png+set}" = set; then :
2647 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2651 # Check whether --with-pthread was given.
2652 if test "${with_pthread+set}" = set; then :
2653 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2657 # Check whether --with-pulse was given.
2658 if test "${with_pulse+set}" = set; then :
2659 withval
=$with_pulse;
2663 # Check whether --with-sane was given.
2664 if test "${with_sane+set}" = set; then :
2669 # Check whether --with-tiff was given.
2670 if test "${with_tiff+set}" = set; then :
2671 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2675 # Check whether --with-v4l was given.
2676 if test "${with_v4l+set}" = set; then :
2681 # Check whether --with-xcomposite was given.
2682 if test "${with_xcomposite+set}" = set; then :
2683 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2687 # Check whether --with-xcursor was given.
2688 if test "${with_xcursor+set}" = set; then :
2689 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2693 # Check whether --with-xinerama was given.
2694 if test "${with_xinerama+set}" = set; then :
2695 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2699 # Check whether --with-xinput was given.
2700 if test "${with_xinput+set}" = set; then :
2701 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2705 # Check whether --with-xml was given.
2706 if test "${with_xml+set}" = set; then :
2711 # Check whether --with-xrandr was given.
2712 if test "${with_xrandr+set}" = set; then :
2713 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2717 # Check whether --with-xrender was given.
2718 if test "${with_xrender+set}" = set; then :
2719 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2723 # Check whether --with-xshape was given.
2724 if test "${with_xshape+set}" = set; then :
2725 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2729 # Check whether --with-xshm was given.
2730 if test "${with_xshm+set}" = set; then :
2731 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2735 # Check whether --with-xslt was given.
2736 if test "${with_xslt+set}" = set; then :
2741 # Check whether --with-xxf86vm was given.
2742 if test "${with_xxf86vm+set}" = set; then :
2743 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
2748 # Check whether --with-wine-tools was given.
2749 if test "${with_wine_tools+set}" = set; then :
2750 withval
=$with_wine_tools;
2754 # Check whether --with-wine64 was given.
2755 if test "${with_wine64+set}" = set; then :
2756 withval
=$with_wine64;
2760 # Make sure we can run config.sub.
2761 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2762 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2765 $as_echo_n "checking build system type... " >&6; }
2766 if test "${ac_cv_build+set}" = set; then :
2767 $as_echo_n "(cached) " >&6
2769 ac_build_alias
=$build_alias
2770 test "x$ac_build_alias" = x
&&
2771 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2772 test "x$ac_build_alias" = x
&&
2773 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2774 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2775 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2779 $as_echo "$ac_cv_build" >&6; }
2780 case $ac_cv_build in
2782 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2785 ac_save_IFS
=$IFS; IFS
='-'
2791 # Remember, the first character of IFS is used to create $*,
2792 # except with old shells:
2795 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2799 $as_echo_n "checking host system type... " >&6; }
2800 if test "${ac_cv_host+set}" = set; then :
2801 $as_echo_n "(cached) " >&6
2803 if test "x$host_alias" = x
; then
2804 ac_cv_host
=$ac_cv_build
2806 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2807 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2812 $as_echo "$ac_cv_host" >&6; }
2815 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2818 ac_save_IFS
=$IFS; IFS
='-'
2824 # Remember, the first character of IFS is used to create $*,
2825 # except with old shells:
2828 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2834 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2835 as_fn_error
"you are building out of the source tree, but the source tree contains object files.
2836 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2842 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2844 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2845 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2846 $as_echo_n "(cached) " >&6
2848 cat >conftest.
make <<\_ACEOF
2851 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2853 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2854 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2856 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2858 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2862 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2864 $as_echo "yes" >&6; }
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2868 $as_echo "no" >&6; }
2869 SET_MAKE
="MAKE=${MAKE-make}"
2873 ac_cpp
='$CPP $CPPFLAGS'
2874 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2875 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2876 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2877 if test -n "$ac_tool_prefix"; then
2878 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2879 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2881 $as_echo_n "checking for $ac_word... " >&6; }
2882 if test "${ac_cv_prog_CC+set}" = set; then :
2883 $as_echo_n "(cached) " >&6
2885 if test -n "$CC"; then
2886 ac_cv_prog_CC
="$CC" # Let the user override the test.
2888 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2892 test -z "$as_dir" && as_dir
=.
2893 for ac_exec_ext
in '' $ac_executable_extensions; do
2894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2895 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 if test -n "$CC"; then
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2908 $as_echo "$CC" >&6; }
2910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2911 $as_echo "no" >&6; }
2916 if test -z "$ac_cv_prog_CC"; then
2918 # Extract the first word of "gcc", so it can be a program name with args.
2919 set dummy gcc
; ac_word
=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$ac_ct_CC"; then
2926 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2928 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir
=.
2933 for ac_exec_ext
in '' $ac_executable_extensions; do
2934 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2935 ac_cv_prog_ac_ct_CC
="gcc"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2945 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2946 if test -n "$ac_ct_CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2948 $as_echo "$ac_ct_CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2954 if test "x$ac_ct_CC" = x
; then
2957 case $cross_compiling:$ac_tool_warned in
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2960 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2961 ac_tool_warned
=yes ;;
2969 if test -z "$CC"; then
2970 if test -n "$ac_tool_prefix"; then
2971 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2972 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if test "${ac_cv_prog_CC+set}" = set; then :
2976 $as_echo_n "(cached) " >&6
2978 if test -n "$CC"; then
2979 ac_cv_prog_CC
="$CC" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2988 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2999 if test -n "$CC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3001 $as_echo "$CC" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3010 if test -z "$CC"; then
3011 # Extract the first word of "cc", so it can be a program name with args.
3012 set dummy cc
; ac_word
=$2
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3014 $as_echo_n "checking for $ac_word... " >&6; }
3015 if test "${ac_cv_prog_CC+set}" = set; then :
3016 $as_echo_n "(cached) " >&6
3018 if test -n "$CC"; then
3019 ac_cv_prog_CC
="$CC" # Let the user override the test.
3022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3026 test -z "$as_dir" && as_dir
=.
3027 for ac_exec_ext
in '' $ac_executable_extensions; do
3028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3029 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3030 ac_prog_rejected
=yes
3034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3041 if test $ac_prog_rejected = yes; then
3042 # We found a bogon in the path, so make sure we never use it.
3043 set dummy
$ac_cv_prog_CC
3045 if test $# != 0; then
3046 # We chose a different compiler from the bogus one.
3047 # However, it has the same basename, so the bogon will be chosen
3048 # first if we set CC to just the basename; use the full file name.
3050 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3056 if test -n "$CC"; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3058 $as_echo "$CC" >&6; }
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3061 $as_echo "no" >&6; }
3066 if test -z "$CC"; then
3067 if test -n "$ac_tool_prefix"; then
3068 for ac_prog
in cl.exe
3070 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3071 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3073 $as_echo_n "checking for $ac_word... " >&6; }
3074 if test "${ac_cv_prog_CC+set}" = set; then :
3075 $as_echo_n "(cached) " >&6
3077 if test -n "$CC"; then
3078 ac_cv_prog_CC
="$CC" # Let the user override the test.
3080 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3084 test -z "$as_dir" && as_dir
=.
3085 for ac_exec_ext
in '' $ac_executable_extensions; do
3086 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3087 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3098 if test -n "$CC"; then
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3100 $as_echo "$CC" >&6; }
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3103 $as_echo "no" >&6; }
3107 test -n "$CC" && break
3110 if test -z "$CC"; then
3112 for ac_prog
in cl.exe
3114 # Extract the first word of "$ac_prog", so it can be a program name with args.
3115 set dummy
$ac_prog; ac_word
=$2
3116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3117 $as_echo_n "checking for $ac_word... " >&6; }
3118 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3119 $as_echo_n "(cached) " >&6
3121 if test -n "$ac_ct_CC"; then
3122 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3124 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3128 test -z "$as_dir" && as_dir
=.
3129 for ac_exec_ext
in '' $ac_executable_extensions; do
3130 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3131 ac_cv_prog_ac_ct_CC
="$ac_prog"
3132 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3141 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3142 if test -n "$ac_ct_CC"; then
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3144 $as_echo "$ac_ct_CC" >&6; }
3146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3147 $as_echo "no" >&6; }
3151 test -n "$ac_ct_CC" && break
3154 if test "x$ac_ct_CC" = x
; then
3157 case $cross_compiling:$ac_tool_warned in
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3161 ac_tool_warned
=yes ;;
3170 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3171 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3172 as_fn_error
"no acceptable C compiler found in \$PATH
3173 See \`config.log' for more details." "$LINENO" 5; }
3175 # Provide some information about the compiler.
3176 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3179 for ac_option
in --version -v -V -qversion; do
3180 { { ac_try
="$ac_compiler $ac_option >&5"
3182 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3183 *) ac_try_echo=$ac_try;;
3185 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3186 $as_echo "$ac_try_echo"; } >&5
3187 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3189 if test -s conftest.err; then
3191 ... rest of stderr output deleted ...
3192 10q' conftest.err >conftest.er1
3193 cat conftest.er1 >&5
3195 rm -f conftest.er1 conftest.err
3196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3197 test $ac_status = 0; }
3200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3201 /* end confdefs.h. */
3211 ac_clean_files_save=$ac_clean_files
3212 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3213 # Try to create an executable without -o first, disregard a.out.
3214 # It will help us diagnose broken compilers, and finding out an intuition
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3217 $as_echo_n "checking whether the C compiler works... " >&6; }
3218 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3220 # The possible output files:
3221 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3224 for ac_file in $ac_files
3227 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3228 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3233 if { { ac_try="$ac_link_default"
3235 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3236 *) ac_try_echo
=$ac_try;;
3238 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_link_default") 2>&5
3242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3243 test $ac_status = 0; }; then :
3244 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3245 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3246 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3247 # so that the user can short-circuit this test for compilers unknown to
3249 for ac_file
in $ac_files ''
3251 test -f "$ac_file" ||
continue
3253 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3256 # We found the default executable, but exeext='' is most
3260 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3262 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3264 # We set ac_cv_exeext here because the later test for it is not
3265 # safe: cross compilers may not add the suffix if given an `-o'
3266 # argument, so we may need to know it at that point already.
3267 # Even if this section looks crufty: it has the advantage of
3274 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3279 if test -z "$ac_file"; then :
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3282 $as_echo "$as_me: failed program was:" >&5
3283 sed 's/^/| /' conftest.
$ac_ext >&5
3285 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3286 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3287 { as_fn_set_status
77
3288 as_fn_error
"C compiler cannot create executables
3289 See \`config.log' for more details." "$LINENO" 5; }; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3292 $as_echo "yes" >&6; }
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3295 $as_echo_n "checking for C compiler default output file name... " >&6; }
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3297 $as_echo "$ac_file" >&6; }
3298 ac_exeext
=$ac_cv_exeext
3300 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3301 ac_clean_files
=$ac_clean_files_save
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3303 $as_echo_n "checking for suffix of executables... " >&6; }
3304 if { { ac_try
="$ac_link"
3306 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_link") 2>&5
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; }; then :
3315 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3316 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3317 # work properly (i.e., refer to `conftest.exe'), while it won't with
3319 for ac_file
in conftest.exe conftest conftest.
*; do
3320 test -f "$ac_file" ||
continue
3322 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3323 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3329 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3330 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3331 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3332 See \`config.log' for more details." "$LINENO" 5; }
3334 rm -f conftest conftest
$ac_cv_exeext
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3336 $as_echo "$ac_cv_exeext" >&6; }
3338 rm -f conftest.
$ac_ext
3339 EXEEXT
=$ac_cv_exeext
3341 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3347 FILE *f = fopen ("conftest.out", "w");
3348 return ferror (f) || fclose (f) != 0;
3354 ac_clean_files
="$ac_clean_files conftest.out"
3355 # Check that the compiler produces executables we can run. If not, either
3356 # the compiler is broken, or we cross compile.
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3358 $as_echo_n "checking whether we are cross compiling... " >&6; }
3359 if test "$cross_compiling" != yes; then
3360 { { ac_try
="$ac_link"
3362 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3363 *) ac_try_echo=$ac_try;;
3365 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3366 $as_echo "$ac_try_echo"; } >&5
3367 (eval "$ac_link") 2>&5
3369 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3370 test $ac_status = 0; }
3371 if { ac_try='./conftest$ac_cv_exeext'
3372 { { case "(($ac_try" in
3373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3374 *) ac_try_echo
=$ac_try;;
3376 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3377 $as_echo "$ac_try_echo"; } >&5
3378 (eval "$ac_try") 2>&5
3380 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3381 test $ac_status = 0; }; }; then
3384 if test "$cross_compiling" = maybe
; then
3387 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3388 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3389 as_fn_error
"cannot run C compiled programs.
3390 If you meant to cross compile, use \`--host'.
3391 See \`config.log' for more details." "$LINENO" 5; }
3395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3396 $as_echo "$cross_compiling" >&6; }
3398 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3399 ac_clean_files
=$ac_clean_files_save
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3401 $as_echo_n "checking for suffix of object files... " >&6; }
3402 if test "${ac_cv_objext+set}" = set; then :
3403 $as_echo_n "(cached) " >&6
3405 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3416 rm -f conftest.o conftest.obj
3417 if { { ac_try
="$ac_compile"
3419 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3420 *) ac_try_echo=$ac_try;;
3422 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3423 $as_echo "$ac_try_echo"; } >&5
3424 (eval "$ac_compile") 2>&5
3426 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3427 test $ac_status = 0; }; then :
3428 for ac_file in conftest.o conftest.obj conftest.*; do
3429 test -f "$ac_file" || continue;
3431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3432 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3437 $as_echo "$as_me: failed program was:" >&5
3438 sed 's/^/| /' conftest.$ac_ext >&5
3440 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3442 as_fn_error "cannot compute suffix of object files
: cannot compile
3443 See \
`config.log' for more details." "$LINENO" 5; }
3445 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3448 $as_echo "$ac_cv_objext" >&6; }
3449 OBJEXT=$ac_cv_objext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3452 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3453 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3454 $as_echo_n "(cached) " >&6
3456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3470 if ac_fn_c_try_compile "$LINENO"; then :
3475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3476 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3480 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3481 if test $ac_compiler_gnu = yes; then
3486 ac_test_CFLAGS=${CFLAGS+set}
3487 ac_save_CFLAGS=$CFLAGS
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3489 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3490 if test "${ac_cv_prog_cc_g+set}" = set; then :
3491 $as_echo_n "(cached) " >&6
3493 ac_save_c_werror_flag=$ac_c_werror_flag
3494 ac_c_werror_flag=yes
3497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3498 /* end confdefs.h. */
3508 if ac_fn_c_try_compile "$LINENO"; then :
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3523 if ac_fn_c_try_compile "$LINENO"; then :
3526 ac_c_werror_flag=$ac_save_c_werror_flag
3528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3529 /* end confdefs.h. */
3539 if ac_fn_c_try_compile "$LINENO"; then :
3542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3547 ac_c_werror_flag=$ac_save_c_werror_flag
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3550 $as_echo "$ac_cv_prog_cc_g" >&6; }
3551 if test "$ac_test_CFLAGS" = set; then
3552 CFLAGS=$ac_save_CFLAGS
3553 elif test $ac_cv_prog_cc_g = yes; then
3554 if test "$GCC" = yes; then
3560 if test "$GCC" = yes; then
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3567 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3568 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3571 ac_cv_prog_cc_c89=no
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3577 #include <sys/types.h>
3578 #include <sys/stat.h>
3579 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3580 struct buf { int x; };
3581 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3582 static char *e (p, i)
3588 static char *f (char * (*g) (char **, int), char **p, ...)
3593 s = g (p, va_arg (v,int));
3598 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3599 function prototypes and stuff, but not '\xHH' hex character constants.
3600 These don't provoke an error unfortunately, instead are silently treated
3601 as 'x'. The following induces an error, until -std is added to get
3602 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3603 array size at least. It's necessary to write '\x00'==0 to get something
3604 that's true only with -std. */
3605 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3607 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3608 inside strings and character constants. */
3610 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3612 int test (int i, double x);
3613 struct s1 {int (*f) (int a);};
3614 struct s2 {int (*f) (double a);};
3615 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3621 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3626 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3627 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3629 CC="$ac_save_CC $ac_arg"
3630 if ac_fn_c_try_compile "$LINENO"; then :
3631 ac_cv_prog_cc_c89=$ac_arg
3633 rm -f core conftest.err conftest.$ac_objext
3634 test "x$ac_cv_prog_cc_c89" != "xno" && break
3636 rm -f conftest.$ac_ext
3641 case "x$ac_cv_prog_cc_c89" in
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3644 $as_echo "none needed" >&6; } ;;
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3647 $as_echo "unsupported" >&6; } ;;
3649 CC="$CC $ac_cv_prog_cc_c89"
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3651 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3653 if test "x$ac_cv_prog_cc_c89" != xno; then :
3658 ac_cpp='$CPP $CPPFLAGS'
3659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3664 ac_cpp='$CXXCPP $CPPFLAGS'
3665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3668 if test -z "$CXX"; then
3669 if test -n "$CCC"; then
3672 if test -n "$ac_tool_prefix"; then
3673 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3675 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3676 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3678 $as_echo_n "checking for $ac_word... " >&6; }
3679 if test "${ac_cv_prog_CXX+set}" = set; then :
3680 $as_echo_n "(cached) " >&6
3682 if test -n "$CXX"; then
3683 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3693 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3703 if test -n "$CXX"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3705 $as_echo "$CXX" >&6; }
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3708 $as_echo "no" >&6; }
3712 test -n "$CXX" && break
3715 if test -z "$CXX"; then
3717 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3719 # Extract the first word of "$ac_prog", so it can be a program name with args.
3720 set dummy $ac_prog; ac_word=$2
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3722 $as_echo_n "checking for $ac_word... " >&6; }
3723 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3724 $as_echo_n "(cached) " >&6
3726 if test -n "$ac_ct_CXX"; then
3727 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3733 test -z "$as_dir" && as_dir=.
3734 for ac_exec_ext in '' $ac_executable_extensions; do
3735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3736 ac_cv_prog_ac_ct_CXX="$ac_prog"
3737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3747 if test -n "$ac_ct_CXX"; then
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3749 $as_echo "$ac_ct_CXX" >&6; }
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3752 $as_echo "no" >&6; }
3756 test -n "$ac_ct_CXX" && break
3759 if test "x$ac_ct_CXX" = x; then
3762 case $cross_compiling:$ac_tool_warned in
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3765 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3766 ac_tool_warned=yes ;;
3774 # Provide some information about the compiler.
3775 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3778 for ac_option in --version -v -V -qversion; do
3779 { { ac_try="$ac_compiler $ac_option >&5"
3781 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3782 *) ac_try_echo
=$ac_try;;
3784 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3785 $as_echo "$ac_try_echo"; } >&5
3786 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3788 if test -s conftest.err
; then
3790 ... rest of stderr output deleted ...
3791 10q' conftest.err
>conftest.er1
3792 cat conftest.er1
>&5
3794 rm -f conftest.er1 conftest.err
3795 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3796 test $ac_status = 0; }
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3800 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3801 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3802 $as_echo_n "(cached) " >&6
3804 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3818 if ac_fn_cxx_try_compile
"$LINENO"; then :
3823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3824 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3828 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3829 if test $ac_compiler_gnu = yes; then
3834 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3835 ac_save_CXXFLAGS
=$CXXFLAGS
3836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3837 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3838 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3839 $as_echo_n "(cached) " >&6
3841 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3842 ac_cxx_werror_flag
=yes
3845 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3846 /* end confdefs.h. */
3856 if ac_fn_cxx_try_compile
"$LINENO"; then :
3857 ac_cv_prog_cxx_g
=yes
3860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3861 /* end confdefs.h. */
3871 if ac_fn_cxx_try_compile
"$LINENO"; then :
3874 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3876 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3877 /* end confdefs.h. */
3887 if ac_fn_cxx_try_compile
"$LINENO"; then :
3888 ac_cv_prog_cxx_g
=yes
3890 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3892 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3895 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3898 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3899 if test "$ac_test_CXXFLAGS" = set; then
3900 CXXFLAGS
=$ac_save_CXXFLAGS
3901 elif test $ac_cv_prog_cxx_g = yes; then
3902 if test "$GXX" = yes; then
3908 if test "$GXX" = yes; then
3915 ac_cpp
='$CPP $CPPFLAGS'
3916 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3917 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3918 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3920 if test -n "$ac_tool_prefix"; then
3921 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3922 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3924 $as_echo_n "checking for $ac_word... " >&6; }
3925 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3926 $as_echo_n "(cached) " >&6
3928 if test -n "$CPPBIN"; then
3929 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3931 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3935 test -z "$as_dir" && as_dir
=.
3936 for ac_exec_ext
in '' $ac_executable_extensions; do
3937 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3938 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3939 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3948 CPPBIN
=$ac_cv_prog_CPPBIN
3949 if test -n "$CPPBIN"; then
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3951 $as_echo "$CPPBIN" >&6; }
3953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3954 $as_echo "no" >&6; }
3959 if test -z "$ac_cv_prog_CPPBIN"; then
3960 ac_ct_CPPBIN
=$CPPBIN
3961 # Extract the first word of "cpp", so it can be a program name with args.
3962 set dummy cpp
; ac_word
=$2
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3964 $as_echo_n "checking for $ac_word... " >&6; }
3965 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3966 $as_echo_n "(cached) " >&6
3968 if test -n "$ac_ct_CPPBIN"; then
3969 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3971 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3975 test -z "$as_dir" && as_dir
=.
3976 for ac_exec_ext
in '' $ac_executable_extensions; do
3977 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3978 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3979 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3988 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
3989 if test -n "$ac_ct_CPPBIN"; then
3990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
3991 $as_echo "$ac_ct_CPPBIN" >&6; }
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3994 $as_echo "no" >&6; }
3997 if test "x$ac_ct_CPPBIN" = x
; then
4000 case $cross_compiling:$ac_tool_warned in
4002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4003 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4004 ac_tool_warned
=yes ;;
4006 CPPBIN
=$ac_ct_CPPBIN
4009 CPPBIN
="$ac_cv_prog_CPPBIN"
4013 cat >>confdefs.h
<<_ACEOF
4014 #define EXEEXT "$ac_exeext"
4020 if test "x$enable_win64" = "xyes"
4024 LD
="${LD:-ld} -arch x86_64"
4025 AS
="${AS:-as} -arch x86_64"
4027 notice_platform
="64-bit "
4033 LD
="${LD:-ld} -arch i386"
4034 AS
="${AS:-as} -arch i386"
4036 notice_platform
="32-bit "
4039 enable_win16
=${enable_win16:-yes}
4043 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4048 $as_echo_n "checking whether $CC works... " >&6; }
4050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4051 /* end confdefs.h. */
4061 if ac_fn_c_try_link
"$LINENO"; then :
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4063 $as_echo "yes" >&6; }
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4066 $as_echo "no" >&6; }
4067 as_fn_error
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4069 rm -f core conftest.err conftest.
$ac_objext \
4070 conftest
$ac_exeext conftest.
$ac_ext
4071 LD
="${LD:-ld} -m elf_i386"
4074 notice_platform
="32-bit "
4077 enable_win16
=${enable_win16:-yes}
4079 if test "x${GCC}" = "xyes"
4081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4082 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4084 /* end confdefs.h. */
4089 void func(__builtin_ms_va_list *args);
4094 if ac_fn_c_try_compile
"$LINENO"; then :
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4096 $as_echo "yes" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4100 as_fn_error
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4102 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4108 *-mingw32*|
*-cygwin*)
4109 enable_win16
=${enable_win16:-no}
4110 CFLAGS
="$CFLAGS -D_WIN32"
4113 enable_win16
=${enable_win16:-yes}
4117 enable_win16
=${enable_win16:-no}
4119 enable_winetest
=${enable_winetest:-$enable_tests}
4121 if test -n "$with_wine64"
4123 if test "x$enable_win64" = "xyes"
4125 as_fn_error
"--enable-win64 and --with-wine64 are mutually exclusive.
4126 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4130 enable_fonts
=${enable_fonts:-no}
4131 enable_server
=${enable_server:-no}
4132 enable_tools
=${enable_tools:-no}
4133 elif test "x$enable_win64" = "xyes"
4135 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4139 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4140 if test "${wine_cv_toolsdir+set}" = set; then :
4141 $as_echo_n "(cached) " >&6
4143 wine_cv_toolsdir
="$with_wine_tools"
4144 if test -z "$with_wine_tools"; then
4145 if test "$cross_compiling" = "yes"; then
4146 as_fn_error
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4147 elif test -n "$with_wine64"; then
4148 wine_cv_toolsdir
="$with_wine64"
4151 if test -z "$wine_cv_toolsdir"; then
4152 wine_cv_toolsdir
="\$(TOPOBJDIR)"
4153 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4154 case "$wine_cv_toolsdir" in
4156 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$wine_cv_toolsdir" ;;
4159 as_fn_error
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4163 $as_echo "$wine_cv_toolsdir" >&6; }
4164 TOOLSDIR
=$wine_cv_toolsdir
4166 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4168 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4174 # Extract the first word of "$ac_prog", so it can be a program name with args.
4175 set dummy
$ac_prog; ac_word
=$2
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4177 $as_echo_n "checking for $ac_word... " >&6; }
4178 if test "${ac_cv_prog_FLEX+set}" = set; then :
4179 $as_echo_n "(cached) " >&6
4181 if test -n "$FLEX"; then
4182 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4184 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4188 test -z "$as_dir" && as_dir
=.
4189 for ac_exec_ext
in '' $ac_executable_extensions; do
4190 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4191 ac_cv_prog_FLEX
="$ac_prog"
4192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4201 FLEX
=$ac_cv_prog_FLEX
4202 if test -n "$FLEX"; then
4203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4204 $as_echo "$FLEX" >&6; }
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4207 $as_echo "no" >&6; }
4211 test -n "$FLEX" && break
4213 test -n "$FLEX" || FLEX
="none"
4215 if test "$FLEX" = "none"
4217 as_fn_error
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4220 $as_echo_n "checking whether flex is recent enough... " >&6; }
4221 cat >conftest.l
<<EOF
4223 #include "prediluvian.h"
4227 if $FLEX -t conftest.l
>/dev
/null
2>&1
4229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4230 $as_echo "yes" >&6; }
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4233 $as_echo "no" >&6; }
4234 as_fn_error
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4237 for ac_prog
in bison
4239 # Extract the first word of "$ac_prog", so it can be a program name with args.
4240 set dummy
$ac_prog; ac_word
=$2
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4242 $as_echo_n "checking for $ac_word... " >&6; }
4243 if test "${ac_cv_prog_BISON+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4246 if test -n "$BISON"; then
4247 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4249 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4253 test -z "$as_dir" && as_dir
=.
4254 for ac_exec_ext
in '' $ac_executable_extensions; do
4255 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4256 ac_cv_prog_BISON
="$ac_prog"
4257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4266 BISON
=$ac_cv_prog_BISON
4267 if test -n "$BISON"; then
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4269 $as_echo "$BISON" >&6; }
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4272 $as_echo "no" >&6; }
4276 test -n "$BISON" && break
4278 test -n "$BISON" || BISON
="none"
4280 if test "$BISON" = "none"
4282 as_fn_error
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4285 if test -n "$ac_tool_prefix"; then
4286 for ac_prog
in ar gar
4288 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4289 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4291 $as_echo_n "checking for $ac_word... " >&6; }
4292 if test "${ac_cv_prog_AR+set}" = set; then :
4293 $as_echo_n "(cached) " >&6
4295 if test -n "$AR"; then
4296 ac_cv_prog_AR
="$AR" # Let the user override the test.
4298 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4302 test -z "$as_dir" && as_dir
=.
4303 for ac_exec_ext
in '' $ac_executable_extensions; do
4304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4305 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4316 if test -n "$AR"; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4318 $as_echo "$AR" >&6; }
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4321 $as_echo "no" >&6; }
4325 test -n "$AR" && break
4328 if test -z "$AR"; then
4330 for ac_prog
in ar gar
4332 # Extract the first word of "$ac_prog", so it can be a program name with args.
4333 set dummy
$ac_prog; ac_word
=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4337 $as_echo_n "(cached) " >&6
4339 if test -n "$ac_ct_AR"; then
4340 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4342 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4346 test -z "$as_dir" && as_dir
=.
4347 for ac_exec_ext
in '' $ac_executable_extensions; do
4348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4349 ac_cv_prog_ac_ct_AR
="$ac_prog"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4359 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4360 if test -n "$ac_ct_AR"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4362 $as_echo "$ac_ct_AR" >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4369 test -n "$ac_ct_AR" && break
4372 if test "x$ac_ct_AR" = x
; then
4375 case $cross_compiling:$ac_tool_warned in
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4378 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4379 ac_tool_warned
=yes ;;
4387 if test -n "$ac_tool_prefix"; then
4388 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4389 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4391 $as_echo_n "checking for $ac_word... " >&6; }
4392 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4393 $as_echo_n "(cached) " >&6
4395 if test -n "$RANLIB"; then
4396 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4398 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4402 test -z "$as_dir" && as_dir
=.
4403 for ac_exec_ext
in '' $ac_executable_extensions; do
4404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4405 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4415 RANLIB
=$ac_cv_prog_RANLIB
4416 if test -n "$RANLIB"; then
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4418 $as_echo "$RANLIB" >&6; }
4420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4421 $as_echo "no" >&6; }
4426 if test -z "$ac_cv_prog_RANLIB"; then
4427 ac_ct_RANLIB
=$RANLIB
4428 # Extract the first word of "ranlib", so it can be a program name with args.
4429 set dummy ranlib
; ac_word
=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4433 $as_echo_n "(cached) " >&6
4435 if test -n "$ac_ct_RANLIB"; then
4436 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4438 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4442 test -z "$as_dir" && as_dir
=.
4443 for ac_exec_ext
in '' $ac_executable_extensions; do
4444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4445 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4455 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4456 if test -n "$ac_ct_RANLIB"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4458 $as_echo "$ac_ct_RANLIB" >&6; }
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4464 if test "x$ac_ct_RANLIB" = x
; then
4467 case $cross_compiling:$ac_tool_warned in
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4471 ac_tool_warned
=yes ;;
4473 RANLIB
=$ac_ct_RANLIB
4476 RANLIB
="$ac_cv_prog_RANLIB"
4479 if test -n "$ac_tool_prefix"; then
4480 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4481 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4483 $as_echo_n "checking for $ac_word... " >&6; }
4484 if test "${ac_cv_prog_STRIP+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4487 if test -n "$STRIP"; then
4488 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4490 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4494 test -z "$as_dir" && as_dir
=.
4495 for ac_exec_ext
in '' $ac_executable_extensions; do
4496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4497 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4507 STRIP
=$ac_cv_prog_STRIP
4508 if test -n "$STRIP"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4510 $as_echo "$STRIP" >&6; }
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$ac_cv_prog_STRIP"; then
4520 # Extract the first word of "strip", so it can be a program name with args.
4521 set dummy strip
; ac_word
=$2
4522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4523 $as_echo_n "checking for $ac_word... " >&6; }
4524 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4525 $as_echo_n "(cached) " >&6
4527 if test -n "$ac_ct_STRIP"; then
4528 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4530 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4534 test -z "$as_dir" && as_dir
=.
4535 for ac_exec_ext
in '' $ac_executable_extensions; do
4536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4537 ac_cv_prog_ac_ct_STRIP
="strip"
4538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4547 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4548 if test -n "$ac_ct_STRIP"; then
4549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4550 $as_echo "$ac_ct_STRIP" >&6; }
4552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4553 $as_echo "no" >&6; }
4556 if test "x$ac_ct_STRIP" = x
; then
4559 case $cross_compiling:$ac_tool_warned in
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4562 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4563 ac_tool_warned
=yes ;;
4568 STRIP
="$ac_cv_prog_STRIP"
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4572 $as_echo_n "checking whether ln -s works... " >&6; }
4574 if test "$LN_S" = "ln -s"; then
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4576 $as_echo "yes" >&6; }
4578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4579 $as_echo "no, using $LN_S" >&6; }
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4583 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4584 if test "${ac_cv_path_GREP+set}" = set; then :
4585 $as_echo_n "(cached) " >&6
4587 if test -z "$GREP"; then
4588 ac_path_GREP_found
=false
4589 # Loop through the user's path and test for each of PROGNAME-LIST
4590 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4591 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4594 test -z "$as_dir" && as_dir
=.
4595 for ac_prog
in grep ggrep
; do
4596 for ac_exec_ext
in '' $ac_executable_extensions; do
4597 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4598 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4599 # Check for GNU ac_path_GREP and select it if it is found.
4600 # Check for GNU $ac_path_GREP
4601 case `"$ac_path_GREP" --version 2>&1` in
4603 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4606 $as_echo_n 0123456789 >"conftest.in"
4609 cat "conftest.in" "conftest.in" >"conftest.tmp"
4610 mv "conftest.tmp" "conftest.in"
4611 cp "conftest.in" "conftest.nl"
4612 $as_echo 'GREP' >> "conftest.nl"
4613 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4614 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4615 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4616 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4617 # Best one so far, save it but keep looking for a better one
4618 ac_cv_path_GREP
="$ac_path_GREP"
4619 ac_path_GREP_max
=$ac_count
4621 # 10*(2^10) chars as input seems more than enough
4622 test $ac_count -gt 10 && break
4624 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4627 $ac_path_GREP_found && break 3
4632 if test -z "$ac_cv_path_GREP"; then
4633 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4636 ac_cv_path_GREP
=$GREP
4640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4641 $as_echo "$ac_cv_path_GREP" >&6; }
4642 GREP
="$ac_cv_path_GREP"
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4646 $as_echo_n "checking for egrep... " >&6; }
4647 if test "${ac_cv_path_EGREP+set}" = set; then :
4648 $as_echo_n "(cached) " >&6
4650 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4651 then ac_cv_path_EGREP
="$GREP -E"
4653 if test -z "$EGREP"; then
4654 ac_path_EGREP_found
=false
4655 # Loop through the user's path and test for each of PROGNAME-LIST
4656 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4657 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4660 test -z "$as_dir" && as_dir
=.
4661 for ac_prog
in egrep; do
4662 for ac_exec_ext
in '' $ac_executable_extensions; do
4663 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4664 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4665 # Check for GNU ac_path_EGREP and select it if it is found.
4666 # Check for GNU $ac_path_EGREP
4667 case `"$ac_path_EGREP" --version 2>&1` in
4669 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4672 $as_echo_n 0123456789 >"conftest.in"
4675 cat "conftest.in" "conftest.in" >"conftest.tmp"
4676 mv "conftest.tmp" "conftest.in"
4677 cp "conftest.in" "conftest.nl"
4678 $as_echo 'EGREP' >> "conftest.nl"
4679 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4680 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4681 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4682 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4683 # Best one so far, save it but keep looking for a better one
4684 ac_cv_path_EGREP
="$ac_path_EGREP"
4685 ac_path_EGREP_max
=$ac_count
4687 # 10*(2^10) chars as input seems more than enough
4688 test $ac_count -gt 10 && break
4690 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4693 $ac_path_EGREP_found && break 3
4698 if test -z "$ac_cv_path_EGREP"; then
4699 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4702 ac_cv_path_EGREP
=$EGREP
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4708 $as_echo "$ac_cv_path_EGREP" >&6; }
4709 EGREP
="$ac_cv_path_EGREP"
4712 # Extract the first word of "ldconfig", so it can be a program name with args.
4713 set dummy ldconfig
; ac_word
=$2
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4715 $as_echo_n "checking for $ac_word... " >&6; }
4716 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4717 $as_echo_n "(cached) " >&6
4721 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4724 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4725 for as_dir
in /sbin
/usr
/sbin
$PATH
4728 test -z "$as_dir" && as_dir
=.
4729 for ac_exec_ext
in '' $ac_executable_extensions; do
4730 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4731 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4739 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4743 LDCONFIG
=$ac_cv_path_LDCONFIG
4744 if test -n "$LDCONFIG"; then
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4746 $as_echo "$LDCONFIG" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4749 $as_echo "no" >&6; }
4753 # Find a good install program. We prefer a C program (faster),
4754 # so one script is as good as another. But avoid the broken or
4755 # incompatible versions:
4756 # SysV /etc/install, /usr/sbin/install
4757 # SunOS /usr/etc/install
4758 # IRIX /sbin/install
4760 # AmigaOS /C/install, which installs bootblocks on floppy discs
4761 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4762 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4763 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4764 # OS/2's system install, which has a completely different semantic
4765 # ./install, which can be erroneously created by make from ./install.sh.
4766 # Reject install programs that cannot install multiple files.
4767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4768 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4769 if test -z "$INSTALL"; then
4770 if test "${ac_cv_path_install+set}" = set; then :
4771 $as_echo_n "(cached) " >&6
4773 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4777 test -z "$as_dir" && as_dir
=.
4778 # Account for people who put trailing slashes in PATH elements.
4779 case $as_dir/ in #((
4780 .
/ | .
// |
/[cC
]/* | \
4781 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4782 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4785 # OSF1 and SCO ODT 3.0 have their own names for install.
4786 # Don't use installbsd from OSF since it installs stuff as root
4788 for ac_prog
in ginstall scoinst
install; do
4789 for ac_exec_ext
in '' $ac_executable_extensions; do
4790 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4791 if test $ac_prog = install &&
4792 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4793 # AIX install. It has an incompatible calling convention.
4795 elif test $ac_prog = install &&
4796 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4797 # program-specific install script used by HP pwplus--don't use.
4800 rm -rf conftest.one conftest.two conftest.dir
4801 echo one
> conftest.one
4802 echo two
> conftest.two
4804 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4805 test -s conftest.one
&& test -s conftest.two
&&
4806 test -s conftest.dir
/conftest.one
&&
4807 test -s conftest.dir
/conftest.two
4809 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4822 rm -rf conftest.one conftest.two conftest.dir
4825 if test "${ac_cv_path_install+set}" = set; then
4826 INSTALL
=$ac_cv_path_install
4828 # As a last resort, use the slow shell script. Don't cache a
4829 # value for INSTALL within a source directory, because that will
4830 # break other packages using the cache if that directory is
4831 # removed, or if the value is a relative name.
4832 INSTALL
=$ac_install_sh
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4836 $as_echo "$INSTALL" >&6; }
4838 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4839 # It thinks the first close brace ends the variable substitution.
4840 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4842 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4844 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4847 [\\/$
]* | ?
:[\\/]* ) ;;
4848 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
4851 for ac_prog
in lclint lint
4853 # Extract the first word of "$ac_prog", so it can be a program name with args.
4854 set dummy
$ac_prog; ac_word
=$2
4855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4856 $as_echo_n "checking for $ac_word... " >&6; }
4857 if test "${ac_cv_prog_LINT+set}" = set; then :
4858 $as_echo_n "(cached) " >&6
4860 if test -n "$LINT"; then
4861 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4863 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4867 test -z "$as_dir" && as_dir
=.
4868 for ac_exec_ext
in '' $ac_executable_extensions; do
4869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4870 ac_cv_prog_LINT
="$ac_prog"
4871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4880 LINT
=$ac_cv_prog_LINT
4881 if test -n "$LINT"; then
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4883 $as_echo "$LINT" >&6; }
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4886 $as_echo "no" >&6; }
4890 test -n "$LINT" && break
4893 if test "$LINT" = "lint"
4895 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4900 for ac_prog
in fontforge
4902 # Extract the first word of "$ac_prog", so it can be a program name with args.
4903 set dummy
$ac_prog; ac_word
=$2
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4905 $as_echo_n "checking for $ac_word... " >&6; }
4906 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4907 $as_echo_n "(cached) " >&6
4909 if test -n "$FONTFORGE"; then
4910 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4912 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4916 test -z "$as_dir" && as_dir
=.
4917 for ac_exec_ext
in '' $ac_executable_extensions; do
4918 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4919 ac_cv_prog_FONTFORGE
="$ac_prog"
4920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4929 FONTFORGE
=$ac_cv_prog_FONTFORGE
4930 if test -n "$FONTFORGE"; then
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4932 $as_echo "$FONTFORGE" >&6; }
4934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4935 $as_echo "no" >&6; }
4939 test -n "$FONTFORGE" && break
4941 test -n "$FONTFORGE" || FONTFORGE
="false"
4943 for ac_prog
in pkg-config
4945 # Extract the first word of "$ac_prog", so it can be a program name with args.
4946 set dummy
$ac_prog; ac_word
=$2
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4948 $as_echo_n "checking for $ac_word... " >&6; }
4949 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4950 $as_echo_n "(cached) " >&6
4952 if test -n "$PKG_CONFIG"; then
4953 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4955 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4959 test -z "$as_dir" && as_dir
=.
4960 for ac_exec_ext
in '' $ac_executable_extensions; do
4961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4962 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4963 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4972 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4973 if test -n "$PKG_CONFIG"; then
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4975 $as_echo "$PKG_CONFIG" >&6; }
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4978 $as_echo "no" >&6; }
4982 test -n "$PKG_CONFIG" && break
4984 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4988 # Extract the first word of "$ac_prog", so it can be a program name with args.
4989 set dummy
$ac_prog; ac_word
=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_RSVG+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4995 if test -n "$RSVG"; then
4996 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5002 test -z "$as_dir" && as_dir
=.
5003 for ac_exec_ext
in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_RSVG
="$ac_prog"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5015 RSVG
=$ac_cv_prog_RSVG
5016 if test -n "$RSVG"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5018 $as_echo "$RSVG" >&6; }
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5025 test -n "$RSVG" && break
5027 test -n "$RSVG" || RSVG
="false"
5029 for ac_prog
in convert
5031 # Extract the first word of "$ac_prog", so it can be a program name with args.
5032 set dummy
$ac_prog; ac_word
=$2
5033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5034 $as_echo_n "checking for $ac_word... " >&6; }
5035 if test "${ac_cv_prog_CONVERT+set}" = set; then :
5036 $as_echo_n "(cached) " >&6
5038 if test -n "$CONVERT"; then
5039 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5041 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5045 test -z "$as_dir" && as_dir
=.
5046 for ac_exec_ext
in '' $ac_executable_extensions; do
5047 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5048 ac_cv_prog_CONVERT
="$ac_prog"
5049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5058 CONVERT
=$ac_cv_prog_CONVERT
5059 if test -n "$CONVERT"; then
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5061 $as_echo "$CONVERT" >&6; }
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5064 $as_echo "no" >&6; }
5068 test -n "$CONVERT" && break
5070 test -n "$CONVERT" || CONVERT
="false"
5072 for ac_prog
in icotool
5074 # Extract the first word of "$ac_prog", so it can be a program name with args.
5075 set dummy
$ac_prog; ac_word
=$2
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5077 $as_echo_n "checking for $ac_word... " >&6; }
5078 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5079 $as_echo_n "(cached) " >&6
5081 if test -n "$ICOTOOL"; then
5082 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5088 test -z "$as_dir" && as_dir
=.
5089 for ac_exec_ext
in '' $ac_executable_extensions; do
5090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5091 ac_cv_prog_ICOTOOL
="$ac_prog"
5092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5101 ICOTOOL
=$ac_cv_prog_ICOTOOL
5102 if test -n "$ICOTOOL"; then
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5104 $as_echo "$ICOTOOL" >&6; }
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5107 $as_echo "no" >&6; }
5111 test -n "$ICOTOOL" && break
5113 test -n "$ICOTOOL" || ICOTOOL
="false"
5116 if test "x$enable_maintainer_mode" != "xyes"
5121 if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings
"|fontforge is missing, fonts can't be rebuilt."; fi
5122 if test "$RSVG" = "false"; then as_fn_append wine_warnings
"|rsvg is missing, icons can't be rebuilt."; fi
5124 if test "$CONVERT" = false
5126 as_fn_append wine_warnings
"|imagemagick is missing, icons can't be rebuilt."
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5129 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5130 convert_version
=`convert --version | head -n1`
5131 if test "x$convert_version" != "x"
5133 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5134 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5135 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5138 as_fn_append wine_warnings
"|imagemagick version 6.6 or newer is needed to rebuild icons."
5141 if test "$CONVERT" = false
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5144 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5147 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5151 if test "$ICOTOOL" = false
5153 as_fn_append wine_warnings
"|icotool is missing, icons can't be rebuilt."
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5156 $as_echo_n "checking for recent enough icotool... " >&6; }
5157 icotool_version
=`icotool --version | head -n1`
5158 if test "x$icotool_version" != "x"
5160 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5161 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5162 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5165 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5168 if test "$ICOTOOL" = false
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5171 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5174 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5182 # Extract the first word of "prelink", so it can be a program name with args.
5183 set dummy prelink
; ac_word
=$2
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5185 $as_echo_n "checking for $ac_word... " >&6; }
5186 if test "${ac_cv_path_PRELINK+set}" = set; then :
5187 $as_echo_n "(cached) " >&6
5191 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
5194 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5195 for as_dir
in /sbin
/usr
/sbin
$PATH
5198 test -z "$as_dir" && as_dir
=.
5199 for ac_exec_ext
in '' $ac_executable_extensions; do
5200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5201 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
5202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5209 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
5213 PRELINK
=$ac_cv_path_PRELINK
5214 if test -n "$PRELINK"; then
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
5216 $as_echo "$PRELINK" >&6; }
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5219 $as_echo "no" >&6; }
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5228 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5229 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5230 $as_echo_n "(cached) " >&6
5232 ac_check_lib_save_LIBS
=$LIBS
5234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5235 /* end confdefs.h. */
5237 /* Override any GCC internal prototype to avoid an error.
5238 Use char because int might match the return type of a GCC
5239 builtin and then its argument prototype would still apply. */
5243 char i386_set_ldt ();
5247 return i386_set_ldt ();
5252 if ac_fn_c_try_link
"$LINENO"; then :
5253 ac_cv_lib_i386_i386_set_ldt
=yes
5255 ac_cv_lib_i386_i386_set_ldt
=no
5257 rm -f core conftest.err conftest.
$ac_objext \
5258 conftest
$ac_exeext conftest.
$ac_ext
5259 LIBS
=$ac_check_lib_save_LIBS
5261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5262 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5263 if test "x$ac_cv_lib_i386_i386_set_ldt" = x
""yes; then :
5264 cat >>confdefs.h
<<_ACEOF
5265 #define HAVE_LIBI386 1
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5273 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5274 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5275 $as_echo_n "(cached) " >&6
5277 ac_check_lib_save_LIBS
=$LIBS
5278 LIBS
="-lossaudio $LIBS"
5279 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5282 /* Override any GCC internal prototype to avoid an error.
5283 Use char because int might match the return type of a GCC
5284 builtin and then its argument prototype would still apply. */
5292 return _oss_ioctl ();
5297 if ac_fn_c_try_link
"$LINENO"; then :
5298 ac_cv_lib_ossaudio__oss_ioctl
=yes
5300 ac_cv_lib_ossaudio__oss_ioctl
=no
5302 rm -f core conftest.err conftest.
$ac_objext \
5303 conftest
$ac_exeext conftest.
$ac_ext
5304 LIBS
=$ac_check_lib_save_LIBS
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5307 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5308 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x
""yes; then :
5309 cat >>confdefs.h
<<_ACEOF
5310 #define HAVE_LIBOSSAUDIO 1
5313 LIBS
="-lossaudio $LIBS"
5324 # Check whether --enable-largefile was given.
5325 if test "${enable_largefile+set}" = set; then :
5326 enableval
=$enable_largefile;
5329 if test "$enable_largefile" != no
; then
5331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5332 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5333 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5334 $as_echo_n "(cached) " >&6
5336 ac_cv_sys_largefile_CC
=no
5337 if test "$GCC" != yes; then
5340 # IRIX 6.2 and later do not support large files by default,
5341 # so use the C compiler's -n32 option if that helps.
5342 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5343 /* end confdefs.h. */
5344 #include <sys/types.h>
5345 /* Check that off_t can represent 2**63 - 1 correctly.
5346 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5347 since some C++ compilers masquerading as C compilers
5348 incorrectly reject 9223372036854775807. */
5349 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5350 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5351 && LARGE_OFF_T % 2147483647 == 1)
5361 if ac_fn_c_try_compile
"$LINENO"; then :
5364 rm -f core conftest.err conftest.
$ac_objext
5366 if ac_fn_c_try_compile
"$LINENO"; then :
5367 ac_cv_sys_largefile_CC
=' -n32'; break
5369 rm -f core conftest.err conftest.
$ac_objext
5373 rm -f conftest.
$ac_ext
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5377 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5378 if test "$ac_cv_sys_largefile_CC" != no
; then
5379 CC
=$CC$ac_cv_sys_largefile_CC
5382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5383 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5384 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5385 $as_echo_n "(cached) " >&6
5388 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5389 /* end confdefs.h. */
5390 #include <sys/types.h>
5391 /* Check that off_t can represent 2**63 - 1 correctly.
5392 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5393 since some C++ compilers masquerading as C compilers
5394 incorrectly reject 9223372036854775807. */
5395 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5396 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5397 && LARGE_OFF_T % 2147483647 == 1)
5407 if ac_fn_c_try_compile
"$LINENO"; then :
5408 ac_cv_sys_file_offset_bits
=no
; break
5410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5412 /* end confdefs.h. */
5413 #define _FILE_OFFSET_BITS 64
5414 #include <sys/types.h>
5415 /* Check that off_t can represent 2**63 - 1 correctly.
5416 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5417 since some C++ compilers masquerading as C compilers
5418 incorrectly reject 9223372036854775807. */
5419 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5420 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5421 && LARGE_OFF_T % 2147483647 == 1)
5431 if ac_fn_c_try_compile
"$LINENO"; then :
5432 ac_cv_sys_file_offset_bits
=64; break
5434 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5435 ac_cv_sys_file_offset_bits
=unknown
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5440 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5441 case $ac_cv_sys_file_offset_bits in #(
5444 cat >>confdefs.h
<<_ACEOF
5445 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5450 if test $ac_cv_sys_file_offset_bits = unknown
; then
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5452 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5453 if test "${ac_cv_sys_large_files+set}" = set; then :
5454 $as_echo_n "(cached) " >&6
5457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5458 /* end confdefs.h. */
5459 #include <sys/types.h>
5460 /* Check that off_t can represent 2**63 - 1 correctly.
5461 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5462 since some C++ compilers masquerading as C compilers
5463 incorrectly reject 9223372036854775807. */
5464 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5465 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5466 && LARGE_OFF_T % 2147483647 == 1)
5476 if ac_fn_c_try_compile
"$LINENO"; then :
5477 ac_cv_sys_large_files
=no
; break
5479 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5480 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5481 /* end confdefs.h. */
5482 #define _LARGE_FILES 1
5483 #include <sys/types.h>
5484 /* Check that off_t can represent 2**63 - 1 correctly.
5485 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5486 since some C++ compilers masquerading as C compilers
5487 incorrectly reject 9223372036854775807. */
5488 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5489 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5490 && LARGE_OFF_T % 2147483647 == 1)
5500 if ac_fn_c_try_compile
"$LINENO"; then :
5501 ac_cv_sys_large_files
=1; break
5503 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5504 ac_cv_sys_large_files
=unknown
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5509 $as_echo "$ac_cv_sys_large_files" >&6; }
5510 case $ac_cv_sys_large_files in #(
5513 cat >>confdefs.h
<<_ACEOF
5514 #define _LARGE_FILES $ac_cv_sys_large_files
5524 ac_cpp
='$CPP $CPPFLAGS'
5525 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5526 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5527 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5529 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5530 # On Suns, sometimes $CPP names a directory.
5531 if test -n "$CPP" && test -d "$CPP"; then
5534 if test -z "$CPP"; then
5535 if test "${ac_cv_prog_CPP+set}" = set; then :
5536 $as_echo_n "(cached) " >&6
5538 # Double quotes because CPP needs to be expanded
5539 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5542 for ac_c_preproc_warn_flag
in '' yes
5544 # Use a header file that comes with gcc, so configuring glibc
5545 # with a fresh cross-compiler works.
5546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5547 # <limits.h> exists even on freestanding compilers.
5548 # On the NeXT, cc -E runs the code through the compiler's parser,
5549 # not just through cpp. "Syntax error" is here to catch this case.
5550 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5551 /* end confdefs.h. */
5553 # include <limits.h>
5555 # include <assert.h>
5559 if ac_fn_c_try_cpp
"$LINENO"; then :
5562 # Broken: fails on valid input.
5565 rm -f conftest.err conftest.
$ac_ext
5567 # OK, works on sane cases. Now check whether nonexistent headers
5568 # can be detected and how.
5569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5570 /* end confdefs.h. */
5571 #include <ac_nonexistent.h>
5573 if ac_fn_c_try_cpp
"$LINENO"; then :
5574 # Broken: success on invalid input.
5577 # Passes both tests.
5581 rm -f conftest.err conftest.
$ac_ext
5584 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5585 rm -f conftest.err conftest.
$ac_ext
5586 if $ac_preproc_ok; then :
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5599 $as_echo "$CPP" >&6; }
5601 for ac_c_preproc_warn_flag
in '' yes
5603 # Use a header file that comes with gcc, so configuring glibc
5604 # with a fresh cross-compiler works.
5605 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5606 # <limits.h> exists even on freestanding compilers.
5607 # On the NeXT, cc -E runs the code through the compiler's parser,
5608 # not just through cpp. "Syntax error" is here to catch this case.
5609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5610 /* end confdefs.h. */
5612 # include <limits.h>
5614 # include <assert.h>
5618 if ac_fn_c_try_cpp
"$LINENO"; then :
5621 # Broken: fails on valid input.
5624 rm -f conftest.err conftest.
$ac_ext
5626 # OK, works on sane cases. Now check whether nonexistent headers
5627 # can be detected and how.
5628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5629 /* end confdefs.h. */
5630 #include <ac_nonexistent.h>
5632 if ac_fn_c_try_cpp
"$LINENO"; then :
5633 # Broken: success on invalid input.
5636 # Passes both tests.
5640 rm -f conftest.err conftest.
$ac_ext
5643 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5644 rm -f conftest.err conftest.
$ac_ext
5645 if $ac_preproc_ok; then :
5648 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5649 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5650 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5651 See \`config.log' for more details." "$LINENO" 5; }
5655 ac_cpp
='$CPP $CPPFLAGS'
5656 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5657 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5658 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5662 $as_echo_n "checking for ANSI C header files... " >&6; }
5663 if test "${ac_cv_header_stdc+set}" = set; then :
5664 $as_echo_n "(cached) " >&6
5666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5667 /* end confdefs.h. */
5681 if ac_fn_c_try_compile
"$LINENO"; then :
5682 ac_cv_header_stdc
=yes
5684 ac_cv_header_stdc
=no
5686 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5688 if test $ac_cv_header_stdc = yes; then
5689 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5691 /* end confdefs.h. */
5695 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5696 $EGREP "memchr" >/dev
/null
2>&1; then :
5699 ac_cv_header_stdc
=no
5705 if test $ac_cv_header_stdc = yes; then
5706 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5708 /* end confdefs.h. */
5712 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5713 $EGREP "free" >/dev
/null
2>&1; then :
5716 ac_cv_header_stdc
=no
5722 if test $ac_cv_header_stdc = yes; then
5723 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5724 if test "$cross_compiling" = yes; then :
5727 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5728 /* end confdefs.h. */
5731 #if ((' ' & 0x0FF) == 0x020)
5732 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5733 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5735 # define ISLOWER(c) \
5736 (('a' <= (c) && (c) <= 'i') \
5737 || ('j' <= (c) && (c) <= 'r') \
5738 || ('s' <= (c) && (c) <= 'z'))
5739 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5742 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5747 for (i = 0; i < 256; i++)
5748 if (XOR (islower (i), ISLOWER (i))
5749 || toupper (i) != TOUPPER (i))
5754 if ac_fn_c_try_run
"$LINENO"; then :
5757 ac_cv_header_stdc
=no
5759 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5760 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5766 $as_echo "$ac_cv_header_stdc" >&6; }
5767 if test $ac_cv_header_stdc = yes; then
5769 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5773 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5774 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5775 inttypes.h stdint.h unistd.h
5777 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5778 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5780 eval as_val
=\$
$as_ac_Header
5781 if test "x$as_val" = x
""yes; then :
5782 cat >>confdefs.h
<<_ACEOF
5783 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5793 AudioToolbox
/AudioConverter.h \
5794 AudioUnit
/AudioUnit.h \
5796 CoreAudio
/CoreAudio.h \
5797 DiskArbitration
/DiskArbitration.h \
5799 IOKit
/hid
/IOHIDLib.h \
5814 fontconfig
/fontconfig.h \
5847 machine
/soundcard.h \
5854 netinet
/in_systm.h \
5922 valgrind
/memcheck.h \
5923 valgrind
/valgrind.h \
5927 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5928 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5929 eval as_val
=\$
$as_ac_Header
5930 if test "x$as_val" = x
""yes; then :
5931 cat >>confdefs.h
<<_ACEOF
5932 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5940 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5941 if test "${ac_cv_header_stat_broken+set}" = set; then :
5942 $as_echo_n "(cached) " >&6
5944 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5945 /* end confdefs.h. */
5946 #include <sys/types.h>
5947 #include <sys/stat.h>
5949 #if defined S_ISBLK && defined S_IFDIR
5950 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5953 #if defined S_ISBLK && defined S_IFCHR
5954 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5957 #if defined S_ISLNK && defined S_IFREG
5958 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5961 #if defined S_ISSOCK && defined S_IFREG
5962 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5966 if ac_fn_c_try_compile
"$LINENO"; then :
5967 ac_cv_header_stat_broken
=no
5969 ac_cv_header_stat_broken
=yes
5971 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5974 $as_echo "$ac_cv_header_stat_broken" >&6; }
5975 if test $ac_cv_header_stat_broken = yes; then
5977 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5983 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5985 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5986 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5987 #ifdef HAVE_SYS_PARAM_H
5988 # include <sys/param.h>
5991 eval as_val
=\$
$as_ac_Header
5992 if test "x$as_val" = x
""yes; then :
5993 cat >>confdefs.h
<<_ACEOF
5994 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6009 netinet
/if_ether.h \
6010 netinet
/if_inarp.h \
6018 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6019 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6020 #ifdef HAVE_SYS_SOCKET_H
6021 # include <sys/socket.h>
6023 #ifdef HAVE_SYS_SOCKETVAR_H
6024 # include <sys/socketvar.h>
6026 #ifdef HAVE_NET_ROUTE_H
6027 # include <net/route.h>
6029 #ifdef HAVE_NETINET_IN_H
6030 # include <netinet/in.h>
6032 #ifdef HAVE_NETINET_IN_SYSTM_H
6033 # include <netinet/in_systm.h>
6035 #ifdef HAVE_NET_IF_H
6036 # include <net/if.h>
6038 #ifdef HAVE_NETINET_IP_H
6039 # include <netinet/ip.h>
6042 eval as_val
=\$
$as_ac_Header
6043 if test "x$as_val" = x
""yes; then :
6044 cat >>confdefs.h
<<_ACEOF
6045 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6053 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6055 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6056 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6060 #ifdef HAVE_SYS_SOCKET_H
6061 # include <sys/socket.h>
6063 #ifdef HAVE_SYS_SOCKETVAR_H
6064 # include <sys/socketvar.h>
6066 #ifdef HAVE_SYS_TIMEOUT_H
6067 # include <sys/timeout.h>
6069 #ifdef HAVE_NETINET_IN_H
6070 # include <netinet/in.h>
6072 #ifdef HAVE_NETINET_IN_SYSTM_H
6073 # include <netinet/in_systm.h>
6075 #ifdef HAVE_NETINET_IP_H
6076 # include <netinet/ip.h>
6078 #ifdef HAVE_NETINET_IP_VAR_H
6079 # include <netinet/ip_var.h>
6081 #ifdef HAVE_NETINET_IP_ICMP_H
6082 # include <netinet/ip_icmp.h>
6084 #ifdef HAVE_NETINET_UDP_H
6085 # include <netinet/udp.h>
6087 #ifdef HAVE_NETINET_TCP_H
6088 # include <netinet/tcp.h>
6090 #ifdef HAVE_NETINET_TCP_TIMER_H
6091 #include <netinet/tcp_timer.h>
6094 eval as_val
=\$
$as_ac_Header
6095 if test "x$as_val" = x
""yes; then :
6096 cat >>confdefs.h
<<_ACEOF
6097 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6105 for ac_header
in linux
/ipx.h linux
/irda.h
6107 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6108 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6109 #ifdef HAVE_ASM_TYPES_H
6110 # include <asm/types.h>
6112 #ifdef HAVE_SYS_SOCKET_H
6113 # include <sys/socket.h>
6115 #ifdef HAVE_LINUX_TYPES_H
6116 # include <linux/types.h>
6119 eval as_val
=\$
$as_ac_Header
6120 if test "x$as_val" = x
""yes; then :
6121 cat >>confdefs.h
<<_ACEOF
6122 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6130 for ac_header
in mach-o
/dyld_images.h
6132 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6133 # include <stdbool.h>
6135 #ifdef HAVE_STDINT_H
6136 # include <stdint.h>
6139 if test "x$ac_cv_header_mach_o_dyld_images_h" = x
""yes; then :
6140 cat >>confdefs.h
<<_ACEOF
6141 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6149 for ac_header
in resolv.h
6151 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6152 #ifdef HAVE_SYS_SOCKET_H
6153 # include <sys/socket.h>
6155 #ifdef HAVE_NETINET_IN_H
6156 # include <netinet/in.h>
6158 #ifdef HAVE_ARPA_NAMESER_H
6159 # include <arpa/nameser.h>
6162 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
6163 cat >>confdefs.h
<<_ACEOF
6164 #define HAVE_RESOLV_H 1
6172 for ac_header
in ifaddrs.h
6174 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6176 if test "x$ac_cv_header_ifaddrs_h" = x
""yes; then :
6177 cat >>confdefs.h
<<_ACEOF
6178 #define HAVE_IFADDRS_H 1
6186 for ac_header
in ucontext.h
6188 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6190 if test "x$ac_cv_header_ucontext_h" = x
""yes; then :
6191 cat >>confdefs.h
<<_ACEOF
6192 #define HAVE_UCONTEXT_H 1
6200 for ac_header
in sys
/thr.h
6202 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6203 #ifdef HAVE_UCONTEXT_H
6204 #include <ucontext.h>
6207 if test "x$ac_cv_header_sys_thr_h" = x
""yes; then :
6208 cat >>confdefs.h
<<_ACEOF
6209 #define HAVE_SYS_THR_H 1
6217 for ac_header
in pthread_np.h
6219 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6220 #include <pthread.h>
6223 if test "x$ac_cv_header_pthread_np_h" = x
""yes; then :
6224 cat >>confdefs.h
<<_ACEOF
6225 #define HAVE_PTHREAD_NP_H 1
6233 for ac_header
in linux
/videodev.h
6235 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6236 #include <sys/time.h>
6238 #include <sys/types.h>
6239 #ifdef HAVE_ASM_TYPES_H
6240 #include <asm/types.h>
6243 if test "x$ac_cv_header_linux_videodev_h" = x
""yes; then :
6244 cat >>confdefs.h
<<_ACEOF
6245 #define HAVE_LINUX_VIDEODEV_H 1
6253 for ac_header
in linux
/capi.h
6255 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6257 if test "x$ac_cv_header_linux_capi_h" = x
""yes; then :
6258 cat >>confdefs.h
<<_ACEOF
6259 #define HAVE_LINUX_CAPI_H 1
6270 DLLFLAGS
="-D_REENTRANT"
6284 STATIC_IMPLIBEXT
="def.a"
6285 # Extract the first word of "ldd", so it can be a program name with args.
6286 set dummy ldd
; ac_word
=$2
6287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6288 $as_echo_n "checking for $ac_word... " >&6; }
6289 if test "${ac_cv_path_LDD+set}" = set; then :
6290 $as_echo_n "(cached) " >&6
6294 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6297 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6298 as_dummy
="/sbin:/usr/sbin:$PATH"
6299 for as_dir
in $as_dummy
6302 test -z "$as_dir" && as_dir
=.
6303 for ac_exec_ext
in '' $ac_executable_extensions; do
6304 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6305 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6306 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6313 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6318 if test -n "$LDD"; then
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6320 $as_echo "$LDD" >&6; }
6322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6323 $as_echo "no" >&6; }
6330 if test -n "$ac_tool_prefix"; then
6331 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6332 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6334 $as_echo_n "checking for $ac_word... " >&6; }
6335 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6336 $as_echo_n "(cached) " >&6
6338 if test -n "$DLLTOOL"; then
6339 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6341 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6345 test -z "$as_dir" && as_dir
=.
6346 for ac_exec_ext
in '' $ac_executable_extensions; do
6347 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6348 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6349 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6358 DLLTOOL
=$ac_cv_prog_DLLTOOL
6359 if test -n "$DLLTOOL"; then
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6361 $as_echo "$DLLTOOL" >&6; }
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6364 $as_echo "no" >&6; }
6369 if test -z "$ac_cv_prog_DLLTOOL"; then
6370 ac_ct_DLLTOOL
=$DLLTOOL
6371 # Extract the first word of "dlltool", so it can be a program name with args.
6372 set dummy dlltool
; ac_word
=$2
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6374 $as_echo_n "checking for $ac_word... " >&6; }
6375 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6376 $as_echo_n "(cached) " >&6
6378 if test -n "$ac_ct_DLLTOOL"; then
6379 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6385 test -z "$as_dir" && as_dir
=.
6386 for ac_exec_ext
in '' $ac_executable_extensions; do
6387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6388 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6398 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6399 if test -n "$ac_ct_DLLTOOL"; then
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6401 $as_echo "$ac_ct_DLLTOOL" >&6; }
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6404 $as_echo "no" >&6; }
6407 if test "x$ac_ct_DLLTOOL" = x
; then
6410 case $cross_compiling:$ac_tool_warned in
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6413 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6414 ac_tool_warned
=yes ;;
6416 DLLTOOL
=$ac_ct_DLLTOOL
6419 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6422 if test -n "$ac_tool_prefix"; then
6423 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6424 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6426 $as_echo_n "checking for $ac_word... " >&6; }
6427 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6428 $as_echo_n "(cached) " >&6
6430 if test -n "$DLLWRAP"; then
6431 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6433 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6437 test -z "$as_dir" && as_dir
=.
6438 for ac_exec_ext
in '' $ac_executable_extensions; do
6439 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6440 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6450 DLLWRAP
=$ac_cv_prog_DLLWRAP
6451 if test -n "$DLLWRAP"; then
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6453 $as_echo "$DLLWRAP" >&6; }
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6456 $as_echo "no" >&6; }
6461 if test -z "$ac_cv_prog_DLLWRAP"; then
6462 ac_ct_DLLWRAP
=$DLLWRAP
6463 # Extract the first word of "dllwrap", so it can be a program name with args.
6464 set dummy dllwrap
; ac_word
=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6468 $as_echo_n "(cached) " >&6
6470 if test -n "$ac_ct_DLLWRAP"; then
6471 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6473 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6477 test -z "$as_dir" && as_dir
=.
6478 for ac_exec_ext
in '' $ac_executable_extensions; do
6479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6480 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6491 if test -n "$ac_ct_DLLWRAP"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6493 $as_echo "$ac_ct_DLLWRAP" >&6; }
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6499 if test "x$ac_ct_DLLWRAP" = x
; then
6502 case $cross_compiling:$ac_tool_warned in
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6505 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6506 ac_tool_warned
=yes ;;
6508 DLLWRAP
=$ac_ct_DLLWRAP
6511 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6514 if test "$DLLWRAP" = "false"; then
6520 STATIC_IMPLIBEXT
="a"
6521 enable_iphlpapi
=${enable_iphlpapi:-no}
6522 enable_kernel32
=${enable_kernel32:-no}
6523 enable_msvcrt
=${enable_msvcrt:-no}
6524 enable_ntdll
=${enable_ntdll:-no}
6525 enable_ws2_32
=${enable_ws2_32:-no}
6526 enable_loader
=${enable_loader:-no}
6527 enable_server
=${enable_server:-no}
6528 with_x
=${with_x:-no}
6529 with_pthread
=${with_pthread:-no}
6534 DLLFLAGS
="$DLLFLAGS -fPIC"
6535 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6536 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6537 LDSHARED
="\$(CC) -dynamiclib"
6539 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6540 SECURITYLIB
="-framework Security -framework CoreFoundation"
6542 COREFOUNDATIONLIB
="-framework CoreFoundation"
6544 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6546 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6548 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6550 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6553 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6555 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6558 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6560 FRAMEWORK_OPENAL
="-framework OpenAL"
6563 cat >>confdefs.h
<<_ACEOF
6564 #define HAVE_OPENAL 1
6567 ac_cv_lib_openal
=yes
6569 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6571 ac_save_LIBS
="$LIBS"
6572 LIBS
="$LIBS $IOKITLIB"
6573 for ac_func
in IOHIDManagerCreate
6575 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6576 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6577 cat >>confdefs.h
<<_ACEOF
6578 #define HAVE_IOHIDMANAGERCREATE 1
6584 LIBS
="$ac_save_LIBS"
6588 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6590 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6592 CARBONLIB
="-framework Carbon"
6594 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6596 if test "x$enable_win16" = "xyes"
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6599 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6600 if test "$cross_compiling" = yes; then :
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6602 $as_echo "cross-compiling, assuming yes" >&6; }
6604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6605 /* end confdefs.h. */
6608 "good:\tnop;nop\n\t"
6609 ".globl _testfunc\n"
6610 "_testfunc:\tcallw good");
6611 extern void testfunc();
6615 unsigned short *p = (unsigned short *)testfunc;
6616 return p[0] != 0xe866 || p[1] != 0xfffa
6621 if ac_fn_c_try_run
"$LINENO"; then :
6622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6623 $as_echo "yes" >&6; }
6625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6626 $as_echo "no" >&6; }
6627 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
6629 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6630 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6636 DLLFLAGS
="$DLLFLAGS -fPIC"
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6639 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6640 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6643 ac_wine_try_cflags_saved
=$CFLAGS
6644 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6645 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6646 /* end confdefs.h. */
6649 if ac_fn_c_try_link
"$LINENO"; then :
6650 ac_cv_c_dll_gnuelf
="yes"
6652 ac_cv_c_dll_gnuelf
="no"
6654 rm -f core conftest.err conftest.
$ac_objext \
6655 conftest
$ac_exeext conftest.
$ac_ext
6656 CFLAGS
=$ac_wine_try_cflags_saved
6658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6659 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6660 if test "$ac_cv_c_dll_gnuelf" = "yes"
6662 LDSHARED
="\$(CC) -shared"
6663 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6665 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6666 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6667 $as_echo_n "(cached) " >&6
6669 ac_wine_try_cflags_saved
=$CFLAGS
6670 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6671 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6672 /* end confdefs.h. */
6673 int main(int argc, char **argv) { return 0; }
6675 if ac_fn_c_try_link
"$LINENO"; then :
6676 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6678 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6680 rm -f core conftest.err conftest.
$ac_objext \
6681 conftest
$ac_exeext conftest.
$ac_ext
6682 CFLAGS
=$ac_wine_try_cflags_saved
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6685 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6686 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6687 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6690 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6691 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6692 $as_echo_n "(cached) " >&6
6694 ac_wine_try_cflags_saved
=$CFLAGS
6695 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6697 /* end confdefs.h. */
6698 int main(int argc, char **argv) { return 0; }
6700 if ac_fn_c_try_link
"$LINENO"; then :
6701 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6703 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6705 rm -f core conftest.err conftest.
$ac_objext \
6706 conftest
$ac_exeext conftest.
$ac_ext
6707 CFLAGS
=$ac_wine_try_cflags_saved
6709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6710 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6711 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6712 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6717 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6718 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6719 $as_echo_n "(cached) " >&6
6721 ac_wine_try_cflags_saved
=$CFLAGS
6722 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6723 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6724 /* end confdefs.h. */
6725 int main(int argc, char **argv) { return 0; }
6727 if ac_fn_c_try_link
"$LINENO"; then :
6728 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6730 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6732 rm -f core conftest.err conftest.
$ac_objext \
6733 conftest
$ac_exeext conftest.
$ac_ext
6734 CFLAGS
=$ac_wine_try_cflags_saved
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6737 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6738 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6739 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6742 { $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
6743 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6744 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6745 $as_echo_n "(cached) " >&6
6747 ac_wine_try_cflags_saved
=$CFLAGS
6748 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6749 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6750 /* end confdefs.h. */
6751 int main(int argc, char **argv) { return 0; }
6753 if ac_fn_c_try_link
"$LINENO"; then :
6754 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6756 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6758 rm -f core conftest.err conftest.
$ac_objext \
6759 conftest
$ac_exeext conftest.
$ac_ext
6760 CFLAGS
=$ac_wine_try_cflags_saved
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6763 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6764 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6765 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6768 echo '{ global: *; };' >conftest.map
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6770 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6771 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
6772 $as_echo_n "(cached) " >&6
6774 ac_wine_try_cflags_saved
=$CFLAGS
6775 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6776 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6777 /* end confdefs.h. */
6778 int main(int argc, char **argv) { return 0; }
6780 if ac_fn_c_try_link
"$LINENO"; then :
6781 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6783 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6785 rm -f core conftest.err conftest.
$ac_objext \
6786 conftest
$ac_exeext conftest.
$ac_ext
6787 CFLAGS
=$ac_wine_try_cflags_saved
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6790 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6791 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6792 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6797 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6798 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6799 $as_echo_n "(cached) " >&6
6801 ac_wine_try_cflags_saved
=$CFLAGS
6802 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6804 /* end confdefs.h. */
6805 int main(int argc, char **argv) { return 0; }
6807 if ac_fn_c_try_link
"$LINENO"; then :
6808 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6810 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6812 rm -f core conftest.err conftest.
$ac_objext \
6813 conftest
$ac_exeext conftest.
$ac_ext
6814 CFLAGS
=$ac_wine_try_cflags_saved
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6817 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6818 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6819 LDEXECFLAGS
="-Wl,--export-dynamic"
6823 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6825 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6826 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6827 $as_echo_n "(cached) " >&6
6829 ac_wine_try_cflags_saved
=$CFLAGS
6830 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6831 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6833 int main(int argc, char **argv) { return 0; }
6835 if ac_fn_c_try_link
"$LINENO"; then :
6836 eval "$as_ac_var=yes"
6838 eval "$as_ac_var=no"
6840 rm -f core conftest.err conftest.
$ac_objext \
6841 conftest
$ac_exeext conftest.
$ac_ext
6842 CFLAGS
=$ac_wine_try_cflags_saved
6844 eval ac_res
=\$
$as_ac_var
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6846 $as_echo "$ac_res" >&6; }
6847 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6848 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6849 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6851 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6853 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6854 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6855 $as_echo_n "(cached) " >&6
6857 ac_wine_try_cflags_saved
=$CFLAGS
6858 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6859 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6860 /* end confdefs.h. */
6861 int main(int argc, char **argv) { return 0; }
6863 if ac_fn_c_try_link
"$LINENO"; then :
6864 eval "$as_ac_var=yes"
6866 eval "$as_ac_var=no"
6868 rm -f core conftest.err conftest.
$ac_objext \
6869 conftest
$ac_exeext conftest.
$ac_ext
6870 CFLAGS
=$ac_wine_try_cflags_saved
6872 eval ac_res
=\$
$as_ac_var
6873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6874 $as_echo "$ac_res" >&6; }
6875 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6876 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6877 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6882 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6883 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6884 $as_echo_n "(cached) " >&6
6886 ac_wine_try_cflags_saved
=$CFLAGS
6887 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6888 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 int main(int argc, char **argv) { return 0; }
6892 if ac_fn_c_try_link
"$LINENO"; then :
6893 ac_cv_cflags__Wl___enable_new_dtags
=yes
6895 ac_cv_cflags__Wl___enable_new_dtags
=no
6897 rm -f core conftest.err conftest.
$ac_objext \
6898 conftest
$ac_exeext conftest.
$ac_ext
6899 CFLAGS
=$ac_wine_try_cflags_saved
6901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6902 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6903 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6904 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6908 *i
[3456789]86* | x86_64
)
6909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6910 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6911 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
6912 $as_echo_n "(cached) " >&6
6914 ac_wine_try_cflags_saved
=$CFLAGS
6915 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6916 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6917 /* end confdefs.h. */
6918 int main(int argc, char **argv) { return 0; }
6920 if ac_fn_c_try_link
"$LINENO"; then :
6921 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6923 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6925 rm -f core conftest.err conftest.
$ac_objext \
6926 conftest
$ac_exeext conftest.
$ac_ext
6927 CFLAGS
=$ac_wine_try_cflags_saved
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6930 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6931 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6932 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6939 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6940 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6941 $as_echo_n "(cached) " >&6
6943 ac_wine_try_cflags_saved
=$CFLAGS
6944 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6946 /* end confdefs.h. */
6949 if ac_fn_c_try_link
"$LINENO"; then :
6950 ac_cv_c_dll_unixware
="yes"
6952 ac_cv_c_dll_unixware
="no"
6954 rm -f core conftest.err conftest.
$ac_objext \
6955 conftest
$ac_exeext conftest.
$ac_ext
6956 CFLAGS
=$ac_wine_try_cflags_saved
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6959 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6960 if test "$ac_cv_c_dll_unixware" = "yes"
6962 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6963 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6967 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6968 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6969 $as_echo_n "(cached) " >&6
6971 ac_wine_try_cflags_saved
=$CFLAGS
6972 CFLAGS
="$CFLAGS -shared"
6973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6977 if ac_fn_c_try_link
"$LINENO"; then :
6978 ac_cv_c_dll_hpux
="yes"
6980 ac_cv_c_dll_hpux
="no"
6982 rm -f core conftest.err conftest.
$ac_objext \
6983 conftest
$ac_exeext conftest.
$ac_ext
6984 CFLAGS
=$ac_wine_try_cflags_saved
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6987 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6988 if test "$ac_cv_c_dll_hpux" = "yes"
6992 LDDLLFLAGS
="-shared -fPIC"
6993 LDSHARED
="\$(CC) -shared"
7000 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7002 if test "$LIBEXT" = "a"; then
7003 as_fn_error
"could not find a way to build shared libraries.
7004 It is currently not possible to build Wine without shared library
7005 (.so) support to allow transparent switch between .so and .dll files.
7006 If you are using Linux, you will need a newer binutils.
7010 if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
7014 ac_prefix_list
="i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc " ;;
7016 ac_prefix_list
="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
7018 ac_prefix_list
="" ;;
7020 for ac_prog
in $ac_prefix_list
7022 # Extract the first word of "$ac_prog", so it can be a program name with args.
7023 set dummy
$ac_prog; ac_word
=$2
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7025 $as_echo_n "checking for $ac_word... " >&6; }
7026 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7027 $as_echo_n "(cached) " >&6
7029 if test -n "$CROSSCC"; then
7030 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7032 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7036 test -z "$as_dir" && as_dir
=.
7037 for ac_exec_ext
in '' $ac_executable_extensions; do
7038 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7039 ac_cv_prog_CROSSCC
="$ac_prog"
7040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7049 CROSSCC
=$ac_cv_prog_CROSSCC
7050 if test -n "$CROSSCC"; then
7051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7052 $as_echo "$CROSSCC" >&6; }
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7055 $as_echo "no" >&6; }
7059 test -n "$CROSSCC" && break
7061 test -n "$CROSSCC" || CROSSCC
="false"
7063 if test "$CROSSCC" != "false"
7065 CROSSTEST
="\$(CROSSTEST)"
7073 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7077 if test -n "$target"
7079 CROSSTARGET
="$target"
7086 if test "$ac_cv_header_pthread_h" = "yes"
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7089 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7090 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7091 $as_echo_n "(cached) " >&6
7093 ac_check_lib_save_LIBS
=$LIBS
7094 LIBS
="-lpthread $LIBS"
7095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7096 /* end confdefs.h. */
7098 /* Override any GCC internal prototype to avoid an error.
7099 Use char because int might match the return type of a GCC
7100 builtin and then its argument prototype would still apply. */
7104 char pthread_create ();
7108 return pthread_create ();
7113 if ac_fn_c_try_link
"$LINENO"; then :
7114 ac_cv_lib_pthread_pthread_create
=yes
7116 ac_cv_lib_pthread_pthread_create
=no
7118 rm -f core conftest.err conftest.
$ac_objext \
7119 conftest
$ac_exeext conftest.
$ac_ext
7120 LIBS
=$ac_check_lib_save_LIBS
7122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7123 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7124 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7125 LIBPTHREAD
="-lpthread"
7130 if test "x$LIBPTHREAD" = "x"; then :
7131 case "x$with_pthread" in
7133 *) as_fn_error
"pthread ${notice_platform}development files not found.
7134 Wine cannot support threads without libpthread.
7135 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7141 $as_echo_n "checking for X... " >&6; }
7144 # Check whether --with-x was given.
7145 if test "${with_x+set}" = set; then :
7149 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7150 if test "x$with_x" = xno
; then
7151 # The user explicitly disabled X.
7154 case $x_includes,$x_libraries in #(
7155 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
7156 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7159 # One or both of the vars are not set, and there is no cached value.
7160 ac_x_includes
=no ac_x_libraries
=no
7161 rm -f -r conftest.dir
7162 if mkdir conftest.dir
; then
7164 cat >Imakefile
<<'_ACEOF'
7166 @echo incroot='${INCROOT}'
7168 @echo usrlibdir='${USRLIBDIR}'
7170 @echo libdir='${LIBDIR}'
7172 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7173 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7174 for ac_var
in incroot usrlibdir libdir
; do
7175 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7177 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7178 for ac_extension
in a so sl dylib la dll
; do
7179 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7180 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7181 ac_im_usrlibdir
=$ac_im_libdir; break
7184 # Screen out bogus values from the imake configuration. They are
7185 # bogus both because they are the default anyway, and because
7186 # using them would break gcc on systems where it needs fixed includes.
7187 case $ac_im_incroot in
7188 /usr
/include
) ac_x_includes
= ;;
7189 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7191 case $ac_im_usrlibdir in
7192 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7193 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7197 rm -f -r conftest.dir
7200 # Standard set of common directories for X headers.
7201 # Check X11 before X11Rn because it is often a symlink to the current release.
7215 /usr/local/X11/include
7216 /usr/local/X11R7/include
7217 /usr/local/X11R6/include
7218 /usr/local/X11R5/include
7219 /usr/local/X11R4/include
7221 /usr/local/include/X11
7222 /usr/local/include/X11R7
7223 /usr/local/include/X11R6
7224 /usr/local/include/X11R5
7225 /usr/local/include/X11R4
7229 /usr/XFree86/include/X11
7233 /usr/unsupported/include
7235 /usr/local/x11r5/include
7236 /usr/lpp/Xamples/include
7238 /usr/openwin/include
7239 /usr/openwin/share/include'
7241 if test "$ac_x_includes" = no
; then
7242 # Guess where to find include files, by looking for Xlib.h.
7243 # First, try using that file with no special directory specified.
7244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7245 /* end confdefs.h. */
7246 #include <X11/Xlib.h>
7248 if ac_fn_c_try_cpp
"$LINENO"; then :
7249 # We can compile using X headers with no special include directory.
7252 for ac_dir
in $ac_x_header_dirs; do
7253 if test -r "$ac_dir/X11/Xlib.h"; then
7254 ac_x_includes
=$ac_dir
7259 rm -f conftest.err conftest.
$ac_ext
7260 fi # $ac_x_includes = no
7262 if test "$ac_x_libraries" = no
; then
7263 # Check for the libraries.
7264 # See if we find them without any special options.
7265 # Don't add to $LIBS permanently.
7268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7269 /* end confdefs.h. */
7270 #include <X11/Xlib.h>
7279 if ac_fn_c_try_link
"$LINENO"; then :
7281 # We can link X programs with no special library path.
7285 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7287 # Don't even attempt the hair of trying to link an X program!
7288 for ac_extension
in a so sl dylib la dll
; do
7289 if test -r "$ac_dir/libX11.$ac_extension"; then
7290 ac_x_libraries
=$ac_dir
7296 rm -f core conftest.err conftest.
$ac_objext \
7297 conftest
$ac_exeext conftest.
$ac_ext
7298 fi # $ac_x_libraries = no
7300 case $ac_x_includes,$ac_x_libraries in #(
7302 # Didn't find X, or a directory has "'" in its name.
7303 ac_cv_have_x
="have_x=no";; #(
7305 # Record where we found X for the cache.
7306 ac_cv_have_x
="have_x=yes\
7307 ac_x_includes='$ac_x_includes'\
7308 ac_x_libraries='$ac_x_libraries'"
7314 eval "$ac_cv_have_x"
7317 if test "$have_x" != yes; then
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7319 $as_echo "$have_x" >&6; }
7322 # If each of the values was on the command line, it overrides each guess.
7323 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7324 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7325 # Update the cache value to reflect the command line values.
7326 ac_cv_have_x
="have_x=yes\
7327 ac_x_includes='$x_includes'\
7328 ac_x_libraries='$x_libraries'"
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7330 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7333 if test "$no_x" = yes; then
7334 # Not all programs may use this symbol, but it does not hurt to define it.
7336 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7338 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7340 if test -n "$x_includes"; then
7341 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7344 # It would also be nice to do this for all -L options, not just this one.
7345 if test -n "$x_libraries"; then
7346 X_LIBS
="$X_LIBS -L$x_libraries"
7347 # For Solaris; some versions of Sun CC require a space after -R and
7348 # others require no space. Words are not sufficient . . . .
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7350 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7351 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7352 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7353 ac_c_werror_flag
=yes
7354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7355 /* end confdefs.h. */
7365 if ac_fn_c_try_link
"$LINENO"; then :
7366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7367 $as_echo "no" >&6; }
7368 X_LIBS
="$X_LIBS -R$x_libraries"
7370 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7371 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7372 /* end confdefs.h. */
7382 if ac_fn_c_try_link
"$LINENO"; then :
7383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7384 $as_echo "yes" >&6; }
7385 X_LIBS
="$X_LIBS -R $x_libraries"
7387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7388 $as_echo "neither works" >&6; }
7390 rm -f core conftest.err conftest.
$ac_objext \
7391 conftest
$ac_exeext conftest.
$ac_ext
7393 rm -f core conftest.err conftest.
$ac_objext \
7394 conftest
$ac_exeext conftest.
$ac_ext
7395 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7399 # Check for system-dependent libraries X programs must link with.
7400 # Do this before checking for the system-independent R6 libraries
7401 # (-lICE), since we may need -lsocket or whatever for X linking.
7403 if test "$ISC" = yes; then
7404 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7406 # Martyn Johnson says this is needed for Ultrix, if the X
7407 # libraries were built with DECnet support. And Karl Berry says
7408 # the Alpha needs dnet_stub (dnet does not exist).
7409 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7411 /* end confdefs.h. */
7413 /* Override any GCC internal prototype to avoid an error.
7414 Use char because int might match the return type of a GCC
7415 builtin and then its argument prototype would still apply. */
7419 char XOpenDisplay ();
7423 return XOpenDisplay ();
7428 if ac_fn_c_try_link
"$LINENO"; then :
7431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7432 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7433 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7434 $as_echo_n "(cached) " >&6
7436 ac_check_lib_save_LIBS
=$LIBS
7438 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7439 /* end confdefs.h. */
7441 /* Override any GCC internal prototype to avoid an error.
7442 Use char because int might match the return type of a GCC
7443 builtin and then its argument prototype would still apply. */
7451 return dnet_ntoa ();
7456 if ac_fn_c_try_link
"$LINENO"; then :
7457 ac_cv_lib_dnet_dnet_ntoa
=yes
7459 ac_cv_lib_dnet_dnet_ntoa
=no
7461 rm -f core conftest.err conftest.
$ac_objext \
7462 conftest
$ac_exeext conftest.
$ac_ext
7463 LIBS
=$ac_check_lib_save_LIBS
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7466 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7467 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7468 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7471 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7473 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7474 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7477 ac_check_lib_save_LIBS
=$LIBS
7478 LIBS
="-ldnet_stub $LIBS"
7479 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7480 /* end confdefs.h. */
7482 /* Override any GCC internal prototype to avoid an error.
7483 Use char because int might match the return type of a GCC
7484 builtin and then its argument prototype would still apply. */
7492 return dnet_ntoa ();
7497 if ac_fn_c_try_link
"$LINENO"; then :
7498 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7500 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7502 rm -f core conftest.err conftest.
$ac_objext \
7503 conftest
$ac_exeext conftest.
$ac_ext
7504 LIBS
=$ac_check_lib_save_LIBS
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7507 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7508 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7509 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7514 rm -f core conftest.err conftest.
$ac_objext \
7515 conftest
$ac_exeext conftest.
$ac_ext
7516 LIBS
="$ac_xsave_LIBS"
7518 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7519 # to get the SysV transport functions.
7520 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7522 # The nsl library prevents programs from opening the X display
7523 # on Irix 5.2, according to T.E. Dickey.
7524 # The functions gethostbyname, getservbyname, and inet_addr are
7525 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7526 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7527 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7531 if test $ac_cv_func_gethostbyname = no
; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7533 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7534 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7535 $as_echo_n "(cached) " >&6
7537 ac_check_lib_save_LIBS
=$LIBS
7539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7540 /* end confdefs.h. */
7542 /* Override any GCC internal prototype to avoid an error.
7543 Use char because int might match the return type of a GCC
7544 builtin and then its argument prototype would still apply. */
7548 char gethostbyname ();
7552 return gethostbyname ();
7557 if ac_fn_c_try_link
"$LINENO"; then :
7558 ac_cv_lib_nsl_gethostbyname
=yes
7560 ac_cv_lib_nsl_gethostbyname
=no
7562 rm -f core conftest.err conftest.
$ac_objext \
7563 conftest
$ac_exeext conftest.
$ac_ext
7564 LIBS
=$ac_check_lib_save_LIBS
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7567 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7568 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7569 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7572 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7574 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7575 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7576 $as_echo_n "(cached) " >&6
7578 ac_check_lib_save_LIBS
=$LIBS
7580 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7581 /* end confdefs.h. */
7583 /* Override any GCC internal prototype to avoid an error.
7584 Use char because int might match the return type of a GCC
7585 builtin and then its argument prototype would still apply. */
7589 char gethostbyname ();
7593 return gethostbyname ();
7598 if ac_fn_c_try_link
"$LINENO"; then :
7599 ac_cv_lib_bsd_gethostbyname
=yes
7601 ac_cv_lib_bsd_gethostbyname
=no
7603 rm -f core conftest.err conftest.
$ac_objext \
7604 conftest
$ac_exeext conftest.
$ac_ext
7605 LIBS
=$ac_check_lib_save_LIBS
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7608 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7609 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7610 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7616 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7617 # socket/setsockopt and other routines are undefined under SCO ODT
7618 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7619 # on later versions), says Simon Leinen: it contains gethostby*
7620 # variants that don't use the name server (or something). -lsocket
7621 # must be given before -lnsl if both are needed. We assume that
7622 # if connect needs -lnsl, so does gethostbyname.
7623 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7624 if test "x$ac_cv_func_connect" = x
""yes; then :
7628 if test $ac_cv_func_connect = no
; then
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7630 $as_echo_n "checking for connect in -lsocket... " >&6; }
7631 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7632 $as_echo_n "(cached) " >&6
7634 ac_check_lib_save_LIBS
=$LIBS
7635 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7636 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7637 /* end confdefs.h. */
7639 /* Override any GCC internal prototype to avoid an error.
7640 Use char because int might match the return type of a GCC
7641 builtin and then its argument prototype would still apply. */
7654 if ac_fn_c_try_link
"$LINENO"; then :
7655 ac_cv_lib_socket_connect
=yes
7657 ac_cv_lib_socket_connect
=no
7659 rm -f core conftest.err conftest.
$ac_objext \
7660 conftest
$ac_exeext conftest.
$ac_ext
7661 LIBS
=$ac_check_lib_save_LIBS
7663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7664 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7665 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7666 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7671 # Guillermo Gomez says -lposix is necessary on A/UX.
7672 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7673 if test "x$ac_cv_func_remove" = x
""yes; then :
7677 if test $ac_cv_func_remove = no
; then
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7679 $as_echo_n "checking for remove in -lposix... " >&6; }
7680 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7683 ac_check_lib_save_LIBS
=$LIBS
7684 LIBS
="-lposix $LIBS"
7685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7688 /* Override any GCC internal prototype to avoid an error.
7689 Use char because int might match the return type of a GCC
7690 builtin and then its argument prototype would still apply. */
7703 if ac_fn_c_try_link
"$LINENO"; then :
7704 ac_cv_lib_posix_remove
=yes
7706 ac_cv_lib_posix_remove
=no
7708 rm -f core conftest.err conftest.
$ac_objext \
7709 conftest
$ac_exeext conftest.
$ac_ext
7710 LIBS
=$ac_check_lib_save_LIBS
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7713 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7714 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7715 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7720 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7721 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7722 if test "x$ac_cv_func_shmat" = x
""yes; then :
7726 if test $ac_cv_func_shmat = no
; then
7727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7728 $as_echo_n "checking for shmat in -lipc... " >&6; }
7729 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7730 $as_echo_n "(cached) " >&6
7732 ac_check_lib_save_LIBS
=$LIBS
7734 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7735 /* end confdefs.h. */
7737 /* Override any GCC internal prototype to avoid an error.
7738 Use char because int might match the return type of a GCC
7739 builtin and then its argument prototype would still apply. */
7752 if ac_fn_c_try_link
"$LINENO"; then :
7753 ac_cv_lib_ipc_shmat
=yes
7755 ac_cv_lib_ipc_shmat
=no
7757 rm -f core conftest.err conftest.
$ac_objext \
7758 conftest
$ac_exeext conftest.
$ac_ext
7759 LIBS
=$ac_check_lib_save_LIBS
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7762 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7763 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7764 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7770 # Check for libraries that X11R6 Xt/Xaw programs need.
7771 ac_save_LDFLAGS
=$LDFLAGS
7772 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7773 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7774 # check for ICE first), but we must link in the order -lSM -lICE or
7775 # we get undefined symbols. So assume we have SM if we have ICE.
7776 # These have to be linked with before -lX11, unlike the other
7777 # libraries we check for below, so use a different variable.
7778 # John Interrante, Karl Berry
7779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7780 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7781 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7782 $as_echo_n "(cached) " >&6
7784 ac_check_lib_save_LIBS
=$LIBS
7785 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7786 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7787 /* end confdefs.h. */
7789 /* Override any GCC internal prototype to avoid an error.
7790 Use char because int might match the return type of a GCC
7791 builtin and then its argument prototype would still apply. */
7795 char IceConnectionNumber ();
7799 return IceConnectionNumber ();
7804 if ac_fn_c_try_link
"$LINENO"; then :
7805 ac_cv_lib_ICE_IceConnectionNumber
=yes
7807 ac_cv_lib_ICE_IceConnectionNumber
=no
7809 rm -f core conftest.err conftest.
$ac_objext \
7810 conftest
$ac_exeext conftest.
$ac_ext
7811 LIBS
=$ac_check_lib_save_LIBS
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7814 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7815 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7816 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7819 LDFLAGS
=$ac_save_LDFLAGS
7824 if test "$have_x" = "yes"
7827 ac_save_CPPFLAGS
="$CPPFLAGS"
7828 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7831 $as_echo_n "checking for -lX11... " >&6; }
7832 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7833 $as_echo_n "(cached) " >&6
7835 ac_check_soname_save_LIBS
=$LIBS
7836 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7838 /* end confdefs.h. */
7840 /* Override any GCC internal prototype to avoid an error.
7841 Use char because int might match the return type of a GCC
7842 builtin and then its argument prototype would still apply. */
7846 char XCreateWindow ();
7850 return XCreateWindow ();
7855 if ac_fn_c_try_link
"$LINENO"; then :
7857 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7858 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'` ;;
7859 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7862 rm -f core conftest.err conftest.
$ac_objext \
7863 conftest
$ac_exeext conftest.
$ac_ext
7864 LIBS
=$ac_check_soname_save_LIBS
7866 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7868 $as_echo "not found" >&6; }
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7872 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7874 cat >>confdefs.h
<<_ACEOF
7875 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7881 $as_echo_n "checking for -lXext... " >&6; }
7882 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7883 $as_echo_n "(cached) " >&6
7885 ac_check_soname_save_LIBS
=$LIBS
7886 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7890 /* Override any GCC internal prototype to avoid an error.
7891 Use char because int might match the return type of a GCC
7892 builtin and then its argument prototype would still apply. */
7896 char XextCreateExtension ();
7900 return XextCreateExtension ();
7905 if ac_fn_c_try_link
"$LINENO"; then :
7907 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7908 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'` ;;
7909 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7912 rm -f core conftest.err conftest.
$ac_objext \
7913 conftest
$ac_exeext conftest.
$ac_ext
7914 LIBS
=$ac_check_soname_save_LIBS
7916 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7918 $as_echo "not found" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7922 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7924 cat >>confdefs.h
<<_ACEOF
7925 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7931 for ac_header
in X11
/Xlib.h \
7934 X11
/Xcursor
/Xcursor.h \
7935 X11
/extensions
/shape.h \
7936 X11
/extensions
/XInput.h \
7937 X11
/extensions
/XShm.h \
7938 X11
/extensions
/Xcomposite.h \
7939 X11
/extensions
/Xinerama.h \
7940 X11
/extensions
/Xrandr.h \
7941 X11
/extensions
/Xrender.h \
7942 X11
/extensions
/xf86vmode.h \
7943 X11
/extensions
/xf86vmproto.h
7945 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7946 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7947 # include <X11/Xlib.h>
7949 #ifdef HAVE_X11_XUTIL_H
7950 # include <X11/Xutil.h>
7953 eval as_val
=\$
$as_ac_Header
7954 if test "x$as_val" = x
""yes; then :
7955 cat >>confdefs.h
<<_ACEOF
7956 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7964 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7967 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7968 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
7969 $as_echo_n "(cached) " >&6
7971 ac_check_lib_save_LIBS
=$LIBS
7972 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7974 /* end confdefs.h. */
7976 /* Override any GCC internal prototype to avoid an error.
7977 Use char because int might match the return type of a GCC
7978 builtin and then its argument prototype would still apply. */
7982 char XkbQueryExtension ();
7986 return XkbQueryExtension ();
7991 if ac_fn_c_try_link
"$LINENO"; then :
7992 ac_cv_lib_X11_XkbQueryExtension
=yes
7994 ac_cv_lib_X11_XkbQueryExtension
=no
7996 rm -f core conftest.err conftest.
$ac_objext \
7997 conftest
$ac_exeext conftest.
$ac_ext
7998 LIBS
=$ac_check_lib_save_LIBS
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8001 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8002 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
8004 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8010 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8013 $as_echo_n "checking for -lXcursor... " >&6; }
8014 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8015 $as_echo_n "(cached) " >&6
8017 ac_check_soname_save_LIBS
=$LIBS
8018 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8019 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8020 /* end confdefs.h. */
8022 /* Override any GCC internal prototype to avoid an error.
8023 Use char because int might match the return type of a GCC
8024 builtin and then its argument prototype would still apply. */
8028 char XcursorImageLoadCursor ();
8032 return XcursorImageLoadCursor ();
8037 if ac_fn_c_try_link
"$LINENO"; then :
8039 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8040 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'` ;;
8041 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8044 rm -f core conftest.err conftest.
$ac_objext \
8045 conftest
$ac_exeext conftest.
$ac_ext
8046 LIBS
=$ac_check_soname_save_LIBS
8048 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8050 $as_echo "not found" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8054 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8056 cat >>confdefs.h
<<_ACEOF
8057 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8063 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8064 case "x$with_xcursor" in
8065 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8067 *) as_fn_error
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8068 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8072 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8075 $as_echo_n "checking for -lXi... " >&6; }
8076 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8077 $as_echo_n "(cached) " >&6
8079 ac_check_soname_save_LIBS
=$LIBS
8080 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8081 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8082 /* end confdefs.h. */
8084 /* Override any GCC internal prototype to avoid an error.
8085 Use char because int might match the return type of a GCC
8086 builtin and then its argument prototype would still apply. */
8090 char XOpenDevice ();
8094 return XOpenDevice ();
8099 if ac_fn_c_try_link
"$LINENO"; then :
8101 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8102 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'` ;;
8103 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8106 rm -f core conftest.err conftest.
$ac_objext \
8107 conftest
$ac_exeext conftest.
$ac_ext
8108 LIBS
=$ac_check_soname_save_LIBS
8110 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8112 $as_echo "not found" >&6; }
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8116 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8118 cat >>confdefs.h
<<_ACEOF
8119 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8125 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8126 case "x$with_xinput" in
8127 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8129 *) as_fn_error
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8130 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8134 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8137 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8138 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8139 $as_echo_n "(cached) " >&6
8141 ac_check_lib_save_LIBS
=$LIBS
8142 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8144 /* end confdefs.h. */
8146 /* Override any GCC internal prototype to avoid an error.
8147 Use char because int might match the return type of a GCC
8148 builtin and then its argument prototype would still apply. */
8152 char XShmQueryExtension ();
8156 return XShmQueryExtension ();
8161 if ac_fn_c_try_link
"$LINENO"; then :
8162 ac_cv_lib_Xext_XShmQueryExtension
=yes
8164 ac_cv_lib_Xext_XShmQueryExtension
=no
8166 rm -f core conftest.err conftest.
$ac_objext \
8167 conftest
$ac_exeext conftest.
$ac_ext
8168 LIBS
=$ac_check_lib_save_LIBS
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8171 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8172 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8174 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8179 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8180 case "x$with_xshm" in
8181 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8183 *) as_fn_error
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8184 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8188 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8191 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8192 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8193 $as_echo_n "(cached) " >&6
8195 ac_check_lib_save_LIBS
=$LIBS
8196 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8197 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8198 /* end confdefs.h. */
8200 /* Override any GCC internal prototype to avoid an error.
8201 Use char because int might match the return type of a GCC
8202 builtin and then its argument prototype would still apply. */
8206 char XShapeQueryExtension ();
8210 return XShapeQueryExtension ();
8215 if ac_fn_c_try_link
"$LINENO"; then :
8216 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8218 ac_cv_lib_Xext_XShapeQueryExtension
=no
8220 rm -f core conftest.err conftest.
$ac_objext \
8221 conftest
$ac_exeext conftest.
$ac_ext
8222 LIBS
=$ac_check_lib_save_LIBS
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8225 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8226 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8228 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8233 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8234 case "x$with_xshape" in
8235 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8237 *) as_fn_error
"XShape ${notice_platform}development files not found, XShape won't be supported.
8238 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8242 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8245 $as_echo_n "checking for -lXxf86vm... " >&6; }
8246 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8247 $as_echo_n "(cached) " >&6
8249 ac_check_soname_save_LIBS
=$LIBS
8250 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8252 /* end confdefs.h. */
8254 /* Override any GCC internal prototype to avoid an error.
8255 Use char because int might match the return type of a GCC
8256 builtin and then its argument prototype would still apply. */
8260 char XF86VidModeQueryExtension ();
8264 return XF86VidModeQueryExtension ();
8269 if ac_fn_c_try_link
"$LINENO"; then :
8271 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8272 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'` ;;
8273 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8276 rm -f core conftest.err conftest.
$ac_objext \
8277 conftest
$ac_exeext conftest.
$ac_ext
8278 LIBS
=$ac_check_soname_save_LIBS
8280 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8282 $as_echo "not found" >&6; }
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8286 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8288 cat >>confdefs.h
<<_ACEOF
8289 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8295 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8296 case "x$with_xxf86vm" in
8297 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8299 *) as_fn_error
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8300 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8304 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"
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8307 $as_echo_n "checking for -lXrender... " >&6; }
8308 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8309 $as_echo_n "(cached) " >&6
8311 ac_check_soname_save_LIBS
=$LIBS
8312 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8313 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8314 /* end confdefs.h. */
8316 /* Override any GCC internal prototype to avoid an error.
8317 Use char because int might match the return type of a GCC
8318 builtin and then its argument prototype would still apply. */
8322 char XRenderQueryExtension ();
8326 return XRenderQueryExtension ();
8331 if ac_fn_c_try_link
"$LINENO"; then :
8333 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8334 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'` ;;
8335 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8338 rm -f core conftest.err conftest.
$ac_objext \
8339 conftest
$ac_exeext conftest.
$ac_ext
8340 LIBS
=$ac_check_soname_save_LIBS
8342 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8344 $as_echo "not found" >&6; }
8347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8348 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8350 cat >>confdefs.h
<<_ACEOF
8351 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8355 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8356 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8357 $as_echo_n "(cached) " >&6
8359 ac_check_lib_save_LIBS
=$LIBS
8360 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8361 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8362 /* end confdefs.h. */
8364 /* Override any GCC internal prototype to avoid an error.
8365 Use char because int might match the return type of a GCC
8366 builtin and then its argument prototype would still apply. */
8370 char XRenderSetPictureTransform ();
8374 return XRenderSetPictureTransform ();
8379 if ac_fn_c_try_link
"$LINENO"; then :
8380 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8382 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8384 rm -f core conftest.err conftest.
$ac_objext \
8385 conftest
$ac_exeext conftest.
$ac_ext
8386 LIBS
=$ac_check_lib_save_LIBS
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8389 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8390 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8392 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8399 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8400 case "x$with_xrender" in
8401 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8403 *) as_fn_error
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8404 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8408 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8411 /* end confdefs.h. */
8412 #include <X11/Xlib.h>
8413 #include <X11/extensions/Xrandr.h>
8417 static typeof(XRRSetScreenConfigAndRate) * func;
8422 if ac_fn_c_try_compile
"$LINENO"; then :
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8424 $as_echo_n "checking for -lXrandr... " >&6; }
8425 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8426 $as_echo_n "(cached) " >&6
8428 ac_check_soname_save_LIBS
=$LIBS
8429 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8430 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8431 /* end confdefs.h. */
8433 /* Override any GCC internal prototype to avoid an error.
8434 Use char because int might match the return type of a GCC
8435 builtin and then its argument prototype would still apply. */
8439 char XRRQueryExtension ();
8443 return XRRQueryExtension ();
8448 if ac_fn_c_try_link
"$LINENO"; then :
8450 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8451 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'` ;;
8452 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8455 rm -f core conftest.err conftest.
$ac_objext \
8456 conftest
$ac_exeext conftest.
$ac_ext
8457 LIBS
=$ac_check_soname_save_LIBS
8459 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8461 $as_echo "not found" >&6; }
8464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8465 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8467 cat >>confdefs.h
<<_ACEOF
8468 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8476 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8477 case "x$with_xrandr" in
8478 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8480 *) as_fn_error
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8481 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8485 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8488 /* end confdefs.h. */
8489 #include <X11/Xlib.h>
8490 #include <X11/extensions/Xinerama.h>
8494 static typeof(XineramaQueryScreens) * func;
8499 if ac_fn_c_try_compile
"$LINENO"; then :
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8501 $as_echo_n "checking for -lXinerama... " >&6; }
8502 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8503 $as_echo_n "(cached) " >&6
8505 ac_check_soname_save_LIBS
=$LIBS
8506 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8507 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8508 /* end confdefs.h. */
8510 /* Override any GCC internal prototype to avoid an error.
8511 Use char because int might match the return type of a GCC
8512 builtin and then its argument prototype would still apply. */
8516 char XineramaQueryScreens ();
8520 return XineramaQueryScreens ();
8525 if ac_fn_c_try_link
"$LINENO"; then :
8527 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8528 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'` ;;
8529 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8532 rm -f core conftest.err conftest.
$ac_objext \
8533 conftest
$ac_exeext conftest.
$ac_ext
8534 LIBS
=$ac_check_soname_save_LIBS
8536 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8538 $as_echo "not found" >&6; }
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8542 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8544 cat >>confdefs.h
<<_ACEOF
8545 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8551 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8553 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8554 case "x$with_xinerama" in
8555 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8557 *) as_fn_error
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8558 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8562 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8565 $as_echo_n "checking for -lXcomposite... " >&6; }
8566 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8567 $as_echo_n "(cached) " >&6
8569 ac_check_soname_save_LIBS
=$LIBS
8570 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8574 /* Override any GCC internal prototype to avoid an error.
8575 Use char because int might match the return type of a GCC
8576 builtin and then its argument prototype would still apply. */
8580 char XCompositeRedirectWindow ();
8584 return XCompositeRedirectWindow ();
8589 if ac_fn_c_try_link
"$LINENO"; then :
8591 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8592 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'` ;;
8593 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8596 rm -f core conftest.err conftest.
$ac_objext \
8597 conftest
$ac_exeext conftest.
$ac_ext
8598 LIBS
=$ac_check_soname_save_LIBS
8600 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8602 $as_echo "not found" >&6; }
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8606 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8608 cat >>confdefs.h
<<_ACEOF
8609 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8615 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8616 case "x$with_xcomposite" in
8617 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8619 *) as_fn_error
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8620 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8624 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8625 #include <X11/Xlib.h>
8628 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8630 cat >>confdefs.h
<<_ACEOF
8631 #define HAVE_XICCALLBACK_CALLBACK 1
8640 if test "x$with_opengl" != "xno"
8642 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8644 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8645 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8646 # include <GL/glx.h>
8649 eval as_val
=\$
$as_ac_Header
8650 if test "x$as_val" = x
""yes; then :
8651 cat >>confdefs.h
<<_ACEOF
8652 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8659 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8662 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8663 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8664 $as_echo_n "(cached) " >&6
8666 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8667 /* end confdefs.h. */
8672 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8677 if ac_fn_c_try_compile
"$LINENO"; then :
8678 wine_cv_opengl_header_version_OK
="yes"
8680 wine_cv_opengl_header_version_OK
="no"
8682 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8685 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8687 if test "$wine_cv_opengl_header_version_OK" = "yes"
8689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8690 $as_echo_n "checking for -lGL... " >&6; }
8691 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8692 $as_echo_n "(cached) " >&6
8694 ac_check_soname_save_LIBS
=$LIBS
8695 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8697 /* end confdefs.h. */
8699 /* Override any GCC internal prototype to avoid an error.
8700 Use char because int might match the return type of a GCC
8701 builtin and then its argument prototype would still apply. */
8705 char glXCreateContext ();
8709 return glXCreateContext ();
8714 if ac_fn_c_try_link
"$LINENO"; then :
8716 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8717 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'` ;;
8718 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8721 rm -f core conftest.err conftest.
$ac_objext \
8722 conftest
$ac_exeext conftest.
$ac_ext
8723 LIBS
=$ac_check_soname_save_LIBS
8725 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8727 $as_echo "not found" >&6; }
8728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8729 $as_echo_n "checking for -lGL... " >&6; }
8730 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8731 $as_echo_n "(cached) " >&6
8733 ac_check_soname_save_LIBS
=$LIBS
8734 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"
8735 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8736 /* end confdefs.h. */
8738 /* Override any GCC internal prototype to avoid an error.
8739 Use char because int might match the return type of a GCC
8740 builtin and then its argument prototype would still apply. */
8744 char glXCreateContext ();
8748 return glXCreateContext ();
8753 if ac_fn_c_try_link
"$LINENO"; then :
8755 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8756 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'` ;;
8757 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8760 rm -f core conftest.err conftest.
$ac_objext \
8761 conftest
$ac_exeext conftest.
$ac_ext
8762 LIBS
=$ac_check_soname_save_LIBS
8764 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8766 $as_echo "not found" >&6; }
8767 if test -f /usr
/X11R
6/lib
/libGL.a
8769 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8770 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8772 opengl_msg
="No OpenGL library found on this system."
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8776 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8778 cat >>confdefs.h
<<_ACEOF
8779 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8782 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"
8784 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8789 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8791 cat >>confdefs.h
<<_ACEOF
8792 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8797 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8800 if test "$ac_cv_header_GL_glu_h" = "yes"
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8803 $as_echo_n "checking for -lGLU... " >&6; }
8804 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8805 $as_echo_n "(cached) " >&6
8807 ac_check_soname_save_LIBS
=$LIBS
8808 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8812 /* Override any GCC internal prototype to avoid an error.
8813 Use char because int might match the return type of a GCC
8814 builtin and then its argument prototype would still apply. */
8822 return gluLookAt ();
8827 if ac_fn_c_try_link
"$LINENO"; then :
8829 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8830 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'` ;;
8831 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8834 rm -f core conftest.err conftest.
$ac_objext \
8835 conftest
$ac_exeext conftest.
$ac_ext
8836 LIBS
=$ac_check_soname_save_LIBS
8838 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8840 $as_echo "not found" >&6; }
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8844 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8846 cat >>confdefs.h
<<_ACEOF
8847 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8853 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8854 case "x$with_glu" in
8855 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8857 *) as_fn_error
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8858 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8862 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8865 opengl_msg
="OpenGL development headers not found."
8867 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8868 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8870 enable_opengl32
=${enable_opengl32:-no}
8871 enable_glu32
=${enable_glu32:-no}
8873 if test -n "$opengl_msg"; then :
8874 case "x$with_opengl" in
8875 x
) as_fn_append wine_warnings
"|$opengl_msg
8876 OpenGL and Direct3D won't be supported." ;;
8878 *) as_fn_error
"$opengl_msg
8879 OpenGL and Direct3D won't be supported.
8880 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8886 for ac_header
in audio
/audiolib.h
8888 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8889 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8890 cat >>confdefs.h
<<_ACEOF
8891 #define HAVE_AUDIO_AUDIOLIB_H 1
8893 for ac_header
in audio
/soundlib.h
8895 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8897 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8898 cat >>confdefs.h
<<_ACEOF
8899 #define HAVE_AUDIO_SOUNDLIB_H 1
8906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8907 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8908 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8909 $as_echo_n "(cached) " >&6
8911 ac_check_lib_save_LIBS
=$LIBS
8912 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8914 /* end confdefs.h. */
8916 /* Override any GCC internal prototype to avoid an error.
8917 Use char because int might match the return type of a GCC
8918 builtin and then its argument prototype would still apply. */
8922 char AuCreateFlow ();
8926 return AuCreateFlow ();
8931 if ac_fn_c_try_link
"$LINENO"; then :
8932 ac_cv_lib_audio_AuCreateFlow
=yes
8934 ac_cv_lib_audio_AuCreateFlow
=no
8936 rm -f core conftest.err conftest.
$ac_objext \
8937 conftest
$ac_exeext conftest.
$ac_ext
8938 LIBS
=$ac_check_lib_save_LIBS
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8941 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8942 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
8944 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8947 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8948 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8949 $as_echo_n "(cached) " >&6
8951 ac_check_lib_save_LIBS
=$LIBS
8952 LIBS
="-lXau $X_LIBS $LIBS"
8953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8954 /* end confdefs.h. */
8956 /* Override any GCC internal prototype to avoid an error.
8957 Use char because int might match the return type of a GCC
8958 builtin and then its argument prototype would still apply. */
8962 char XauGetBestAuthByAddr ();
8966 return XauGetBestAuthByAddr ();
8971 if ac_fn_c_try_link
"$LINENO"; then :
8972 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8974 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8976 rm -f core conftest.err conftest.
$ac_objext \
8977 conftest
$ac_exeext conftest.
$ac_ext
8978 LIBS
=$ac_check_lib_save_LIBS
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8981 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8982 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
8983 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8985 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8996 CPPFLAGS
="$ac_save_CPPFLAGS"
9001 enable_winex11_drv
=${enable_winex11_drv:-no}
9002 enable_opengl32
=${enable_opengl32:-no}
9003 enable_glu32
=${enable_glu32:-no}
9005 if test "x$XLIB" = "x"; then :
9008 *) as_fn_error
"X ${notice_platform}development files not found. Wine will be built
9009 without X support, which probably isn't what you want. You will need to install
9010 ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9011 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9022 if test "x$with_xml" != "xno"
9024 ac_save_CPPFLAGS
="$CPPFLAGS"
9025 if test "$PKG_CONFIG" != "false"
9027 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9028 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9030 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9031 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9033 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9034 for ac_header
in libxml
/parser.h
9036 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9037 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
9038 cat >>confdefs.h
<<_ACEOF
9039 #define HAVE_LIBXML_PARSER_H 1
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9042 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9043 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9044 $as_echo_n "(cached) " >&6
9046 ac_check_lib_save_LIBS
=$LIBS
9047 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9051 /* Override any GCC internal prototype to avoid an error.
9052 Use char because int might match the return type of a GCC
9053 builtin and then its argument prototype would still apply. */
9057 char xmlParseMemory ();
9061 return xmlParseMemory ();
9066 if ac_fn_c_try_link
"$LINENO"; then :
9067 ac_cv_lib_xml2_xmlParseMemory
=yes
9069 ac_cv_lib_xml2_xmlParseMemory
=no
9071 rm -f core conftest.err conftest.
$ac_objext \
9072 conftest
$ac_exeext conftest.
$ac_ext
9073 LIBS
=$ac_check_lib_save_LIBS
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9076 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9077 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
9079 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9081 XML2LIBS
="$ac_xml_libs"
9082 XML2INCL
="$ac_xml_cflags"
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9086 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9087 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9088 $as_echo_n "(cached) " >&6
9090 ac_check_lib_save_LIBS
=$LIBS
9091 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9093 /* end confdefs.h. */
9095 /* Override any GCC internal prototype to avoid an error.
9096 Use char because int might match the return type of a GCC
9097 builtin and then its argument prototype would still apply. */
9101 char xmlReadMemory ();
9105 return xmlReadMemory ();
9110 if ac_fn_c_try_link
"$LINENO"; then :
9111 ac_cv_lib_xml2_xmlReadMemory
=yes
9113 ac_cv_lib_xml2_xmlReadMemory
=no
9115 rm -f core conftest.err conftest.
$ac_objext \
9116 conftest
$ac_exeext conftest.
$ac_ext
9117 LIBS
=$ac_check_lib_save_LIBS
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9120 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9121 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9123 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9128 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9129 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9130 $as_echo_n "(cached) " >&6
9132 ac_check_lib_save_LIBS
=$LIBS
9133 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9134 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9137 /* Override any GCC internal prototype to avoid an error.
9138 Use char because int might match the return type of a GCC
9139 builtin and then its argument prototype would still apply. */
9143 char xmlNewDocPI ();
9147 return xmlNewDocPI ();
9152 if ac_fn_c_try_link
"$LINENO"; then :
9153 ac_cv_lib_xml2_xmlNewDocPI
=yes
9155 ac_cv_lib_xml2_xmlNewDocPI
=no
9157 rm -f core conftest.err conftest.
$ac_objext \
9158 conftest
$ac_exeext conftest.
$ac_ext
9159 LIBS
=$ac_check_lib_save_LIBS
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9162 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9163 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9165 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9174 CPPFLAGS
="$ac_save_CPPFLAGS"
9176 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9177 case "x$with_xml" in
9178 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9180 *) as_fn_error
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9181 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9185 if test "x$with_xslt" != "xno"
9187 if test "$PKG_CONFIG" != "false"
9189 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9190 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9192 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9193 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9195 ac_save_CPPFLAGS
="$CPPFLAGS"
9196 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9197 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9199 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9200 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9201 # include <libxslt/pattern.h>
9204 eval as_val
=\$
$as_ac_Header
9205 if test "x$as_val" = x
""yes; then :
9206 cat >>confdefs.h
<<_ACEOF
9207 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9214 CPPFLAGS
="$ac_save_CPPFLAGS"
9215 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9218 $as_echo_n "checking for -lxslt... " >&6; }
9219 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9220 $as_echo_n "(cached) " >&6
9222 ac_check_soname_save_LIBS
=$LIBS
9223 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9225 /* end confdefs.h. */
9227 /* Override any GCC internal prototype to avoid an error.
9228 Use char because int might match the return type of a GCC
9229 builtin and then its argument prototype would still apply. */
9233 char xsltCompilePattern ();
9237 return xsltCompilePattern ();
9242 if ac_fn_c_try_link
"$LINENO"; then :
9244 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9245 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'` ;;
9246 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9249 rm -f core conftest.err conftest.
$ac_objext \
9250 conftest
$ac_exeext conftest.
$ac_ext
9251 LIBS
=$ac_check_soname_save_LIBS
9253 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9255 $as_echo "not found" >&6; }
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9259 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9261 cat >>confdefs.h
<<_ACEOF
9262 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9265 XSLTINCL
="$ac_xslt_cflags"
9269 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9270 case "x$with_xslt" in
9271 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9273 *) as_fn_error
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9274 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9280 if test "x$with_hal" != "xno"
9282 ac_save_CPPFLAGS
="$CPPFLAGS"
9283 if test "$PKG_CONFIG" != "false"
9285 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9286 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9287 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9289 for ac_header
in dbus
/dbus.h hal
/libhal.h
9291 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9292 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9293 eval as_val
=\$
$as_ac_Header
9294 if test "x$as_val" = x
""yes; then :
9295 cat >>confdefs.h
<<_ACEOF
9296 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9303 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9306 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9307 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9308 $as_echo_n "(cached) " >&6
9310 ac_check_lib_save_LIBS
=$LIBS
9311 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9312 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9313 /* end confdefs.h. */
9315 /* Override any GCC internal prototype to avoid an error.
9316 Use char because int might match the return type of a GCC
9317 builtin and then its argument prototype would still apply. */
9321 char dbus_connection_close ();
9325 return dbus_connection_close ();
9330 if ac_fn_c_try_link
"$LINENO"; then :
9331 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9333 ac_cv_lib_dbus_1_dbus_connection_close
=no
9335 rm -f core conftest.err conftest.
$ac_objext \
9336 conftest
$ac_exeext conftest.
$ac_ext
9337 LIBS
=$ac_check_lib_save_LIBS
9339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9340 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9341 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9343 $as_echo_n "checking for -lhal... " >&6; }
9344 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9345 $as_echo_n "(cached) " >&6
9347 ac_check_soname_save_LIBS
=$LIBS
9348 LIBS
="-lhal $ac_hal_libs $LIBS"
9349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9350 /* end confdefs.h. */
9352 /* Override any GCC internal prototype to avoid an error.
9353 Use char because int might match the return type of a GCC
9354 builtin and then its argument prototype would still apply. */
9358 char libhal_ctx_new ();
9362 return libhal_ctx_new ();
9367 if ac_fn_c_try_link
"$LINENO"; then :
9369 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9370 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'` ;;
9371 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9374 rm -f core conftest.err conftest.
$ac_objext \
9375 conftest
$ac_exeext conftest.
$ac_ext
9376 LIBS
=$ac_check_soname_save_LIBS
9378 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9380 $as_echo "not found" >&6; }
9383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9384 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9386 cat >>confdefs.h
<<_ACEOF
9387 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9390 HALINCL
="$ac_hal_cflags"
9395 CPPFLAGS
="$ac_save_CPPFLAGS"
9397 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9398 case "x$with_hal" in
9399 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9401 *) as_fn_error
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9402 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9406 if test "x$with_gnutls" != "xno"
9408 ac_save_CPPFLAGS
="$CPPFLAGS"
9409 if test "$PKG_CONFIG" != "false"
9411 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9412 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9413 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9415 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9416 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9417 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9418 /* end confdefs.h. */
9419 #include <gnutls/gnutls.h>
9423 typeof(gnutls_mac_get_key_size) *pfunc;
9428 if ac_fn_c_try_compile
"$LINENO"; then :
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9430 $as_echo_n "checking for -lgnutls... " >&6; }
9431 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9432 $as_echo_n "(cached) " >&6
9434 ac_check_soname_save_LIBS
=$LIBS
9435 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9445 char gnutls_global_init ();
9449 return gnutls_global_init ();
9454 if ac_fn_c_try_link
"$LINENO"; then :
9456 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9457 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'` ;;
9458 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9461 rm -f core conftest.err conftest.
$ac_objext \
9462 conftest
$ac_exeext conftest.
$ac_ext
9463 LIBS
=$ac_check_soname_save_LIBS
9465 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9467 $as_echo "not found" >&6; }
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9471 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9473 cat >>confdefs.h
<<_ACEOF
9474 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9477 GNUTLSINCL
="$ac_gnutls_cflags"
9481 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9485 CPPFLAGS
="$ac_save_CPPFLAGS"
9487 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9488 case "x$with_gnutls" in
9489 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9491 *) as_fn_error
"libgnutls ${notice_platform}development files not found, no schannel support.
9492 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9497 if test "$ac_cv_header_ncurses_h" = "yes"
9499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9500 $as_echo_n "checking for -lncurses... " >&6; }
9501 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9502 $as_echo_n "(cached) " >&6
9504 ac_check_soname_save_LIBS
=$LIBS
9505 LIBS
="-lncurses $LIBS"
9506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9507 /* end confdefs.h. */
9509 /* Override any GCC internal prototype to avoid an error.
9510 Use char because int might match the return type of a GCC
9511 builtin and then its argument prototype would still apply. */
9524 if ac_fn_c_try_link
"$LINENO"; then :
9526 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9527 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'` ;;
9528 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9531 rm -f core conftest.err conftest.
$ac_objext \
9532 conftest
$ac_exeext conftest.
$ac_ext
9533 LIBS
=$ac_check_soname_save_LIBS
9535 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9537 $as_echo "not found" >&6; }
9540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9541 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9543 cat >>confdefs.h
<<_ACEOF
9544 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9547 CURSESLIBS
="-lncurses"
9549 elif test "$ac_cv_header_curses_h" = "yes"
9551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9552 $as_echo_n "checking for -lcurses... " >&6; }
9553 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9554 $as_echo_n "(cached) " >&6
9556 ac_check_soname_save_LIBS
=$LIBS
9557 LIBS
="-lcurses $LIBS"
9558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9561 /* Override any GCC internal prototype to avoid an error.
9562 Use char because int might match the return type of a GCC
9563 builtin and then its argument prototype would still apply. */
9576 if ac_fn_c_try_link
"$LINENO"; then :
9578 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9579 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'` ;;
9580 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9583 rm -f core conftest.err conftest.
$ac_objext \
9584 conftest
$ac_exeext conftest.
$ac_ext
9585 LIBS
=$ac_check_soname_save_LIBS
9587 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9589 $as_echo "not found" >&6; }
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9593 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9595 cat >>confdefs.h
<<_ACEOF
9596 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9599 CURSESLIBS
="-lcurses"
9602 ac_save_LIBS
="$LIBS"
9603 LIBS
="$LIBS $CURSESLIBS"
9604 for ac_func
in mousemask
9606 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9607 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9608 cat >>confdefs.h
<<_ACEOF
9609 #define HAVE_MOUSEMASK 1
9615 LIBS
="$ac_save_LIBS"
9616 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9617 case "x$with_curses" in
9618 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9620 *) as_fn_error
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9621 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9625 if test "x$with_sane" != "xno"
9627 ac_save_CPPFLAGS
="$CPPFLAGS"
9628 # Extract the first word of "sane-config", so it can be a program name with args.
9629 set dummy sane-config
; ac_word
=$2
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9631 $as_echo_n "checking for $ac_word... " >&6; }
9632 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9633 $as_echo_n "(cached) " >&6
9635 if test -n "$sane_devel"; then
9636 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9638 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9642 test -z "$as_dir" && as_dir
=.
9643 for ac_exec_ext
in '' $ac_executable_extensions; do
9644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9645 ac_cv_prog_sane_devel
="sane-config"
9646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9653 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9656 sane_devel
=$ac_cv_prog_sane_devel
9657 if test -n "$sane_devel"; then
9658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9659 $as_echo "$sane_devel" >&6; }
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9662 $as_echo "no" >&6; }
9666 if test "$sane_devel" != "no"
9668 ac_sane_incl
="`$sane_devel --cflags`"
9669 ac_sane_libs
="`$sane_devel --ldflags`"
9670 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9672 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9673 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9675 $as_echo_n "checking for -lsane... " >&6; }
9676 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9677 $as_echo_n "(cached) " >&6
9679 ac_check_soname_save_LIBS
=$LIBS
9680 LIBS
="-lsane $ac_sane_libs $LIBS"
9681 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9682 /* end confdefs.h. */
9684 /* Override any GCC internal prototype to avoid an error.
9685 Use char because int might match the return type of a GCC
9686 builtin and then its argument prototype would still apply. */
9694 return sane_init ();
9699 if ac_fn_c_try_link
"$LINENO"; then :
9701 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9702 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'` ;;
9703 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9706 rm -f core conftest.err conftest.
$ac_objext \
9707 conftest
$ac_exeext conftest.
$ac_ext
9708 LIBS
=$ac_check_soname_save_LIBS
9710 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9712 $as_echo "not found" >&6; }
9715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9716 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9718 cat >>confdefs.h
<<_ACEOF
9719 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9722 SANEINCL
="$ac_sane_incl"
9728 CPPFLAGS
="$ac_save_CPPFLAGS"
9730 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9731 case "x$with_sane" in
9732 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9734 *) as_fn_error
"libsane ${notice_platform}development files not found, scanners won't be supported.
9735 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9739 if test "x$with_v4l" != "xno"
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9742 $as_echo_n "checking for -lv4l1... " >&6; }
9743 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9744 $as_echo_n "(cached) " >&6
9746 ac_check_soname_save_LIBS
=$LIBS
9748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9749 /* end confdefs.h. */
9751 /* Override any GCC internal prototype to avoid an error.
9752 Use char because int might match the return type of a GCC
9753 builtin and then its argument prototype would still apply. */
9761 return v4l1_open ();
9766 if ac_fn_c_try_link
"$LINENO"; then :
9768 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9769 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'` ;;
9770 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9773 rm -f core conftest.err conftest.
$ac_objext \
9774 conftest
$ac_exeext conftest.
$ac_ext
9775 LIBS
=$ac_check_soname_save_LIBS
9777 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9779 $as_echo "not found" >&6; }
9782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9783 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9785 cat >>confdefs.h
<<_ACEOF
9786 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9792 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9793 case "x$with_v4l" in
9794 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9796 *) as_fn_error
"libv4l ${notice_platform}development files not found.
9797 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9801 if test "x$with_gphoto" != "xno"
9803 ac_save_CPPFLAGS
="$CPPFLAGS"
9804 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9805 set dummy gphoto2-config
; ac_word
=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9807 $as_echo_n "checking for $ac_word... " >&6; }
9808 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9809 $as_echo_n "(cached) " >&6
9811 if test -n "$gphoto2_devel"; then
9812 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9814 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir
=.
9819 for ac_exec_ext
in '' $ac_executable_extensions; do
9820 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9821 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9829 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
9832 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
9833 if test -n "$gphoto2_devel"; then
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9835 $as_echo "$gphoto2_devel" >&6; }
9837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9838 $as_echo "no" >&6; }
9842 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9843 set dummy gphoto2-port-config
; ac_word
=$2
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9845 $as_echo_n "checking for $ac_word... " >&6; }
9846 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
9847 $as_echo_n "(cached) " >&6
9849 if test -n "$gphoto2port_devel"; then
9850 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
9852 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9856 test -z "$as_dir" && as_dir
=.
9857 for ac_exec_ext
in '' $ac_executable_extensions; do
9858 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9859 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
9860 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9867 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
9870 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
9871 if test -n "$gphoto2port_devel"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9873 $as_echo "$gphoto2port_devel" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 $as_echo "no" >&6; }
9880 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9882 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9884 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9887 -L/usr
/lib|
-L/usr
/lib64
) ;;
9888 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
9891 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
9893 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
9894 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9895 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9897 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9898 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
9899 $as_echo_n "(cached) " >&6
9901 ac_check_lib_save_LIBS
=$LIBS
9902 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
9903 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9906 /* Override any GCC internal prototype to avoid an error.
9907 Use char because int might match the return type of a GCC
9908 builtin and then its argument prototype would still apply. */
9912 char gp_camera_new ();
9916 return gp_camera_new ();
9921 if ac_fn_c_try_link
"$LINENO"; then :
9922 ac_cv_lib_gphoto2_gp_camera_new
=yes
9924 ac_cv_lib_gphoto2_gp_camera_new
=no
9926 rm -f core conftest.err conftest.
$ac_objext \
9927 conftest
$ac_exeext conftest.
$ac_ext
9928 LIBS
=$ac_check_lib_save_LIBS
9930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
9931 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
9932 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
9934 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
9936 GPHOTO2LIBS
="$ac_gphoto2_libs"
9938 GPHOTO2INCL
="$ac_gphoto2_incl"
9945 CPPFLAGS
="$ac_save_CPPFLAGS"
9947 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
9948 case "x$with_gphoto" in
9949 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
9951 *) as_fn_error
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9952 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
9959 if test "$ac_cv_header_resolv_h" = "yes"
9961 ac_save_LIBS
="$LIBS"
9962 LIBS
="$LIBS -lresolv"
9963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9964 /* end confdefs.h. */
9965 #ifdef HAVE_NETINET_IN_H
9966 #include <netinet/in.h>
9977 if ac_fn_c_try_link
"$LINENO"; then :
9979 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
9981 RESOLVLIBS
="-lresolv"
9983 rm -f core conftest.err conftest.
$ac_objext \
9984 conftest
$ac_exeext conftest.
$ac_ext
9985 LIBS
="$ac_save_LIBS"
9990 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
9993 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
9994 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
9995 $as_echo_n "(cached) " >&6
9997 ac_check_lib_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. */
10008 char cmsOpenProfileFromFile ();
10012 return cmsOpenProfileFromFile ();
10017 if ac_fn_c_try_link
"$LINENO"; then :
10018 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10020 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10022 rm -f core conftest.err conftest.
$ac_objext \
10023 conftest
$ac_exeext conftest.
$ac_ext
10024 LIBS
=$ac_check_lib_save_LIBS
10026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10027 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10028 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
10030 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10036 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10037 case "x$with_cms" in
10038 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10040 *) as_fn_error
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10041 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10045 if test "x$with_freetype" != "xno"
10047 for ac_prog
in freetype-config freetype2-config
10049 # Extract the first word of "$ac_prog", so it can be a program name with args.
10050 set dummy
$ac_prog; ac_word
=$2
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10052 $as_echo_n "checking for $ac_word... " >&6; }
10053 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10054 $as_echo_n "(cached) " >&6
10056 if test -n "$ft_devel"; then
10057 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10059 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10060 for as_dir
in $PATH
10063 test -z "$as_dir" && as_dir
=.
10064 for ac_exec_ext
in '' $ac_executable_extensions; do
10065 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10066 ac_cv_prog_ft_devel
="$ac_prog"
10067 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10076 ft_devel
=$ac_cv_prog_ft_devel
10077 if test -n "$ft_devel"; then
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10079 $as_echo "$ft_devel" >&6; }
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10082 $as_echo "no" >&6; }
10086 test -n "$ft_devel" && break
10088 test -n "$ft_devel" || ft_devel
="no"
10090 if test "$ft_devel" != "no"
10092 ac_freetype_incl
=`$ft_devel --cflags`
10093 ac_freetype_libs
=`$ft_devel --libs`
10095 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10097 $as_echo_n "checking for -lfreetype... " >&6; }
10098 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10099 $as_echo_n "(cached) " >&6
10101 ac_check_soname_save_LIBS
=$LIBS
10102 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10103 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10104 /* end confdefs.h. */
10106 /* Override any GCC internal prototype to avoid an error.
10107 Use char because int might match the return type of a GCC
10108 builtin and then its argument prototype would still apply. */
10112 char FT_Init_FreeType ();
10116 return FT_Init_FreeType ();
10121 if ac_fn_c_try_link
"$LINENO"; then :
10123 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10124 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'` ;;
10125 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10128 rm -f core conftest.err conftest.
$ac_objext \
10129 conftest
$ac_exeext conftest.
$ac_ext
10130 LIBS
=$ac_check_soname_save_LIBS
10132 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10134 $as_echo "not found" >&6; }
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10138 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10140 cat >>confdefs.h
<<_ACEOF
10141 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10146 if test "$ft_lib" = "yes"
10148 ac_save_CPPFLAGS
="$CPPFLAGS"
10149 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10150 for ac_header
in ft2build.h \
10151 freetype
/freetype.h \
10152 freetype
/ftglyph.h \
10153 freetype
/fttypes.h \
10154 freetype
/tttables.h \
10155 freetype
/ftsnames.h \
10156 freetype
/ttnameid.h \
10157 freetype
/ftoutln.h \
10158 freetype
/ftwinfnt.h \
10159 freetype
/ftmodapi.h \
10160 freetype
/ftlcdfil.h \
10161 freetype
/internal
/sfnt.h
10163 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10164 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10165 # include <ft2build.h>
10168 eval as_val
=\$
$as_ac_Header
10169 if test "x$as_val" = x
""yes; then :
10170 cat >>confdefs.h
<<_ACEOF
10171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 #include <ft2build.h>
10181 #include <freetype/fttrigon.h>
10183 if ac_fn_c_try_cpp
"$LINENO"; then :
10185 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10187 wine_cv_fttrigon
=yes
10189 wine_cv_fttrigon
=no
10191 rm -f conftest.err conftest.
$ac_ext
10192 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10194 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10196 cat >>confdefs.h
<<_ACEOF
10197 #define HAVE_FT_TRUETYPEENGINETYPE 1
10203 ac_save_CFLAGS
="$CFLAGS"
10204 CFLAGS
="$CFLAGS $ac_freetype_libs"
10205 for ac_func
in FT_Load_Sfnt_Table
10207 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10208 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10209 cat >>confdefs.h
<<_ACEOF
10210 #define HAVE_FT_LOAD_SFNT_TABLE 1
10216 CFLAGS
="$ac_save_CFLAGS"
10217 CPPFLAGS
="$ac_save_CPPFLAGS"
10218 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10221 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10223 FREETYPELIBS
="$ac_freetype_libs"
10225 FREETYPEINCL
="$ac_freetype_incl"
10230 if test "x$FREETYPELIBS" = "x"; then :
10231 case "x$with_freetype" in
10233 *) as_fn_error
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10234 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10237 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10240 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10241 if test "${ac_cv_c_ppdev+set}" = set; then :
10242 $as_echo_n "(cached) " >&6
10244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10245 /* end confdefs.h. */
10246 #ifdef HAVE_SYS_IOCTL_H
10247 # include <sys/ioctl.h>
10249 #include <linux/ppdev.h>
10253 ioctl (1,PPCLAIM,0)
10258 if ac_fn_c_try_compile
"$LINENO"; then :
10259 ac_cv_c_ppdev
="yes"
10263 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10266 $as_echo "$ac_cv_c_ppdev" >&6; }
10267 if test "$ac_cv_c_ppdev" = "yes"
10270 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10274 ac_wine_check_funcs_save_LIBS
="$LIBS"
10275 LIBS
="$LIBS $LIBPTHREAD"
10277 pthread_attr_get_np \
10278 pthread_getattr_np \
10279 pthread_get_stackaddr_np \
10280 pthread_get_stacksize_np
10282 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10283 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10284 eval as_val
=\$
$as_ac_var
10285 if test "x$as_val" = x
""yes; then :
10286 cat >>confdefs.h
<<_ACEOF
10287 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10293 LIBS
="$ac_wine_check_funcs_save_LIBS"
10295 if test "$ac_cv_header_zlib_h" = "yes"
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10298 $as_echo_n "checking for inflate in -lz... " >&6; }
10299 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10300 $as_echo_n "(cached) " >&6
10302 ac_check_lib_save_LIBS
=$LIBS
10304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10307 /* Override any GCC internal prototype to avoid an error.
10308 Use char because int might match the return type of a GCC
10309 builtin and then its argument prototype would still apply. */
10322 if ac_fn_c_try_link
"$LINENO"; then :
10323 ac_cv_lib_z_inflate
=yes
10325 ac_cv_lib_z_inflate
=no
10327 rm -f core conftest.err conftest.
$ac_objext \
10328 conftest
$ac_exeext conftest.
$ac_ext
10329 LIBS
=$ac_check_lib_save_LIBS
10331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10332 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10333 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10335 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10343 if test "x$with_esd" != xno
10345 save_CFLAGS
="$CFLAGS"
10346 # Extract the first word of "esd-config", so it can be a program name with args.
10347 set dummy esd-config
; ac_word
=$2
10348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10349 $as_echo_n "checking for $ac_word... " >&6; }
10350 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10351 $as_echo_n "(cached) " >&6
10355 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10358 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10359 for as_dir
in $PATH
10362 test -z "$as_dir" && as_dir
=.
10363 for ac_exec_ext
in '' $ac_executable_extensions; do
10364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10365 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10373 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10377 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10378 if test -n "$ESDCONFIG"; then
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10380 $as_echo "$ESDCONFIG" >&6; }
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10383 $as_echo "no" >&6; }
10387 if test "x$ESDCONFIG" != "xno"
10390 for i
in `$ESDCONFIG --cflags`
10393 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10396 ac_esd_libs
=`$ESDCONFIG --libs`
10397 CFLAGS
="$CFLAGS $ac_esd_incl"
10399 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10400 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10401 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10403 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10404 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10405 $as_echo_n "(cached) " >&6
10407 ac_check_lib_save_LIBS
=$LIBS
10408 LIBS
="-lesd $ac_esd_libs $LIBS"
10409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10410 /* end confdefs.h. */
10412 /* Override any GCC internal prototype to avoid an error.
10413 Use char because int might match the return type of a GCC
10414 builtin and then its argument prototype would still apply. */
10418 char esd_open_sound ();
10422 return esd_open_sound ();
10427 if ac_fn_c_try_link
"$LINENO"; then :
10428 ac_cv_lib_esd_esd_open_sound
=yes
10430 ac_cv_lib_esd_esd_open_sound
=no
10432 rm -f core conftest.err conftest.
$ac_objext \
10433 conftest
$ac_exeext conftest.
$ac_ext
10434 LIBS
=$ac_check_lib_save_LIBS
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10437 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10438 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10439 ESDINCL
="$ac_esd_incl"
10441 ESDLIBS
="$ac_esd_libs"
10444 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10451 CFLAGS
="$save_CFLAGS"
10458 if test "x$with_pulse" != "xno";
10460 ac_save_CPPFLAGS
="$CPPFLAGS"
10461 if test "$PKG_CONFIG" != "false";
10463 ac_pulse_libs
="`$PKG_CONFIG --libs libpulse 2>/dev/null`"
10464 ac_pulse_cflags
="`$PKG_CONFIG --cflags libpulse 2>/dev/null`"
10466 CPPFLAGS
="$CPPFLAGS $ac_pulse_cflags"
10467 for ac_header
in pulse
/pulseaudio.h
10469 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
10470 if test "x$ac_cv_header_pulse_pulseaudio_h" = x
""yes; then :
10471 cat >>confdefs.h
<<_ACEOF
10472 #define HAVE_PULSE_PULSEAUDIO_H 1
10474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
10475 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
10476 if test "${ac_cv_lib_pulse_pa_stream_is_corked+set}" = set; then :
10477 $as_echo_n "(cached) " >&6
10479 ac_check_lib_save_LIBS
=$LIBS
10480 LIBS
="-lpulse $ac_pulse_libs $LIBS"
10481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10484 /* Override any GCC internal prototype to avoid an error.
10485 Use char because int might match the return type of a GCC
10486 builtin and then its argument prototype would still apply. */
10490 char pa_stream_is_corked ();
10494 return pa_stream_is_corked ();
10499 if ac_fn_c_try_link
"$LINENO"; then :
10500 ac_cv_lib_pulse_pa_stream_is_corked
=yes
10502 ac_cv_lib_pulse_pa_stream_is_corked
=no
10504 rm -f core conftest.err conftest.
$ac_objext \
10505 conftest
$ac_exeext conftest.
$ac_ext
10506 LIBS
=$ac_check_lib_save_LIBS
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
10509 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
10510 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = x
""yes; then :
10512 $as_echo "#define HAVE_PULSEAUDIO 1" >>confdefs.h
10514 PULSELIBS
="$ac_pulse_libs"
10515 PULSECFLAGS
="$ac_pulse_cflags"
10524 CPPFLAGS
="$ac_save_CPPFLAGS"
10526 if test "$ac_cv_lib_pulse_pa_stream_is_corked" != "yes"; then :
10527 case "x$with_pulse" in
10528 x
) as_fn_append wine_warnings
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
10530 *) as_fn_error
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
10531 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
10537 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10540 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10541 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10542 $as_echo_n "(cached) " >&6
10544 ac_check_lib_save_LIBS
=$LIBS
10545 LIBS
="-lasound $LIBS"
10546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10547 /* end confdefs.h. */
10549 /* Override any GCC internal prototype to avoid an error.
10550 Use char because int might match the return type of a GCC
10551 builtin and then its argument prototype would still apply. */
10555 char snd_pcm_hw_params_get_access ();
10559 return snd_pcm_hw_params_get_access ();
10564 if ac_fn_c_try_link
"$LINENO"; then :
10565 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10567 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10569 rm -f core conftest.err conftest.
$ac_objext \
10570 conftest
$ac_exeext conftest.
$ac_ext
10571 LIBS
=$ac_check_lib_save_LIBS
10573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10574 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10575 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x
""yes; then :
10576 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10577 /* end confdefs.h. */
10578 #ifdef HAVE_ALSA_ASOUNDLIB_H
10579 #include <alsa/asoundlib.h>
10580 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10581 #include <sys/asoundlib.h>
10586 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10591 if ac_fn_c_try_compile
"$LINENO"; then :
10593 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10595 ALSALIBS
="-lasound"
10597 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10604 if test "$ac_cv_header_libaudioio_h" = "yes"
10606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10607 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10608 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10609 $as_echo_n "(cached) " >&6
10611 ac_check_lib_save_LIBS
=$LIBS
10612 LIBS
="-laudioio $LIBS"
10613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10614 /* end confdefs.h. */
10616 /* Override any GCC internal prototype to avoid an error.
10617 Use char because int might match the return type of a GCC
10618 builtin and then its argument prototype would still apply. */
10622 char AudioIOGetVersion ();
10626 return AudioIOGetVersion ();
10631 if ac_fn_c_try_link
"$LINENO"; then :
10632 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10634 ac_cv_lib_audioio_AudioIOGetVersion
=no
10636 rm -f core conftest.err conftest.
$ac_objext \
10637 conftest
$ac_exeext conftest.
$ac_ext
10638 LIBS
=$ac_check_lib_save_LIBS
10640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10641 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10642 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x
""yes; then :
10643 AUDIOIOLIBS
="-laudioio"
10645 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10652 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10655 $as_echo_n "checking for -lcapi20... " >&6; }
10656 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10657 $as_echo_n "(cached) " >&6
10659 ac_check_soname_save_LIBS
=$LIBS
10660 LIBS
="-lcapi20 $LIBS"
10661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10662 /* end confdefs.h. */
10664 /* Override any GCC internal prototype to avoid an error.
10665 Use char because int might match the return type of a GCC
10666 builtin and then its argument prototype would still apply. */
10670 char capi20_register ();
10674 return capi20_register ();
10679 if ac_fn_c_try_link
"$LINENO"; then :
10681 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10682 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'` ;;
10683 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10686 rm -f core conftest.err conftest.
$ac_objext \
10687 conftest
$ac_exeext conftest.
$ac_ext
10688 LIBS
=$ac_check_soname_save_LIBS
10690 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10692 $as_echo "not found" >&6; }
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10696 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10698 cat >>confdefs.h
<<_ACEOF
10699 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10705 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10706 case "x$with_capi" in
10707 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10709 *) as_fn_error
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10710 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10716 if test "x$with_cups" != "xno"
10718 ac_save_CPPFLAGS
="$CPPFLAGS"
10719 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10720 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10721 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10722 for ac_header
in cups
/cups.h
10724 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10725 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
10726 cat >>confdefs.h
<<_ACEOF
10727 #define HAVE_CUPS_CUPS_H 1
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10730 $as_echo_n "checking for -lcups... " >&6; }
10731 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10732 $as_echo_n "(cached) " >&6
10734 ac_check_soname_save_LIBS
=$LIBS
10735 LIBS
="-lcups $ac_cups_libs $LIBS"
10736 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10737 /* end confdefs.h. */
10739 /* Override any GCC internal prototype to avoid an error.
10740 Use char because int might match the return type of a GCC
10741 builtin and then its argument prototype would still apply. */
10745 char cupsGetDefault ();
10749 return cupsGetDefault ();
10754 if ac_fn_c_try_link
"$LINENO"; then :
10756 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10757 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'` ;;
10758 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10761 rm -f core conftest.err conftest.
$ac_objext \
10762 conftest
$ac_exeext conftest.
$ac_ext
10763 LIBS
=$ac_check_soname_save_LIBS
10765 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10767 $as_echo "not found" >&6; }
10770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10771 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10773 cat >>confdefs.h
<<_ACEOF
10774 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10777 CUPSINCL
="$ac_cups_cflags"
10783 CPPFLAGS
="$ac_save_CPPFLAGS"
10785 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10786 case "x$with_cups" in
10787 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10789 *) as_fn_error
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10790 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10794 if test "$ac_cv_header_jack_jack_h" = "yes"
10796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
10797 $as_echo_n "checking for -ljack... " >&6; }
10798 if test "${ac_cv_lib_soname_jack+set}" = set; then :
10799 $as_echo_n "(cached) " >&6
10801 ac_check_soname_save_LIBS
=$LIBS
10802 LIBS
="-ljack $LIBS"
10803 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10804 /* end confdefs.h. */
10806 /* Override any GCC internal prototype to avoid an error.
10807 Use char because int might match the return type of a GCC
10808 builtin and then its argument prototype would still apply. */
10812 char jack_client_new ();
10816 return jack_client_new ();
10821 if ac_fn_c_try_link
"$LINENO"; then :
10823 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10824 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'` ;;
10825 *) 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'` ;;
10828 rm -f core conftest.err conftest.
$ac_objext \
10829 conftest
$ac_exeext conftest.
$ac_ext
10830 LIBS
=$ac_check_soname_save_LIBS
10832 if test "x$ac_cv_lib_soname_jack" = "x"; then :
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10834 $as_echo "not found" >&6; }
10837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
10838 $as_echo "$ac_cv_lib_soname_jack" >&6; }
10840 cat >>confdefs.h
<<_ACEOF
10841 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10848 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10851 $as_echo_n "checking for -lfontconfig... " >&6; }
10852 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10853 $as_echo_n "(cached) " >&6
10855 ac_check_soname_save_LIBS
=$LIBS
10856 LIBS
="-lfontconfig $LIBS"
10857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10858 /* end confdefs.h. */
10860 /* Override any GCC internal prototype to avoid an error.
10861 Use char because int might match the return type of a GCC
10862 builtin and then its argument prototype would still apply. */
10875 if ac_fn_c_try_link
"$LINENO"; then :
10877 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10878 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'` ;;
10879 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10882 rm -f core conftest.err conftest.
$ac_objext \
10883 conftest
$ac_exeext conftest.
$ac_ext
10884 LIBS
=$ac_check_soname_save_LIBS
10886 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10888 $as_echo "not found" >&6; }
10891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10892 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10894 cat >>confdefs.h
<<_ACEOF
10895 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10900 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10902 ac_save_CPPFLAGS
="$CPPFLAGS"
10903 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10904 $as_unset ac_cv_header_fontconfig_fontconfig_h
10905 for ac_header
in fontconfig
/fontconfig.h
10907 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10908 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
10909 cat >>confdefs.h
<<_ACEOF
10910 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10917 CPPFLAGS
="$ac_save_CPPFLAGS"
10918 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10920 FONTCONFIGINCL
="$X_CFLAGS"
10922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10923 $as_echo_n "checking for -lfontconfig... " >&6; }
10924 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10925 $as_echo_n "(cached) " >&6
10927 ac_check_soname_save_LIBS
=$LIBS
10928 LIBS
="-lfontconfig $X_LIBS $LIBS"
10929 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10930 /* end confdefs.h. */
10932 /* Override any GCC internal prototype to avoid an error.
10933 Use char because int might match the return type of a GCC
10934 builtin and then its argument prototype would still apply. */
10947 if ac_fn_c_try_link
"$LINENO"; then :
10949 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10950 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'` ;;
10951 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10954 rm -f core conftest.err conftest.
$ac_objext \
10955 conftest
$ac_exeext conftest.
$ac_ext
10956 LIBS
=$ac_check_soname_save_LIBS
10958 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10960 $as_echo "not found" >&6; }
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10964 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10966 cat >>confdefs.h
<<_ACEOF
10967 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10974 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10975 case "x$with_fontconfig" in
10976 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10978 *) as_fn_error
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10979 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
10983 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
10986 $as_echo_n "checking for -lssl... " >&6; }
10987 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
10988 $as_echo_n "(cached) " >&6
10990 ac_check_soname_save_LIBS
=$LIBS
10992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10993 /* end confdefs.h. */
10995 /* Override any GCC internal prototype to avoid an error.
10996 Use char because int might match the return type of a GCC
10997 builtin and then its argument prototype would still apply. */
11001 char SSL_library_init ();
11005 return SSL_library_init ();
11010 if ac_fn_c_try_link
"$LINENO"; then :
11012 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11013 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'` ;;
11014 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11017 rm -f core conftest.err conftest.
$ac_objext \
11018 conftest
$ac_exeext conftest.
$ac_ext
11019 LIBS
=$ac_check_soname_save_LIBS
11021 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11023 $as_echo "not found" >&6; }
11026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11027 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11029 cat >>confdefs.h
<<_ACEOF
11030 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11036 $as_echo_n "checking for -lcrypto... " >&6; }
11037 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11038 $as_echo_n "(cached) " >&6
11040 ac_check_soname_save_LIBS
=$LIBS
11041 LIBS
="-lcrypto $LIBS"
11042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11043 /* end confdefs.h. */
11045 /* Override any GCC internal prototype to avoid an error.
11046 Use char because int might match the return type of a GCC
11047 builtin and then its argument prototype would still apply. */
11051 char BIO_new_socket ();
11055 return BIO_new_socket ();
11060 if ac_fn_c_try_link
"$LINENO"; then :
11062 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11063 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'` ;;
11064 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11067 rm -f core conftest.err conftest.
$ac_objext \
11068 conftest
$ac_exeext conftest.
$ac_ext
11069 LIBS
=$ac_check_soname_save_LIBS
11071 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11073 $as_echo "not found" >&6; }
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11077 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11079 cat >>confdefs.h
<<_ACEOF
11080 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11086 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11087 case "x$with_openssl" in
11088 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11090 *) as_fn_error
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11091 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11095 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11098 $as_echo_n "checking for -lgsm... " >&6; }
11099 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11100 $as_echo_n "(cached) " >&6
11102 ac_check_soname_save_LIBS
=$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 gsm_create ();
11117 return gsm_create ();
11122 if ac_fn_c_try_link
"$LINENO"; then :
11124 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11125 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'` ;;
11126 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$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_gsm" = "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_gsm" >&5
11139 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11141 cat >>confdefs.h
<<_ACEOF
11142 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11148 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11149 case "x$with_gsm" in
11150 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11152 *) as_fn_error
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11153 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11157 if test "$ac_cv_header_jpeglib_h" = "yes"
11159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11160 $as_echo_n "checking for -ljpeg... " >&6; }
11161 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11162 $as_echo_n "(cached) " >&6
11164 ac_check_soname_save_LIBS
=$LIBS
11165 LIBS
="-ljpeg $LIBS"
11166 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11167 /* end confdefs.h. */
11169 /* Override any GCC internal prototype to avoid an error.
11170 Use char because int might match the return type of a GCC
11171 builtin and then its argument prototype would still apply. */
11175 char jpeg_start_decompress ();
11179 return jpeg_start_decompress ();
11184 if ac_fn_c_try_link
"$LINENO"; then :
11186 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11187 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'` ;;
11188 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11191 rm -f core conftest.err conftest.
$ac_objext \
11192 conftest
$ac_exeext conftest.
$ac_ext
11193 LIBS
=$ac_check_soname_save_LIBS
11195 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11197 $as_echo "not found" >&6; }
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11201 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11203 cat >>confdefs.h
<<_ACEOF
11204 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11210 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11211 case "x$with_jpeg" in
11212 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11214 *) as_fn_error
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11215 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11219 if test "$ac_cv_header_png_h" = "yes"
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11222 $as_echo_n "checking for -lpng... " >&6; }
11223 if test "${ac_cv_lib_soname_png+set}" = set; then :
11224 $as_echo_n "(cached) " >&6
11226 ac_check_soname_save_LIBS
=$LIBS
11227 LIBS
="-lpng -lm -lz $LIBS"
11228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11229 /* end confdefs.h. */
11231 /* Override any GCC internal prototype to avoid an error.
11232 Use char because int might match the return type of a GCC
11233 builtin and then its argument prototype would still apply. */
11237 char png_create_read_struct ();
11241 return png_create_read_struct ();
11246 if ac_fn_c_try_link
"$LINENO"; then :
11248 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11249 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'` ;;
11250 *) 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'` ;;
11253 rm -f core conftest.err conftest.
$ac_objext \
11254 conftest
$ac_exeext conftest.
$ac_ext
11255 LIBS
=$ac_check_soname_save_LIBS
11257 if test "x$ac_cv_lib_soname_png" = "x"; then :
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11259 $as_echo "not found" >&6; }
11262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11263 $as_echo "$ac_cv_lib_soname_png" >&6; }
11265 cat >>confdefs.h
<<_ACEOF
11266 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11272 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11273 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11274 $as_echo_n "(cached) " >&6
11276 ac_check_lib_save_LIBS
=$LIBS
11277 LIBS
="-lpng -lm -lz $LIBS"
11278 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11279 /* end confdefs.h. */
11281 /* Override any GCC internal prototype to avoid an error.
11282 Use char because int might match the return type of a GCC
11283 builtin and then its argument prototype would still apply. */
11287 char png_set_expand_gray_1_2_4_to_8 ();
11291 return png_set_expand_gray_1_2_4_to_8 ();
11296 if ac_fn_c_try_link
"$LINENO"; then :
11297 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11299 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11301 rm -f core conftest.err conftest.
$ac_objext \
11302 conftest
$ac_exeext conftest.
$ac_ext
11303 LIBS
=$ac_check_lib_save_LIBS
11305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11306 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11307 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11309 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11314 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11316 ac_save_CPPFLAGS
="$CPPFLAGS"
11317 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11318 $as_unset ac_cv_header_png_h
11319 for ac_header
in png.h
11321 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11322 if test "x$ac_cv_header_png_h" = x
""yes; then :
11323 cat >>confdefs.h
<<_ACEOF
11324 #define HAVE_PNG_H 1
11331 CPPFLAGS
="$ac_save_CPPFLAGS"
11332 if test "$ac_cv_header_png_h" = "yes"
11334 PNGINCL
="$X_CFLAGS"
11336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11337 $as_echo_n "checking for -lpng... " >&6; }
11338 if test "${ac_cv_lib_soname_png+set}" = set; then :
11339 $as_echo_n "(cached) " >&6
11341 ac_check_soname_save_LIBS
=$LIBS
11342 LIBS
="-lpng $X_LIBS -lm -lz $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 png_create_read_struct ();
11356 return png_create_read_struct ();
11361 if ac_fn_c_try_link
"$LINENO"; then :
11363 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11364 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'` ;;
11365 *) 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'` ;;
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_png" = "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_png" >&5
11378 $as_echo "$ac_cv_lib_soname_png" >&6; }
11380 cat >>confdefs.h
<<_ACEOF
11381 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11387 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11388 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11389 $as_echo_n "(cached) " >&6
11391 ac_check_lib_save_LIBS
=$LIBS
11392 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11394 /* end confdefs.h. */
11396 /* Override any GCC internal prototype to avoid an error.
11397 Use char because int might match the return type of a GCC
11398 builtin and then its argument prototype would still apply. */
11402 char png_set_expand_gray_1_2_4_to_8 ();
11406 return png_set_expand_gray_1_2_4_to_8 ();
11411 if ac_fn_c_try_link
"$LINENO"; then :
11412 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11414 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11416 rm -f core conftest.err conftest.
$ac_objext \
11417 conftest
$ac_exeext conftest.
$ac_ext
11418 LIBS
=$ac_check_lib_save_LIBS
11420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11421 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11422 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11423 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11429 if test "x$ac_cv_lib_soname_png" = "x"; then :
11430 case "x$with_png" in
11431 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11433 *) as_fn_error
"libpng ${notice_platform}development files not found, PNG won't be supported.
11434 This is an error since --with-png was requested." "$LINENO" 5 ;;
11438 if test "$ac_cv_header_tiffio_h" = "yes"
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11441 $as_echo_n "checking for -ltiff... " >&6; }
11442 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11445 ac_check_soname_save_LIBS
=$LIBS
11446 LIBS
="-ltiff $LIBS"
11447 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11448 /* end confdefs.h. */
11450 /* Override any GCC internal prototype to avoid an error.
11451 Use char because int might match the return type of a GCC
11452 builtin and then its argument prototype would still apply. */
11456 char TIFFClientOpen ();
11460 return TIFFClientOpen ();
11465 if ac_fn_c_try_link
"$LINENO"; then :
11467 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11468 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'` ;;
11469 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11472 rm -f core conftest.err conftest.
$ac_objext \
11473 conftest
$ac_exeext conftest.
$ac_ext
11474 LIBS
=$ac_check_soname_save_LIBS
11476 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11478 $as_echo "not found" >&6; }
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11482 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11484 cat >>confdefs.h
<<_ACEOF
11485 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11491 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11492 case "x$with_tiff" in
11493 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11495 *) as_fn_error
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11496 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11500 if test "$ac_cv_header_mpg123_h" = "yes"
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11503 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11504 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11505 $as_echo_n "(cached) " >&6
11507 ac_check_lib_save_LIBS
=$LIBS
11508 LIBS
="-lmpg123 $LIBS"
11509 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11510 /* end confdefs.h. */
11512 /* Override any GCC internal prototype to avoid an error.
11513 Use char because int might match the return type of a GCC
11514 builtin and then its argument prototype would still apply. */
11518 char mpg123_feed ();
11522 return mpg123_feed ();
11527 if ac_fn_c_try_link
"$LINENO"; then :
11528 ac_cv_lib_mpg123_mpg123_feed
=yes
11530 ac_cv_lib_mpg123_mpg123_feed
=no
11532 rm -f core conftest.err conftest.
$ac_objext \
11533 conftest
$ac_exeext conftest.
$ac_ext
11534 LIBS
=$ac_check_lib_save_LIBS
11536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11537 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11538 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11539 LIBMPG123
="-lmpg123"
11544 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11545 case "x$with_mpg123" in
11546 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11548 *) as_fn_error
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11549 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11552 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}
11554 if test "$ac_cv_header_AL_al_h" = "yes"
11556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11557 $as_echo_n "checking for -lopenal... " >&6; }
11558 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11559 $as_echo_n "(cached) " >&6
11561 ac_check_soname_save_LIBS
=$LIBS
11562 LIBS
="-lopenal $LIBS"
11563 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11564 /* end confdefs.h. */
11566 /* Override any GCC internal prototype to avoid an error.
11567 Use char because int might match the return type of a GCC
11568 builtin and then its argument prototype would still apply. */
11572 char alGetSource3i ();
11576 return alGetSource3i ();
11581 if ac_fn_c_try_link
"$LINENO"; then :
11583 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11584 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'` ;;
11585 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11588 rm -f core conftest.err conftest.
$ac_objext \
11589 conftest
$ac_exeext conftest.
$ac_ext
11590 LIBS
=$ac_check_soname_save_LIBS
11592 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11594 $as_echo "not found" >&6; }
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11598 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11600 cat >>confdefs.h
<<_ACEOF
11601 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11604 LIBOPENAL
="-lopenal"
11606 ac_cv_lib_openal
=yes
11608 cat >>confdefs.h
<<_ACEOF
11609 #define HAVE_OPENAL 1
11614 if test "x$ac_cv_lib_openal" != xyes
; then :
11615 case "x$with_openal" in
11616 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11618 *) as_fn_error
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11619 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11622 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11624 if test "$ac_cv_header_kstat_h" = "yes"
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11627 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11628 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11629 $as_echo_n "(cached) " >&6
11631 ac_check_lib_save_LIBS
=$LIBS
11632 LIBS
="-lkstat $LIBS"
11633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11642 char kstat_open ();
11646 return kstat_open ();
11651 if ac_fn_c_try_link
"$LINENO"; then :
11652 ac_cv_lib_kstat_kstat_open
=yes
11654 ac_cv_lib_kstat_kstat_open
=no
11656 rm -f core conftest.err conftest.
$ac_objext \
11657 conftest
$ac_exeext conftest.
$ac_ext
11658 LIBS
=$ac_check_lib_save_LIBS
11660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11661 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11662 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11664 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11673 $as_echo_n "checking for -lodbc... " >&6; }
11674 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11675 $as_echo_n "(cached) " >&6
11677 ac_check_soname_save_LIBS
=$LIBS
11678 LIBS
="-lodbc $LIBS"
11679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11680 /* end confdefs.h. */
11682 /* Override any GCC internal prototype to avoid an error.
11683 Use char because int might match the return type of a GCC
11684 builtin and then its argument prototype would still apply. */
11688 char SQLConnect ();
11692 return SQLConnect ();
11697 if ac_fn_c_try_link
"$LINENO"; then :
11699 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11700 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'` ;;
11701 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11704 rm -f core conftest.err conftest.
$ac_objext \
11705 conftest
$ac_exeext conftest.
$ac_ext
11706 LIBS
=$ac_check_soname_save_LIBS
11708 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11710 $as_echo "not found" >&6; }
11711 cat >>confdefs.h
<<_ACEOF
11712 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11717 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11719 cat >>confdefs.h
<<_ACEOF
11720 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11726 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$PULSELIBS$ac_cv_lib_soname_jack" = "x" -a \
11727 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11728 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11729 "$ac_cv_header_soundcard_h" != "yes" -a \
11730 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11732 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11738 if test "x${GCC}" = "xyes"
11740 EXTRACFLAGS
="-Wall -pipe"
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11743 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11744 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
11745 $as_echo_n "(cached) " >&6
11747 if test "$cross_compiling" = yes; then :
11748 ac_cv_c_gcc_strength_bug
="yes"
11750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11751 /* end confdefs.h. */
11752 int L[4] = {0,1,2,3};
11756 static int Array[3];
11757 unsigned int B = 3;
11759 for(i=0; i<B; i++) Array[i] = i - 3;
11760 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11762 return (Array[1] != -2 || L[2] != 3)
11767 if ac_fn_c_try_run
"$LINENO"; then :
11768 ac_cv_c_gcc_strength_bug
="no"
11770 ac_cv_c_gcc_strength_bug
="yes"
11772 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11773 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11778 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11779 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11781 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11785 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11786 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
11787 $as_echo_n "(cached) " >&6
11789 ac_wine_try_cflags_saved
=$CFLAGS
11790 CFLAGS
="$CFLAGS -fno-builtin"
11791 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11792 /* end confdefs.h. */
11793 int main(int argc, char **argv) { return 0; }
11795 if ac_fn_c_try_link
"$LINENO"; then :
11796 ac_cv_cflags__fno_builtin
=yes
11798 ac_cv_cflags__fno_builtin
=no
11800 rm -f core conftest.err conftest.
$ac_objext \
11801 conftest
$ac_exeext conftest.
$ac_ext
11802 CFLAGS
=$ac_wine_try_cflags_saved
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11805 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11806 if test $ac_cv_cflags__fno_builtin = yes; then :
11807 BUILTINFLAG
="-fno-builtin"
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11811 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11812 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
11813 $as_echo_n "(cached) " >&6
11815 ac_wine_try_cflags_saved
=$CFLAGS
11816 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11819 int main(int argc, char **argv) { return 0; }
11821 if ac_fn_c_try_link
"$LINENO"; then :
11822 ac_cv_cflags__fno_strict_aliasing
=yes
11824 ac_cv_cflags__fno_strict_aliasing
=no
11826 rm -f core conftest.err conftest.
$ac_objext \
11827 conftest
$ac_exeext conftest.
$ac_ext
11828 CFLAGS
=$ac_wine_try_cflags_saved
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11831 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11832 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11833 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11836 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11837 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
11838 $as_echo_n "(cached) " >&6
11840 ac_wine_try_cflags_saved
=$CFLAGS
11841 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11842 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11843 /* end confdefs.h. */
11844 int main(int argc, char **argv) { return 0; }
11846 if ac_fn_c_try_link
"$LINENO"; then :
11847 ac_cv_cflags__Wdeclaration_after_statement
=yes
11849 ac_cv_cflags__Wdeclaration_after_statement
=no
11851 rm -f core conftest.err conftest.
$ac_objext \
11852 conftest
$ac_exeext conftest.
$ac_ext
11853 CFLAGS
=$ac_wine_try_cflags_saved
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11856 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11857 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11858 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11861 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11862 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11863 $as_echo_n "(cached) " >&6
11865 ac_wine_try_cflags_saved
=$CFLAGS
11866 CFLAGS
="$CFLAGS -Wstrict-prototypes"
11867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11868 /* end confdefs.h. */
11869 int main(int argc, char **argv) { return 0; }
11871 if ac_fn_c_try_link
"$LINENO"; then :
11872 ac_cv_cflags__Wstrict_prototypes
=yes
11874 ac_cv_cflags__Wstrict_prototypes
=no
11876 rm -f core conftest.err conftest.
$ac_objext \
11877 conftest
$ac_exeext conftest.
$ac_ext
11878 CFLAGS
=$ac_wine_try_cflags_saved
11880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11881 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11882 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11883 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11886 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11887 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
11888 $as_echo_n "(cached) " >&6
11890 ac_wine_try_cflags_saved
=$CFLAGS
11891 CFLAGS
="$CFLAGS -Wtype-limits"
11892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11893 /* end confdefs.h. */
11894 int main(int argc, char **argv) { return 0; }
11896 if ac_fn_c_try_link
"$LINENO"; then :
11897 ac_cv_cflags__Wtype_limits
=yes
11899 ac_cv_cflags__Wtype_limits
=no
11901 rm -f core conftest.err conftest.
$ac_objext \
11902 conftest
$ac_exeext conftest.
$ac_ext
11903 CFLAGS
=$ac_wine_try_cflags_saved
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11906 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11907 if test $ac_cv_cflags__Wtype_limits = yes; then :
11908 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11911 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11912 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11913 $as_echo_n "(cached) " >&6
11915 ac_wine_try_cflags_saved
=$CFLAGS
11916 CFLAGS
="$CFLAGS -Wwrite-strings"
11917 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11918 /* end confdefs.h. */
11919 int main(int argc, char **argv) { return 0; }
11921 if ac_fn_c_try_link
"$LINENO"; then :
11922 ac_cv_cflags__Wwrite_strings
=yes
11924 ac_cv_cflags__Wwrite_strings
=no
11926 rm -f core conftest.err conftest.
$ac_objext \
11927 conftest
$ac_exeext conftest.
$ac_ext
11928 CFLAGS
=$ac_wine_try_cflags_saved
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11931 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11932 if test $ac_cv_cflags__Wwrite_strings = yes; then :
11933 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
11936 saved_CFLAGS
="$CFLAGS"
11937 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
11939 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
11940 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
11941 $as_echo_n "(cached) " >&6
11943 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11944 /* end confdefs.h. */
11945 #include <string.h>
11954 if ac_fn_c_try_compile
"$LINENO"; then :
11955 ac_cv_c_string_h_warnings
=no
11957 ac_cv_c_string_h_warnings
=yes
11959 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
11962 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
11963 CFLAGS
="$saved_CFLAGS"
11964 if test "$ac_cv_c_string_h_warnings" = "no"
11966 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11969 if test "x$enable_maintainer_mode" = "xyes"
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11972 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11973 if test "${ac_cv_cflags__Werror+set}" = set; then :
11974 $as_echo_n "(cached) " >&6
11976 ac_wine_try_cflags_saved
=$CFLAGS
11977 CFLAGS
="$CFLAGS -Werror"
11978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11979 /* end confdefs.h. */
11980 int main(int argc, char **argv) { return 0; }
11982 if ac_fn_c_try_link
"$LINENO"; then :
11983 ac_cv_cflags__Werror
=yes
11985 ac_cv_cflags__Werror
=no
11987 rm -f core conftest.err conftest.
$ac_objext \
11988 conftest
$ac_exeext conftest.
$ac_ext
11989 CFLAGS
=$ac_wine_try_cflags_saved
11991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11992 $as_echo "$ac_cv_cflags__Werror" >&6; }
11993 if test $ac_cv_cflags__Werror = yes; then :
11994 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
11998 saved_CFLAGS
="$CFLAGS"
11999 CFLAGS
="$CFLAGS -Werror"
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12001 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12002 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12003 $as_echo_n "(cached) " >&6
12005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12016 if ac_fn_c_try_compile
"$LINENO"; then :
12017 ac_cv_have_ms_hook_prologue
="yes"
12019 ac_cv_have_ms_hook_prologue
="no"
12021 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12024 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12025 CFLAGS
="$saved_CFLAGS"
12026 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12029 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12032 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12039 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12040 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12041 $as_echo_n "(cached) " >&6
12043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12044 /* end confdefs.h. */
12045 extern int ac_test;
12049 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12054 if ac_fn_c_try_link
"$LINENO"; then :
12055 ac_cv_c_extern_prefix
="yes"
12057 ac_cv_c_extern_prefix
="no"
12059 rm -f core conftest.err conftest.
$ac_objext \
12060 conftest
$ac_exeext conftest.
$ac_ext
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12063 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12068 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12069 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12070 $as_echo_n "(cached) " >&6
12072 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12073 /* end confdefs.h. */
12075 #define __stdcall __attribute__((__stdcall__))
12077 int __stdcall ac_test(int i) { return i; }
12081 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12086 if ac_fn_c_try_link
"$LINENO"; then :
12087 ac_cv_c_stdcall_suffix
="yes"
12089 ac_cv_c_stdcall_suffix
="no"
12091 rm -f core conftest.err conftest.
$ac_objext \
12092 conftest
$ac_exeext conftest.
$ac_ext
12094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12095 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12096 *) ac_cv_c_stdcall_suffix
="no" ;;
12100 if test "$ac_cv_c_extern_prefix" = "yes"
12102 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12104 asm_name_prefix
="_"
12106 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12112 if test "$ac_cv_c_stdcall_suffix" = "yes"
12114 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12117 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12123 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12124 if test "${ac_cv_asm_func_def+set}" = set; then :
12125 $as_echo_n "(cached) " >&6
12127 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12133 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12138 if ac_fn_c_try_link
"$LINENO"; then :
12139 ac_cv_asm_func_def
=".def"
12141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12147 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12152 if ac_fn_c_try_link
"$LINENO"; then :
12153 ac_cv_asm_func_def
=".type @function"
12155 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12156 /* end confdefs.h. */
12161 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12166 if ac_fn_c_try_link
"$LINENO"; then :
12167 ac_cv_asm_func_def
=".type 2"
12169 ac_cv_asm_func_def
="unknown"
12171 rm -f core conftest.err conftest.
$ac_objext \
12172 conftest
$ac_exeext conftest.
$ac_ext
12174 rm -f core conftest.err conftest.
$ac_objext \
12175 conftest
$ac_exeext conftest.
$ac_ext
12177 rm -f core conftest.err conftest.
$ac_objext \
12178 conftest
$ac_exeext conftest.
$ac_ext
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12181 $as_echo "$ac_cv_asm_func_def" >&6; }
12184 case "$ac_cv_asm_func_def" in
12186 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12188 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12190 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12192 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12194 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12196 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12198 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12200 asm_func_header
="" ;;
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12204 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12205 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12206 $as_echo_n "(cached) " >&6
12208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12209 /* end confdefs.h. */
12210 asm(".text\n\t.long 0");
12219 if ac_fn_c_try_compile
"$LINENO"; then :
12220 ac_cv_c_asm_outside_funcs
="yes"
12222 ac_cv_c_asm_outside_funcs
="no"
12224 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12227 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12230 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12231 if test "${ac_cv_c_dot_previous+set}" = set; then :
12232 $as_echo_n "(cached) " >&6
12234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12240 asm(".text\nac_test:\t.long 0\n\t.previous");
12245 if ac_fn_c_try_link
"$LINENO"; then :
12246 ac_cv_c_dot_previous
="yes"
12248 ac_cv_c_dot_previous
="no"
12250 rm -f core conftest.err conftest.
$ac_objext \
12251 conftest
$ac_exeext conftest.
$ac_ext
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12254 $as_echo "$ac_cv_c_dot_previous" >&6; }
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12257 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12258 if test "${ac_cv_c_cfi_support+set}" = set; then :
12259 $as_echo_n "(cached) " >&6
12261 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12262 /* end confdefs.h. */
12263 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12272 if ac_fn_c_try_compile
"$LINENO"; then :
12273 ac_cv_c_cfi_support
="yes"
12275 ac_cv_c_cfi_support
="no"
12277 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12280 $as_echo "$ac_cv_c_cfi_support" >&6; }
12282 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12283 asm_func_trailer
=""
12284 if test "$ac_cv_c_dot_previous" = "yes"
12286 asm_func_trailer
="\\n\\t.previous"
12288 if test "$ac_cv_c_cfi_support" = "yes"
12290 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12291 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12293 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12295 UNWINDFLAGS
=-fasynchronous-unwind-tables
12298 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12302 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12305 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12307 cat >>confdefs.h
<<_ACEOF
12308 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12312 cat >>confdefs.h
<<_ACEOF
12313 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12318 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12321 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12331 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12336 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12344 SOCKETLIBS
="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
12351 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12357 EXTRA_BINARIES
="wine-preloader"
12364 ac_save_CFLAGS
="$CFLAGS"
12365 CFLAGS
="$CFLAGS $BUILTINFLAG"
12412 sched_setaffinity \
12441 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12442 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12443 eval as_val
=\$
$as_ac_var
12444 if test "x$as_val" = x
""yes; then :
12445 cat >>confdefs.h
<<_ACEOF
12446 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12452 CFLAGS
="$ac_save_CFLAGS"
12454 if test "$ac_cv_func_dlopen" = no
12456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12457 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12458 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12459 $as_echo_n "(cached) " >&6
12461 ac_check_lib_save_LIBS
=$LIBS
12463 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12464 /* end confdefs.h. */
12466 /* Override any GCC internal prototype to avoid an error.
12467 Use char because int might match the return type of a GCC
12468 builtin and then its argument prototype would still apply. */
12481 if ac_fn_c_try_link
"$LINENO"; then :
12482 ac_cv_lib_dl_dlopen
=yes
12484 ac_cv_lib_dl_dlopen
=no
12486 rm -f core conftest.err conftest.
$ac_objext \
12487 conftest
$ac_exeext conftest.
$ac_ext
12488 LIBS
=$ac_check_lib_save_LIBS
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12491 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12492 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12493 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12499 ac_wine_check_funcs_save_LIBS
="$LIBS"
12500 LIBS
="$LIBS $LIBDL"
12501 for ac_func
in dladdr
12503 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12504 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12505 cat >>confdefs.h
<<_ACEOF
12506 #define HAVE_DLADDR 1
12512 LIBS
="$ac_wine_check_funcs_save_LIBS"
12514 if test "$ac_cv_func_poll" = no
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12517 $as_echo_n "checking for poll in -lpoll... " >&6; }
12518 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12519 $as_echo_n "(cached) " >&6
12521 ac_check_lib_save_LIBS
=$LIBS
12522 LIBS
="-lpoll $LIBS"
12523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12524 /* end confdefs.h. */
12526 /* Override any GCC internal prototype to avoid an error.
12527 Use char because int might match the return type of a GCC
12528 builtin and then its argument prototype would still apply. */
12541 if ac_fn_c_try_link
"$LINENO"; then :
12542 ac_cv_lib_poll_poll
=yes
12544 ac_cv_lib_poll_poll
=no
12546 rm -f core conftest.err conftest.
$ac_objext \
12547 conftest
$ac_exeext conftest.
$ac_ext
12548 LIBS
=$ac_check_lib_save_LIBS
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12551 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12552 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12553 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12561 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12562 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12563 $as_echo_n "(cached) " >&6
12565 ac_func_search_save_LIBS
=$LIBS
12566 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12567 /* end confdefs.h. */
12569 /* Override any GCC internal prototype to avoid an error.
12570 Use char because int might match the return type of a GCC
12571 builtin and then its argument prototype would still apply. */
12575 char gethostbyname ();
12579 return gethostbyname ();
12584 for ac_lib
in '' nsl
; do
12585 if test -z "$ac_lib"; then
12586 ac_res
="none required"
12589 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12591 if ac_fn_c_try_link
"$LINENO"; then :
12592 ac_cv_search_gethostbyname
=$ac_res
12594 rm -f core conftest.err conftest.
$ac_objext \
12596 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12600 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12603 ac_cv_search_gethostbyname
=no
12605 rm conftest.
$ac_ext
12606 LIBS
=$ac_func_search_save_LIBS
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12609 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12610 ac_res
=$ac_cv_search_gethostbyname
12611 if test "$ac_res" != no
; then :
12612 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12618 $as_echo_n "checking for library containing connect... " >&6; }
12619 if test "${ac_cv_search_connect+set}" = set; then :
12620 $as_echo_n "(cached) " >&6
12622 ac_func_search_save_LIBS
=$LIBS
12623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12624 /* end confdefs.h. */
12626 /* Override any GCC internal prototype to avoid an error.
12627 Use char because int might match the return type of a GCC
12628 builtin and then its argument prototype would still apply. */
12641 for ac_lib
in '' socket
; do
12642 if test -z "$ac_lib"; then
12643 ac_res
="none required"
12646 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12648 if ac_fn_c_try_link
"$LINENO"; then :
12649 ac_cv_search_connect
=$ac_res
12651 rm -f core conftest.err conftest.
$ac_objext \
12653 if test "${ac_cv_search_connect+set}" = set; then :
12657 if test "${ac_cv_search_connect+set}" = set; then :
12660 ac_cv_search_connect
=no
12662 rm conftest.
$ac_ext
12663 LIBS
=$ac_func_search_save_LIBS
12665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12666 $as_echo "$ac_cv_search_connect" >&6; }
12667 ac_res
=$ac_cv_search_connect
12668 if test "$ac_res" != no
; then :
12669 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12675 $as_echo_n "checking for library containing inet_aton... " >&6; }
12676 if test "${ac_cv_search_inet_aton+set}" = set; then :
12677 $as_echo_n "(cached) " >&6
12679 ac_func_search_save_LIBS
=$LIBS
12680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12681 /* end confdefs.h. */
12683 /* Override any GCC internal prototype to avoid an error.
12684 Use char because int might match the return type of a GCC
12685 builtin and then its argument prototype would still apply. */
12693 return inet_aton ();
12698 for ac_lib
in '' resolv
; do
12699 if test -z "$ac_lib"; then
12700 ac_res
="none required"
12703 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12705 if ac_fn_c_try_link
"$LINENO"; then :
12706 ac_cv_search_inet_aton
=$ac_res
12708 rm -f core conftest.err conftest.
$ac_objext \
12710 if test "${ac_cv_search_inet_aton+set}" = set; then :
12714 if test "${ac_cv_search_inet_aton+set}" = set; then :
12717 ac_cv_search_inet_aton
=no
12719 rm conftest.
$ac_ext
12720 LIBS
=$ac_func_search_save_LIBS
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12723 $as_echo "$ac_cv_search_inet_aton" >&6; }
12724 ac_res
=$ac_cv_search_inet_aton
12725 if test "$ac_res" != no
; then :
12726 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12745 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12746 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12747 eval as_val
=\$
$as_ac_var
12748 if test "x$as_val" = x
""yes; then :
12749 cat >>confdefs.h
<<_ACEOF
12750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12759 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12761 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12763 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
12764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12765 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12766 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
12767 $as_echo_n "(cached) " >&6
12769 ac_check_lib_save_LIBS
=$LIBS
12770 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12772 /* end confdefs.h. */
12774 /* Override any GCC internal prototype to avoid an error.
12775 Use char because int might match the return type of a GCC
12776 builtin and then its argument prototype would still apply. */
12780 char ldap_initialize ();
12784 return ldap_initialize ();
12789 if ac_fn_c_try_link
"$LINENO"; then :
12790 ac_cv_lib_ldap_r_ldap_initialize
=yes
12792 ac_cv_lib_ldap_r_ldap_initialize
=no
12794 rm -f core conftest.err conftest.
$ac_objext \
12795 conftest
$ac_exeext conftest.
$ac_ext
12796 LIBS
=$ac_check_lib_save_LIBS
12798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12799 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12800 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12802 $as_echo_n "checking for ber_init in -llber... " >&6; }
12803 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
12804 $as_echo_n "(cached) " >&6
12806 ac_check_lib_save_LIBS
=$LIBS
12807 LIBS
="-llber $LIBPTHREAD $LIBS"
12808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12821 return ber_init ();
12826 if ac_fn_c_try_link
"$LINENO"; then :
12827 ac_cv_lib_lber_ber_init
=yes
12829 ac_cv_lib_lber_ber_init
=no
12831 rm -f core conftest.err conftest.
$ac_objext \
12832 conftest
$ac_exeext conftest.
$ac_ext
12833 LIBS
=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12836 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12837 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
12839 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12841 LDAPLIBS
="-lldap_r -llber"
12848 ac_wine_check_funcs_save_LIBS
="$LIBS"
12849 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12851 ldap_count_references \
12852 ldap_first_reference \
12853 ldap_next_reference \
12854 ldap_parse_reference \
12855 ldap_parse_sort_control \
12856 ldap_parse_sortresponse_control \
12857 ldap_parse_vlv_control \
12858 ldap_parse_vlvresponse_control
12860 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12861 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12862 eval as_val
=\$
$as_ac_var
12863 if test "x$as_val" = x
""yes; then :
12864 cat >>confdefs.h
<<_ACEOF
12865 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12871 LIBS
="$ac_wine_check_funcs_save_LIBS"
12873 if test "x$LDAPLIBS" = "x"; then :
12874 case "x$with_ldap" in
12875 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
12877 *) as_fn_error
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12878 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
12883 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
12884 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
12885 $as_echo_n "(cached) " >&6
12887 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12889 #include <sys/stat.h>
12898 if ac_fn_c_try_compile
"$LINENO"; then :
12899 wine_cv_one_arg_mkdir
=yes
12901 wine_cv_one_arg_mkdir
=no
12903 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
12906 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
12907 if test "$wine_cv_one_arg_mkdir" = "yes"
12910 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12916 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12917 if test "${ac_cv_c_const+set}" = set; then :
12918 $as_echo_n "(cached) " >&6
12920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12921 /* end confdefs.h. */
12926 /* FIXME: Include the comments suggested by Paul. */
12927 #ifndef __cplusplus
12928 /* Ultrix mips cc rejects this. */
12929 typedef int charset[2];
12931 /* SunOS 4.1.1 cc rejects this. */
12932 char const *const *pcpcc;
12934 /* NEC SVR4.0.2 mips cc rejects this. */
12935 struct point {int x, y;};
12936 static struct point const zero = {0,0};
12937 /* AIX XL C 1.02.0.0 rejects this.
12938 It does not let you subtract one const X* pointer from another in
12939 an arm of an if-expression whose if-part is not a constant
12941 const char *g = "string";
12942 pcpcc = &g + (g ? g-g : 0);
12943 /* HPUX 7.0 cc rejects these. */
12945 ppc = (char**) pcpcc;
12946 pcpcc = (char const *const *) ppc;
12947 { /* SCO 3.2v4 cc rejects this. */
12949 char const *s = 0 ? (char *) 0 : (char const *) 0;
12954 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12955 int x[] = {25, 17};
12956 const int *foo = &x[0];
12959 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12960 typedef const int *iptr;
12964 { /* AIX XL C 1.02.0.0 rejects this saying
12965 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12966 struct s { int j; const int *ap[3]; };
12967 struct s *b; b->j = 5;
12969 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12970 const int foo = 10;
12971 if (!foo) return 0;
12973 return !cs[0] && !zero.x;
12980 if ac_fn_c_try_compile
"$LINENO"; then :
12985 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12988 $as_echo "$ac_cv_c_const" >&6; }
12989 if test $ac_cv_c_const = no
; then
12991 $as_echo "#define const /**/" >>confdefs.h
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12996 $as_echo_n "checking for inline... " >&6; }
12997 if test "${ac_cv_c_inline+set}" = set; then :
12998 $as_echo_n "(cached) " >&6
13001 for ac_kw
in inline __inline__ __inline
; do
13002 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13003 /* end confdefs.h. */
13004 #ifndef __cplusplus
13006 static $ac_kw foo_t static_foo () {return 0; }
13007 $ac_kw foo_t foo () {return 0; }
13011 if ac_fn_c_try_compile
"$LINENO"; then :
13012 ac_cv_c_inline
=$ac_kw
13014 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13015 test "$ac_cv_c_inline" != no
&& break
13019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13020 $as_echo "$ac_cv_c_inline" >&6; }
13022 case $ac_cv_c_inline in
13025 case $ac_cv_c_inline in
13027 *) ac_val
=$ac_cv_c_inline;;
13029 cat >>confdefs.h
<<_ACEOF
13030 #ifndef __cplusplus
13031 #define inline $ac_val
13037 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13038 if test "x$ac_cv_type_mode_t" = x
""yes; then :
13040 cat >>confdefs.h
<<_ACEOF
13041 #define HAVE_MODE_T 1
13046 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13047 if test "x$ac_cv_type_off_t" = x
""yes; then :
13049 cat >>confdefs.h
<<_ACEOF
13050 #define HAVE_OFF_T 1
13055 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13056 if test "x$ac_cv_type_pid_t" = x
""yes; then :
13058 cat >>confdefs.h
<<_ACEOF
13059 #define HAVE_PID_T 1
13064 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13065 if test "x$ac_cv_type_size_t" = x
""yes; then :
13067 cat >>confdefs.h
<<_ACEOF
13068 #define HAVE_SIZE_T 1
13073 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13074 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
13076 cat >>confdefs.h
<<_ACEOF
13077 #define HAVE_SSIZE_T 1
13082 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13083 if test "x$ac_cv_type_long_long" = x
""yes; then :
13085 cat >>confdefs.h
<<_ACEOF
13086 #define HAVE_LONG_LONG 1
13091 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13092 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
13094 cat >>confdefs.h
<<_ACEOF
13095 #define HAVE_FSBLKCNT_T 1
13100 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13101 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
13103 cat >>confdefs.h
<<_ACEOF
13104 #define HAVE_FSFILCNT_T 1
13110 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13111 #include <signal.h>
13113 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
13115 cat >>confdefs.h
<<_ACEOF
13116 #define HAVE_SIGSET_T 1
13122 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13124 if test "x$ac_cv_type_request_sense" = x
""yes; then :
13126 cat >>confdefs.h
<<_ACEOF
13127 #define HAVE_REQUEST_SENSE 1
13134 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13135 #ifdef HAVE_SYS_SOCKET_H
13136 #include <sys/socket.h>
13138 #ifdef HAVE_SYS_SOCKETVAR_H
13139 #include <sys/socketvar.h>
13141 #ifdef HAVE_NET_ROUTE_H
13142 #include <net/route.h>
13144 #ifdef HAVE_NETINET_IN_H
13145 #include <netinet/in.h>
13147 #ifdef HAVE_NETINET_IN_SYSTM_H
13148 #include <netinet/in_systm.h>
13150 #ifdef HAVE_NETINET_IP_H
13151 #include <netinet/ip.h>
13153 #ifdef HAVE_NETINET_IN_PCB_H
13154 #include <netinet/in_pcb.h>
13157 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
13159 cat >>confdefs.h
<<_ACEOF
13160 #define HAVE_STRUCT_XINPGEN 1
13167 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13168 #include <linux/input.h>
13171 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
13173 cat >>confdefs.h
<<_ACEOF
13174 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13182 $as_echo_n "checking for sigaddset... " >&6; }
13183 if test "${wine_cv_have_sigaddset+set}" = set; then :
13184 $as_echo_n "(cached) " >&6
13186 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13188 #include <signal.h>
13192 sigset_t set; sigaddset(&set,SIGTERM);
13197 if ac_fn_c_try_link
"$LINENO"; then :
13198 wine_cv_have_sigaddset
=yes
13200 wine_cv_have_sigaddset
=no
13202 rm -f core conftest.err conftest.
$ac_objext \
13203 conftest
$ac_exeext conftest.
$ac_ext
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13206 $as_echo "$wine_cv_have_sigaddset" >&6; }
13207 if test "$wine_cv_have_sigaddset" = "yes"
13210 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13216 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13217 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13218 $as_echo_n "(cached) " >&6
13220 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13221 /* end confdefs.h. */
13229 struct hostent *result;
13236 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13237 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13243 if ac_fn_c_try_link
"$LINENO"; then :
13244 wine_cv_linux_gethostbyname_r_6
=yes
13246 wine_cv_linux_gethostbyname_r_6
=no
13249 rm -f core conftest.err conftest.
$ac_objext \
13250 conftest
$ac_exeext conftest.
$ac_ext
13253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13254 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13255 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13258 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13262 if test "$ac_cv_header_linux_joystick_h" = "yes"
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13265 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13266 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13267 $as_echo_n "(cached) " >&6
13269 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13270 /* end confdefs.h. */
13272 #include <sys/ioctl.h>
13273 #include <sys/types.h>
13274 #include <linux/joystick.h>
13276 struct js_event blub;
13277 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13278 #error "no 2.2 header"
13289 if ac_fn_c_try_compile
"$LINENO"; then :
13290 wine_cv_linux_joystick_22_api
=yes
13292 wine_cv_linux_joystick_22_api
=no
13294 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13298 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13299 if test "$wine_cv_linux_joystick_22_api" = "yes"
13302 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13308 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13309 #ifdef HAVE_SYS_PARAM_H
13310 # include <sys/param.h>
13312 #ifdef HAVE_SYS_MOUNT_H
13313 # include <sys/mount.h>
13315 #ifdef HAVE_SYS_VFS_H
13316 # include <sys/vfs.h>
13318 #ifdef HAVE_SYS_STATFS_H
13319 # include <sys/statfs.h>
13322 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13324 cat >>confdefs.h
<<_ACEOF
13325 #define HAVE_STRUCT_STATFS_F_BFREE 1
13330 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13331 #ifdef HAVE_SYS_PARAM_H
13332 # include <sys/param.h>
13334 #ifdef HAVE_SYS_MOUNT_H
13335 # include <sys/mount.h>
13337 #ifdef HAVE_SYS_VFS_H
13338 # include <sys/vfs.h>
13340 #ifdef HAVE_SYS_STATFS_H
13341 # include <sys/statfs.h>
13344 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13346 cat >>confdefs.h
<<_ACEOF
13347 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13352 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13353 #ifdef HAVE_SYS_PARAM_H
13354 # include <sys/param.h>
13356 #ifdef HAVE_SYS_MOUNT_H
13357 # include <sys/mount.h>
13359 #ifdef HAVE_SYS_VFS_H
13360 # include <sys/vfs.h>
13362 #ifdef HAVE_SYS_STATFS_H
13363 # include <sys/statfs.h>
13366 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13368 cat >>confdefs.h
<<_ACEOF
13369 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13374 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13375 #ifdef HAVE_SYS_PARAM_H
13376 # include <sys/param.h>
13378 #ifdef HAVE_SYS_MOUNT_H
13379 # include <sys/mount.h>
13381 #ifdef HAVE_SYS_VFS_H
13382 # include <sys/vfs.h>
13384 #ifdef HAVE_SYS_STATFS_H
13385 # include <sys/statfs.h>
13388 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13390 cat >>confdefs.h
<<_ACEOF
13391 #define HAVE_STRUCT_STATFS_F_FFREE 1
13396 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13397 #ifdef HAVE_SYS_PARAM_H
13398 # include <sys/param.h>
13400 #ifdef HAVE_SYS_MOUNT_H
13401 # include <sys/mount.h>
13403 #ifdef HAVE_SYS_VFS_H
13404 # include <sys/vfs.h>
13406 #ifdef HAVE_SYS_STATFS_H
13407 # include <sys/statfs.h>
13410 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13412 cat >>confdefs.h
<<_ACEOF
13413 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13418 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13419 #ifdef HAVE_SYS_PARAM_H
13420 # include <sys/param.h>
13422 #ifdef HAVE_SYS_MOUNT_H
13423 # include <sys/mount.h>
13425 #ifdef HAVE_SYS_VFS_H
13426 # include <sys/vfs.h>
13428 #ifdef HAVE_SYS_STATFS_H
13429 # include <sys/statfs.h>
13432 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13434 cat >>confdefs.h
<<_ACEOF
13435 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13442 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13443 #include <sys/statvfs.h>
13446 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13448 cat >>confdefs.h
<<_ACEOF
13449 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13456 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13457 #ifdef HAVE_SYS_SOCKET_H
13458 # include <sys/socket.h>
13460 #ifdef HAVE_SYS_UN_H
13461 # include <sys/un.h>
13464 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13466 cat >>confdefs.h
<<_ACEOF
13467 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13472 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13473 #ifdef HAVE_SYS_SOCKET_H
13474 # include <sys/socket.h>
13476 #ifdef HAVE_SYS_UN_H
13477 # include <sys/un.h>
13480 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13482 cat >>confdefs.h
<<_ACEOF
13483 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13488 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13489 #ifdef HAVE_SYS_SOCKET_H
13490 # include <sys/socket.h>
13492 #ifdef HAVE_SYS_UN_H
13493 # include <sys/un.h>
13496 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13498 cat >>confdefs.h
<<_ACEOF
13499 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13506 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13507 #ifdef HAVE_SCSI_SG_H
13508 #include <scsi/sg.h>
13511 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13513 cat >>confdefs.h
<<_ACEOF
13514 #define HAVE_SCSIREQ_T_CMD 1
13519 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>
13520 #ifdef HAVE_SCSI_SG_H
13521 #include <scsi/sg.h>
13524 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13526 cat >>confdefs.h
<<_ACEOF
13527 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13534 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13536 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13538 cat >>confdefs.h
<<_ACEOF
13539 #define HAVE_SIGINFO_T_SI_FD 1
13546 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13547 #ifdef HAVE_SYS_MTIO_H
13548 #include <sys/mtio.h>
13551 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13553 cat >>confdefs.h
<<_ACEOF
13554 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13559 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13560 #ifdef HAVE_SYS_MTIO_H
13561 #include <sys/mtio.h>
13564 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13566 cat >>confdefs.h
<<_ACEOF
13567 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13572 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13573 #ifdef HAVE_SYS_MTIO_H
13574 #include <sys/mtio.h>
13577 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13579 cat >>confdefs.h
<<_ACEOF
13580 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13587 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13588 #include <getopt.h>
13591 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13593 cat >>confdefs.h
<<_ACEOF
13594 #define HAVE_STRUCT_OPTION_NAME 1
13601 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13602 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13604 cat >>confdefs.h
<<_ACEOF
13605 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13610 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13611 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13613 cat >>confdefs.h
<<_ACEOF
13614 #define HAVE_STRUCT_STAT_ST_MTIM 1
13619 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13620 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13622 cat >>confdefs.h
<<_ACEOF
13623 #define HAVE_STRUCT_STAT_ST_CTIM 1
13628 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13629 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13631 cat >>confdefs.h
<<_ACEOF
13632 #define HAVE_STRUCT_STAT_ST_ATIM 1
13639 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
13640 #include <sys/types.h>
13642 #ifdef HAVE_NETINET_IN_H
13643 #include <netinet/in.h>
13646 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
13648 cat >>confdefs.h
<<_ACEOF
13649 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13656 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13657 #include <sys/types.h>
13659 #ifdef HAVE_NETINET_IN_H
13660 # include <netinet/in.h>
13662 #ifdef HAVE_ARPA_NAMESER_H
13663 # include <arpa/nameser.h>
13666 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
13668 cat >>confdefs.h
<<_ACEOF
13669 #define HAVE_NS_MSG__MSG_PTR 1
13676 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13677 #include <sys/types.h>
13679 #ifdef HAVE_ALIAS_H
13682 #ifdef HAVE_SYS_SOCKET_H
13683 #include <sys/socket.h>
13685 #ifdef HAVE_SYS_SOCKETVAR_H
13686 #include <sys/socketvar.h>
13688 #ifdef HAVE_SYS_TIMEOUT_H
13689 #include <sys/timeout.h>
13691 #ifdef HAVE_NETINET_IN_H
13692 #include <netinet/in.h>
13694 #ifdef HAVE_NETINET_IN_SYSTM_H
13695 #include <netinet/in_systm.h>
13697 #ifdef HAVE_NETINET_IP_H
13698 #include <netinet/ip.h>
13700 #ifdef HAVE_NETINET_IP_VAR_H
13701 #include <netinet/ip_var.h>
13703 #ifdef HAVE_NETINET_IP_ICMP_H
13704 #include <netinet/ip_icmp.h>
13706 #ifdef HAVE_NETINET_ICMP_VAR
13707 #include <netinet/icmp_var.h>
13710 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
13712 cat >>confdefs.h
<<_ACEOF
13713 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13720 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13721 #include <sys/types.h>
13723 #ifdef HAVE_NET_IF_H
13724 # include <net/if.h>
13727 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
13729 cat >>confdefs.h
<<_ACEOF
13730 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13738 $as_echo_n "checking for timezone variable... " >&6; }
13739 if test "${ac_cv_have_timezone+set}" = set; then :
13740 $as_echo_n "(cached) " >&6
13742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13743 /* end confdefs.h. */
13753 if ac_fn_c_try_link
"$LINENO"; then :
13754 ac_cv_have_timezone
="yes"
13756 ac_cv_have_timezone
="no"
13758 rm -f core conftest.err conftest.
$ac_objext \
13759 conftest
$ac_exeext conftest.
$ac_ext
13761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13762 $as_echo "$ac_cv_have_timezone" >&6; }
13763 if test "$ac_cv_have_timezone" = "yes"
13766 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13770 $as_echo_n "checking for daylight variable... " >&6; }
13771 if test "${ac_cv_have_daylight+set}" = set; then :
13772 $as_echo_n "(cached) " >&6
13774 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13785 if ac_fn_c_try_link
"$LINENO"; then :
13786 ac_cv_have_daylight
="yes"
13788 ac_cv_have_daylight
="no"
13790 rm -f core conftest.err conftest.
$ac_objext \
13791 conftest
$ac_exeext conftest.
$ac_ext
13793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13794 $as_echo "$ac_cv_have_daylight" >&6; }
13795 if test "$ac_cv_have_daylight" = "yes"
13798 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13803 $as_echo_n "checking for isinf... " >&6; }
13804 if test "${ac_cv_have_isinf+set}" = set; then :
13805 $as_echo_n "(cached) " >&6
13807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13813 float f = 0.0; int i=isinf(f)
13818 if ac_fn_c_try_link
"$LINENO"; then :
13819 ac_cv_have_isinf
="yes"
13821 ac_cv_have_isinf
="no"
13823 rm -f core conftest.err conftest.
$ac_objext \
13824 conftest
$ac_exeext conftest.
$ac_ext
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13827 $as_echo "$ac_cv_have_isinf" >&6; }
13828 if test "$ac_cv_have_isinf" = "yes"
13831 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
13835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
13836 $as_echo_n "checking for isnan... " >&6; }
13837 if test "${ac_cv_have_isnan+set}" = set; then :
13838 $as_echo_n "(cached) " >&6
13840 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13841 /* end confdefs.h. */
13846 float f = 0.0; int i=isnan(f)
13851 if ac_fn_c_try_link
"$LINENO"; then :
13852 ac_cv_have_isnan
="yes"
13854 ac_cv_have_isnan
="no"
13856 rm -f core conftest.err conftest.
$ac_objext \
13857 conftest
$ac_exeext conftest.
$ac_ext
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
13860 $as_echo "$ac_cv_have_isnan" >&6; }
13861 if test "$ac_cv_have_isnan" = "yes"
13864 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13870 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
13871 $as_echo_n "checking whether we need to define __i386__... " >&6; }
13872 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
13873 $as_echo_n "(cached) " >&6
13875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13876 /* end confdefs.h. */
13881 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13882 $EGREP "yes" >/dev
/null
2>&1; then :
13883 ac_cv_cpp_def___i386__
=yes
13885 ac_cv_cpp_def___i386__
=no
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
13891 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
13892 if test $ac_cv_cpp_def___i386__ = yes; then :
13893 CFLAGS
="$CFLAGS -D__i386__"
13894 LINTFLAGS
="$LINTFLAGS -D__i386__"
13896 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
13897 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
13898 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
13899 $as_echo_n "(cached) " >&6
13901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13908 $EGREP "yes" >/dev
/null
2>&1; then :
13909 ac_cv_cpp_def___x86_64__
=yes
13911 ac_cv_cpp_def___x86_64__
=no
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
13917 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
13918 if test $ac_cv_cpp_def___x86_64__ = yes; then :
13919 CFLAGS
="$CFLAGS -D__x86_64__"
13920 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
13922 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
13923 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
13924 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
13925 $as_echo_n "(cached) " >&6
13927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13928 /* end confdefs.h. */
13933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13934 $EGREP "yes" >/dev
/null
2>&1; then :
13935 ac_cv_cpp_def___ALPHA__
=yes
13937 ac_cv_cpp_def___ALPHA__
=no
13942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
13943 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
13944 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
13945 CFLAGS
="$CFLAGS -D__ALPHA__"
13946 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
13948 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
13949 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
13950 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
13951 $as_echo_n "(cached) " >&6
13953 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13960 $EGREP "yes" >/dev
/null
2>&1; then :
13961 ac_cv_cpp_def___sparc__
=yes
13963 ac_cv_cpp_def___sparc__
=no
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
13969 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
13970 if test $ac_cv_cpp_def___sparc__ = yes; then :
13971 CFLAGS
="$CFLAGS -D__sparc__"
13972 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13974 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
13975 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
13976 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
13977 $as_echo_n "(cached) " >&6
13979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13980 /* end confdefs.h. */
13981 #ifndef __powerpc__
13985 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13986 $EGREP "yes" >/dev
/null
2>&1; then :
13987 ac_cv_cpp_def___powerpc__
=yes
13989 ac_cv_cpp_def___powerpc__
=no
13994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
13995 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
13996 if test $ac_cv_cpp_def___powerpc__ = yes; then :
13997 CFLAGS
="$CFLAGS -D__powerpc__"
13998 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14002 case $host_vendor in
14003 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14004 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14005 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14006 $as_echo_n "(cached) " >&6
14008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14009 /* end confdefs.h. */
14014 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14015 $EGREP "yes" >/dev
/null
2>&1; then :
14016 ac_cv_cpp_def___sun__
=yes
14018 ac_cv_cpp_def___sun__
=no
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14024 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14025 if test $ac_cv_cpp_def___sun__ = yes; then :
14026 CFLAGS
="$CFLAGS -D__sun__"
14027 LINTFLAGS
="$LINTFLAGS -D__sun__"
14035 ac_config_commands
="$ac_config_commands include/stamp-h"
14038 ALL_MAKEFILE_DEPENDS
="
14039 # Rules automatically generated by configure
14044 Makefile: Makefile.in Make.rules config.status
14045 @./config.status Make.tmp Makefile"
14047 ALL_WINETEST_DEPENDS
="# Test binaries"
14049 ALL_TEST_BINARIES
=""
14052 wine_fn_append_file
()
14054 as_fn_append
$1 " \\$as_nl $2"
14057 wine_fn_append_rule
()
14059 as_fn_append
$1 "$as_nl$2"
14062 wine_fn_all_dir_rules
()
14064 wine_fn_append_file ALL_DIRS
$1
14065 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14066 "__clean__: $1/__clean__
14067 .PHONY: $1/__clean__
14068 $1/__clean__: $1/Makefile
14069 @cd $1 && \$(MAKE) clean
14071 $1/Makefile: $1/Makefile.in config.status $2
14072 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend
14073 depend: $1/__depend__
14074 .PHONY: $1/__depend__
14075 $1/__depend__: \$(MAKEDEP) dummy
14076 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend"
14079 wine_fn_config_makefile
()
14083 eval as_val
=\$
$ac_enable
14084 if test "x$as_val" = x
""no
; then :
14088 wine_fn_all_dir_rules
$ac_dir "Make.rules \$(MAKEDEP)"
14089 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14092 $ac_dir: $ac_dir/Makefile dummy
14093 @cd $ac_dir && \$(MAKE)
14095 @cd $ac_dir && \$(MAKE) install
14096 install-lib:: $ac_dir
14097 @cd $ac_dir && \$(MAKE) install-lib
14098 install-dev:: $ac_dir
14099 @cd $ac_dir && \$(MAKE) install-dev
14100 uninstall:: $ac_dir/Makefile
14101 @cd $ac_dir && \$(MAKE) uninstall"
14104 wine_fn_config_lib
()
14107 ac_dir
=dlls
/$ac_name
14108 wine_fn_all_dir_rules
$ac_dir "dlls/Makeimplib.rules \$(MAKEDEP)"
14109 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14110 "all __builddeps__: $ac_dir
14111 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
14112 $ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
14114 @cd $ac_dir && \$(MAKE)
14115 $ac_dir/lib$ac_name.cross.a: dummy
14116 @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
14117 install install-dev:: $ac_dir
14118 @cd $ac_dir && \$(MAKE) install
14119 uninstall:: $ac_dir/Makefile
14120 @cd $ac_dir && \$(MAKE) uninstall"
14123 wine_fn_config_dll
()
14129 ac_file
="dlls/$ac_dir/lib$ac_implib"
14130 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14132 wine_fn_all_dir_rules dlls
/$ac_dir "dlls/Makedll.rules \$(MAKEDEP)"
14134 eval as_val
=\$
$ac_enable
14135 if test "x$as_val" = x
""no
; then :
14136 test "$ac_enable" != enable_win16 ||
return 0
14138 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14140 .PHONY: dlls/$ac_dir
14141 dlls/$ac_dir: dlls/$ac_dir/Makefile __builddeps__ dummy
14142 @cd dlls/$ac_dir && \$(MAKE)
14143 install:: dlls/$ac_dir/Makefile __builddeps__
14144 @cd dlls/$ac_dir && \$(MAKE) install
14145 install-lib:: dlls/$ac_dir/Makefile __builddeps__
14146 @cd dlls/$ac_dir && \$(MAKE) install-lib
14147 uninstall manpages htmlpages sgmlpages xmlpages:: dlls/$ac_dir/Makefile
14148 @cd dlls/$ac_dir && \$(MAKE) \$@"
14151 if test -n "$ac_implibsrc"
14153 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14154 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14155 __buildcrossdeps__: $ac_file.cross.a
14156 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14157 $ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
14158 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
14159 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
14160 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
14161 install-dev:: dlls/$ac_dir/Makefile __builddeps__
14162 @cd dlls/$ac_dir && \$(MAKE) install-dev"
14163 elif test -n "$ac_implib"
14165 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14166 "__builddeps__: $ac_file.$IMPLIBEXT
14167 __buildcrossdeps__: $ac_file.cross.a
14168 $ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
14169 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
14170 install-dev:: dlls/$ac_dir/Makefile __builddeps__
14171 @cd dlls/$ac_dir && \$(MAKE) install-dev"
14173 if test "$ac_dir" != "$ac_implib"
14175 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14176 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14177 __buildcrossdeps__: dlls/lib$ac_implib.cross.a
14178 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14179 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
14180 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14181 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
14183 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14188 wine_fn_config_program
()
14193 wine_fn_all_dir_rules programs
/$ac_dir "programs/Makeprog.rules \$(MAKEDEP)"
14195 eval as_val
=\$
$ac_enable
14196 if test "x$as_val" = x
""no
; then :
14199 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14200 "all: programs/$ac_dir
14201 .PHONY: programs/$ac_dir
14202 programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
14203 @cd programs/$ac_dir && \$(MAKE)"
14205 test -n "$ac_install" ||
return
14206 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14207 "install install-lib:: programs/$ac_dir/Makefile __builddeps__
14208 @cd programs/$ac_dir && \$(MAKE) install
14209 uninstall:: programs/$ac_dir/Makefile
14210 @cd programs/$ac_dir && \$(MAKE) uninstall"
14211 if test "$ac_install" = installbin
-a -n "$DLLEXT" -a "x$enable_tools" != xno
14213 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14214 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14215 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
14217 \$(RM) \$(DESTDIR)\$(bindir)/$ac_dir"
14222 wine_fn_config_test
()
14226 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14227 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14228 "$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
14229 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14231 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14232 $ac_name.res: $ac_name.rc $ac_name.exe"
14233 wine_fn_all_dir_rules
$ac_dir "Maketest.rules \$(MAKEDEP)"
14235 if test "x$enable_tests" = x
""no
; then :
14238 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14239 "all programs/winetest: $ac_dir
14241 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14242 @cd $ac_dir && \$(MAKE)
14243 crosstest: $ac_dir/__crosstest__
14244 .PHONY: $ac_dir/__crosstest__
14245 $ac_dir/__crosstest__: $ac_dir/Makefile __buildcrossdeps__ dummy
14246 @cd $ac_dir && \$(MAKE) crosstest
14247 test: $ac_dir/__test__
14248 .PHONY: $ac_dir/__test__
14249 $ac_dir/__test__: dummy
14250 @cd $ac_dir && \$(MAKE) test
14252 \$(RM) $ac_dir/*.ok"
14256 wine_fn_config_tool
()
14259 ac_deps
="Make.rules"
14260 if test "$ac_dir" != tools
14262 ac_deps
="$ac_deps \$(MAKEDEP)"
14264 wine_fn_all_dir_rules
$ac_dir "$ac_deps"
14266 if test "x$enable_tools" = x
""no
; then :
14270 tools
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14272 @cd $ac_dir && \$(MAKE) install
14273 install-lib:: $ac_dir
14274 @cd $ac_dir && \$(MAKE) install-lib
14275 install-dev:: $ac_dir
14276 @cd $ac_dir && \$(MAKE) install-dev" ;;
14277 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14278 "install install-dev:: $ac_dir
14279 @cd $ac_dir && \$(MAKE) install" ;;
14281 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14282 "uninstall:: $ac_dir/Makefile
14283 @cd $ac_dir && \$(MAKE) uninstall
14284 all __tooldeps__: $ac_dir
14286 $ac_dir: $ac_dir/Makefile libs/port dummy
14287 @cd $ac_dir && \$(MAKE)"
14291 wine_fn_config_makerules
()
14295 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14296 "$ac_rules: $ac_rules.in $ac_deps config.status
14297 @./config.status $ac_rules
14302 wine_fn_config_symlink
()
14305 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14307 @./config.status $ac_link
14311 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14312 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14313 if test "x$enable_fonts" != xno
; then
14314 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14315 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14317 if test "x$enable_fonts" != xno
; then
14318 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14319 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14321 if test "x$enable_fonts" != xno
; then
14322 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14323 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14325 if test "x$enable_fonts" != xno
; then
14326 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14327 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14329 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14330 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14331 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14332 wine_fn_config_symlink wine
14334 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14336 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14338 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14340 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14342 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14344 ac_config_commands
="$ac_config_commands include/wine"
14347 wine_fn_config_makerules Make.rules
14348 MAKE_RULES
=Make.rules
14349 ac_config_files
="$ac_config_files Make.rules"
14351 wine_fn_config_makerules Maketest.rules Make.rules
14352 MAKE_TEST_RULES
=Maketest.rules
14353 ac_config_files
="$ac_config_files Maketest.rules"
14355 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14356 MAKE_DLL_RULES
=dlls
/Makedll.rules
14357 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14359 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14360 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14361 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14363 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14364 MAKE_PROG_RULES
=programs
/Makeprog.rules
14365 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14368 wine_fn_config_dll acledit enable_acledit
14369 wine_fn_config_dll aclui enable_aclui aclui
14370 wine_fn_config_dll activeds enable_activeds activeds
14371 wine_fn_config_dll actxprxy enable_actxprxy
14372 wine_fn_config_lib adsiid
14373 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14374 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14375 wine_fn_config_dll advpack enable_advpack advpack
14376 wine_fn_config_test dlls
/advpack
/tests advpack_test
14377 wine_fn_config_dll amstream enable_amstream
14378 wine_fn_config_test dlls
/amstream
/tests amstream_test
14379 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14380 wine_fn_config_dll atl enable_atl atl
14381 wine_fn_config_test dlls
/atl
/tests atl_test
14382 wine_fn_config_dll authz enable_authz
14383 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14384 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14385 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14386 wine_fn_config_dll avifile.dll16 enable_win16
14387 wine_fn_config_dll avrt enable_avrt avrt
14388 wine_fn_config_dll bcrypt enable_bcrypt
14389 wine_fn_config_dll browseui enable_browseui
14390 wine_fn_config_test dlls
/browseui
/tests browseui_test
14391 wine_fn_config_dll cabinet enable_cabinet cabinet
14392 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14393 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14394 wine_fn_config_dll cards enable_cards cards
14395 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14396 wine_fn_config_dll clusapi enable_clusapi clusapi
14397 wine_fn_config_dll comcat enable_comcat
14398 wine_fn_config_test dlls
/comcat
/tests comcat_test
14399 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14400 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14401 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14402 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14403 wine_fn_config_dll
comm.drv16 enable_win16
14404 wine_fn_config_dll commdlg.dll16 enable_win16
14405 wine_fn_config_dll compobj.dll16 enable_win16
14406 wine_fn_config_dll compstui enable_compstui compstui
14407 wine_fn_config_dll credui enable_credui credui
14408 wine_fn_config_test dlls
/credui
/tests credui_test
14409 wine_fn_config_dll crtdll enable_crtdll crtdll
14410 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14411 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14412 wine_fn_config_dll cryptdlg enable_cryptdlg
14413 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14414 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14415 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14416 wine_fn_config_dll cryptui enable_cryptui cryptui
14417 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14418 wine_fn_config_dll ctapi32 enable_ctapi32
14419 wine_fn_config_dll ctl3d.dll16 enable_win16
14420 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14421 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14422 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14423 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14424 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14425 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14426 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14427 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14428 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14429 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14430 wine_fn_config_dll d3dim enable_d3dim d3dim
14431 wine_fn_config_dll d3drm enable_d3drm d3drm
14432 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14433 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14434 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14435 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14436 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14437 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14438 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14439 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14440 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14441 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14442 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14443 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14444 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14445 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14446 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14447 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14448 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14449 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14450 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14451 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14452 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14453 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14454 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14455 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14456 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14457 wine_fn_config_dll ddeml.dll16 enable_win16
14458 wine_fn_config_dll ddraw enable_ddraw ddraw
14459 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14460 wine_fn_config_dll ddrawex enable_ddrawex
14461 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14462 wine_fn_config_dll devenum enable_devenum
14463 wine_fn_config_dll dinput enable_dinput dinput
"data_formats.c"
14464 wine_fn_config_test dlls
/dinput
/tests dinput_test
14465 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14466 wine_fn_config_dll dispdib.dll16 enable_win16
14467 wine_fn_config_dll dispex enable_dispex
14468 wine_fn_config_test dlls
/dispex
/tests dispex_test
14469 wine_fn_config_dll display.drv16 enable_win16
14470 wine_fn_config_dll dmband enable_dmband
14471 wine_fn_config_dll dmcompos enable_dmcompos
14472 wine_fn_config_dll dmime enable_dmime
14473 wine_fn_config_dll dmloader enable_dmloader
14474 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14475 wine_fn_config_dll dmscript enable_dmscript
14476 wine_fn_config_dll dmstyle enable_dmstyle
14477 wine_fn_config_dll dmsynth enable_dmsynth
14478 wine_fn_config_dll dmusic enable_dmusic
14479 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14480 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14481 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14482 wine_fn_config_dll dplay enable_dplay dplay
14483 wine_fn_config_dll dplayx enable_dplayx dplayx
14484 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14485 wine_fn_config_dll dpnaddr enable_dpnaddr
14486 wine_fn_config_dll dpnet enable_dpnet dpnet
14487 wine_fn_config_dll dpnhpast enable_dpnhpast
14488 wine_fn_config_dll dpnlobby enable_dpnlobby
14489 wine_fn_config_dll dpwsockx enable_dpwsockx
14490 wine_fn_config_dll drmclien enable_drmclien
14491 wine_fn_config_dll dsound enable_dsound dsound
14492 wine_fn_config_test dlls
/dsound
/tests dsound_test
14493 wine_fn_config_dll dssenh enable_dssenh
14494 wine_fn_config_dll dswave enable_dswave
14495 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14496 wine_fn_config_dll dxdiagn enable_dxdiagn
14497 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14498 wine_fn_config_lib dxerr8
14499 wine_fn_config_lib dxerr9
14500 wine_fn_config_dll dxgi enable_dxgi dxgi
14501 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14502 wine_fn_config_lib dxguid
14503 wine_fn_config_dll faultrep enable_faultrep
14504 wine_fn_config_dll fltlib enable_fltlib
14505 wine_fn_config_dll fusion enable_fusion
14506 wine_fn_config_test dlls
/fusion
/tests fusion_test
14507 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14508 wine_fn_config_dll gdi.exe16 enable_win16
14509 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14510 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14511 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14512 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14513 wine_fn_config_dll glu32 enable_glu32 glu32
14514 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14515 wine_fn_config_dll gpkcsp enable_gpkcsp
14516 wine_fn_config_dll hal enable_hal
14517 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14518 wine_fn_config_dll hid enable_hid hid
14519 wine_fn_config_dll hlink enable_hlink hlink
14520 wine_fn_config_test dlls
/hlink
/tests hlink_test
14521 wine_fn_config_dll hnetcfg enable_hnetcfg
14522 wine_fn_config_dll httpapi enable_httpapi
14523 wine_fn_config_dll iccvid enable_iccvid
14524 wine_fn_config_dll icmp enable_icmp
14525 wine_fn_config_dll ifsmgr.vxd enable_win16
14526 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14527 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14528 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14529 wine_fn_config_dll imm.dll16 enable_win16
14530 wine_fn_config_dll imm32 enable_imm32 imm32
14531 wine_fn_config_test dlls
/imm32
/tests imm32_test
14532 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14533 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14534 wine_fn_config_dll inetmib1 enable_inetmib1
14535 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14536 wine_fn_config_dll infosoft enable_infosoft
14537 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14538 wine_fn_config_dll initpki enable_initpki
14539 wine_fn_config_dll inkobj enable_inkobj
14540 wine_fn_config_dll inseng enable_inseng
14541 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14542 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14543 wine_fn_config_dll itircl enable_itircl
14544 wine_fn_config_dll itss enable_itss
14545 wine_fn_config_test dlls
/itss
/tests itss_test
14546 wine_fn_config_dll jscript enable_jscript
14547 wine_fn_config_test dlls
/jscript
/tests jscript_test
14548 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14549 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14550 wine_fn_config_dll keyboard.drv16 enable_win16
14551 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14552 wine_fn_config_dll loadperf enable_loadperf loadperf
14553 wine_fn_config_dll localspl enable_localspl
14554 wine_fn_config_test dlls
/localspl
/tests localspl_test
14555 wine_fn_config_dll localui enable_localui
14556 wine_fn_config_test dlls
/localui
/tests localui_test
14557 wine_fn_config_dll lz32 enable_lz32 lz32
14558 wine_fn_config_test dlls
/lz32
/tests lz32_test
14559 wine_fn_config_dll lzexpand.dll16 enable_win16
14560 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14561 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14562 wine_fn_config_dll mapistub enable_mapistub
14563 wine_fn_config_dll mciavi32 enable_mciavi32
14564 wine_fn_config_dll mcicda enable_mcicda
14565 wine_fn_config_dll mciqtz32 enable_mciqtz32
14566 wine_fn_config_dll mciseq enable_mciseq
14567 wine_fn_config_dll mciwave enable_mciwave
14568 wine_fn_config_dll midimap enable_midimap
14569 wine_fn_config_dll mlang enable_mlang mlang
14570 wine_fn_config_test dlls
/mlang
/tests mlang_test
14571 wine_fn_config_dll mmdevapi enable_mmdevapi
14572 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14573 wine_fn_config_dll mmdevldr.vxd enable_win16
14574 wine_fn_config_dll mmsystem.dll16 enable_win16
14575 wine_fn_config_dll monodebg.vxd enable_win16
14576 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14577 wine_fn_config_dll mouse.drv16 enable_win16
14578 wine_fn_config_dll mpr enable_mpr mpr
14579 wine_fn_config_dll mprapi enable_mprapi mprapi
14580 wine_fn_config_dll msacm.dll16 enable_win16
14581 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14582 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14583 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14584 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14585 wine_fn_config_dll mscat32 enable_mscat32
14586 wine_fn_config_dll mscms enable_mscms mscms
14587 wine_fn_config_test dlls
/mscms
/tests mscms_test
14588 wine_fn_config_dll mscoree enable_mscoree
14589 wine_fn_config_dll msctf enable_msctf
14590 wine_fn_config_test dlls
/msctf
/tests msctf_test
14591 wine_fn_config_dll msdaps enable_msdaps
14592 wine_fn_config_dll msdmo enable_msdmo msdmo
14593 wine_fn_config_dll msftedit enable_msftedit
14594 wine_fn_config_dll msg711.acm enable_msg711_acm
14595 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14596 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14597 wine_fn_config_dll mshtml enable_mshtml mshtml
14598 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
14599 wine_fn_config_dll msi enable_msi msi
14600 wine_fn_config_test dlls
/msi
/tests msi_test
14601 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14602 wine_fn_config_dll msimtf enable_msimtf
14603 wine_fn_config_dll msisip enable_msisip
14604 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14605 wine_fn_config_dll msnet32 enable_msnet32
14606 wine_fn_config_dll msrle32 enable_msrle32
14607 wine_fn_config_dll mssign32 enable_mssign32
14608 wine_fn_config_dll mssip32 enable_mssip32
14609 wine_fn_config_dll mstask enable_mstask
14610 wine_fn_config_test dlls
/mstask
/tests mstask_test
14611 wine_fn_config_dll msvcirt enable_msvcirt
14612 wine_fn_config_dll msvcr100 enable_msvcr100
14613 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
14614 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
14615 wine_fn_config_dll msvcr80 enable_msvcr80
14616 wine_fn_config_dll msvcr90 enable_msvcr90
14617 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
14618 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
14619 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
14620 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
14621 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
14622 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
14623 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
14624 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
14625 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
14626 wine_fn_config_dll msvidc32 enable_msvidc32
14627 wine_fn_config_dll msvideo.dll16 enable_win16
14628 wine_fn_config_dll mswsock enable_mswsock mswsock
14629 wine_fn_config_dll msxml3 enable_msxml3
14630 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
14631 wine_fn_config_dll msxml4 enable_msxml4
14632 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
14633 wine_fn_config_dll netapi32 enable_netapi32 netapi32
14634 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
14635 wine_fn_config_dll newdev enable_newdev newdev
14636 wine_fn_config_dll ntdll enable_ntdll ntdll
14637 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
14638 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
14639 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
14640 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
14641 wine_fn_config_dll ntprint enable_ntprint
14642 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
14643 wine_fn_config_dll objsel enable_objsel
14644 wine_fn_config_dll odbc32 enable_odbc32 odbc32
14645 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
14646 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
14647 wine_fn_config_dll ole2.dll16 enable_win16
14648 wine_fn_config_dll ole2conv.dll16 enable_win16
14649 wine_fn_config_dll ole2disp.dll16 enable_win16
14650 wine_fn_config_dll ole2nls.dll16 enable_win16
14651 wine_fn_config_dll ole2prox.dll16 enable_win16
14652 wine_fn_config_dll ole2thk.dll16 enable_win16
14653 wine_fn_config_dll ole32 enable_ole32 ole32
14654 wine_fn_config_test dlls
/ole32
/tests ole32_test
14655 wine_fn_config_dll oleacc enable_oleacc oleacc
14656 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
14657 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
14658 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
14659 wine_fn_config_dll olecli.dll16 enable_win16
14660 wine_fn_config_dll olecli32 enable_olecli32 olecli32
14661 wine_fn_config_dll oledb32 enable_oledb32
14662 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
14663 wine_fn_config_dll oledlg enable_oledlg oledlg
14664 wine_fn_config_dll olepro32 enable_olepro32 olepro32
14665 wine_fn_config_dll olesvr.dll16 enable_win16
14666 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
14667 wine_fn_config_dll olethk32 enable_olethk32
14668 wine_fn_config_dll openal32 enable_openal32
14669 wine_fn_config_dll opengl32 enable_opengl32 opengl32
14670 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
14671 wine_fn_config_dll pdh enable_pdh pdh
14672 wine_fn_config_test dlls
/pdh
/tests pdh_test
14673 wine_fn_config_dll pidgen enable_pidgen
14674 wine_fn_config_dll powrprof enable_powrprof powrprof
14675 wine_fn_config_dll printui enable_printui
14676 wine_fn_config_dll propsys enable_propsys
14677 wine_fn_config_dll psapi enable_psapi psapi
14678 wine_fn_config_test dlls
/psapi
/tests psapi_test
14679 wine_fn_config_dll pstorec enable_pstorec
14680 wine_fn_config_dll qcap enable_qcap
14681 wine_fn_config_dll qedit enable_qedit
14682 wine_fn_config_test dlls
/qedit
/tests qedit_test
14683 wine_fn_config_dll qmgr enable_qmgr
14684 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
14685 wine_fn_config_dll qmgrprxy enable_qmgrprxy
14686 wine_fn_config_dll quartz enable_quartz quartz
14687 wine_fn_config_test dlls
/quartz
/tests quartz_test
14688 wine_fn_config_dll query enable_query
14689 wine_fn_config_dll rasapi16.dll16 enable_win16
14690 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
14691 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
14692 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
14693 wine_fn_config_dll resutils enable_resutils resutils
14694 wine_fn_config_dll riched20 enable_riched20 riched20
14695 wine_fn_config_test dlls
/riched20
/tests riched20_test
14696 wine_fn_config_dll riched32 enable_riched32
14697 wine_fn_config_test dlls
/riched32
/tests riched32_test
14698 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
14699 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
14700 wine_fn_config_dll rsabase enable_rsabase
14701 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
14702 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
14703 wine_fn_config_dll rtutils enable_rtutils rtutils
14704 wine_fn_config_dll samlib enable_samlib
14705 wine_fn_config_dll sane.ds enable_sane_ds
14706 wine_fn_config_dll sccbase enable_sccbase
14707 wine_fn_config_dll schannel enable_schannel
14708 wine_fn_config_test dlls
/schannel
/tests schannel_test
14709 wine_fn_config_dll secur32 enable_secur32 secur32
14710 wine_fn_config_test dlls
/secur32
/tests secur32_test
14711 wine_fn_config_dll security enable_security
14712 wine_fn_config_dll sensapi enable_sensapi sensapi
14713 wine_fn_config_dll serialui enable_serialui serialui
14714 wine_fn_config_test dlls
/serialui
/tests serialui_test
14715 wine_fn_config_dll setupapi enable_setupapi setupapi
14716 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
14717 wine_fn_config_dll setupx.dll16 enable_win16
14718 wine_fn_config_dll sfc enable_sfc sfc
14719 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
14720 wine_fn_config_dll shdoclc enable_shdoclc
14721 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
14722 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
14723 wine_fn_config_dll shell.dll16 enable_win16
14724 wine_fn_config_dll shell32 enable_shell32 shell32
14725 wine_fn_config_test dlls
/shell32
/tests shell32_test
14726 wine_fn_config_dll shfolder enable_shfolder shfolder
14727 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
14728 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
14729 wine_fn_config_dll slbcsp enable_slbcsp
14730 wine_fn_config_dll slc enable_slc slc
14731 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
14732 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
14733 wine_fn_config_dll softpub enable_softpub
14734 wine_fn_config_dll sound.drv16 enable_win16
14735 wine_fn_config_dll spoolss enable_spoolss spoolss
14736 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
14737 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
14738 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
14739 wine_fn_config_dll sti enable_sti sti
14740 wine_fn_config_test dlls
/sti
/tests sti_test
14741 wine_fn_config_dll storage.dll16 enable_win16
14742 wine_fn_config_dll stress.dll16 enable_win16
14743 wine_fn_config_lib strmiids
14744 wine_fn_config_dll svrapi enable_svrapi
14745 wine_fn_config_dll sxs enable_sxs
14746 wine_fn_config_dll system.drv16 enable_win16
14747 wine_fn_config_dll t2embed enable_t2embed
14748 wine_fn_config_dll tapi32 enable_tapi32 tapi32
14749 wine_fn_config_dll toolhelp.dll16 enable_win16
14750 wine_fn_config_dll traffic enable_traffic
14751 wine_fn_config_dll twain.dll16 enable_win16
14752 wine_fn_config_dll twain_32 enable_twain_32
14753 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
14754 wine_fn_config_dll typelib.dll16 enable_win16
14755 wine_fn_config_dll unicows enable_unicows unicows
14756 wine_fn_config_dll updspapi enable_updspapi
14757 wine_fn_config_dll url enable_url url
14758 wine_fn_config_dll urlmon enable_urlmon urlmon
14759 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
14760 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
14761 wine_fn_config_dll user.exe16 enable_win16
14762 wine_fn_config_dll user32 enable_user32 user32
14763 wine_fn_config_test dlls
/user32
/tests user32_test
14764 wine_fn_config_dll userenv enable_userenv userenv
14765 wine_fn_config_test dlls
/userenv
/tests userenv_test
14766 wine_fn_config_dll usp10 enable_usp10 usp10
14767 wine_fn_config_test dlls
/usp10
/tests usp10_test
14768 wine_fn_config_lib uuid
14769 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
14770 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
14771 wine_fn_config_dll vdhcp.vxd enable_win16
14772 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
14773 wine_fn_config_dll ver.dll16 enable_win16
14774 wine_fn_config_dll version enable_version version
14775 wine_fn_config_test dlls
/version
/tests version_test
14776 wine_fn_config_dll vmm.vxd enable_win16
14777 wine_fn_config_dll vnbt.vxd enable_win16
14778 wine_fn_config_dll vnetbios.vxd enable_win16
14779 wine_fn_config_dll vtdapi.vxd enable_win16
14780 wine_fn_config_dll vwin32.vxd enable_win16
14781 wine_fn_config_dll w32skrnl enable_win16
14782 wine_fn_config_dll w32sys.dll16 enable_win16
14783 wine_fn_config_dll wbemprox enable_wbemprox
14784 wine_fn_config_dll wiaservc enable_wiaservc
14785 wine_fn_config_dll win32s16.dll16 enable_win16
14786 wine_fn_config_dll win87em.dll16 enable_win16
14787 wine_fn_config_dll winaspi.dll16 enable_win16
14788 wine_fn_config_dll windebug.dll16 enable_win16
14789 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
14790 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
14791 wine_fn_config_dll winealsa.drv enable_winealsa_drv
14792 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
14793 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
14794 wine_fn_config_lib winecrt0
14795 wine_fn_config_dll wined3d enable_wined3d wined3d
14796 wine_fn_config_dll wineesd.drv enable_wineesd_drv
14797 wine_fn_config_dll winejack.drv enable_winejack_drv
14798 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
14799 wine_fn_config_dll winemapi enable_winemapi
14800 wine_fn_config_dll winemp3.acm enable_winemp3_acm
14801 wine_fn_config_dll winenas.drv enable_winenas_drv
14802 wine_fn_config_dll wineoss.drv enable_wineoss_drv
14803 wine_fn_config_dll wineps.drv enable_wineps_drv
14804 wine_fn_config_dll wineps16.drv16 enable_win16
14805 wine_fn_config_dll winepulse.drv enable_winepulse_drv
14806 wine_fn_config_dll winequartz.drv enable_winequartz_drv
14807 wine_fn_config_dll winex11.drv enable_winex11_drv
14808 wine_fn_config_dll wing.dll16 enable_win16
14809 wine_fn_config_dll wing32 enable_wing32
14810 wine_fn_config_dll winhttp enable_winhttp winhttp
14811 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
14812 wine_fn_config_dll wininet enable_wininet wininet
14813 wine_fn_config_test dlls
/wininet
/tests wininet_test
14814 wine_fn_config_dll winmm enable_winmm winmm
14815 wine_fn_config_test dlls
/winmm
/tests winmm_test
14816 wine_fn_config_dll winnls.dll16 enable_win16
14817 wine_fn_config_dll winnls32 enable_winnls32 winnls32
14818 wine_fn_config_dll winscard enable_winscard winscard
14819 wine_fn_config_dll winsock.dll16 enable_win16
14820 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
14821 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
14822 wine_fn_config_dll wintab.dll16 enable_win16
14823 wine_fn_config_dll wintab32 enable_wintab32 wintab32
14824 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
14825 wine_fn_config_dll wintrust enable_wintrust wintrust
14826 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
14827 wine_fn_config_dll wldap32 enable_wldap32 wldap32
14828 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
14829 wine_fn_config_dll wmi enable_wmi
14830 wine_fn_config_dll wmiutils enable_wmiutils
14831 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
14832 wine_fn_config_dll wow32 enable_win16 wow32
14833 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
14834 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
14835 wine_fn_config_dll wsock32 enable_wsock32 wsock32
14836 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
14837 wine_fn_config_dll wuapi enable_wuapi
14838 wine_fn_config_dll wuaueng enable_wuaueng
14839 wine_fn_config_dll xinput1_1 enable_xinput1_1
14840 wine_fn_config_dll xinput1_2 enable_xinput1_2
14841 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
14842 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
14843 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
14844 wine_fn_config_dll xmllite enable_xmllite
14845 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
14846 wine_fn_config_makefile documentation enable_documentation
14847 wine_fn_config_makefile fonts enable_fonts
14848 wine_fn_config_makefile include enable_include
14849 wine_fn_config_makefile libs
/port enable_libs_port
14850 wine_fn_config_makefile libs
/wine enable_libs_wine
14851 wine_fn_config_makefile libs
/wpp enable_libs_wpp
14852 wine_fn_config_makefile loader enable_loader
14853 wine_fn_config_program attrib enable_attrib
install
14854 wine_fn_config_program cacls enable_cacls
install
14855 wine_fn_config_program
clock enable_clock
install
14856 wine_fn_config_program cmd enable_cmd
install
14857 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
14858 wine_fn_config_program cmdlgtst enable_cmdlgtst
14859 wine_fn_config_program control enable_control
install
14860 wine_fn_config_program dxdiag enable_dxdiag
install
14861 wine_fn_config_program eject enable_eject
install
14862 wine_fn_config_program
expand enable_expand
install
14863 wine_fn_config_program explorer enable_explorer
install
14864 wine_fn_config_program extrac32 enable_extrac32
install
14865 wine_fn_config_program hh enable_hh
install
14866 wine_fn_config_program icinfo enable_icinfo
install
14867 wine_fn_config_program iexplore enable_iexplore
install
14868 wine_fn_config_program lodctr enable_lodctr
install
14869 wine_fn_config_program mshta enable_mshta
install
14870 wine_fn_config_program msiexec enable_msiexec installbin
14871 wine_fn_config_program net enable_net
install
14872 wine_fn_config_program ngen enable_ngen
install
14873 wine_fn_config_program notepad enable_notepad installbin
14874 wine_fn_config_program oleview enable_oleview
install
14875 wine_fn_config_program
ping enable_ping
install
14876 wine_fn_config_program progman enable_progman
install
14877 wine_fn_config_program reg enable_reg
install
14878 wine_fn_config_program regedit enable_regedit installbin
14879 wine_fn_config_program regsvr32 enable_regsvr32 installbin
14880 wine_fn_config_program rpcss enable_rpcss
install
14881 wine_fn_config_program rundll32 enable_rundll32
install
14882 wine_fn_config_program sc enable_sc
install
14883 wine_fn_config_program secedit enable_secedit
install
14884 wine_fn_config_program services enable_services
install
14885 wine_fn_config_program spoolsv enable_spoolsv
install
14886 wine_fn_config_program start enable_start
install
14887 wine_fn_config_program svchost enable_svchost
install
14888 wine_fn_config_program taskmgr enable_taskmgr
install
14889 wine_fn_config_program termsv enable_termsv
install
14890 wine_fn_config_program uninstaller enable_uninstaller
install
14891 wine_fn_config_program unlodctr enable_unlodctr
install
14892 wine_fn_config_program view enable_view
14893 wine_fn_config_program wineboot enable_wineboot installbin
14894 wine_fn_config_program winebrowser enable_winebrowser
install
14895 wine_fn_config_program winecfg enable_winecfg installbin
14896 wine_fn_config_program wineconsole enable_wineconsole installbin
14897 wine_fn_config_program winedbg enable_winedbg installbin
14898 wine_fn_config_program winedevice enable_winedevice
install
14899 wine_fn_config_program winefile enable_winefile installbin
14900 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
14901 wine_fn_config_program winemine enable_winemine installbin
14902 wine_fn_config_program winepath enable_winepath installbin
14903 wine_fn_config_program winetest enable_winetest
14904 wine_fn_config_program winevdm enable_win16
install
14905 wine_fn_config_program winhelp.exe16 enable_win16
install
14906 wine_fn_config_program winhlp32 enable_winhlp32
install
14907 wine_fn_config_program winoldap.mod16 enable_win16
install
14908 wine_fn_config_program winver enable_winver
install
14909 wine_fn_config_program wordpad enable_wordpad
install
14910 wine_fn_config_program
write enable_write
install
14911 wine_fn_config_program xcopy enable_xcopy
install
14912 wine_fn_config_makefile server enable_server
14913 wine_fn_config_tool tools
14914 wine_fn_config_tool tools
/widl
14915 wine_fn_config_tool tools
/winebuild
14916 wine_fn_config_tool tools
/winedump
14917 wine_fn_config_tool tools
/winegcc
14918 wine_fn_config_tool tools
/wmc
14919 wine_fn_config_tool tools
/wrc
14921 ac_config_commands
="$ac_config_commands Makefile"
14924 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
14928 if test -n "$with_wine64"
14930 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server $with_wine64/loader/wine
14932 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
14933 $with_wine64/loader/wine:
14934 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
14936 \$(RM) fonts server $with_wine64/loader/wine"
14939 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
14940 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
14942 cat >confcache
<<\_ACEOF
14943 # This file is a shell script that caches the results of configure
14944 # tests run on this system so they can be shared between configure
14945 # scripts and configure runs, see configure's option --config-cache.
14946 # It is not useful on other systems. If it contains results you don't
14947 # want to keep, you may remove or edit it.
14949 # config.status only pays attention to the cache file if you give it
14950 # the --recheck option to rerun configure.
14952 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14953 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14954 # following values.
14958 # The following way of writing the cache mishandles newlines in values,
14959 # but we know of no workaround that is simple, portable, and efficient.
14960 # So, we kill variables containing newlines.
14961 # Ultrix sh set writes to stderr and can't be redirected directly,
14962 # and sets the high bit in the cache file unless we assign to the vars.
14964 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14965 eval ac_val
=\$
$ac_var
14969 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14970 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14973 _ | IFS | as_nl
) ;; #(
14974 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14975 *) { eval $ac_var=; unset $ac_var;} ;;
14981 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14982 *${as_nl}ac_space
=\
*)
14983 # `set' does not quote correctly, so add quotes: double-quote
14984 # substitution turns \\\\ into \\, and sed turns \\ into \.
14987 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14990 # `set' quotes correctly as required by POSIX, so do not add quotes.
14991 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15000 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15002 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15004 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15005 if test -w "$cache_file"; then
15006 test "x$cache_file" != "x/dev/null" &&
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15008 $as_echo "$as_me: updating cache $cache_file" >&6;}
15009 cat confcache
>$cache_file
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15012 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15017 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15018 # Let make expand exec_prefix.
15019 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15021 DEFS
=-DHAVE_CONFIG_H
15025 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15026 # 1. Remove the extension, and $U if already installed.
15027 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15028 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15029 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15030 # will be set to the directory where LIBOBJS objects are built.
15031 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15032 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15034 LIBOBJS
=$ac_libobjs
15036 LTLIBOBJS
=$ac_ltlibobjs
15040 : ${CONFIG_STATUS=./config.status}
15042 ac_clean_files_save
=$ac_clean_files
15043 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15044 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15045 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15047 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15049 # Generated by $as_me.
15050 # Run this file to recreate the current configuration.
15051 # Compiler output produced by configure, useful for debugging
15052 # configure, is in config.log if it exists.
15055 ac_cs_recheck=false
15058 SHELL=\${CONFIG_SHELL-$SHELL}
15061 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15062 ## -------------------- ##
15063 ## M4sh Initialization. ##
15064 ## -------------------- ##
15066 # Be more Bourne compatible
15067 DUALCASE
=1; export DUALCASE
# for MKS sh
15068 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15071 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15072 # is contrary to our usage. Disable this feature.
15073 alias -g '${1+"$@"}'='"$@"'
15074 setopt NO_GLOB_SUBST
15076 case `(set -o) 2>/dev/null` in #(
15088 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15089 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15090 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15091 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15092 # Prefer a ksh shell builtin over an external printf program on Solaris,
15093 # but without wasting forks for bash or zsh.
15094 if test -z "$BASH_VERSION$ZSH_VERSION" \
15095 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15096 as_echo='print
-r --'
15097 as_echo_n='print
-rn --'
15098 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15099 as_echo='printf %s
\n'
15100 as_echo_n='printf %s
'
15102 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15103 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15104 as_echo_n='/usr
/ucb
/echo -n'
15106 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15107 as_echo_n_body='eval
15111 expr "X$arg" : "X\\(.*\\)$as_nl";
15112 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15114 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15116 export as_echo_n_body
15117 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15119 export as_echo_body
15120 as_echo='sh
-c $as_echo_body as_echo
'
15123 # The user is always right.
15124 if test "${PATH_SEPARATOR+set}" != set; then
15126 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15127 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15134 # We need space, tab and new line, in precisely that order. Quoting is
15135 # there to prevent editors from complaining about space-tab.
15136 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15137 # splitting by setting IFS to empty value.)
15140 # Find who we are. Look in the path if we contain no directory separator.
15142 *[\\/]* ) as_myself=$0 ;;
15143 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15144 for as_dir in $PATH
15147 test -z "$as_dir" && as_dir=.
15148 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15154 # We did not find ourselves, most probably we were run as `sh COMMAND'
15155 # in which case we are not to be found in the path.
15156 if test "x$as_myself" = x
; then
15159 if test ! -f "$as_myself"; then
15160 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15164 # Unset variables that we do not need and which cause bugs (e.g. in
15165 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15166 # suppresses any "Segmentation fault" message there. '((' could
15167 # trigger a bug in pdksh 5.2.14.
15168 for as_var
in BASH_ENV ENV MAIL MAILPATH
15169 do eval test x\
${$as_var+set} = xset \
15170 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15183 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15186 # as_fn_error ERROR [LINENO LOG_FD]
15187 # ---------------------------------
15188 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15189 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15190 # script with status $?, using 1 if that was 0.
15193 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15195 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15196 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15198 $as_echo "$as_me: error: $1" >&2
15199 as_fn_exit
$as_status
15203 # as_fn_set_status STATUS
15204 # -----------------------
15205 # Set $? to STATUS, without forking.
15206 as_fn_set_status
()
15209 } # as_fn_set_status
15211 # as_fn_exit STATUS
15212 # -----------------
15213 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15217 as_fn_set_status
$1
15223 # Portably unset VAR.
15226 { eval $1=; unset $1;}
15228 as_unset
=as_fn_unset
15229 # as_fn_append VAR VALUE
15230 # ----------------------
15231 # Append the text in VALUE to the end of the definition contained in VAR. Take
15232 # advantage of any shell optimizations that allow amortized linear growth over
15233 # repeated appends, instead of the typical quadratic growth present in naive
15235 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15236 eval 'as_fn_append ()
15247 # as_fn_arith ARG...
15248 # ------------------
15249 # Perform arithmetic evaluation on the ARGs, and store the result in the
15250 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15251 # must be portable across $(()) and expr.
15252 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15253 eval 'as_fn_arith ()
15260 as_val
=`expr "$@" || test $? -eq 1`
15265 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15266 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15272 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15273 as_basename
=basename
15278 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15284 as_me
=`$as_basename -- "$0" ||
15285 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15286 X"$0" : 'X\(//\)$' \| \
15287 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15289 sed '/^.*\/\([^/][^/]*\)\/*$/{
15303 # Avoid depending upon Character Ranges.
15304 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15305 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15306 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15307 as_cr_digits
='0123456789'
15308 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15310 ECHO_C
= ECHO_N
= ECHO_T
=
15311 case `echo -n x` in #(((((
15313 case `echo 'xy\c'` in
15314 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15316 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15323 rm -f conf$$ conf$$.exe conf$$.
file
15324 if test -d conf$$.dir
; then
15325 rm -f conf$$.dir
/conf$$.
file
15328 mkdir conf$$.dir
2>/dev
/null
15330 if (echo >conf$$.
file) 2>/dev
/null
; then
15331 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15333 # ... but there are two gotchas:
15334 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15335 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15336 # In both cases, we have to default to `cp -p'.
15337 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15339 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15347 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15348 rmdir conf$$.dir
2>/dev
/null
15353 # Create "$as_dir" as a directory, including parents if necessary.
15358 -*) as_dir
=.
/$as_dir;;
15360 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15364 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15365 *) as_qdir
=$as_dir;;
15367 as_dirs
="'$as_qdir' $as_dirs"
15368 as_dir
=`$as_dirname -- "$as_dir" ||
15369 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15370 X"$as_dir" : 'X\(//\)[^/]' \| \
15371 X"$as_dir" : 'X\(//\)$' \| \
15372 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15373 $as_echo X"$as_dir" |
15374 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15378 /^X\(\/\/\)[^/].*/{
15391 test -d "$as_dir" && break
15393 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15394 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15398 if mkdir
-p .
2>/dev
/null
; then
15399 as_mkdir_p
='mkdir -p "$as_dir"'
15401 test -d .
/-p && rmdir .
/-p
15405 if test -x / >/dev
/null
2>&1; then
15406 as_test_x
='test -x'
15408 if ls -dL / >/dev
/null
2>&1; then
15415 if test -d "$1"; then
15421 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15422 ???[sx]*):;;*)false;;esac;fi
15426 as_executable_p
=$as_test_x
15428 # Sed expression to map a string onto a valid CPP name.
15429 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15431 # Sed expression to map a string onto a valid variable name.
15432 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15436 ## ----------------------------------- ##
15437 ## Main body of $CONFIG_STATUS script. ##
15438 ## ----------------------------------- ##
15440 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15443 # Save the log message, to keep $0 and so on meaningful, and to
15444 # report actual input values of CONFIG_FILES etc. instead of their
15445 # values after options handling.
15447 This file was extended by Wine $as_me 1.2, which was
15448 generated by GNU Autoconf 2.65. Invocation command line was
15450 CONFIG_FILES = $CONFIG_FILES
15451 CONFIG_HEADERS = $CONFIG_HEADERS
15452 CONFIG_LINKS = $CONFIG_LINKS
15453 CONFIG_COMMANDS = $CONFIG_COMMANDS
15456 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15461 case $ac_config_files in *"
15462 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15465 case $ac_config_headers in *"
15466 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15470 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15471 # Files that config.status was made for.
15472 config_files="$ac_config_files"
15473 config_headers="$ac_config_headers"
15474 config_links="$ac_config_links"
15475 config_commands="$ac_config_commands"
15479 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15481 \`$as_me' instantiates files and other configuration actions
15482 from templates according to the current configuration. Unless the files
15483 and actions are specified as TAGs, all are instantiated by default.
15485 Usage: $0 [OPTION]... [TAG]...
15487 -h, --help print this help, then exit
15488 -V, --version print version number and configuration settings, then exit
15489 --config print configuration, then exit
15490 -q, --quiet, --silent
15491 do not print progress messages
15492 -d, --debug don't remove temporary files
15493 --recheck update $as_me by reconfiguring in the same conditions
15494 --file=FILE[:TEMPLATE]
15495 instantiate the configuration file FILE
15496 --header=FILE[:TEMPLATE]
15497 instantiate the configuration header FILE
15499 Configuration files:
15502 Configuration headers:
15505 Configuration links:
15508 Configuration commands:
15511 Report bugs to <wine-devel@winehq.org>.
15512 Wine home page: <http://www.winehq.org>."
15515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15516 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15518 Wine config.status 1.2
15519 configured by $0, generated by GNU Autoconf 2.65,
15520 with options \\"\$ac_cs_config\\"
15522 Copyright (C) 2009 Free Software Foundation, Inc.
15523 This config.status script is free software; the Free Software Foundation
15524 gives unlimited permission to copy, distribute and modify it."
15529 test -n "\$AWK" || AWK=awk
15532 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15533 # The default lists apply if the user does not specify any file.
15539 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15540 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15551 # Handling of the options.
15552 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15554 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15555 $as_echo "$ac_cs_version"; exit ;;
15556 --config |
--confi |
--conf |
--con |
--co |
--c )
15557 $as_echo "$ac_cs_config"; exit ;;
15558 --debug |
--debu |
--deb |
--de |
--d |
-d )
15560 --file |
--fil |
--fi |
--f )
15563 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15565 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15566 ac_need_defaults
=false
;;
15567 --header |
--heade |
--head |
--hea )
15570 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15572 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15573 ac_need_defaults
=false
;;
15575 # Conflict between --help and --header
15576 as_fn_error
"ambiguous option: \`$1'
15577 Try \`$0 --help' for more information.";;
15578 --help |
--hel |
-h )
15579 $as_echo "$ac_cs_usage"; exit ;;
15580 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15581 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15584 # This is an error.
15585 -*) as_fn_error
"unrecognized option: \`$1'
15586 Try \`$0 --help' for more information." ;;
15588 *) as_fn_append ac_config_targets
" $1"
15589 ac_need_defaults
=false
;;
15595 ac_configure_extra_args
=
15597 if $ac_cs_silent; then
15599 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15604 if \$ac_cs_recheck; then
15605 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15607 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15608 CONFIG_SHELL='$SHELL'
15609 export CONFIG_SHELL
15614 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15618 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15619 ## Running $as_me. ##
15625 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15629 wine_fn_output_makefile ()
15631 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
15632 $ALL_MAKEFILE_DEPENDS
15634 as_fn_error "could not create Makefile" "$LINENO" 5
15639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15641 # Handling of arguments.
15642 for ac_config_target
in $ac_config_targets
15644 case $ac_config_target in
15645 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15646 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
15647 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
15648 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
15649 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
15650 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
15651 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
15652 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
15653 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
15654 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
15655 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
15656 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
15657 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
15658 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
15659 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
15660 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
15661 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
15662 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
15663 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
15664 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
15665 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
15666 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
15668 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15673 # If the user did not use the arguments to specify the items to instantiate,
15674 # then the envvar interface is used. Set only those that are not.
15675 # We use the long form for the default assignment because of an extremely
15676 # bizarre bug on SunOS 4.1.3.
15677 if $ac_need_defaults; then
15678 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15679 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15680 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
15681 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15684 # Have a temporary directory for convenience. Make it in the build tree
15685 # simply because there is no reason against having it here, and in addition,
15686 # creating and moving files from /tmp can sometimes cause problems.
15687 # Hook for its removal unless debugging.
15688 # Note that there is a small window in which the directory will not be cleaned:
15689 # after its creation but before its name has been assigned to `$tmp'.
15693 trap 'exit_status=$?
15694 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15696 trap 'as_fn_exit 1' 1 2 13 15
15698 # Create a (secure) tmp directory for tmp files.
15701 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15702 test -n "$tmp" && test -d "$tmp"
15705 tmp
=.
/conf$$
-$RANDOM
15706 (umask 077 && mkdir
"$tmp")
15707 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15709 # Set up the scripts for CONFIG_FILES section.
15710 # No need to generate them if there are no CONFIG_FILES.
15711 # This happens for instance with `./config.status config.h'.
15712 if test -n "$CONFIG_FILES"; then
15714 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15715 ac_cs_awk_getline
=:
15716 ac_cs_awk_pipe_init
=
15717 ac_cs_awk_read_file
='
15718 while ((getline aline < (F[key])) > 0)
15721 ac_cs_awk_pipe_fini
=
15723 ac_cs_awk_getline
=false
15724 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15725 ac_cs_awk_read_file
='
15727 print "cat " F[key] " &&"
15728 '$ac_cs_awk_pipe_init
15729 # The final `:' finishes the AND list.
15730 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15732 ac_cr
=`echo X | tr X '\015'`
15733 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15734 # But we know of no other shell where ac_cr would be empty at this
15735 # point, so we can use a bashism as a fallback.
15736 if test "x$ac_cr" = x
; then
15737 eval ac_cr
=\$
\'\\r
\'
15739 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15740 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15743 ac_cs_awk_cr
=$ac_cr
15746 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15749 # Create commands to substitute file output variables.
15751 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15752 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15753 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15756 } >conf$
$files.sh
&&
15757 . .
/conf$
$files.sh ||
15758 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15759 rm -f conf$
$files.sh
15762 echo "cat >conf$$subs.awk <<_ACEOF" &&
15763 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15765 } >conf$$subs.sh ||
15766 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15767 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15769 for ac_last_try in false false false false false :; do
15770 . ./conf$$subs.sh ||
15771 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15773 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15774 if test $ac_delim_n = $ac_delim_num; then
15776 elif $ac_last_try; then
15777 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15779 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15782 rm -f conf$$subs.sh
15784 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15785 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15789 s/^/S["/; s
/!.
*/"]=/
15799 s/\(.\{148\}\)..*/\1/
15801 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15806 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15813 s/\(.\{148\}\)..*/\1/
15815 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15819 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15824 ' <conf$$subs.awk | sed '
15829 ' >>$CONFIG_STATUS || ac_write_fail=1
15830 rm -f conf$$subs.awk
15831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15833 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15834 for (key in S) S_is_set[key] = 1
15836 \$ac_cs_awk_pipe_init
15840 nfields = split(line, field, "@
")
15842 len = length(field[1])
15843 for (i = 2; i < nfields; i++) {
15845 keylen = length(key)
15846 if (S_is_set[key]) {
15848 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15849 len += length(value) + length(field[++i])
15854 if (nfields == 3 && !substed) {
15856 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15857 \$ac_cs_awk_read_file
15863 \$ac_cs_awk_pipe_fini
15866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15867 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15868 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15871 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15872 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15875 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15876 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15877 # trailing colons and then remove the whole line if VPATH becomes empty
15878 # (actually we leave an empty line to preserve line numbers).
15879 if test "x
$srcdir" = x.; then
15880 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15881 s/:*\$(srcdir):*/:/
15882 s/:*\${srcdir}:*/:/
15884 s/^\([^=]*=[ ]*\):*/\1/
15890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15891 fi # test -n "$CONFIG_FILES"
15893 # Set up the scripts for CONFIG_HEADERS section.
15894 # No need to generate them if there are no CONFIG_HEADERS.
15895 # This happens for instance with `./config.status Makefile'.
15896 if test -n "$CONFIG_HEADERS"; then
15897 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15901 # Transform confdefs.h into an awk script `defines.awk', embedded as
15902 # here-document in config.status, that substitutes the proper values into
15903 # config.h.in to produce config.h.
15905 # Create a delimiter string that does not exist in confdefs.h, to ease
15906 # handling of long lines.
15908 for ac_last_try in false false :; do
15909 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15910 if test -z "$ac_t"; then
15912 elif $ac_last_try; then
15913 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15915 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15919 # For the awk script, D is an array of macro values keyed by name,
15920 # likewise P contains macro parameters if any. Preserve backslash
15921 # newline sequences.
15923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15925 s/.\{148\}/&'"$ac_delim"'/g
15928 s/^[ ]*#[ ]*define[ ][ ]*/ /
15935 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15937 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15942 D["\
1"]=" \
3\\\\\\n
"\\/p
15944 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15949 s/.\{148\}/&'"$ac_delim"'/g
15954 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15957 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15959 ' <confdefs.h | sed '
15960 s/'"$ac_delim"'/"\\\
15961 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15964 for (key in D) D_is_set[key] = 1
15967 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15969 split(line, arg, " ")
15970 if (arg[1] == "#") {
15974 defundef
= substr
(arg
[1], 2)
15977 split(mac1
, mac2
, "(") #)
15979 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15980 if (D_is_set
[macro
]) {
15981 # Preserve the white space surrounding the "#".
15982 print prefix
"define", macro P
[macro
] D
[macro
]
15985 # Replace #undef with comments. This is necessary, for example,
15986 # in the case of _POSIX_SOURCE, which is predefined and required
15987 # on some systems where configure will not decide to define it.
15988 if (defundef
== "undef") {
15989 print
"/*", prefix defundef
, macro
, "*/"
15997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15998 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15999 fi # test -n "$CONFIG_HEADERS"
16002 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16007 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16009 case $ac_mode$ac_tag in
16011 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16012 :[FH
]-) ac_tag
=-:-;;
16013 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16030 -) ac_f
="$tmp/stdin";;
16031 *) # Look for the file first in the build tree, then in the source tree
16032 # (if the path is not absolute). The absolute path cannot be DOS-style,
16033 # because $ac_f cannot contain `:'.
16037 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16039 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16041 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16042 as_fn_append ac_file_inputs
" '$ac_f'"
16045 # Let's still pretend it is `configure' which instantiates (i.e., don't
16046 # use $as_me), people would be surprised to read:
16047 # /* config.h. Generated by config.status. */
16048 configure_input
='Generated from '`
16049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16051 if test x
"$ac_file" != x-
; then
16052 configure_input
="$ac_file. $configure_input"
16053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16054 $as_echo "$as_me: creating $ac_file" >&6;}
16056 # Neutralize special characters interpreted by sed in replacement strings.
16057 case $configure_input in #(
16058 *\
&* |
*\|
* |
*\\* )
16059 ac_sed_conf_input
=`$as_echo "$configure_input" |
16060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16061 *) ac_sed_conf_input
=$configure_input;;
16065 *:-:* |
*:-) cat >"$tmp/stdin" \
16066 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16071 ac_dir
=`$as_dirname -- "$ac_file" ||
16072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16073 X"$ac_file" : 'X\(//\)[^/]' \| \
16074 X"$ac_file" : 'X\(//\)$' \| \
16075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16076 $as_echo X"$ac_file" |
16077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16081 /^X\(\/\/\)[^/].*/{
16094 as_dir
="$ac_dir"; as_fn_mkdir_p
16098 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16100 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16101 # A ".." for each directory in $ac_dir_suffix.
16102 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16103 case $ac_top_builddir_sub in
16104 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16105 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16108 ac_abs_top_builddir
=$ac_pwd
16109 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16110 # for backward compatibility:
16111 ac_top_builddir
=$ac_top_build_prefix
16114 .
) # We are building in place.
16116 ac_top_srcdir
=$ac_top_builddir_sub
16117 ac_abs_top_srcdir
=$ac_pwd ;;
16118 [\\/]* | ?
:[\\/]* ) # Absolute name.
16119 ac_srcdir
=$srcdir$ac_dir_suffix;
16120 ac_top_srcdir
=$srcdir
16121 ac_abs_top_srcdir
=$srcdir ;;
16122 *) # Relative name.
16123 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16124 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16125 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16127 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16137 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16138 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16143 # If the template does not know about datarootdir, expand it.
16144 # FIXME: This hack should be removed a few years after 2.60.
16145 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16156 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16157 *datarootdir
*) ac_datarootdir_seen
=yes;;
16158 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16160 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16162 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16163 ac_datarootdir_hack='
16164 s&@datadir@&$datadir&g
16165 s&@docdir@&$docdir&g
16166 s&@infodir@&$infodir&g
16167 s&@localedir@&$localedir&g
16168 s&@mandir@&$mandir&g
16169 s&\\\${datarootdir}&$datarootdir&g' ;;
16173 # Neutralize VPATH when `$srcdir' = `.'.
16174 # Shell code in configure.ac might set extrasub.
16175 # FIXME: do we really want to maintain this feature?
16176 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16177 ac_sed_extra="$ac_vpsub
16180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16182 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16183 s|@configure_input@|
$ac_sed_conf_input|
;t t
16184 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16185 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16186 s
&@srcdir@
&$ac_srcdir&;t t
16187 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16188 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16189 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16190 s
&@builddir@
&$ac_builddir&;t t
16191 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16192 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16193 s
&@INSTALL@
&$ac_INSTALL&;t t
16194 $ac_datarootdir_hack
16196 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16197 if $ac_cs_awk_getline; then
16198 $AWK -f "$tmp/subs.
awk"
16200 $AWK -f "$tmp/subs.
awk" | $SHELL
16202 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16204 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16205 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16206 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16208 which seems to be undefined. Please make sure it is defined." >&5
16209 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16210 which seems to be undefined. Please make sure it is defined." >&2;}
16214 -) cat "$tmp/out" && rm -f "$tmp/out";;
16215 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16217 || as_fn_error "could not create $ac_file" "$LINENO" 5
16223 if test x"$ac_file" != x-; then
16225 $as_echo "/* $configure_input */" \
16226 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16227 } >"$tmp/config.h" \
16228 || as_fn_error "could not create $ac_file" "$LINENO" 5
16229 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16231 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16234 mv "$tmp/config.h" "$ac_file" \
16235 || as_fn_error "could not create $ac_file" "$LINENO" 5
16238 $as_echo "/* $configure_input */" \
16239 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16240 || as_fn_error "could not create -" "$LINENO" 5
16248 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16251 # Prefer the file from the source tree if names are identical.
16252 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16253 ac_source=$srcdir/$ac_source
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16257 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16259 if test ! -r "$ac_source"; then
16260 as_fn_error "$ac_source: file not found" "$LINENO" 5
16264 # Try a relative symlink, then a hard link, then a copy.
16266 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16267 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16269 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16270 ln "$ac_source" "$ac_file" 2>/dev/null ||
16271 cp -p "$ac_source" "$ac_file" ||
16272 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16275 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16276 $as_echo "$as_me: executing $ac_file commands" >&6;}
16281 case $ac_file$ac_mode in
16282 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16283 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16284 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16285 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16286 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16287 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16288 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16289 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16290 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16291 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16292 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16293 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16294 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16295 "Makefile":C) wine_fn_output_makefile Makefile ;;
16303 ac_clean_files=$ac_clean_files_save
16305 test $ac_write_fail = 0 ||
16306 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16309 # configure is writing to config.log, and then calls config.status.
16310 # config.status does its own redirection, appending to config.log.
16311 # Unfortunately, on DOS this fails, as config.log is still kept open
16312 # by configure, so config.status won't be able to
write to it
; its
16313 # output is simply discarded. So we exec the FD to /dev/null,
16314 # effectively closing config.log, so it can be properly (re)opened and
16315 # appended to by config.status. When coming back to configure, we
16316 # need to make the FD available again.
16317 if test "$no_create" != yes; then
16319 ac_config_status_args
=
16320 test "$silent" = yes &&
16321 ac_config_status_args
="$ac_config_status_args --quiet"
16323 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16325 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16326 # would make configure fail if this is the last instruction.
16327 $ac_cs_success || as_fn_exit $?
16329 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16331 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16335 if test "$no_create" = "yes"
16341 if test "x$wine_notices != "x
; then
16344 for msg
in $wine_notices; do
16346 if test -n "$msg"; then
16347 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16348 $as_echo "$as_me: $msg" >&6;}
16353 for msg
in $wine_warnings; do
16355 if test -n "$msg"; then
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16358 $as_echo "$as_me: WARNING: $msg" >&2;}
16364 $as_me: Finished. Do '${ac_make}' to compile Wine.