2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Wine 1.2-rc2.
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-rc2'
556 PACKAGE_STRING
='Wine 1.2-rc2'
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-rc2 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-rc2:";;
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
1583 Wine configure
1.2-rc2
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-rc2, 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"
6557 ac_save_LIBS
="$LIBS"
6558 if test "$ac_cv_header_AudioToolbox_AudioConverter_h" = "yes"
6560 LIBS
="$LIBS $COREAUDIO"
6561 LIBS
="$ac_save_LIBS"
6564 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6566 FRAMEWORK_OPENAL
="-framework OpenAL"
6569 cat >>confdefs.h
<<_ACEOF
6570 #define HAVE_OPENAL 1
6573 ac_cv_lib_openal
=yes
6575 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6577 ac_save_LIBS
="$LIBS"
6578 LIBS
="$LIBS $IOKITLIB"
6579 for ac_func
in IOHIDManagerCreate
6581 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6582 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6583 cat >>confdefs.h
<<_ACEOF
6584 #define HAVE_IOHIDMANAGERCREATE 1
6590 LIBS
="$ac_save_LIBS"
6594 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6596 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6598 CARBONLIB
="-framework Carbon"
6600 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6602 if test "x$enable_win16" = "xyes"
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6605 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6606 if test "$cross_compiling" = yes; then :
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6608 $as_echo "cross-compiling, assuming yes" >&6; }
6610 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6611 /* end confdefs.h. */
6614 "good:\tnop;nop\n\t"
6615 ".globl _testfunc\n"
6616 "_testfunc:\tcallw good");
6617 extern void testfunc();
6621 unsigned short *p = (unsigned short *)testfunc;
6622 return p[0] != 0xe866 || p[1] != 0xfffa
6627 if ac_fn_c_try_run
"$LINENO"; then :
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6629 $as_echo "yes" >&6; }
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6633 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
6635 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6636 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6642 DLLFLAGS
="$DLLFLAGS -fPIC"
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6645 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6646 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6647 $as_echo_n "(cached) " >&6
6649 ac_wine_try_cflags_saved
=$CFLAGS
6650 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6651 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6652 /* end confdefs.h. */
6655 if ac_fn_c_try_link
"$LINENO"; then :
6656 ac_cv_c_dll_gnuelf
="yes"
6658 ac_cv_c_dll_gnuelf
="no"
6660 rm -f core conftest.err conftest.
$ac_objext \
6661 conftest
$ac_exeext conftest.
$ac_ext
6662 CFLAGS
=$ac_wine_try_cflags_saved
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6665 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6666 if test "$ac_cv_c_dll_gnuelf" = "yes"
6668 LDSHARED
="\$(CC) -shared"
6669 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6671 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6672 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6673 $as_echo_n "(cached) " >&6
6675 ac_wine_try_cflags_saved
=$CFLAGS
6676 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6677 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6678 /* end confdefs.h. */
6679 int main(int argc, char **argv) { return 0; }
6681 if ac_fn_c_try_link
"$LINENO"; then :
6682 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6684 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6686 rm -f core conftest.err conftest.
$ac_objext \
6687 conftest
$ac_exeext conftest.
$ac_ext
6688 CFLAGS
=$ac_wine_try_cflags_saved
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6691 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6692 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6693 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6696 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6697 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6698 $as_echo_n "(cached) " >&6
6700 ac_wine_try_cflags_saved
=$CFLAGS
6701 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6703 /* end confdefs.h. */
6704 int main(int argc, char **argv) { return 0; }
6706 if ac_fn_c_try_link
"$LINENO"; then :
6707 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6709 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6711 rm -f core conftest.err conftest.
$ac_objext \
6712 conftest
$ac_exeext conftest.
$ac_ext
6713 CFLAGS
=$ac_wine_try_cflags_saved
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6716 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6717 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6718 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6723 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6724 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6725 $as_echo_n "(cached) " >&6
6727 ac_wine_try_cflags_saved
=$CFLAGS
6728 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6729 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6730 /* end confdefs.h. */
6731 int main(int argc, char **argv) { return 0; }
6733 if ac_fn_c_try_link
"$LINENO"; then :
6734 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6736 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6738 rm -f core conftest.err conftest.
$ac_objext \
6739 conftest
$ac_exeext conftest.
$ac_ext
6740 CFLAGS
=$ac_wine_try_cflags_saved
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6743 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6744 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6745 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6748 { $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
6749 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6750 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6753 ac_wine_try_cflags_saved
=$CFLAGS
6754 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6755 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6756 /* end confdefs.h. */
6757 int main(int argc, char **argv) { return 0; }
6759 if ac_fn_c_try_link
"$LINENO"; then :
6760 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6762 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6764 rm -f core conftest.err conftest.
$ac_objext \
6765 conftest
$ac_exeext conftest.
$ac_ext
6766 CFLAGS
=$ac_wine_try_cflags_saved
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6769 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6770 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6771 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6774 echo '{ global: *; };' >conftest.map
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6776 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6777 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
6778 $as_echo_n "(cached) " >&6
6780 ac_wine_try_cflags_saved
=$CFLAGS
6781 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6782 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6784 int main(int argc, char **argv) { return 0; }
6786 if ac_fn_c_try_link
"$LINENO"; then :
6787 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6789 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6791 rm -f core conftest.err conftest.
$ac_objext \
6792 conftest
$ac_exeext conftest.
$ac_ext
6793 CFLAGS
=$ac_wine_try_cflags_saved
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6796 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6797 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6798 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6803 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6804 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6805 $as_echo_n "(cached) " >&6
6807 ac_wine_try_cflags_saved
=$CFLAGS
6808 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6810 /* end confdefs.h. */
6811 int main(int argc, char **argv) { return 0; }
6813 if ac_fn_c_try_link
"$LINENO"; then :
6814 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6816 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6818 rm -f core conftest.err conftest.
$ac_objext \
6819 conftest
$ac_exeext conftest.
$ac_ext
6820 CFLAGS
=$ac_wine_try_cflags_saved
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6823 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6824 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6825 LDEXECFLAGS
="-Wl,--export-dynamic"
6829 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6831 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6832 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6833 $as_echo_n "(cached) " >&6
6835 ac_wine_try_cflags_saved
=$CFLAGS
6836 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6837 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6838 /* end confdefs.h. */
6839 int main(int argc, char **argv) { return 0; }
6841 if ac_fn_c_try_link
"$LINENO"; then :
6842 eval "$as_ac_var=yes"
6844 eval "$as_ac_var=no"
6846 rm -f core conftest.err conftest.
$ac_objext \
6847 conftest
$ac_exeext conftest.
$ac_ext
6848 CFLAGS
=$ac_wine_try_cflags_saved
6850 eval ac_res
=\$
$as_ac_var
6851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6852 $as_echo "$ac_res" >&6; }
6853 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6854 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6855 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6857 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6859 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6860 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6861 $as_echo_n "(cached) " >&6
6863 ac_wine_try_cflags_saved
=$CFLAGS
6864 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6866 /* end confdefs.h. */
6867 int main(int argc, char **argv) { return 0; }
6869 if ac_fn_c_try_link
"$LINENO"; then :
6870 eval "$as_ac_var=yes"
6872 eval "$as_ac_var=no"
6874 rm -f core conftest.err conftest.
$ac_objext \
6875 conftest
$ac_exeext conftest.
$ac_ext
6876 CFLAGS
=$ac_wine_try_cflags_saved
6878 eval ac_res
=\$
$as_ac_var
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6880 $as_echo "$ac_res" >&6; }
6881 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6882 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6883 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6888 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6889 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6890 $as_echo_n "(cached) " >&6
6892 ac_wine_try_cflags_saved
=$CFLAGS
6893 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6895 /* end confdefs.h. */
6896 int main(int argc, char **argv) { return 0; }
6898 if ac_fn_c_try_link
"$LINENO"; then :
6899 ac_cv_cflags__Wl___enable_new_dtags
=yes
6901 ac_cv_cflags__Wl___enable_new_dtags
=no
6903 rm -f core conftest.err conftest.
$ac_objext \
6904 conftest
$ac_exeext conftest.
$ac_ext
6905 CFLAGS
=$ac_wine_try_cflags_saved
6907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6908 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6909 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6910 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6914 *i
[3456789]86* | x86_64
)
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6916 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6917 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
6918 $as_echo_n "(cached) " >&6
6920 ac_wine_try_cflags_saved
=$CFLAGS
6921 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6924 int main(int argc, char **argv) { return 0; }
6926 if ac_fn_c_try_link
"$LINENO"; then :
6927 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6929 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6931 rm -f core conftest.err conftest.
$ac_objext \
6932 conftest
$ac_exeext conftest.
$ac_ext
6933 CFLAGS
=$ac_wine_try_cflags_saved
6935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6936 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6937 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6938 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6945 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6946 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6947 $as_echo_n "(cached) " >&6
6949 ac_wine_try_cflags_saved
=$CFLAGS
6950 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6951 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6952 /* end confdefs.h. */
6955 if ac_fn_c_try_link
"$LINENO"; then :
6956 ac_cv_c_dll_unixware
="yes"
6958 ac_cv_c_dll_unixware
="no"
6960 rm -f core conftest.err conftest.
$ac_objext \
6961 conftest
$ac_exeext conftest.
$ac_ext
6962 CFLAGS
=$ac_wine_try_cflags_saved
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6965 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6966 if test "$ac_cv_c_dll_unixware" = "yes"
6968 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6969 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
6972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6973 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6974 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6975 $as_echo_n "(cached) " >&6
6977 ac_wine_try_cflags_saved
=$CFLAGS
6978 CFLAGS
="$CFLAGS -shared"
6979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6980 /* end confdefs.h. */
6983 if ac_fn_c_try_link
"$LINENO"; then :
6984 ac_cv_c_dll_hpux
="yes"
6986 ac_cv_c_dll_hpux
="no"
6988 rm -f core conftest.err conftest.
$ac_objext \
6989 conftest
$ac_exeext conftest.
$ac_ext
6990 CFLAGS
=$ac_wine_try_cflags_saved
6992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6993 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6994 if test "$ac_cv_c_dll_hpux" = "yes"
6998 LDDLLFLAGS
="-shared -fPIC"
6999 LDSHARED
="\$(CC) -shared"
7006 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7008 if test "$LIBEXT" = "a"; then
7009 as_fn_error
"could not find a way to build shared libraries.
7010 It is currently not possible to build Wine without shared library
7011 (.so) support to allow transparent switch between .so and .dll files.
7012 If you are using Linux, you will need a newer binutils.
7016 if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
7020 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 " ;;
7022 ac_prefix_list
="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
7024 ac_prefix_list
="" ;;
7026 for ac_prog
in $ac_prefix_list
7028 # Extract the first word of "$ac_prog", so it can be a program name with args.
7029 set dummy
$ac_prog; ac_word
=$2
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7031 $as_echo_n "checking for $ac_word... " >&6; }
7032 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
7033 $as_echo_n "(cached) " >&6
7035 if test -n "$CROSSCC"; then
7036 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7042 test -z "$as_dir" && as_dir
=.
7043 for ac_exec_ext
in '' $ac_executable_extensions; do
7044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7045 ac_cv_prog_CROSSCC
="$ac_prog"
7046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7055 CROSSCC
=$ac_cv_prog_CROSSCC
7056 if test -n "$CROSSCC"; then
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7058 $as_echo "$CROSSCC" >&6; }
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7061 $as_echo "no" >&6; }
7065 test -n "$CROSSCC" && break
7067 test -n "$CROSSCC" || CROSSCC
="false"
7069 if test "$CROSSCC" != "false"
7071 CROSSTEST
="\$(CROSSTEST)"
7079 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7083 if test -n "$target"
7085 CROSSTARGET
="$target"
7092 if test "$ac_cv_header_pthread_h" = "yes"
7094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7095 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7096 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7097 $as_echo_n "(cached) " >&6
7099 ac_check_lib_save_LIBS
=$LIBS
7100 LIBS
="-lpthread $LIBS"
7101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7104 /* Override any GCC internal prototype to avoid an error.
7105 Use char because int might match the return type of a GCC
7106 builtin and then its argument prototype would still apply. */
7110 char pthread_create ();
7114 return pthread_create ();
7119 if ac_fn_c_try_link
"$LINENO"; then :
7120 ac_cv_lib_pthread_pthread_create
=yes
7122 ac_cv_lib_pthread_pthread_create
=no
7124 rm -f core conftest.err conftest.
$ac_objext \
7125 conftest
$ac_exeext conftest.
$ac_ext
7126 LIBS
=$ac_check_lib_save_LIBS
7128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7129 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7130 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7131 LIBPTHREAD
="-lpthread"
7136 if test "x$LIBPTHREAD" = "x"; then :
7137 case "x$with_pthread" in
7139 *) as_fn_error
"pthread ${notice_platform}development files not found.
7140 Wine cannot support threads without libpthread.
7141 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7147 $as_echo_n "checking for X... " >&6; }
7150 # Check whether --with-x was given.
7151 if test "${with_x+set}" = set; then :
7155 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7156 if test "x$with_x" = xno
; then
7157 # The user explicitly disabled X.
7160 case $x_includes,$x_libraries in #(
7161 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
7162 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7163 $as_echo_n "(cached) " >&6
7165 # One or both of the vars are not set, and there is no cached value.
7166 ac_x_includes
=no ac_x_libraries
=no
7167 rm -f -r conftest.dir
7168 if mkdir conftest.dir
; then
7170 cat >Imakefile
<<'_ACEOF'
7172 @echo incroot='${INCROOT}'
7174 @echo usrlibdir='${USRLIBDIR}'
7176 @echo libdir='${LIBDIR}'
7178 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7179 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7180 for ac_var
in incroot usrlibdir libdir
; do
7181 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7183 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7184 for ac_extension
in a so sl dylib la dll
; do
7185 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7186 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7187 ac_im_usrlibdir
=$ac_im_libdir; break
7190 # Screen out bogus values from the imake configuration. They are
7191 # bogus both because they are the default anyway, and because
7192 # using them would break gcc on systems where it needs fixed includes.
7193 case $ac_im_incroot in
7194 /usr
/include
) ac_x_includes
= ;;
7195 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7197 case $ac_im_usrlibdir in
7198 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7199 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7203 rm -f -r conftest.dir
7206 # Standard set of common directories for X headers.
7207 # Check X11 before X11Rn because it is often a symlink to the current release.
7221 /usr/local/X11/include
7222 /usr/local/X11R7/include
7223 /usr/local/X11R6/include
7224 /usr/local/X11R5/include
7225 /usr/local/X11R4/include
7227 /usr/local/include/X11
7228 /usr/local/include/X11R7
7229 /usr/local/include/X11R6
7230 /usr/local/include/X11R5
7231 /usr/local/include/X11R4
7235 /usr/XFree86/include/X11
7239 /usr/unsupported/include
7241 /usr/local/x11r5/include
7242 /usr/lpp/Xamples/include
7244 /usr/openwin/include
7245 /usr/openwin/share/include'
7247 if test "$ac_x_includes" = no
; then
7248 # Guess where to find include files, by looking for Xlib.h.
7249 # First, try using that file with no special directory specified.
7250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7251 /* end confdefs.h. */
7252 #include <X11/Xlib.h>
7254 if ac_fn_c_try_cpp
"$LINENO"; then :
7255 # We can compile using X headers with no special include directory.
7258 for ac_dir
in $ac_x_header_dirs; do
7259 if test -r "$ac_dir/X11/Xlib.h"; then
7260 ac_x_includes
=$ac_dir
7265 rm -f conftest.err conftest.
$ac_ext
7266 fi # $ac_x_includes = no
7268 if test "$ac_x_libraries" = no
; then
7269 # Check for the libraries.
7270 # See if we find them without any special options.
7271 # Don't add to $LIBS permanently.
7274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7275 /* end confdefs.h. */
7276 #include <X11/Xlib.h>
7285 if ac_fn_c_try_link
"$LINENO"; then :
7287 # We can link X programs with no special library path.
7291 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7293 # Don't even attempt the hair of trying to link an X program!
7294 for ac_extension
in a so sl dylib la dll
; do
7295 if test -r "$ac_dir/libX11.$ac_extension"; then
7296 ac_x_libraries
=$ac_dir
7302 rm -f core conftest.err conftest.
$ac_objext \
7303 conftest
$ac_exeext conftest.
$ac_ext
7304 fi # $ac_x_libraries = no
7306 case $ac_x_includes,$ac_x_libraries in #(
7308 # Didn't find X, or a directory has "'" in its name.
7309 ac_cv_have_x
="have_x=no";; #(
7311 # Record where we found X for the cache.
7312 ac_cv_have_x
="have_x=yes\
7313 ac_x_includes='$ac_x_includes'\
7314 ac_x_libraries='$ac_x_libraries'"
7320 eval "$ac_cv_have_x"
7323 if test "$have_x" != yes; then
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7325 $as_echo "$have_x" >&6; }
7328 # If each of the values was on the command line, it overrides each guess.
7329 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7330 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7331 # Update the cache value to reflect the command line values.
7332 ac_cv_have_x
="have_x=yes\
7333 ac_x_includes='$x_includes'\
7334 ac_x_libraries='$x_libraries'"
7335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7336 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7339 if test "$no_x" = yes; then
7340 # Not all programs may use this symbol, but it does not hurt to define it.
7342 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7344 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7346 if test -n "$x_includes"; then
7347 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7350 # It would also be nice to do this for all -L options, not just this one.
7351 if test -n "$x_libraries"; then
7352 X_LIBS
="$X_LIBS -L$x_libraries"
7353 # For Solaris; some versions of Sun CC require a space after -R and
7354 # others require no space. Words are not sufficient . . . .
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7356 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7357 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7358 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7359 ac_c_werror_flag
=yes
7360 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7361 /* end confdefs.h. */
7371 if ac_fn_c_try_link
"$LINENO"; then :
7372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7373 $as_echo "no" >&6; }
7374 X_LIBS
="$X_LIBS -R$x_libraries"
7376 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7377 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7378 /* end confdefs.h. */
7388 if ac_fn_c_try_link
"$LINENO"; then :
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7390 $as_echo "yes" >&6; }
7391 X_LIBS
="$X_LIBS -R $x_libraries"
7393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7394 $as_echo "neither works" >&6; }
7396 rm -f core conftest.err conftest.
$ac_objext \
7397 conftest
$ac_exeext conftest.
$ac_ext
7399 rm -f core conftest.err conftest.
$ac_objext \
7400 conftest
$ac_exeext conftest.
$ac_ext
7401 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7405 # Check for system-dependent libraries X programs must link with.
7406 # Do this before checking for the system-independent R6 libraries
7407 # (-lICE), since we may need -lsocket or whatever for X linking.
7409 if test "$ISC" = yes; then
7410 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7412 # Martyn Johnson says this is needed for Ultrix, if the X
7413 # libraries were built with DECnet support. And Karl Berry says
7414 # the Alpha needs dnet_stub (dnet does not exist).
7415 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7417 /* end confdefs.h. */
7419 /* Override any GCC internal prototype to avoid an error.
7420 Use char because int might match the return type of a GCC
7421 builtin and then its argument prototype would still apply. */
7425 char XOpenDisplay ();
7429 return XOpenDisplay ();
7434 if ac_fn_c_try_link
"$LINENO"; then :
7437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7438 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7439 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7440 $as_echo_n "(cached) " >&6
7442 ac_check_lib_save_LIBS
=$LIBS
7444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7445 /* end confdefs.h. */
7447 /* Override any GCC internal prototype to avoid an error.
7448 Use char because int might match the return type of a GCC
7449 builtin and then its argument prototype would still apply. */
7457 return dnet_ntoa ();
7462 if ac_fn_c_try_link
"$LINENO"; then :
7463 ac_cv_lib_dnet_dnet_ntoa
=yes
7465 ac_cv_lib_dnet_dnet_ntoa
=no
7467 rm -f core conftest.err conftest.
$ac_objext \
7468 conftest
$ac_exeext conftest.
$ac_ext
7469 LIBS
=$ac_check_lib_save_LIBS
7471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7472 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7473 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7474 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7477 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7479 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7480 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7481 $as_echo_n "(cached) " >&6
7483 ac_check_lib_save_LIBS
=$LIBS
7484 LIBS
="-ldnet_stub $LIBS"
7485 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7486 /* end confdefs.h. */
7488 /* Override any GCC internal prototype to avoid an error.
7489 Use char because int might match the return type of a GCC
7490 builtin and then its argument prototype would still apply. */
7498 return dnet_ntoa ();
7503 if ac_fn_c_try_link
"$LINENO"; then :
7504 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7506 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7508 rm -f core conftest.err conftest.
$ac_objext \
7509 conftest
$ac_exeext conftest.
$ac_ext
7510 LIBS
=$ac_check_lib_save_LIBS
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7513 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7514 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7515 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7520 rm -f core conftest.err conftest.
$ac_objext \
7521 conftest
$ac_exeext conftest.
$ac_ext
7522 LIBS
="$ac_xsave_LIBS"
7524 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7525 # to get the SysV transport functions.
7526 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7528 # The nsl library prevents programs from opening the X display
7529 # on Irix 5.2, according to T.E. Dickey.
7530 # The functions gethostbyname, getservbyname, and inet_addr are
7531 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7532 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7533 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7537 if test $ac_cv_func_gethostbyname = no
; then
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7539 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7540 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7541 $as_echo_n "(cached) " >&6
7543 ac_check_lib_save_LIBS
=$LIBS
7545 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7546 /* end confdefs.h. */
7548 /* Override any GCC internal prototype to avoid an error.
7549 Use char because int might match the return type of a GCC
7550 builtin and then its argument prototype would still apply. */
7554 char gethostbyname ();
7558 return gethostbyname ();
7563 if ac_fn_c_try_link
"$LINENO"; then :
7564 ac_cv_lib_nsl_gethostbyname
=yes
7566 ac_cv_lib_nsl_gethostbyname
=no
7568 rm -f core conftest.err conftest.
$ac_objext \
7569 conftest
$ac_exeext conftest.
$ac_ext
7570 LIBS
=$ac_check_lib_save_LIBS
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7573 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7574 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7575 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7578 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7580 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7581 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7582 $as_echo_n "(cached) " >&6
7584 ac_check_lib_save_LIBS
=$LIBS
7586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7587 /* end confdefs.h. */
7589 /* Override any GCC internal prototype to avoid an error.
7590 Use char because int might match the return type of a GCC
7591 builtin and then its argument prototype would still apply. */
7595 char gethostbyname ();
7599 return gethostbyname ();
7604 if ac_fn_c_try_link
"$LINENO"; then :
7605 ac_cv_lib_bsd_gethostbyname
=yes
7607 ac_cv_lib_bsd_gethostbyname
=no
7609 rm -f core conftest.err conftest.
$ac_objext \
7610 conftest
$ac_exeext conftest.
$ac_ext
7611 LIBS
=$ac_check_lib_save_LIBS
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7614 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7615 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7616 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7622 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7623 # socket/setsockopt and other routines are undefined under SCO ODT
7624 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7625 # on later versions), says Simon Leinen: it contains gethostby*
7626 # variants that don't use the name server (or something). -lsocket
7627 # must be given before -lnsl if both are needed. We assume that
7628 # if connect needs -lnsl, so does gethostbyname.
7629 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7630 if test "x$ac_cv_func_connect" = x
""yes; then :
7634 if test $ac_cv_func_connect = no
; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7636 $as_echo_n "checking for connect in -lsocket... " >&6; }
7637 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7638 $as_echo_n "(cached) " >&6
7640 ac_check_lib_save_LIBS
=$LIBS
7641 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7643 /* end confdefs.h. */
7645 /* Override any GCC internal prototype to avoid an error.
7646 Use char because int might match the return type of a GCC
7647 builtin and then its argument prototype would still apply. */
7660 if ac_fn_c_try_link
"$LINENO"; then :
7661 ac_cv_lib_socket_connect
=yes
7663 ac_cv_lib_socket_connect
=no
7665 rm -f core conftest.err conftest.
$ac_objext \
7666 conftest
$ac_exeext conftest.
$ac_ext
7667 LIBS
=$ac_check_lib_save_LIBS
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7670 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7671 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7672 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7677 # Guillermo Gomez says -lposix is necessary on A/UX.
7678 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7679 if test "x$ac_cv_func_remove" = x
""yes; then :
7683 if test $ac_cv_func_remove = no
; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7685 $as_echo_n "checking for remove in -lposix... " >&6; }
7686 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7687 $as_echo_n "(cached) " >&6
7689 ac_check_lib_save_LIBS
=$LIBS
7690 LIBS
="-lposix $LIBS"
7691 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7692 /* end confdefs.h. */
7694 /* Override any GCC internal prototype to avoid an error.
7695 Use char because int might match the return type of a GCC
7696 builtin and then its argument prototype would still apply. */
7709 if ac_fn_c_try_link
"$LINENO"; then :
7710 ac_cv_lib_posix_remove
=yes
7712 ac_cv_lib_posix_remove
=no
7714 rm -f core conftest.err conftest.
$ac_objext \
7715 conftest
$ac_exeext conftest.
$ac_ext
7716 LIBS
=$ac_check_lib_save_LIBS
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7719 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7720 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7721 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7726 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7727 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7728 if test "x$ac_cv_func_shmat" = x
""yes; then :
7732 if test $ac_cv_func_shmat = no
; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7734 $as_echo_n "checking for shmat in -lipc... " >&6; }
7735 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7736 $as_echo_n "(cached) " >&6
7738 ac_check_lib_save_LIBS
=$LIBS
7740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7741 /* end confdefs.h. */
7743 /* Override any GCC internal prototype to avoid an error.
7744 Use char because int might match the return type of a GCC
7745 builtin and then its argument prototype would still apply. */
7758 if ac_fn_c_try_link
"$LINENO"; then :
7759 ac_cv_lib_ipc_shmat
=yes
7761 ac_cv_lib_ipc_shmat
=no
7763 rm -f core conftest.err conftest.
$ac_objext \
7764 conftest
$ac_exeext conftest.
$ac_ext
7765 LIBS
=$ac_check_lib_save_LIBS
7767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7768 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7769 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7770 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7776 # Check for libraries that X11R6 Xt/Xaw programs need.
7777 ac_save_LDFLAGS
=$LDFLAGS
7778 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7779 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7780 # check for ICE first), but we must link in the order -lSM -lICE or
7781 # we get undefined symbols. So assume we have SM if we have ICE.
7782 # These have to be linked with before -lX11, unlike the other
7783 # libraries we check for below, so use a different variable.
7784 # John Interrante, Karl Berry
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7786 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7787 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7788 $as_echo_n "(cached) " >&6
7790 ac_check_lib_save_LIBS
=$LIBS
7791 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7792 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7793 /* end confdefs.h. */
7795 /* Override any GCC internal prototype to avoid an error.
7796 Use char because int might match the return type of a GCC
7797 builtin and then its argument prototype would still apply. */
7801 char IceConnectionNumber ();
7805 return IceConnectionNumber ();
7810 if ac_fn_c_try_link
"$LINENO"; then :
7811 ac_cv_lib_ICE_IceConnectionNumber
=yes
7813 ac_cv_lib_ICE_IceConnectionNumber
=no
7815 rm -f core conftest.err conftest.
$ac_objext \
7816 conftest
$ac_exeext conftest.
$ac_ext
7817 LIBS
=$ac_check_lib_save_LIBS
7819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7820 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7821 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7822 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7825 LDFLAGS
=$ac_save_LDFLAGS
7830 if test "$have_x" = "yes"
7833 ac_save_CPPFLAGS
="$CPPFLAGS"
7834 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7837 $as_echo_n "checking for -lX11... " >&6; }
7838 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7839 $as_echo_n "(cached) " >&6
7841 ac_check_soname_save_LIBS
=$LIBS
7842 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7844 /* end confdefs.h. */
7846 /* Override any GCC internal prototype to avoid an error.
7847 Use char because int might match the return type of a GCC
7848 builtin and then its argument prototype would still apply. */
7852 char XCreateWindow ();
7856 return XCreateWindow ();
7861 if ac_fn_c_try_link
"$LINENO"; then :
7863 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7864 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'` ;;
7865 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7868 rm -f core conftest.err conftest.
$ac_objext \
7869 conftest
$ac_exeext conftest.
$ac_ext
7870 LIBS
=$ac_check_soname_save_LIBS
7872 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7874 $as_echo "not found" >&6; }
7877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7878 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7880 cat >>confdefs.h
<<_ACEOF
7881 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7887 $as_echo_n "checking for -lXext... " >&6; }
7888 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7889 $as_echo_n "(cached) " >&6
7891 ac_check_soname_save_LIBS
=$LIBS
7892 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7894 /* end confdefs.h. */
7896 /* Override any GCC internal prototype to avoid an error.
7897 Use char because int might match the return type of a GCC
7898 builtin and then its argument prototype would still apply. */
7902 char XextCreateExtension ();
7906 return XextCreateExtension ();
7911 if ac_fn_c_try_link
"$LINENO"; then :
7913 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7914 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'` ;;
7915 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7918 rm -f core conftest.err conftest.
$ac_objext \
7919 conftest
$ac_exeext conftest.
$ac_ext
7920 LIBS
=$ac_check_soname_save_LIBS
7922 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7924 $as_echo "not found" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7928 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7930 cat >>confdefs.h
<<_ACEOF
7931 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7937 for ac_header
in X11
/Xlib.h \
7940 X11
/Xcursor
/Xcursor.h \
7941 X11
/extensions
/shape.h \
7942 X11
/extensions
/XInput.h \
7943 X11
/extensions
/XShm.h \
7944 X11
/extensions
/Xcomposite.h \
7945 X11
/extensions
/Xinerama.h \
7946 X11
/extensions
/Xrandr.h \
7947 X11
/extensions
/Xrender.h \
7948 X11
/extensions
/xf86vmode.h \
7949 X11
/extensions
/xf86vmproto.h
7951 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7952 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7953 # include <X11/Xlib.h>
7955 #ifdef HAVE_X11_XUTIL_H
7956 # include <X11/Xutil.h>
7959 eval as_val
=\$
$as_ac_Header
7960 if test "x$as_val" = x
""yes; then :
7961 cat >>confdefs.h
<<_ACEOF
7962 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7970 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7973 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7974 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
7975 $as_echo_n "(cached) " >&6
7977 ac_check_lib_save_LIBS
=$LIBS
7978 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7979 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7982 /* Override any GCC internal prototype to avoid an error.
7983 Use char because int might match the return type of a GCC
7984 builtin and then its argument prototype would still apply. */
7988 char XkbQueryExtension ();
7992 return XkbQueryExtension ();
7997 if ac_fn_c_try_link
"$LINENO"; then :
7998 ac_cv_lib_X11_XkbQueryExtension
=yes
8000 ac_cv_lib_X11_XkbQueryExtension
=no
8002 rm -f core conftest.err conftest.
$ac_objext \
8003 conftest
$ac_exeext conftest.
$ac_ext
8004 LIBS
=$ac_check_lib_save_LIBS
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8007 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8008 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
8010 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8016 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8019 $as_echo_n "checking for -lXcursor... " >&6; }
8020 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
8021 $as_echo_n "(cached) " >&6
8023 ac_check_soname_save_LIBS
=$LIBS
8024 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8026 /* end confdefs.h. */
8028 /* Override any GCC internal prototype to avoid an error.
8029 Use char because int might match the return type of a GCC
8030 builtin and then its argument prototype would still apply. */
8034 char XcursorImageLoadCursor ();
8038 return XcursorImageLoadCursor ();
8043 if ac_fn_c_try_link
"$LINENO"; then :
8045 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8046 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'` ;;
8047 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8050 rm -f core conftest.err conftest.
$ac_objext \
8051 conftest
$ac_exeext conftest.
$ac_ext
8052 LIBS
=$ac_check_soname_save_LIBS
8054 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8056 $as_echo "not found" >&6; }
8059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8060 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8062 cat >>confdefs.h
<<_ACEOF
8063 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8069 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8070 case "x$with_xcursor" in
8071 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8073 *) as_fn_error
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8074 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8078 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8081 $as_echo_n "checking for -lXi... " >&6; }
8082 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
8083 $as_echo_n "(cached) " >&6
8085 ac_check_soname_save_LIBS
=$LIBS
8086 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8088 /* end confdefs.h. */
8090 /* Override any GCC internal prototype to avoid an error.
8091 Use char because int might match the return type of a GCC
8092 builtin and then its argument prototype would still apply. */
8096 char XOpenDevice ();
8100 return XOpenDevice ();
8105 if ac_fn_c_try_link
"$LINENO"; then :
8107 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8108 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'` ;;
8109 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8112 rm -f core conftest.err conftest.
$ac_objext \
8113 conftest
$ac_exeext conftest.
$ac_ext
8114 LIBS
=$ac_check_soname_save_LIBS
8116 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8118 $as_echo "not found" >&6; }
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8122 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8124 cat >>confdefs.h
<<_ACEOF
8125 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8131 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8132 case "x$with_xinput" in
8133 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8135 *) as_fn_error
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8136 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8140 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8143 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8144 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8145 $as_echo_n "(cached) " >&6
8147 ac_check_lib_save_LIBS
=$LIBS
8148 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8150 /* end confdefs.h. */
8152 /* Override any GCC internal prototype to avoid an error.
8153 Use char because int might match the return type of a GCC
8154 builtin and then its argument prototype would still apply. */
8158 char XShmQueryExtension ();
8162 return XShmQueryExtension ();
8167 if ac_fn_c_try_link
"$LINENO"; then :
8168 ac_cv_lib_Xext_XShmQueryExtension
=yes
8170 ac_cv_lib_Xext_XShmQueryExtension
=no
8172 rm -f core conftest.err conftest.
$ac_objext \
8173 conftest
$ac_exeext conftest.
$ac_ext
8174 LIBS
=$ac_check_lib_save_LIBS
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8177 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8178 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8180 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8185 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8186 case "x$with_xshm" in
8187 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8189 *) as_fn_error
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8190 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8194 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8197 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8198 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8199 $as_echo_n "(cached) " >&6
8201 ac_check_lib_save_LIBS
=$LIBS
8202 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8206 /* Override any GCC internal prototype to avoid an error.
8207 Use char because int might match the return type of a GCC
8208 builtin and then its argument prototype would still apply. */
8212 char XShapeQueryExtension ();
8216 return XShapeQueryExtension ();
8221 if ac_fn_c_try_link
"$LINENO"; then :
8222 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8224 ac_cv_lib_Xext_XShapeQueryExtension
=no
8226 rm -f core conftest.err conftest.
$ac_objext \
8227 conftest
$ac_exeext conftest.
$ac_ext
8228 LIBS
=$ac_check_lib_save_LIBS
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8231 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8232 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8234 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8239 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8240 case "x$with_xshape" in
8241 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8243 *) as_fn_error
"XShape ${notice_platform}development files not found, XShape won't be supported.
8244 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8248 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8251 $as_echo_n "checking for -lXxf86vm... " >&6; }
8252 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8253 $as_echo_n "(cached) " >&6
8255 ac_check_soname_save_LIBS
=$LIBS
8256 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8257 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8258 /* end confdefs.h. */
8260 /* Override any GCC internal prototype to avoid an error.
8261 Use char because int might match the return type of a GCC
8262 builtin and then its argument prototype would still apply. */
8266 char XF86VidModeQueryExtension ();
8270 return XF86VidModeQueryExtension ();
8275 if ac_fn_c_try_link
"$LINENO"; then :
8277 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8278 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'` ;;
8279 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8282 rm -f core conftest.err conftest.
$ac_objext \
8283 conftest
$ac_exeext conftest.
$ac_ext
8284 LIBS
=$ac_check_soname_save_LIBS
8286 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8288 $as_echo "not found" >&6; }
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8292 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8294 cat >>confdefs.h
<<_ACEOF
8295 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8301 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8302 case "x$with_xxf86vm" in
8303 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8305 *) as_fn_error
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8306 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8310 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"
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8313 $as_echo_n "checking for -lXrender... " >&6; }
8314 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8315 $as_echo_n "(cached) " >&6
8317 ac_check_soname_save_LIBS
=$LIBS
8318 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8319 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8320 /* end confdefs.h. */
8322 /* Override any GCC internal prototype to avoid an error.
8323 Use char because int might match the return type of a GCC
8324 builtin and then its argument prototype would still apply. */
8328 char XRenderQueryExtension ();
8332 return XRenderQueryExtension ();
8337 if ac_fn_c_try_link
"$LINENO"; then :
8339 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8340 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'` ;;
8341 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8344 rm -f core conftest.err conftest.
$ac_objext \
8345 conftest
$ac_exeext conftest.
$ac_ext
8346 LIBS
=$ac_check_soname_save_LIBS
8348 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8350 $as_echo "not found" >&6; }
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8354 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8356 cat >>confdefs.h
<<_ACEOF
8357 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8361 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8362 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8363 $as_echo_n "(cached) " >&6
8365 ac_check_lib_save_LIBS
=$LIBS
8366 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8368 /* end confdefs.h. */
8370 /* Override any GCC internal prototype to avoid an error.
8371 Use char because int might match the return type of a GCC
8372 builtin and then its argument prototype would still apply. */
8376 char XRenderSetPictureTransform ();
8380 return XRenderSetPictureTransform ();
8385 if ac_fn_c_try_link
"$LINENO"; then :
8386 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8388 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8390 rm -f core conftest.err conftest.
$ac_objext \
8391 conftest
$ac_exeext conftest.
$ac_ext
8392 LIBS
=$ac_check_lib_save_LIBS
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8395 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8396 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8398 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8405 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8406 case "x$with_xrender" in
8407 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8409 *) as_fn_error
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8410 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8414 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8416 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8418 #include <X11/Xlib.h>
8419 #include <X11/extensions/Xrandr.h>
8423 static typeof(XRRSetScreenConfigAndRate) * func;
8428 if ac_fn_c_try_compile
"$LINENO"; then :
8429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8430 $as_echo_n "checking for -lXrandr... " >&6; }
8431 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8432 $as_echo_n "(cached) " >&6
8434 ac_check_soname_save_LIBS
=$LIBS
8435 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8437 /* end confdefs.h. */
8439 /* Override any GCC internal prototype to avoid an error.
8440 Use char because int might match the return type of a GCC
8441 builtin and then its argument prototype would still apply. */
8445 char XRRQueryExtension ();
8449 return XRRQueryExtension ();
8454 if ac_fn_c_try_link
"$LINENO"; then :
8456 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8457 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'` ;;
8458 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8461 rm -f core conftest.err conftest.
$ac_objext \
8462 conftest
$ac_exeext conftest.
$ac_ext
8463 LIBS
=$ac_check_soname_save_LIBS
8465 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8467 $as_echo "not found" >&6; }
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8471 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8473 cat >>confdefs.h
<<_ACEOF
8474 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8480 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8482 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8483 case "x$with_xrandr" in
8484 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8486 *) as_fn_error
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8487 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8491 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8493 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 #include <X11/Xlib.h>
8496 #include <X11/extensions/Xinerama.h>
8500 static typeof(XineramaQueryScreens) * func;
8505 if ac_fn_c_try_compile
"$LINENO"; then :
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8507 $as_echo_n "checking for -lXinerama... " >&6; }
8508 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8509 $as_echo_n "(cached) " >&6
8511 ac_check_soname_save_LIBS
=$LIBS
8512 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8513 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8514 /* end confdefs.h. */
8516 /* Override any GCC internal prototype to avoid an error.
8517 Use char because int might match the return type of a GCC
8518 builtin and then its argument prototype would still apply. */
8522 char XineramaQueryScreens ();
8526 return XineramaQueryScreens ();
8531 if ac_fn_c_try_link
"$LINENO"; then :
8533 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8534 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'` ;;
8535 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8538 rm -f core conftest.err conftest.
$ac_objext \
8539 conftest
$ac_exeext conftest.
$ac_ext
8540 LIBS
=$ac_check_soname_save_LIBS
8542 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8544 $as_echo "not found" >&6; }
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8548 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8550 cat >>confdefs.h
<<_ACEOF
8551 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8557 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8559 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8560 case "x$with_xinerama" in
8561 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8563 *) as_fn_error
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8564 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8568 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8571 $as_echo_n "checking for -lXcomposite... " >&6; }
8572 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8573 $as_echo_n "(cached) " >&6
8575 ac_check_soname_save_LIBS
=$LIBS
8576 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8577 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8580 /* Override any GCC internal prototype to avoid an error.
8581 Use char because int might match the return type of a GCC
8582 builtin and then its argument prototype would still apply. */
8586 char XCompositeRedirectWindow ();
8590 return XCompositeRedirectWindow ();
8595 if ac_fn_c_try_link
"$LINENO"; then :
8597 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8598 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'` ;;
8599 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8602 rm -f core conftest.err conftest.
$ac_objext \
8603 conftest
$ac_exeext conftest.
$ac_ext
8604 LIBS
=$ac_check_soname_save_LIBS
8606 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8608 $as_echo "not found" >&6; }
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8612 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8614 cat >>confdefs.h
<<_ACEOF
8615 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8621 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8622 case "x$with_xcomposite" in
8623 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8625 *) as_fn_error
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8626 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8630 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8631 #include <X11/Xlib.h>
8634 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8636 cat >>confdefs.h
<<_ACEOF
8637 #define HAVE_XICCALLBACK_CALLBACK 1
8646 if test "x$with_opengl" != "xno"
8648 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8650 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8651 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8652 # include <GL/glx.h>
8655 eval as_val
=\$
$as_ac_Header
8656 if test "x$as_val" = x
""yes; then :
8657 cat >>confdefs.h
<<_ACEOF
8658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8665 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8668 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8669 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8670 $as_echo_n "(cached) " >&6
8672 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8673 /* end confdefs.h. */
8678 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8683 if ac_fn_c_try_compile
"$LINENO"; then :
8684 wine_cv_opengl_header_version_OK
="yes"
8686 wine_cv_opengl_header_version_OK
="no"
8688 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8691 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8693 if test "$wine_cv_opengl_header_version_OK" = "yes"
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8696 $as_echo_n "checking for -lGL... " >&6; }
8697 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8698 $as_echo_n "(cached) " >&6
8700 ac_check_soname_save_LIBS
=$LIBS
8701 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8705 /* Override any GCC internal prototype to avoid an error.
8706 Use char because int might match the return type of a GCC
8707 builtin and then its argument prototype would still apply. */
8711 char glXCreateContext ();
8715 return glXCreateContext ();
8720 if ac_fn_c_try_link
"$LINENO"; then :
8722 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8723 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'` ;;
8724 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8727 rm -f core conftest.err conftest.
$ac_objext \
8728 conftest
$ac_exeext conftest.
$ac_ext
8729 LIBS
=$ac_check_soname_save_LIBS
8731 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8733 $as_echo "not found" >&6; }
8734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8735 $as_echo_n "checking for -lGL... " >&6; }
8736 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8737 $as_echo_n "(cached) " >&6
8739 ac_check_soname_save_LIBS
=$LIBS
8740 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"
8741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8742 /* end confdefs.h. */
8744 /* Override any GCC internal prototype to avoid an error.
8745 Use char because int might match the return type of a GCC
8746 builtin and then its argument prototype would still apply. */
8750 char glXCreateContext ();
8754 return glXCreateContext ();
8759 if ac_fn_c_try_link
"$LINENO"; then :
8761 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8762 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'` ;;
8763 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8766 rm -f core conftest.err conftest.
$ac_objext \
8767 conftest
$ac_exeext conftest.
$ac_ext
8768 LIBS
=$ac_check_soname_save_LIBS
8770 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8772 $as_echo "not found" >&6; }
8773 if test -f /usr
/X11R
6/lib
/libGL.a
8775 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8776 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8778 opengl_msg
="No OpenGL library found on this system."
8781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8782 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8784 cat >>confdefs.h
<<_ACEOF
8785 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8788 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"
8790 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8795 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8797 cat >>confdefs.h
<<_ACEOF
8798 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8803 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8806 if test "$ac_cv_header_GL_glu_h" = "yes"
8808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8809 $as_echo_n "checking for -lGLU... " >&6; }
8810 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8811 $as_echo_n "(cached) " >&6
8813 ac_check_soname_save_LIBS
=$LIBS
8814 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8815 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8816 /* end confdefs.h. */
8818 /* Override any GCC internal prototype to avoid an error.
8819 Use char because int might match the return type of a GCC
8820 builtin and then its argument prototype would still apply. */
8828 return gluLookAt ();
8833 if ac_fn_c_try_link
"$LINENO"; then :
8835 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8836 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'` ;;
8837 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8840 rm -f core conftest.err conftest.
$ac_objext \
8841 conftest
$ac_exeext conftest.
$ac_ext
8842 LIBS
=$ac_check_soname_save_LIBS
8844 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8846 $as_echo "not found" >&6; }
8849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8850 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8852 cat >>confdefs.h
<<_ACEOF
8853 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8859 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8860 case "x$with_glu" in
8861 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8863 *) as_fn_error
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8864 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8868 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8871 opengl_msg
="OpenGL development headers not found."
8873 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8874 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8876 enable_opengl32
=${enable_opengl32:-no}
8877 enable_glu32
=${enable_glu32:-no}
8879 if test -n "$opengl_msg"; then :
8880 case "x$with_opengl" in
8881 x
) as_fn_append wine_warnings
"|$opengl_msg
8882 OpenGL and Direct3D won't be supported." ;;
8884 *) as_fn_error
"$opengl_msg
8885 OpenGL and Direct3D won't be supported.
8886 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8892 for ac_header
in audio
/audiolib.h
8894 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8895 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8896 cat >>confdefs.h
<<_ACEOF
8897 #define HAVE_AUDIO_AUDIOLIB_H 1
8899 for ac_header
in audio
/soundlib.h
8901 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8903 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8904 cat >>confdefs.h
<<_ACEOF
8905 #define HAVE_AUDIO_SOUNDLIB_H 1
8912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8913 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8914 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8915 $as_echo_n "(cached) " >&6
8917 ac_check_lib_save_LIBS
=$LIBS
8918 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8920 /* end confdefs.h. */
8922 /* Override any GCC internal prototype to avoid an error.
8923 Use char because int might match the return type of a GCC
8924 builtin and then its argument prototype would still apply. */
8928 char AuCreateFlow ();
8932 return AuCreateFlow ();
8937 if ac_fn_c_try_link
"$LINENO"; then :
8938 ac_cv_lib_audio_AuCreateFlow
=yes
8940 ac_cv_lib_audio_AuCreateFlow
=no
8942 rm -f core conftest.err conftest.
$ac_objext \
8943 conftest
$ac_exeext conftest.
$ac_ext
8944 LIBS
=$ac_check_lib_save_LIBS
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8947 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8948 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
8950 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8953 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8954 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8955 $as_echo_n "(cached) " >&6
8957 ac_check_lib_save_LIBS
=$LIBS
8958 LIBS
="-lXau $X_LIBS $LIBS"
8959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8960 /* end confdefs.h. */
8962 /* Override any GCC internal prototype to avoid an error.
8963 Use char because int might match the return type of a GCC
8964 builtin and then its argument prototype would still apply. */
8968 char XauGetBestAuthByAddr ();
8972 return XauGetBestAuthByAddr ();
8977 if ac_fn_c_try_link
"$LINENO"; then :
8978 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8980 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8982 rm -f core conftest.err conftest.
$ac_objext \
8983 conftest
$ac_exeext conftest.
$ac_ext
8984 LIBS
=$ac_check_lib_save_LIBS
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8987 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8988 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
8989 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8991 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
9002 CPPFLAGS
="$ac_save_CPPFLAGS"
9007 enable_winex11_drv
=${enable_winex11_drv:-no}
9008 enable_opengl32
=${enable_opengl32:-no}
9009 enable_glu32
=${enable_glu32:-no}
9011 if test "x$XLIB" = "x"; then :
9014 *) as_fn_error
"X ${notice_platform}development files not found. Wine will be built
9015 without X support, which probably isn't what you want. You will need to install
9016 ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9017 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9028 if test "x$with_xml" != "xno"
9030 ac_save_CPPFLAGS
="$CPPFLAGS"
9031 if test "$PKG_CONFIG" != "false"
9033 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9034 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9036 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9037 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9039 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9040 for ac_header
in libxml
/parser.h
9042 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
9043 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
9044 cat >>confdefs.h
<<_ACEOF
9045 #define HAVE_LIBXML_PARSER_H 1
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9048 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9049 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
9050 $as_echo_n "(cached) " >&6
9052 ac_check_lib_save_LIBS
=$LIBS
9053 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9055 /* end confdefs.h. */
9057 /* Override any GCC internal prototype to avoid an error.
9058 Use char because int might match the return type of a GCC
9059 builtin and then its argument prototype would still apply. */
9063 char xmlParseMemory ();
9067 return xmlParseMemory ();
9072 if ac_fn_c_try_link
"$LINENO"; then :
9073 ac_cv_lib_xml2_xmlParseMemory
=yes
9075 ac_cv_lib_xml2_xmlParseMemory
=no
9077 rm -f core conftest.err conftest.
$ac_objext \
9078 conftest
$ac_exeext conftest.
$ac_ext
9079 LIBS
=$ac_check_lib_save_LIBS
9081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9082 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9083 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
9085 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9087 XML2LIBS
="$ac_xml_libs"
9088 XML2INCL
="$ac_xml_cflags"
9091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9092 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9093 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9094 $as_echo_n "(cached) " >&6
9096 ac_check_lib_save_LIBS
=$LIBS
9097 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9099 /* end confdefs.h. */
9101 /* Override any GCC internal prototype to avoid an error.
9102 Use char because int might match the return type of a GCC
9103 builtin and then its argument prototype would still apply. */
9107 char xmlReadMemory ();
9111 return xmlReadMemory ();
9116 if ac_fn_c_try_link
"$LINENO"; then :
9117 ac_cv_lib_xml2_xmlReadMemory
=yes
9119 ac_cv_lib_xml2_xmlReadMemory
=no
9121 rm -f core conftest.err conftest.
$ac_objext \
9122 conftest
$ac_exeext conftest.
$ac_ext
9123 LIBS
=$ac_check_lib_save_LIBS
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9126 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9127 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9129 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9134 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9135 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9136 $as_echo_n "(cached) " >&6
9138 ac_check_lib_save_LIBS
=$LIBS
9139 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9140 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9143 /* Override any GCC internal prototype to avoid an error.
9144 Use char because int might match the return type of a GCC
9145 builtin and then its argument prototype would still apply. */
9149 char xmlNewDocPI ();
9153 return xmlNewDocPI ();
9158 if ac_fn_c_try_link
"$LINENO"; then :
9159 ac_cv_lib_xml2_xmlNewDocPI
=yes
9161 ac_cv_lib_xml2_xmlNewDocPI
=no
9163 rm -f core conftest.err conftest.
$ac_objext \
9164 conftest
$ac_exeext conftest.
$ac_ext
9165 LIBS
=$ac_check_lib_save_LIBS
9167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9168 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9169 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9171 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9180 CPPFLAGS
="$ac_save_CPPFLAGS"
9182 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9183 case "x$with_xml" in
9184 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9186 *) as_fn_error
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9187 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9191 if test "x$with_xslt" != "xno"
9193 if test "$PKG_CONFIG" != "false"
9195 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9196 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9198 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9199 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9201 ac_save_CPPFLAGS
="$CPPFLAGS"
9202 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9203 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9205 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9206 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9207 # include <libxslt/pattern.h>
9210 eval as_val
=\$
$as_ac_Header
9211 if test "x$as_val" = x
""yes; then :
9212 cat >>confdefs.h
<<_ACEOF
9213 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9220 CPPFLAGS
="$ac_save_CPPFLAGS"
9221 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9224 $as_echo_n "checking for -lxslt... " >&6; }
9225 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9226 $as_echo_n "(cached) " >&6
9228 ac_check_soname_save_LIBS
=$LIBS
9229 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9230 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9231 /* end confdefs.h. */
9233 /* Override any GCC internal prototype to avoid an error.
9234 Use char because int might match the return type of a GCC
9235 builtin and then its argument prototype would still apply. */
9239 char xsltCompilePattern ();
9243 return xsltCompilePattern ();
9248 if ac_fn_c_try_link
"$LINENO"; then :
9250 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9251 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'` ;;
9252 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9255 rm -f core conftest.err conftest.
$ac_objext \
9256 conftest
$ac_exeext conftest.
$ac_ext
9257 LIBS
=$ac_check_soname_save_LIBS
9259 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9261 $as_echo "not found" >&6; }
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9265 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9267 cat >>confdefs.h
<<_ACEOF
9268 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9271 XSLTINCL
="$ac_xslt_cflags"
9275 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9276 case "x$with_xslt" in
9277 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9279 *) as_fn_error
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9280 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9286 if test "x$with_hal" != "xno"
9288 ac_save_CPPFLAGS
="$CPPFLAGS"
9289 if test "$PKG_CONFIG" != "false"
9291 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9292 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9293 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9295 for ac_header
in dbus
/dbus.h hal
/libhal.h
9297 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9298 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9299 eval as_val
=\$
$as_ac_Header
9300 if test "x$as_val" = x
""yes; then :
9301 cat >>confdefs.h
<<_ACEOF
9302 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9309 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9312 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9313 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9314 $as_echo_n "(cached) " >&6
9316 ac_check_lib_save_LIBS
=$LIBS
9317 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9318 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9321 /* Override any GCC internal prototype to avoid an error.
9322 Use char because int might match the return type of a GCC
9323 builtin and then its argument prototype would still apply. */
9327 char dbus_connection_close ();
9331 return dbus_connection_close ();
9336 if ac_fn_c_try_link
"$LINENO"; then :
9337 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9339 ac_cv_lib_dbus_1_dbus_connection_close
=no
9341 rm -f core conftest.err conftest.
$ac_objext \
9342 conftest
$ac_exeext conftest.
$ac_ext
9343 LIBS
=$ac_check_lib_save_LIBS
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9346 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9347 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9349 $as_echo_n "checking for -lhal... " >&6; }
9350 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9351 $as_echo_n "(cached) " >&6
9353 ac_check_soname_save_LIBS
=$LIBS
9354 LIBS
="-lhal $ac_hal_libs $LIBS"
9355 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9358 /* Override any GCC internal prototype to avoid an error.
9359 Use char because int might match the return type of a GCC
9360 builtin and then its argument prototype would still apply. */
9364 char libhal_ctx_new ();
9368 return libhal_ctx_new ();
9373 if ac_fn_c_try_link
"$LINENO"; then :
9375 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9376 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'` ;;
9377 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9380 rm -f core conftest.err conftest.
$ac_objext \
9381 conftest
$ac_exeext conftest.
$ac_ext
9382 LIBS
=$ac_check_soname_save_LIBS
9384 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9386 $as_echo "not found" >&6; }
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9390 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9392 cat >>confdefs.h
<<_ACEOF
9393 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9396 HALINCL
="$ac_hal_cflags"
9401 CPPFLAGS
="$ac_save_CPPFLAGS"
9403 if test "x$ac_cv_lib_soname_hal" = "x" -a "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9404 case "x$with_hal" in
9405 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9407 *) as_fn_error
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9408 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9412 if test "x$with_gnutls" != "xno"
9414 ac_save_CPPFLAGS
="$CPPFLAGS"
9415 if test "$PKG_CONFIG" != "false"
9417 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9418 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9419 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9421 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9422 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9424 /* end confdefs.h. */
9425 #include <gnutls/gnutls.h>
9429 typeof(gnutls_mac_get_key_size) *pfunc;
9434 if ac_fn_c_try_compile
"$LINENO"; then :
9435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9436 $as_echo_n "checking for -lgnutls... " >&6; }
9437 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9438 $as_echo_n "(cached) " >&6
9440 ac_check_soname_save_LIBS
=$LIBS
9441 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9443 /* end confdefs.h. */
9445 /* Override any GCC internal prototype to avoid an error.
9446 Use char because int might match the return type of a GCC
9447 builtin and then its argument prototype would still apply. */
9451 char gnutls_global_init ();
9455 return gnutls_global_init ();
9460 if ac_fn_c_try_link
"$LINENO"; then :
9462 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9463 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'` ;;
9464 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9467 rm -f core conftest.err conftest.
$ac_objext \
9468 conftest
$ac_exeext conftest.
$ac_ext
9469 LIBS
=$ac_check_soname_save_LIBS
9471 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9473 $as_echo "not found" >&6; }
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9477 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9479 cat >>confdefs.h
<<_ACEOF
9480 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9483 GNUTLSINCL
="$ac_gnutls_cflags"
9487 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9491 CPPFLAGS
="$ac_save_CPPFLAGS"
9493 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9494 case "x$with_gnutls" in
9495 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9497 *) as_fn_error
"libgnutls ${notice_platform}development files not found, no schannel support.
9498 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9503 if test "$ac_cv_header_ncurses_h" = "yes"
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9506 $as_echo_n "checking for -lncurses... " >&6; }
9507 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9508 $as_echo_n "(cached) " >&6
9510 ac_check_soname_save_LIBS
=$LIBS
9511 LIBS
="-lncurses $LIBS"
9512 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9513 /* end confdefs.h. */
9515 /* Override any GCC internal prototype to avoid an error.
9516 Use char because int might match the return type of a GCC
9517 builtin and then its argument prototype would still apply. */
9530 if ac_fn_c_try_link
"$LINENO"; then :
9532 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9533 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'` ;;
9534 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9537 rm -f core conftest.err conftest.
$ac_objext \
9538 conftest
$ac_exeext conftest.
$ac_ext
9539 LIBS
=$ac_check_soname_save_LIBS
9541 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9543 $as_echo "not found" >&6; }
9546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9547 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9549 cat >>confdefs.h
<<_ACEOF
9550 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9553 CURSESLIBS
="-lncurses"
9555 elif test "$ac_cv_header_curses_h" = "yes"
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9558 $as_echo_n "checking for -lcurses... " >&6; }
9559 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9560 $as_echo_n "(cached) " >&6
9562 ac_check_soname_save_LIBS
=$LIBS
9563 LIBS
="-lcurses $LIBS"
9564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9565 /* end confdefs.h. */
9567 /* Override any GCC internal prototype to avoid an error.
9568 Use char because int might match the return type of a GCC
9569 builtin and then its argument prototype would still apply. */
9582 if ac_fn_c_try_link
"$LINENO"; then :
9584 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9585 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'` ;;
9586 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9589 rm -f core conftest.err conftest.
$ac_objext \
9590 conftest
$ac_exeext conftest.
$ac_ext
9591 LIBS
=$ac_check_soname_save_LIBS
9593 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9595 $as_echo "not found" >&6; }
9598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9599 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9601 cat >>confdefs.h
<<_ACEOF
9602 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9605 CURSESLIBS
="-lcurses"
9608 ac_save_LIBS
="$LIBS"
9609 LIBS
="$LIBS $CURSESLIBS"
9610 for ac_func
in mousemask
9612 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9613 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9614 cat >>confdefs.h
<<_ACEOF
9615 #define HAVE_MOUSEMASK 1
9621 LIBS
="$ac_save_LIBS"
9622 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9623 case "x$with_curses" in
9624 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9626 *) as_fn_error
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9627 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9631 if test "x$with_sane" != "xno"
9633 ac_save_CPPFLAGS
="$CPPFLAGS"
9634 # Extract the first word of "sane-config", so it can be a program name with args.
9635 set dummy sane-config
; ac_word
=$2
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9637 $as_echo_n "checking for $ac_word... " >&6; }
9638 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9639 $as_echo_n "(cached) " >&6
9641 if test -n "$sane_devel"; then
9642 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9644 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9648 test -z "$as_dir" && as_dir
=.
9649 for ac_exec_ext
in '' $ac_executable_extensions; do
9650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9651 ac_cv_prog_sane_devel
="sane-config"
9652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9659 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9662 sane_devel
=$ac_cv_prog_sane_devel
9663 if test -n "$sane_devel"; then
9664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9665 $as_echo "$sane_devel" >&6; }
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9668 $as_echo "no" >&6; }
9672 if test "$sane_devel" != "no"
9674 ac_sane_incl
="`$sane_devel --cflags`"
9675 ac_sane_libs
="`$sane_devel --ldflags`"
9676 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9678 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9679 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9681 $as_echo_n "checking for -lsane... " >&6; }
9682 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9683 $as_echo_n "(cached) " >&6
9685 ac_check_soname_save_LIBS
=$LIBS
9686 LIBS
="-lsane $ac_sane_libs $LIBS"
9687 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9688 /* end confdefs.h. */
9690 /* Override any GCC internal prototype to avoid an error.
9691 Use char because int might match the return type of a GCC
9692 builtin and then its argument prototype would still apply. */
9700 return sane_init ();
9705 if ac_fn_c_try_link
"$LINENO"; then :
9707 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9708 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'` ;;
9709 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9712 rm -f core conftest.err conftest.
$ac_objext \
9713 conftest
$ac_exeext conftest.
$ac_ext
9714 LIBS
=$ac_check_soname_save_LIBS
9716 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9718 $as_echo "not found" >&6; }
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9722 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9724 cat >>confdefs.h
<<_ACEOF
9725 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9728 SANEINCL
="$ac_sane_incl"
9734 CPPFLAGS
="$ac_save_CPPFLAGS"
9736 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9737 case "x$with_sane" in
9738 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9740 *) as_fn_error
"libsane ${notice_platform}development files not found, scanners won't be supported.
9741 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9745 if test "x$with_v4l" != "xno"
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9748 $as_echo_n "checking for -lv4l1... " >&6; }
9749 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9750 $as_echo_n "(cached) " >&6
9752 ac_check_soname_save_LIBS
=$LIBS
9754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9767 return v4l1_open ();
9772 if ac_fn_c_try_link
"$LINENO"; then :
9774 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9775 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'` ;;
9776 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9779 rm -f core conftest.err conftest.
$ac_objext \
9780 conftest
$ac_exeext conftest.
$ac_ext
9781 LIBS
=$ac_check_soname_save_LIBS
9783 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9785 $as_echo "not found" >&6; }
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9789 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9791 cat >>confdefs.h
<<_ACEOF
9792 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9798 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9799 case "x$with_v4l" in
9800 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9802 *) as_fn_error
"libv4l ${notice_platform}development files not found.
9803 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9807 if test "x$with_gphoto" != "xno"
9809 ac_save_CPPFLAGS
="$CPPFLAGS"
9810 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9811 set dummy gphoto2-config
; ac_word
=$2
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9813 $as_echo_n "checking for $ac_word... " >&6; }
9814 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9815 $as_echo_n "(cached) " >&6
9817 if test -n "$gphoto2_devel"; then
9818 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9820 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9824 test -z "$as_dir" && as_dir
=.
9825 for ac_exec_ext
in '' $ac_executable_extensions; do
9826 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9827 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9828 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9835 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
9838 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
9839 if test -n "$gphoto2_devel"; then
9840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9841 $as_echo "$gphoto2_devel" >&6; }
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9844 $as_echo "no" >&6; }
9848 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9849 set dummy gphoto2-port-config
; ac_word
=$2
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9851 $as_echo_n "checking for $ac_word... " >&6; }
9852 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
9853 $as_echo_n "(cached) " >&6
9855 if test -n "$gphoto2port_devel"; then
9856 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
9858 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9862 test -z "$as_dir" && as_dir
=.
9863 for ac_exec_ext
in '' $ac_executable_extensions; do
9864 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9865 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
9866 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9873 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
9876 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
9877 if test -n "$gphoto2port_devel"; then
9878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9879 $as_echo "$gphoto2port_devel" >&6; }
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9882 $as_echo "no" >&6; }
9886 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9888 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9890 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9893 -L/usr
/lib|
-L/usr
/lib64
) ;;
9894 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
9897 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
9899 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
9900 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9901 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
9902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9903 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9904 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
9905 $as_echo_n "(cached) " >&6
9907 ac_check_lib_save_LIBS
=$LIBS
9908 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
9909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9910 /* end confdefs.h. */
9912 /* Override any GCC internal prototype to avoid an error.
9913 Use char because int might match the return type of a GCC
9914 builtin and then its argument prototype would still apply. */
9918 char gp_camera_new ();
9922 return gp_camera_new ();
9927 if ac_fn_c_try_link
"$LINENO"; then :
9928 ac_cv_lib_gphoto2_gp_camera_new
=yes
9930 ac_cv_lib_gphoto2_gp_camera_new
=no
9932 rm -f core conftest.err conftest.
$ac_objext \
9933 conftest
$ac_exeext conftest.
$ac_ext
9934 LIBS
=$ac_check_lib_save_LIBS
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
9937 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
9938 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
9940 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
9942 GPHOTO2LIBS
="$ac_gphoto2_libs"
9944 GPHOTO2INCL
="$ac_gphoto2_incl"
9951 CPPFLAGS
="$ac_save_CPPFLAGS"
9953 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
9954 case "x$with_gphoto" in
9955 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
9957 *) as_fn_error
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9958 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
9965 if test "$ac_cv_header_resolv_h" = "yes"
9967 ac_save_LIBS
="$LIBS"
9968 LIBS
="$LIBS -lresolv"
9969 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9970 /* end confdefs.h. */
9971 #ifdef HAVE_NETINET_IN_H
9972 #include <netinet/in.h>
9983 if ac_fn_c_try_link
"$LINENO"; then :
9985 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
9987 RESOLVLIBS
="-lresolv"
9989 rm -f core conftest.err conftest.
$ac_objext \
9990 conftest
$ac_exeext conftest.
$ac_ext
9991 LIBS
="$ac_save_LIBS"
9996 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
9999 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10000 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
10001 $as_echo_n "(cached) " >&6
10003 ac_check_lib_save_LIBS
=$LIBS
10004 LIBS
="-llcms $LIBS"
10005 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10006 /* end confdefs.h. */
10008 /* Override any GCC internal prototype to avoid an error.
10009 Use char because int might match the return type of a GCC
10010 builtin and then its argument prototype would still apply. */
10014 char cmsOpenProfileFromFile ();
10018 return cmsOpenProfileFromFile ();
10023 if ac_fn_c_try_link
"$LINENO"; then :
10024 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10026 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10028 rm -f core conftest.err conftest.
$ac_objext \
10029 conftest
$ac_exeext conftest.
$ac_ext
10030 LIBS
=$ac_check_lib_save_LIBS
10032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10033 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10034 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
10036 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10042 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10043 case "x$with_cms" in
10044 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10046 *) as_fn_error
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10047 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10051 if test "x$with_freetype" != "xno"
10053 for ac_prog
in freetype-config freetype2-config
10055 # Extract the first word of "$ac_prog", so it can be a program name with args.
10056 set dummy
$ac_prog; ac_word
=$2
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10058 $as_echo_n "checking for $ac_word... " >&6; }
10059 if test "${ac_cv_prog_ft_devel+set}" = set; then :
10060 $as_echo_n "(cached) " >&6
10062 if test -n "$ft_devel"; then
10063 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10065 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10066 for as_dir
in $PATH
10069 test -z "$as_dir" && as_dir
=.
10070 for ac_exec_ext
in '' $ac_executable_extensions; do
10071 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10072 ac_cv_prog_ft_devel
="$ac_prog"
10073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10082 ft_devel
=$ac_cv_prog_ft_devel
10083 if test -n "$ft_devel"; then
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10085 $as_echo "$ft_devel" >&6; }
10087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10088 $as_echo "no" >&6; }
10092 test -n "$ft_devel" && break
10094 test -n "$ft_devel" || ft_devel
="no"
10096 if test "$ft_devel" != "no"
10098 ac_freetype_incl
=`$ft_devel --cflags`
10099 ac_freetype_libs
=`$ft_devel --libs`
10101 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10103 $as_echo_n "checking for -lfreetype... " >&6; }
10104 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10105 $as_echo_n "(cached) " >&6
10107 ac_check_soname_save_LIBS
=$LIBS
10108 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10109 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10112 /* Override any GCC internal prototype to avoid an error.
10113 Use char because int might match the return type of a GCC
10114 builtin and then its argument prototype would still apply. */
10118 char FT_Init_FreeType ();
10122 return FT_Init_FreeType ();
10127 if ac_fn_c_try_link
"$LINENO"; then :
10129 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10130 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'` ;;
10131 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10134 rm -f core conftest.err conftest.
$ac_objext \
10135 conftest
$ac_exeext conftest.
$ac_ext
10136 LIBS
=$ac_check_soname_save_LIBS
10138 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10140 $as_echo "not found" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10144 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10146 cat >>confdefs.h
<<_ACEOF
10147 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10152 if test "$ft_lib" = "yes"
10154 ac_save_CPPFLAGS
="$CPPFLAGS"
10155 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10156 for ac_header
in ft2build.h \
10157 freetype
/freetype.h \
10158 freetype
/ftglyph.h \
10159 freetype
/fttypes.h \
10160 freetype
/tttables.h \
10161 freetype
/ftsnames.h \
10162 freetype
/ttnameid.h \
10163 freetype
/ftoutln.h \
10164 freetype
/ftwinfnt.h \
10165 freetype
/ftmodapi.h \
10166 freetype
/ftlcdfil.h \
10167 freetype
/internal
/sfnt.h
10169 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10170 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10171 # include <ft2build.h>
10174 eval as_val
=\$
$as_ac_Header
10175 if test "x$as_val" = x
""yes; then :
10176 cat >>confdefs.h
<<_ACEOF
10177 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10185 /* end confdefs.h. */
10186 #include <ft2build.h>
10187 #include <freetype/fttrigon.h>
10189 if ac_fn_c_try_cpp
"$LINENO"; then :
10191 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10193 wine_cv_fttrigon
=yes
10195 wine_cv_fttrigon
=no
10197 rm -f conftest.err conftest.
$ac_ext
10198 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10200 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10202 cat >>confdefs.h
<<_ACEOF
10203 #define HAVE_FT_TRUETYPEENGINETYPE 1
10209 ac_save_CFLAGS
="$CFLAGS"
10210 CFLAGS
="$CFLAGS $ac_freetype_libs"
10211 for ac_func
in FT_Load_Sfnt_Table
10213 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10214 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10215 cat >>confdefs.h
<<_ACEOF
10216 #define HAVE_FT_LOAD_SFNT_TABLE 1
10222 CFLAGS
="$ac_save_CFLAGS"
10223 CPPFLAGS
="$ac_save_CPPFLAGS"
10224 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10227 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10229 FREETYPELIBS
="$ac_freetype_libs"
10231 FREETYPEINCL
="$ac_freetype_incl"
10236 if test "x$FREETYPELIBS" = "x"; then :
10237 case "x$with_freetype" in
10239 *) as_fn_error
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10240 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10243 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10246 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10247 if test "${ac_cv_c_ppdev+set}" = set; then :
10248 $as_echo_n "(cached) " >&6
10250 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10251 /* end confdefs.h. */
10252 #ifdef HAVE_SYS_IOCTL_H
10253 # include <sys/ioctl.h>
10255 #include <linux/ppdev.h>
10259 ioctl (1,PPCLAIM,0)
10264 if ac_fn_c_try_compile
"$LINENO"; then :
10265 ac_cv_c_ppdev
="yes"
10269 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10272 $as_echo "$ac_cv_c_ppdev" >&6; }
10273 if test "$ac_cv_c_ppdev" = "yes"
10276 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10280 ac_wine_check_funcs_save_LIBS
="$LIBS"
10281 LIBS
="$LIBS $LIBPTHREAD"
10283 pthread_attr_get_np \
10284 pthread_getattr_np \
10285 pthread_get_stackaddr_np \
10286 pthread_get_stacksize_np
10288 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10289 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10290 eval as_val
=\$
$as_ac_var
10291 if test "x$as_val" = x
""yes; then :
10292 cat >>confdefs.h
<<_ACEOF
10293 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10299 LIBS
="$ac_wine_check_funcs_save_LIBS"
10301 if test "$ac_cv_header_zlib_h" = "yes"
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10304 $as_echo_n "checking for inflate in -lz... " >&6; }
10305 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10306 $as_echo_n "(cached) " >&6
10308 ac_check_lib_save_LIBS
=$LIBS
10310 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10311 /* end confdefs.h. */
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10328 if ac_fn_c_try_link
"$LINENO"; then :
10329 ac_cv_lib_z_inflate
=yes
10331 ac_cv_lib_z_inflate
=no
10333 rm -f core conftest.err conftest.
$ac_objext \
10334 conftest
$ac_exeext conftest.
$ac_ext
10335 LIBS
=$ac_check_lib_save_LIBS
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10338 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10339 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10341 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10349 if test "x$with_esd" != xno
10351 save_CFLAGS
="$CFLAGS"
10352 # Extract the first word of "esd-config", so it can be a program name with args.
10353 set dummy esd-config
; ac_word
=$2
10354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10355 $as_echo_n "checking for $ac_word... " >&6; }
10356 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10357 $as_echo_n "(cached) " >&6
10361 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10364 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10365 for as_dir
in $PATH
10368 test -z "$as_dir" && as_dir
=.
10369 for ac_exec_ext
in '' $ac_executable_extensions; do
10370 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10371 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10372 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10379 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10383 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10384 if test -n "$ESDCONFIG"; then
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10386 $as_echo "$ESDCONFIG" >&6; }
10388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10389 $as_echo "no" >&6; }
10393 if test "x$ESDCONFIG" != "xno"
10396 for i
in `$ESDCONFIG --cflags`
10399 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10402 ac_esd_libs
=`$ESDCONFIG --libs`
10403 CFLAGS
="$CFLAGS $ac_esd_incl"
10405 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10406 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10407 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10409 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10410 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10411 $as_echo_n "(cached) " >&6
10413 ac_check_lib_save_LIBS
=$LIBS
10414 LIBS
="-lesd $ac_esd_libs $LIBS"
10415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10416 /* end confdefs.h. */
10418 /* Override any GCC internal prototype to avoid an error.
10419 Use char because int might match the return type of a GCC
10420 builtin and then its argument prototype would still apply. */
10424 char esd_open_sound ();
10428 return esd_open_sound ();
10433 if ac_fn_c_try_link
"$LINENO"; then :
10434 ac_cv_lib_esd_esd_open_sound
=yes
10436 ac_cv_lib_esd_esd_open_sound
=no
10438 rm -f core conftest.err conftest.
$ac_objext \
10439 conftest
$ac_exeext conftest.
$ac_ext
10440 LIBS
=$ac_check_lib_save_LIBS
10442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10443 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10444 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10445 ESDINCL
="$ac_esd_incl"
10447 ESDLIBS
="$ac_esd_libs"
10450 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10457 CFLAGS
="$save_CFLAGS"
10464 if test "x$with_pulse" != "xno";
10466 ac_save_CPPFLAGS
="$CPPFLAGS"
10467 if test "$PKG_CONFIG" != "false";
10469 ac_pulse_libs
="`$PKG_CONFIG --libs libpulse 2>/dev/null`"
10470 ac_pulse_cflags
="`$PKG_CONFIG --cflags libpulse 2>/dev/null`"
10472 CPPFLAGS
="$CPPFLAGS $ac_pulse_cflags"
10473 for ac_header
in pulse
/pulseaudio.h
10475 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
10476 if test "x$ac_cv_header_pulse_pulseaudio_h" = x
""yes; then :
10477 cat >>confdefs.h
<<_ACEOF
10478 #define HAVE_PULSE_PULSEAUDIO_H 1
10480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
10481 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
10482 if test "${ac_cv_lib_pulse_pa_stream_is_corked+set}" = set; then :
10483 $as_echo_n "(cached) " >&6
10485 ac_check_lib_save_LIBS
=$LIBS
10486 LIBS
="-lpulse $ac_pulse_libs $LIBS"
10487 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10488 /* end confdefs.h. */
10490 /* Override any GCC internal prototype to avoid an error.
10491 Use char because int might match the return type of a GCC
10492 builtin and then its argument prototype would still apply. */
10496 char pa_stream_is_corked ();
10500 return pa_stream_is_corked ();
10505 if ac_fn_c_try_link
"$LINENO"; then :
10506 ac_cv_lib_pulse_pa_stream_is_corked
=yes
10508 ac_cv_lib_pulse_pa_stream_is_corked
=no
10510 rm -f core conftest.err conftest.
$ac_objext \
10511 conftest
$ac_exeext conftest.
$ac_ext
10512 LIBS
=$ac_check_lib_save_LIBS
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
10515 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
10516 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = x
""yes; then :
10518 $as_echo "#define HAVE_PULSEAUDIO 1" >>confdefs.h
10520 PULSELIBS
="$ac_pulse_libs"
10521 PULSECFLAGS
="$ac_pulse_cflags"
10530 CPPFLAGS
="$ac_save_CPPFLAGS"
10532 if test "$ac_cv_lib_pulse_pa_stream_is_corked" != "yes"; then :
10533 case "x$with_pulse" in
10534 x
) as_fn_append wine_warnings
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
10536 *) as_fn_error
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
10537 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
10543 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10546 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10547 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10548 $as_echo_n "(cached) " >&6
10550 ac_check_lib_save_LIBS
=$LIBS
10551 LIBS
="-lasound $LIBS"
10552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10553 /* end confdefs.h. */
10555 /* Override any GCC internal prototype to avoid an error.
10556 Use char because int might match the return type of a GCC
10557 builtin and then its argument prototype would still apply. */
10561 char snd_pcm_hw_params_get_access ();
10565 return snd_pcm_hw_params_get_access ();
10570 if ac_fn_c_try_link
"$LINENO"; then :
10571 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10573 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10575 rm -f core conftest.err conftest.
$ac_objext \
10576 conftest
$ac_exeext conftest.
$ac_ext
10577 LIBS
=$ac_check_lib_save_LIBS
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10580 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10581 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x
""yes; then :
10582 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10584 #ifdef HAVE_ALSA_ASOUNDLIB_H
10585 #include <alsa/asoundlib.h>
10586 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10587 #include <sys/asoundlib.h>
10592 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10597 if ac_fn_c_try_compile
"$LINENO"; then :
10599 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10601 ALSALIBS
="-lasound"
10603 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10610 if test "$ac_cv_header_libaudioio_h" = "yes"
10612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10613 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10614 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10615 $as_echo_n "(cached) " >&6
10617 ac_check_lib_save_LIBS
=$LIBS
10618 LIBS
="-laudioio $LIBS"
10619 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10620 /* end confdefs.h. */
10622 /* Override any GCC internal prototype to avoid an error.
10623 Use char because int might match the return type of a GCC
10624 builtin and then its argument prototype would still apply. */
10628 char AudioIOGetVersion ();
10632 return AudioIOGetVersion ();
10637 if ac_fn_c_try_link
"$LINENO"; then :
10638 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10640 ac_cv_lib_audioio_AudioIOGetVersion
=no
10642 rm -f core conftest.err conftest.
$ac_objext \
10643 conftest
$ac_exeext conftest.
$ac_ext
10644 LIBS
=$ac_check_lib_save_LIBS
10646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10647 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10648 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x
""yes; then :
10649 AUDIOIOLIBS
="-laudioio"
10651 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10658 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10661 $as_echo_n "checking for -lcapi20... " >&6; }
10662 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10663 $as_echo_n "(cached) " >&6
10665 ac_check_soname_save_LIBS
=$LIBS
10666 LIBS
="-lcapi20 $LIBS"
10667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10670 /* Override any GCC internal prototype to avoid an error.
10671 Use char because int might match the return type of a GCC
10672 builtin and then its argument prototype would still apply. */
10676 char capi20_register ();
10680 return capi20_register ();
10685 if ac_fn_c_try_link
"$LINENO"; then :
10687 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10688 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'` ;;
10689 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10692 rm -f core conftest.err conftest.
$ac_objext \
10693 conftest
$ac_exeext conftest.
$ac_ext
10694 LIBS
=$ac_check_soname_save_LIBS
10696 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10698 $as_echo "not found" >&6; }
10701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10702 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10704 cat >>confdefs.h
<<_ACEOF
10705 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10711 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10712 case "x$with_capi" in
10713 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10715 *) as_fn_error
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10716 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10722 if test "x$with_cups" != "xno"
10724 ac_save_CPPFLAGS
="$CPPFLAGS"
10725 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10726 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10727 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10728 for ac_header
in cups
/cups.h
10730 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10731 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
10732 cat >>confdefs.h
<<_ACEOF
10733 #define HAVE_CUPS_CUPS_H 1
10735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10736 $as_echo_n "checking for -lcups... " >&6; }
10737 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10738 $as_echo_n "(cached) " >&6
10740 ac_check_soname_save_LIBS
=$LIBS
10741 LIBS
="-lcups $ac_cups_libs $LIBS"
10742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10743 /* end confdefs.h. */
10745 /* Override any GCC internal prototype to avoid an error.
10746 Use char because int might match the return type of a GCC
10747 builtin and then its argument prototype would still apply. */
10751 char cupsGetDefault ();
10755 return cupsGetDefault ();
10760 if ac_fn_c_try_link
"$LINENO"; then :
10762 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10763 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'` ;;
10764 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10767 rm -f core conftest.err conftest.
$ac_objext \
10768 conftest
$ac_exeext conftest.
$ac_ext
10769 LIBS
=$ac_check_soname_save_LIBS
10771 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10773 $as_echo "not found" >&6; }
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10777 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10779 cat >>confdefs.h
<<_ACEOF
10780 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10783 CUPSINCL
="$ac_cups_cflags"
10789 CPPFLAGS
="$ac_save_CPPFLAGS"
10791 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10792 case "x$with_cups" in
10793 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10795 *) as_fn_error
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10796 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10800 if test "$ac_cv_header_jack_jack_h" = "yes"
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
10803 $as_echo_n "checking for -ljack... " >&6; }
10804 if test "${ac_cv_lib_soname_jack+set}" = set; then :
10805 $as_echo_n "(cached) " >&6
10807 ac_check_soname_save_LIBS
=$LIBS
10808 LIBS
="-ljack $LIBS"
10809 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10810 /* end confdefs.h. */
10812 /* Override any GCC internal prototype to avoid an error.
10813 Use char because int might match the return type of a GCC
10814 builtin and then its argument prototype would still apply. */
10818 char jack_client_new ();
10822 return jack_client_new ();
10827 if ac_fn_c_try_link
"$LINENO"; then :
10829 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10830 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'` ;;
10831 *) 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'` ;;
10834 rm -f core conftest.err conftest.
$ac_objext \
10835 conftest
$ac_exeext conftest.
$ac_ext
10836 LIBS
=$ac_check_soname_save_LIBS
10838 if test "x$ac_cv_lib_soname_jack" = "x"; then :
10839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10840 $as_echo "not found" >&6; }
10843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
10844 $as_echo "$ac_cv_lib_soname_jack" >&6; }
10846 cat >>confdefs.h
<<_ACEOF
10847 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10854 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10857 $as_echo_n "checking for -lfontconfig... " >&6; }
10858 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10859 $as_echo_n "(cached) " >&6
10861 ac_check_soname_save_LIBS
=$LIBS
10862 LIBS
="-lfontconfig $LIBS"
10863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10864 /* end confdefs.h. */
10866 /* Override any GCC internal prototype to avoid an error.
10867 Use char because int might match the return type of a GCC
10868 builtin and then its argument prototype would still apply. */
10881 if ac_fn_c_try_link
"$LINENO"; then :
10883 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10884 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'` ;;
10885 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10888 rm -f core conftest.err conftest.
$ac_objext \
10889 conftest
$ac_exeext conftest.
$ac_ext
10890 LIBS
=$ac_check_soname_save_LIBS
10892 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10894 $as_echo "not found" >&6; }
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10898 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10900 cat >>confdefs.h
<<_ACEOF
10901 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10906 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10908 ac_save_CPPFLAGS
="$CPPFLAGS"
10909 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10910 $as_unset ac_cv_header_fontconfig_fontconfig_h
10911 for ac_header
in fontconfig
/fontconfig.h
10913 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10914 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
10915 cat >>confdefs.h
<<_ACEOF
10916 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10923 CPPFLAGS
="$ac_save_CPPFLAGS"
10924 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10926 FONTCONFIGINCL
="$X_CFLAGS"
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10929 $as_echo_n "checking for -lfontconfig... " >&6; }
10930 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10931 $as_echo_n "(cached) " >&6
10933 ac_check_soname_save_LIBS
=$LIBS
10934 LIBS
="-lfontconfig $X_LIBS $LIBS"
10935 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10936 /* end confdefs.h. */
10938 /* Override any GCC internal prototype to avoid an error.
10939 Use char because int might match the return type of a GCC
10940 builtin and then its argument prototype would still apply. */
10953 if ac_fn_c_try_link
"$LINENO"; then :
10955 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10956 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'` ;;
10957 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10960 rm -f core conftest.err conftest.
$ac_objext \
10961 conftest
$ac_exeext conftest.
$ac_ext
10962 LIBS
=$ac_check_soname_save_LIBS
10964 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10966 $as_echo "not found" >&6; }
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10970 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10972 cat >>confdefs.h
<<_ACEOF
10973 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10980 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10981 case "x$with_fontconfig" in
10982 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10984 *) as_fn_error
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10985 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
10989 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
10992 $as_echo_n "checking for -lssl... " >&6; }
10993 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
10994 $as_echo_n "(cached) " >&6
10996 ac_check_soname_save_LIBS
=$LIBS
10998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11001 /* Override any GCC internal prototype to avoid an error.
11002 Use char because int might match the return type of a GCC
11003 builtin and then its argument prototype would still apply. */
11007 char SSL_library_init ();
11011 return SSL_library_init ();
11016 if ac_fn_c_try_link
"$LINENO"; then :
11018 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11019 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'` ;;
11020 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11023 rm -f core conftest.err conftest.
$ac_objext \
11024 conftest
$ac_exeext conftest.
$ac_ext
11025 LIBS
=$ac_check_soname_save_LIBS
11027 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11029 $as_echo "not found" >&6; }
11032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11033 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11035 cat >>confdefs.h
<<_ACEOF
11036 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11042 $as_echo_n "checking for -lcrypto... " >&6; }
11043 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
11044 $as_echo_n "(cached) " >&6
11046 ac_check_soname_save_LIBS
=$LIBS
11047 LIBS
="-lcrypto $LIBS"
11048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11049 /* end confdefs.h. */
11051 /* Override any GCC internal prototype to avoid an error.
11052 Use char because int might match the return type of a GCC
11053 builtin and then its argument prototype would still apply. */
11057 char BIO_new_socket ();
11061 return BIO_new_socket ();
11066 if ac_fn_c_try_link
"$LINENO"; then :
11068 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11069 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'` ;;
11070 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11073 rm -f core conftest.err conftest.
$ac_objext \
11074 conftest
$ac_exeext conftest.
$ac_ext
11075 LIBS
=$ac_check_soname_save_LIBS
11077 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11079 $as_echo "not found" >&6; }
11082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11083 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11085 cat >>confdefs.h
<<_ACEOF
11086 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11092 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11093 case "x$with_openssl" in
11094 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11096 *) as_fn_error
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11097 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11101 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11104 $as_echo_n "checking for -lgsm... " >&6; }
11105 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_check_soname_save_LIBS
=$LIBS
11110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11119 char gsm_create ();
11123 return gsm_create ();
11128 if ac_fn_c_try_link
"$LINENO"; then :
11130 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11131 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'` ;;
11132 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11135 rm -f core conftest.err conftest.
$ac_objext \
11136 conftest
$ac_exeext conftest.
$ac_ext
11137 LIBS
=$ac_check_soname_save_LIBS
11139 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11141 $as_echo "not found" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11145 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11147 cat >>confdefs.h
<<_ACEOF
11148 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11154 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11155 case "x$with_gsm" in
11156 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11158 *) as_fn_error
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11159 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11163 if test "$ac_cv_header_jpeglib_h" = "yes"
11165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11166 $as_echo_n "checking for -ljpeg... " >&6; }
11167 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11168 $as_echo_n "(cached) " >&6
11170 ac_check_soname_save_LIBS
=$LIBS
11171 LIBS
="-ljpeg $LIBS"
11172 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11173 /* end confdefs.h. */
11175 /* Override any GCC internal prototype to avoid an error.
11176 Use char because int might match the return type of a GCC
11177 builtin and then its argument prototype would still apply. */
11181 char jpeg_start_decompress ();
11185 return jpeg_start_decompress ();
11190 if ac_fn_c_try_link
"$LINENO"; then :
11192 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11193 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'` ;;
11194 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11197 rm -f core conftest.err conftest.
$ac_objext \
11198 conftest
$ac_exeext conftest.
$ac_ext
11199 LIBS
=$ac_check_soname_save_LIBS
11201 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11203 $as_echo "not found" >&6; }
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11207 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11209 cat >>confdefs.h
<<_ACEOF
11210 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11216 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11217 case "x$with_jpeg" in
11218 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11220 *) as_fn_error
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11221 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11225 if test "$ac_cv_header_png_h" = "yes"
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11228 $as_echo_n "checking for -lpng... " >&6; }
11229 if test "${ac_cv_lib_soname_png+set}" = set; then :
11230 $as_echo_n "(cached) " >&6
11232 ac_check_soname_save_LIBS
=$LIBS
11233 LIBS
="-lpng -lm -lz $LIBS"
11234 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11235 /* end confdefs.h. */
11237 /* Override any GCC internal prototype to avoid an error.
11238 Use char because int might match the return type of a GCC
11239 builtin and then its argument prototype would still apply. */
11243 char png_create_read_struct ();
11247 return png_create_read_struct ();
11252 if ac_fn_c_try_link
"$LINENO"; then :
11254 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11255 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'` ;;
11256 *) 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'` ;;
11259 rm -f core conftest.err conftest.
$ac_objext \
11260 conftest
$ac_exeext conftest.
$ac_ext
11261 LIBS
=$ac_check_soname_save_LIBS
11263 if test "x$ac_cv_lib_soname_png" = "x"; then :
11264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11265 $as_echo "not found" >&6; }
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11269 $as_echo "$ac_cv_lib_soname_png" >&6; }
11271 cat >>confdefs.h
<<_ACEOF
11272 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11278 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11279 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11280 $as_echo_n "(cached) " >&6
11282 ac_check_lib_save_LIBS
=$LIBS
11283 LIBS
="-lpng -lm -lz $LIBS"
11284 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11285 /* end confdefs.h. */
11287 /* Override any GCC internal prototype to avoid an error.
11288 Use char because int might match the return type of a GCC
11289 builtin and then its argument prototype would still apply. */
11293 char png_set_expand_gray_1_2_4_to_8 ();
11297 return png_set_expand_gray_1_2_4_to_8 ();
11302 if ac_fn_c_try_link
"$LINENO"; then :
11303 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11305 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11307 rm -f core conftest.err conftest.
$ac_objext \
11308 conftest
$ac_exeext conftest.
$ac_ext
11309 LIBS
=$ac_check_lib_save_LIBS
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11312 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11313 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11315 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11320 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11322 ac_save_CPPFLAGS
="$CPPFLAGS"
11323 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11324 $as_unset ac_cv_header_png_h
11325 for ac_header
in png.h
11327 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11328 if test "x$ac_cv_header_png_h" = x
""yes; then :
11329 cat >>confdefs.h
<<_ACEOF
11330 #define HAVE_PNG_H 1
11337 CPPFLAGS
="$ac_save_CPPFLAGS"
11338 if test "$ac_cv_header_png_h" = "yes"
11340 PNGINCL
="$X_CFLAGS"
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11343 $as_echo_n "checking for -lpng... " >&6; }
11344 if test "${ac_cv_lib_soname_png+set}" = set; then :
11345 $as_echo_n "(cached) " >&6
11347 ac_check_soname_save_LIBS
=$LIBS
11348 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11350 /* end confdefs.h. */
11352 /* Override any GCC internal prototype to avoid an error.
11353 Use char because int might match the return type of a GCC
11354 builtin and then its argument prototype would still apply. */
11358 char png_create_read_struct ();
11362 return png_create_read_struct ();
11367 if ac_fn_c_try_link
"$LINENO"; then :
11369 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11370 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'` ;;
11371 *) 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'` ;;
11374 rm -f core conftest.err conftest.
$ac_objext \
11375 conftest
$ac_exeext conftest.
$ac_ext
11376 LIBS
=$ac_check_soname_save_LIBS
11378 if test "x$ac_cv_lib_soname_png" = "x"; then :
11379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11380 $as_echo "not found" >&6; }
11383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11384 $as_echo "$ac_cv_lib_soname_png" >&6; }
11386 cat >>confdefs.h
<<_ACEOF
11387 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11393 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11394 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11395 $as_echo_n "(cached) " >&6
11397 ac_check_lib_save_LIBS
=$LIBS
11398 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11400 /* end confdefs.h. */
11402 /* Override any GCC internal prototype to avoid an error.
11403 Use char because int might match the return type of a GCC
11404 builtin and then its argument prototype would still apply. */
11408 char png_set_expand_gray_1_2_4_to_8 ();
11412 return png_set_expand_gray_1_2_4_to_8 ();
11417 if ac_fn_c_try_link
"$LINENO"; then :
11418 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11420 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11422 rm -f core conftest.err conftest.
$ac_objext \
11423 conftest
$ac_exeext conftest.
$ac_ext
11424 LIBS
=$ac_check_lib_save_LIBS
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11427 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11428 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11429 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11435 if test "x$ac_cv_lib_soname_png" = "x"; then :
11436 case "x$with_png" in
11437 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11439 *) as_fn_error
"libpng ${notice_platform}development files not found, PNG won't be supported.
11440 This is an error since --with-png was requested." "$LINENO" 5 ;;
11444 if test "$ac_cv_header_tiffio_h" = "yes"
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11447 $as_echo_n "checking for -ltiff... " >&6; }
11448 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11449 $as_echo_n "(cached) " >&6
11451 ac_check_soname_save_LIBS
=$LIBS
11452 LIBS
="-ltiff $LIBS"
11453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11454 /* end confdefs.h. */
11456 /* Override any GCC internal prototype to avoid an error.
11457 Use char because int might match the return type of a GCC
11458 builtin and then its argument prototype would still apply. */
11462 char TIFFClientOpen ();
11466 return TIFFClientOpen ();
11471 if ac_fn_c_try_link
"$LINENO"; then :
11473 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11474 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'` ;;
11475 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11478 rm -f core conftest.err conftest.
$ac_objext \
11479 conftest
$ac_exeext conftest.
$ac_ext
11480 LIBS
=$ac_check_soname_save_LIBS
11482 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11484 $as_echo "not found" >&6; }
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11488 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11490 cat >>confdefs.h
<<_ACEOF
11491 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11497 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11498 case "x$with_tiff" in
11499 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11501 *) as_fn_error
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11502 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11506 if test "$ac_cv_header_mpg123_h" = "yes"
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11509 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11510 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11513 ac_check_lib_save_LIBS
=$LIBS
11514 LIBS
="-lmpg123 $LIBS"
11515 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11516 /* end confdefs.h. */
11518 /* Override any GCC internal prototype to avoid an error.
11519 Use char because int might match the return type of a GCC
11520 builtin and then its argument prototype would still apply. */
11524 char mpg123_feed ();
11528 return mpg123_feed ();
11533 if ac_fn_c_try_link
"$LINENO"; then :
11534 ac_cv_lib_mpg123_mpg123_feed
=yes
11536 ac_cv_lib_mpg123_mpg123_feed
=no
11538 rm -f core conftest.err conftest.
$ac_objext \
11539 conftest
$ac_exeext conftest.
$ac_ext
11540 LIBS
=$ac_check_lib_save_LIBS
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11543 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11544 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11545 LIBMPG123
="-lmpg123"
11550 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11551 case "x$with_mpg123" in
11552 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11554 *) as_fn_error
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11555 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11558 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}
11560 if test "$ac_cv_header_AL_al_h" = "yes"
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11563 $as_echo_n "checking for -lopenal... " >&6; }
11564 if test "${ac_cv_lib_soname_openal+set}" = set; then :
11565 $as_echo_n "(cached) " >&6
11567 ac_check_soname_save_LIBS
=$LIBS
11568 LIBS
="-lopenal $LIBS"
11569 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11570 /* end confdefs.h. */
11572 /* Override any GCC internal prototype to avoid an error.
11573 Use char because int might match the return type of a GCC
11574 builtin and then its argument prototype would still apply. */
11578 char alGetSource3i ();
11582 return alGetSource3i ();
11587 if ac_fn_c_try_link
"$LINENO"; then :
11589 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11590 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'` ;;
11591 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11594 rm -f core conftest.err conftest.
$ac_objext \
11595 conftest
$ac_exeext conftest.
$ac_ext
11596 LIBS
=$ac_check_soname_save_LIBS
11598 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11600 $as_echo "not found" >&6; }
11603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11604 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11606 cat >>confdefs.h
<<_ACEOF
11607 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11610 LIBOPENAL
="-lopenal"
11612 ac_cv_lib_openal
=yes
11614 cat >>confdefs.h
<<_ACEOF
11615 #define HAVE_OPENAL 1
11620 if test "x$ac_cv_lib_openal" != xyes
; then :
11621 case "x$with_openal" in
11622 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11624 *) as_fn_error
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11625 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11628 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11630 if test "$ac_cv_header_kstat_h" = "yes"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11633 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11634 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_check_lib_save_LIBS
=$LIBS
11638 LIBS
="-lkstat $LIBS"
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11648 char kstat_open ();
11652 return kstat_open ();
11657 if ac_fn_c_try_link
"$LINENO"; then :
11658 ac_cv_lib_kstat_kstat_open
=yes
11660 ac_cv_lib_kstat_kstat_open
=no
11662 rm -f core conftest.err conftest.
$ac_objext \
11663 conftest
$ac_exeext conftest.
$ac_ext
11664 LIBS
=$ac_check_lib_save_LIBS
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11667 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11668 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11670 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11679 $as_echo_n "checking for -lodbc... " >&6; }
11680 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11681 $as_echo_n "(cached) " >&6
11683 ac_check_soname_save_LIBS
=$LIBS
11684 LIBS
="-lodbc $LIBS"
11685 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11694 char SQLConnect ();
11698 return SQLConnect ();
11703 if ac_fn_c_try_link
"$LINENO"; then :
11705 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11706 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'` ;;
11707 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11710 rm -f core conftest.err conftest.
$ac_objext \
11711 conftest
$ac_exeext conftest.
$ac_ext
11712 LIBS
=$ac_check_soname_save_LIBS
11714 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11716 $as_echo "not found" >&6; }
11717 cat >>confdefs.h
<<_ACEOF
11718 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11723 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11725 cat >>confdefs.h
<<_ACEOF
11726 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11732 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$PULSELIBS$ac_cv_lib_soname_jack" = "x" -a \
11733 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11734 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11735 "$ac_cv_header_soundcard_h" != "yes" -a \
11736 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11738 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11744 if test "x${GCC}" = "xyes"
11746 EXTRACFLAGS
="-Wall -pipe"
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11749 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11750 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
11751 $as_echo_n "(cached) " >&6
11753 if test "$cross_compiling" = yes; then :
11754 ac_cv_c_gcc_strength_bug
="yes"
11756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11757 /* end confdefs.h. */
11758 int L[4] = {0,1,2,3};
11762 static int Array[3];
11763 unsigned int B = 3;
11765 for(i=0; i<B; i++) Array[i] = i - 3;
11766 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11768 return (Array[1] != -2 || L[2] != 3)
11773 if ac_fn_c_try_run
"$LINENO"; then :
11774 ac_cv_c_gcc_strength_bug
="no"
11776 ac_cv_c_gcc_strength_bug
="yes"
11778 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11779 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11784 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11785 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11787 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11791 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11792 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
11793 $as_echo_n "(cached) " >&6
11795 ac_wine_try_cflags_saved
=$CFLAGS
11796 CFLAGS
="$CFLAGS -fno-builtin"
11797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11798 /* end confdefs.h. */
11799 int main(int argc, char **argv) { return 0; }
11801 if ac_fn_c_try_link
"$LINENO"; then :
11802 ac_cv_cflags__fno_builtin
=yes
11804 ac_cv_cflags__fno_builtin
=no
11806 rm -f core conftest.err conftest.
$ac_objext \
11807 conftest
$ac_exeext conftest.
$ac_ext
11808 CFLAGS
=$ac_wine_try_cflags_saved
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11811 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11812 if test $ac_cv_cflags__fno_builtin = yes; then :
11813 BUILTINFLAG
="-fno-builtin"
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11817 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11818 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
11819 $as_echo_n "(cached) " >&6
11821 ac_wine_try_cflags_saved
=$CFLAGS
11822 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11823 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11824 /* end confdefs.h. */
11825 int main(int argc, char **argv) { return 0; }
11827 if ac_fn_c_try_link
"$LINENO"; then :
11828 ac_cv_cflags__fno_strict_aliasing
=yes
11830 ac_cv_cflags__fno_strict_aliasing
=no
11832 rm -f core conftest.err conftest.
$ac_objext \
11833 conftest
$ac_exeext conftest.
$ac_ext
11834 CFLAGS
=$ac_wine_try_cflags_saved
11836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11837 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11838 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11839 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11842 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11843 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
11844 $as_echo_n "(cached) " >&6
11846 ac_wine_try_cflags_saved
=$CFLAGS
11847 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11848 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11849 /* end confdefs.h. */
11850 int main(int argc, char **argv) { return 0; }
11852 if ac_fn_c_try_link
"$LINENO"; then :
11853 ac_cv_cflags__Wdeclaration_after_statement
=yes
11855 ac_cv_cflags__Wdeclaration_after_statement
=no
11857 rm -f core conftest.err conftest.
$ac_objext \
11858 conftest
$ac_exeext conftest.
$ac_ext
11859 CFLAGS
=$ac_wine_try_cflags_saved
11861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11862 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11863 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11864 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11867 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11868 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11869 $as_echo_n "(cached) " >&6
11871 ac_wine_try_cflags_saved
=$CFLAGS
11872 CFLAGS
="$CFLAGS -Wstrict-prototypes"
11873 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11875 int main(int argc, char **argv) { return 0; }
11877 if ac_fn_c_try_link
"$LINENO"; then :
11878 ac_cv_cflags__Wstrict_prototypes
=yes
11880 ac_cv_cflags__Wstrict_prototypes
=no
11882 rm -f core conftest.err conftest.
$ac_objext \
11883 conftest
$ac_exeext conftest.
$ac_ext
11884 CFLAGS
=$ac_wine_try_cflags_saved
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11887 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11888 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11889 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11892 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11893 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
11894 $as_echo_n "(cached) " >&6
11896 ac_wine_try_cflags_saved
=$CFLAGS
11897 CFLAGS
="$CFLAGS -Wtype-limits"
11898 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11899 /* end confdefs.h. */
11900 int main(int argc, char **argv) { return 0; }
11902 if ac_fn_c_try_link
"$LINENO"; then :
11903 ac_cv_cflags__Wtype_limits
=yes
11905 ac_cv_cflags__Wtype_limits
=no
11907 rm -f core conftest.err conftest.
$ac_objext \
11908 conftest
$ac_exeext conftest.
$ac_ext
11909 CFLAGS
=$ac_wine_try_cflags_saved
11911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11912 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11913 if test $ac_cv_cflags__Wtype_limits = yes; then :
11914 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11917 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11918 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11919 $as_echo_n "(cached) " >&6
11921 ac_wine_try_cflags_saved
=$CFLAGS
11922 CFLAGS
="$CFLAGS -Wwrite-strings"
11923 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11924 /* end confdefs.h. */
11925 int main(int argc, char **argv) { return 0; }
11927 if ac_fn_c_try_link
"$LINENO"; then :
11928 ac_cv_cflags__Wwrite_strings
=yes
11930 ac_cv_cflags__Wwrite_strings
=no
11932 rm -f core conftest.err conftest.
$ac_objext \
11933 conftest
$ac_exeext conftest.
$ac_ext
11934 CFLAGS
=$ac_wine_try_cflags_saved
11936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11937 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11938 if test $ac_cv_cflags__Wwrite_strings = yes; then :
11939 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
11942 saved_CFLAGS
="$CFLAGS"
11943 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
11945 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
11946 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
11947 $as_echo_n "(cached) " >&6
11949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11951 #include <string.h>
11960 if ac_fn_c_try_compile
"$LINENO"; then :
11961 ac_cv_c_string_h_warnings
=no
11963 ac_cv_c_string_h_warnings
=yes
11965 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
11968 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
11969 CFLAGS
="$saved_CFLAGS"
11970 if test "$ac_cv_c_string_h_warnings" = "no"
11972 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11975 if test "x$enable_maintainer_mode" = "xyes"
11977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11978 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11979 if test "${ac_cv_cflags__Werror+set}" = set; then :
11980 $as_echo_n "(cached) " >&6
11982 ac_wine_try_cflags_saved
=$CFLAGS
11983 CFLAGS
="$CFLAGS -Werror"
11984 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11985 /* end confdefs.h. */
11986 int main(int argc, char **argv) { return 0; }
11988 if ac_fn_c_try_link
"$LINENO"; then :
11989 ac_cv_cflags__Werror
=yes
11991 ac_cv_cflags__Werror
=no
11993 rm -f core conftest.err conftest.
$ac_objext \
11994 conftest
$ac_exeext conftest.
$ac_ext
11995 CFLAGS
=$ac_wine_try_cflags_saved
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11998 $as_echo "$ac_cv_cflags__Werror" >&6; }
11999 if test $ac_cv_cflags__Werror = yes; then :
12000 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12004 saved_CFLAGS
="$CFLAGS"
12005 CFLAGS
="$CFLAGS -Werror"
12006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12007 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12008 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
12009 $as_echo_n "(cached) " >&6
12011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12012 /* end confdefs.h. */
12013 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12022 if ac_fn_c_try_compile
"$LINENO"; then :
12023 ac_cv_have_ms_hook_prologue
="yes"
12025 ac_cv_have_ms_hook_prologue
="no"
12027 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12030 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12031 CFLAGS
="$saved_CFLAGS"
12032 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12035 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12038 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12045 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12046 if test "${ac_cv_c_extern_prefix+set}" = set; then :
12047 $as_echo_n "(cached) " >&6
12049 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12051 extern int ac_test;
12055 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12060 if ac_fn_c_try_link
"$LINENO"; then :
12061 ac_cv_c_extern_prefix
="yes"
12063 ac_cv_c_extern_prefix
="no"
12065 rm -f core conftest.err conftest.
$ac_objext \
12066 conftest
$ac_exeext conftest.
$ac_ext
12068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12069 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12074 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12075 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
12076 $as_echo_n "(cached) " >&6
12078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12079 /* end confdefs.h. */
12081 #define __stdcall __attribute__((__stdcall__))
12083 int __stdcall ac_test(int i) { return i; }
12087 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12092 if ac_fn_c_try_link
"$LINENO"; then :
12093 ac_cv_c_stdcall_suffix
="yes"
12095 ac_cv_c_stdcall_suffix
="no"
12097 rm -f core conftest.err conftest.
$ac_objext \
12098 conftest
$ac_exeext conftest.
$ac_ext
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12101 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12102 *) ac_cv_c_stdcall_suffix
="no" ;;
12106 if test "$ac_cv_c_extern_prefix" = "yes"
12108 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12110 asm_name_prefix
="_"
12112 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12118 if test "$ac_cv_c_stdcall_suffix" = "yes"
12120 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12123 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12129 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12130 if test "${ac_cv_asm_func_def+set}" = set; then :
12131 $as_echo_n "(cached) " >&6
12133 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12134 /* end confdefs.h. */
12139 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12144 if ac_fn_c_try_link
"$LINENO"; then :
12145 ac_cv_asm_func_def
=".def"
12147 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12153 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12158 if ac_fn_c_try_link
"$LINENO"; then :
12159 ac_cv_asm_func_def
=".type @function"
12161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12162 /* end confdefs.h. */
12167 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12172 if ac_fn_c_try_link
"$LINENO"; then :
12173 ac_cv_asm_func_def
=".type 2"
12175 ac_cv_asm_func_def
="unknown"
12177 rm -f core conftest.err conftest.
$ac_objext \
12178 conftest
$ac_exeext conftest.
$ac_ext
12180 rm -f core conftest.err conftest.
$ac_objext \
12181 conftest
$ac_exeext conftest.
$ac_ext
12183 rm -f core conftest.err conftest.
$ac_objext \
12184 conftest
$ac_exeext conftest.
$ac_ext
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12187 $as_echo "$ac_cv_asm_func_def" >&6; }
12190 case "$ac_cv_asm_func_def" in
12192 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12194 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12196 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12198 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12200 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12202 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12204 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12206 asm_func_header
="" ;;
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12210 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12211 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12212 $as_echo_n "(cached) " >&6
12214 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12215 /* end confdefs.h. */
12216 asm(".text\n\t.long 0");
12225 if ac_fn_c_try_compile
"$LINENO"; then :
12226 ac_cv_c_asm_outside_funcs
="yes"
12228 ac_cv_c_asm_outside_funcs
="no"
12230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12233 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12236 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12237 if test "${ac_cv_c_dot_previous+set}" = set; then :
12238 $as_echo_n "(cached) " >&6
12240 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12241 /* end confdefs.h. */
12246 asm(".text\nac_test:\t.long 0\n\t.previous");
12251 if ac_fn_c_try_link
"$LINENO"; then :
12252 ac_cv_c_dot_previous
="yes"
12254 ac_cv_c_dot_previous
="no"
12256 rm -f core conftest.err conftest.
$ac_objext \
12257 conftest
$ac_exeext conftest.
$ac_ext
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12260 $as_echo "$ac_cv_c_dot_previous" >&6; }
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12263 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12264 if test "${ac_cv_c_cfi_support+set}" = set; then :
12265 $as_echo_n "(cached) " >&6
12267 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12268 /* end confdefs.h. */
12269 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12278 if ac_fn_c_try_compile
"$LINENO"; then :
12279 ac_cv_c_cfi_support
="yes"
12281 ac_cv_c_cfi_support
="no"
12283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12286 $as_echo "$ac_cv_c_cfi_support" >&6; }
12288 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12289 asm_func_trailer
=""
12290 if test "$ac_cv_c_dot_previous" = "yes"
12292 asm_func_trailer
="\\n\\t.previous"
12294 if test "$ac_cv_c_cfi_support" = "yes"
12296 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12297 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12299 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12301 UNWINDFLAGS
=-fasynchronous-unwind-tables
12304 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12308 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12311 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12313 cat >>confdefs.h
<<_ACEOF
12314 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12318 cat >>confdefs.h
<<_ACEOF
12319 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12324 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12327 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12337 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12342 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12350 SOCKETLIBS
="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
12357 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12363 EXTRA_BINARIES
="wine-preloader"
12370 ac_save_CFLAGS
="$CFLAGS"
12371 CFLAGS
="$CFLAGS $BUILTINFLAG"
12418 sched_setaffinity \
12447 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12448 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12449 eval as_val
=\$
$as_ac_var
12450 if test "x$as_val" = x
""yes; then :
12451 cat >>confdefs.h
<<_ACEOF
12452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12458 CFLAGS
="$ac_save_CFLAGS"
12460 if test "$ac_cv_func_dlopen" = no
12462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12463 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12464 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12465 $as_echo_n "(cached) " >&6
12467 ac_check_lib_save_LIBS
=$LIBS
12469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12470 /* end confdefs.h. */
12472 /* Override any GCC internal prototype to avoid an error.
12473 Use char because int might match the return type of a GCC
12474 builtin and then its argument prototype would still apply. */
12487 if ac_fn_c_try_link
"$LINENO"; then :
12488 ac_cv_lib_dl_dlopen
=yes
12490 ac_cv_lib_dl_dlopen
=no
12492 rm -f core conftest.err conftest.
$ac_objext \
12493 conftest
$ac_exeext conftest.
$ac_ext
12494 LIBS
=$ac_check_lib_save_LIBS
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12497 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12498 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12499 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12505 ac_wine_check_funcs_save_LIBS
="$LIBS"
12506 LIBS
="$LIBS $LIBDL"
12507 for ac_func
in dladdr
12509 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12510 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12511 cat >>confdefs.h
<<_ACEOF
12512 #define HAVE_DLADDR 1
12518 LIBS
="$ac_wine_check_funcs_save_LIBS"
12520 if test "$ac_cv_func_poll" = no
12522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12523 $as_echo_n "checking for poll in -lpoll... " >&6; }
12524 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12525 $as_echo_n "(cached) " >&6
12527 ac_check_lib_save_LIBS
=$LIBS
12528 LIBS
="-lpoll $LIBS"
12529 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12530 /* end confdefs.h. */
12532 /* Override any GCC internal prototype to avoid an error.
12533 Use char because int might match the return type of a GCC
12534 builtin and then its argument prototype would still apply. */
12547 if ac_fn_c_try_link
"$LINENO"; then :
12548 ac_cv_lib_poll_poll
=yes
12550 ac_cv_lib_poll_poll
=no
12552 rm -f core conftest.err conftest.
$ac_objext \
12553 conftest
$ac_exeext conftest.
$ac_ext
12554 LIBS
=$ac_check_lib_save_LIBS
12556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12557 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12558 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12559 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12567 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12568 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12569 $as_echo_n "(cached) " >&6
12571 ac_func_search_save_LIBS
=$LIBS
12572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12573 /* end confdefs.h. */
12575 /* Override any GCC internal prototype to avoid an error.
12576 Use char because int might match the return type of a GCC
12577 builtin and then its argument prototype would still apply. */
12581 char gethostbyname ();
12585 return gethostbyname ();
12590 for ac_lib
in '' nsl
; do
12591 if test -z "$ac_lib"; then
12592 ac_res
="none required"
12595 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12597 if ac_fn_c_try_link
"$LINENO"; then :
12598 ac_cv_search_gethostbyname
=$ac_res
12600 rm -f core conftest.err conftest.
$ac_objext \
12602 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12606 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12609 ac_cv_search_gethostbyname
=no
12611 rm conftest.
$ac_ext
12612 LIBS
=$ac_func_search_save_LIBS
12614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12615 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12616 ac_res
=$ac_cv_search_gethostbyname
12617 if test "$ac_res" != no
; then :
12618 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12624 $as_echo_n "checking for library containing connect... " >&6; }
12625 if test "${ac_cv_search_connect+set}" = set; then :
12626 $as_echo_n "(cached) " >&6
12628 ac_func_search_save_LIBS
=$LIBS
12629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12630 /* end confdefs.h. */
12632 /* Override any GCC internal prototype to avoid an error.
12633 Use char because int might match the return type of a GCC
12634 builtin and then its argument prototype would still apply. */
12647 for ac_lib
in '' socket
; do
12648 if test -z "$ac_lib"; then
12649 ac_res
="none required"
12652 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12654 if ac_fn_c_try_link
"$LINENO"; then :
12655 ac_cv_search_connect
=$ac_res
12657 rm -f core conftest.err conftest.
$ac_objext \
12659 if test "${ac_cv_search_connect+set}" = set; then :
12663 if test "${ac_cv_search_connect+set}" = set; then :
12666 ac_cv_search_connect
=no
12668 rm conftest.
$ac_ext
12669 LIBS
=$ac_func_search_save_LIBS
12671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12672 $as_echo "$ac_cv_search_connect" >&6; }
12673 ac_res
=$ac_cv_search_connect
12674 if test "$ac_res" != no
; then :
12675 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12681 $as_echo_n "checking for library containing inet_aton... " >&6; }
12682 if test "${ac_cv_search_inet_aton+set}" = set; then :
12683 $as_echo_n "(cached) " >&6
12685 ac_func_search_save_LIBS
=$LIBS
12686 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 /* Override any GCC internal prototype to avoid an error.
12690 Use char because int might match the return type of a GCC
12691 builtin and then its argument prototype would still apply. */
12699 return inet_aton ();
12704 for ac_lib
in '' resolv
; do
12705 if test -z "$ac_lib"; then
12706 ac_res
="none required"
12709 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12711 if ac_fn_c_try_link
"$LINENO"; then :
12712 ac_cv_search_inet_aton
=$ac_res
12714 rm -f core conftest.err conftest.
$ac_objext \
12716 if test "${ac_cv_search_inet_aton+set}" = set; then :
12720 if test "${ac_cv_search_inet_aton+set}" = set; then :
12723 ac_cv_search_inet_aton
=no
12725 rm conftest.
$ac_ext
12726 LIBS
=$ac_func_search_save_LIBS
12728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12729 $as_echo "$ac_cv_search_inet_aton" >&6; }
12730 ac_res
=$ac_cv_search_inet_aton
12731 if test "$ac_res" != no
; then :
12732 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12751 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12752 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12753 eval as_val
=\$
$as_ac_var
12754 if test "x$as_val" = x
""yes; then :
12755 cat >>confdefs.h
<<_ACEOF
12756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12765 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12767 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12769 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12771 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12772 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
12773 $as_echo_n "(cached) " >&6
12775 ac_check_lib_save_LIBS
=$LIBS
12776 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12777 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12778 /* end confdefs.h. */
12780 /* Override any GCC internal prototype to avoid an error.
12781 Use char because int might match the return type of a GCC
12782 builtin and then its argument prototype would still apply. */
12786 char ldap_initialize ();
12790 return ldap_initialize ();
12795 if ac_fn_c_try_link
"$LINENO"; then :
12796 ac_cv_lib_ldap_r_ldap_initialize
=yes
12798 ac_cv_lib_ldap_r_ldap_initialize
=no
12800 rm -f core conftest.err conftest.
$ac_objext \
12801 conftest
$ac_exeext conftest.
$ac_ext
12802 LIBS
=$ac_check_lib_save_LIBS
12804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12805 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12806 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12808 $as_echo_n "checking for ber_init in -llber... " >&6; }
12809 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
12810 $as_echo_n "(cached) " >&6
12812 ac_check_lib_save_LIBS
=$LIBS
12813 LIBS
="-llber $LIBPTHREAD $LIBS"
12814 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12827 return ber_init ();
12832 if ac_fn_c_try_link
"$LINENO"; then :
12833 ac_cv_lib_lber_ber_init
=yes
12835 ac_cv_lib_lber_ber_init
=no
12837 rm -f core conftest.err conftest.
$ac_objext \
12838 conftest
$ac_exeext conftest.
$ac_ext
12839 LIBS
=$ac_check_lib_save_LIBS
12841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12842 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12843 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
12845 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12847 LDAPLIBS
="-lldap_r -llber"
12854 ac_wine_check_funcs_save_LIBS
="$LIBS"
12855 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12857 ldap_count_references \
12858 ldap_first_reference \
12859 ldap_next_reference \
12860 ldap_parse_reference \
12861 ldap_parse_sort_control \
12862 ldap_parse_sortresponse_control \
12863 ldap_parse_vlv_control \
12864 ldap_parse_vlvresponse_control
12866 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12867 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12868 eval as_val
=\$
$as_ac_var
12869 if test "x$as_val" = x
""yes; then :
12870 cat >>confdefs.h
<<_ACEOF
12871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12877 LIBS
="$ac_wine_check_funcs_save_LIBS"
12879 if test "x$LDAPLIBS" = "x"; then :
12880 case "x$with_ldap" in
12881 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
12883 *) as_fn_error
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12884 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
12889 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
12890 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
12891 $as_echo_n "(cached) " >&6
12893 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12894 /* end confdefs.h. */
12895 #include <sys/stat.h>
12904 if ac_fn_c_try_compile
"$LINENO"; then :
12905 wine_cv_one_arg_mkdir
=yes
12907 wine_cv_one_arg_mkdir
=no
12909 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
12912 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
12913 if test "$wine_cv_one_arg_mkdir" = "yes"
12916 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12922 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12923 if test "${ac_cv_c_const+set}" = set; then :
12924 $as_echo_n "(cached) " >&6
12926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12932 /* FIXME: Include the comments suggested by Paul. */
12933 #ifndef __cplusplus
12934 /* Ultrix mips cc rejects this. */
12935 typedef int charset[2];
12937 /* SunOS 4.1.1 cc rejects this. */
12938 char const *const *pcpcc;
12940 /* NEC SVR4.0.2 mips cc rejects this. */
12941 struct point {int x, y;};
12942 static struct point const zero = {0,0};
12943 /* AIX XL C 1.02.0.0 rejects this.
12944 It does not let you subtract one const X* pointer from another in
12945 an arm of an if-expression whose if-part is not a constant
12947 const char *g = "string";
12948 pcpcc = &g + (g ? g-g : 0);
12949 /* HPUX 7.0 cc rejects these. */
12951 ppc = (char**) pcpcc;
12952 pcpcc = (char const *const *) ppc;
12953 { /* SCO 3.2v4 cc rejects this. */
12955 char const *s = 0 ? (char *) 0 : (char const *) 0;
12960 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12961 int x[] = {25, 17};
12962 const int *foo = &x[0];
12965 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12966 typedef const int *iptr;
12970 { /* AIX XL C 1.02.0.0 rejects this saying
12971 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12972 struct s { int j; const int *ap[3]; };
12973 struct s *b; b->j = 5;
12975 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12976 const int foo = 10;
12977 if (!foo) return 0;
12979 return !cs[0] && !zero.x;
12986 if ac_fn_c_try_compile
"$LINENO"; then :
12991 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12994 $as_echo "$ac_cv_c_const" >&6; }
12995 if test $ac_cv_c_const = no
; then
12997 $as_echo "#define const /**/" >>confdefs.h
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13002 $as_echo_n "checking for inline... " >&6; }
13003 if test "${ac_cv_c_inline+set}" = set; then :
13004 $as_echo_n "(cached) " >&6
13007 for ac_kw
in inline __inline__ __inline
; do
13008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13009 /* end confdefs.h. */
13010 #ifndef __cplusplus
13012 static $ac_kw foo_t static_foo () {return 0; }
13013 $ac_kw foo_t foo () {return 0; }
13017 if ac_fn_c_try_compile
"$LINENO"; then :
13018 ac_cv_c_inline
=$ac_kw
13020 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13021 test "$ac_cv_c_inline" != no
&& break
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13026 $as_echo "$ac_cv_c_inline" >&6; }
13028 case $ac_cv_c_inline in
13031 case $ac_cv_c_inline in
13033 *) ac_val
=$ac_cv_c_inline;;
13035 cat >>confdefs.h
<<_ACEOF
13036 #ifndef __cplusplus
13037 #define inline $ac_val
13043 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13044 if test "x$ac_cv_type_mode_t" = x
""yes; then :
13046 cat >>confdefs.h
<<_ACEOF
13047 #define HAVE_MODE_T 1
13052 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13053 if test "x$ac_cv_type_off_t" = x
""yes; then :
13055 cat >>confdefs.h
<<_ACEOF
13056 #define HAVE_OFF_T 1
13061 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13062 if test "x$ac_cv_type_pid_t" = x
""yes; then :
13064 cat >>confdefs.h
<<_ACEOF
13065 #define HAVE_PID_T 1
13070 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13071 if test "x$ac_cv_type_size_t" = x
""yes; then :
13073 cat >>confdefs.h
<<_ACEOF
13074 #define HAVE_SIZE_T 1
13079 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13080 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
13082 cat >>confdefs.h
<<_ACEOF
13083 #define HAVE_SSIZE_T 1
13088 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13089 if test "x$ac_cv_type_long_long" = x
""yes; then :
13091 cat >>confdefs.h
<<_ACEOF
13092 #define HAVE_LONG_LONG 1
13097 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13098 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
13100 cat >>confdefs.h
<<_ACEOF
13101 #define HAVE_FSBLKCNT_T 1
13106 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13107 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
13109 cat >>confdefs.h
<<_ACEOF
13110 #define HAVE_FSFILCNT_T 1
13116 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13117 #include <signal.h>
13119 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
13121 cat >>confdefs.h
<<_ACEOF
13122 #define HAVE_SIGSET_T 1
13128 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13130 if test "x$ac_cv_type_request_sense" = x
""yes; then :
13132 cat >>confdefs.h
<<_ACEOF
13133 #define HAVE_REQUEST_SENSE 1
13140 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13141 #ifdef HAVE_SYS_SOCKET_H
13142 #include <sys/socket.h>
13144 #ifdef HAVE_SYS_SOCKETVAR_H
13145 #include <sys/socketvar.h>
13147 #ifdef HAVE_NET_ROUTE_H
13148 #include <net/route.h>
13150 #ifdef HAVE_NETINET_IN_H
13151 #include <netinet/in.h>
13153 #ifdef HAVE_NETINET_IN_SYSTM_H
13154 #include <netinet/in_systm.h>
13156 #ifdef HAVE_NETINET_IP_H
13157 #include <netinet/ip.h>
13159 #ifdef HAVE_NETINET_IN_PCB_H
13160 #include <netinet/in_pcb.h>
13163 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
13165 cat >>confdefs.h
<<_ACEOF
13166 #define HAVE_STRUCT_XINPGEN 1
13173 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13174 #include <linux/input.h>
13177 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
13179 cat >>confdefs.h
<<_ACEOF
13180 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13188 $as_echo_n "checking for sigaddset... " >&6; }
13189 if test "${wine_cv_have_sigaddset+set}" = set; then :
13190 $as_echo_n "(cached) " >&6
13192 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13193 /* end confdefs.h. */
13194 #include <signal.h>
13198 sigset_t set; sigaddset(&set,SIGTERM);
13203 if ac_fn_c_try_link
"$LINENO"; then :
13204 wine_cv_have_sigaddset
=yes
13206 wine_cv_have_sigaddset
=no
13208 rm -f core conftest.err conftest.
$ac_objext \
13209 conftest
$ac_exeext conftest.
$ac_ext
13211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13212 $as_echo "$wine_cv_have_sigaddset" >&6; }
13213 if test "$wine_cv_have_sigaddset" = "yes"
13216 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13222 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13223 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13224 $as_echo_n "(cached) " >&6
13226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13227 /* end confdefs.h. */
13235 struct hostent *result;
13242 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13243 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13249 if ac_fn_c_try_link
"$LINENO"; then :
13250 wine_cv_linux_gethostbyname_r_6
=yes
13252 wine_cv_linux_gethostbyname_r_6
=no
13255 rm -f core conftest.err conftest.
$ac_objext \
13256 conftest
$ac_exeext conftest.
$ac_ext
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13260 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13261 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13264 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13268 if test "$ac_cv_header_linux_joystick_h" = "yes"
13270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13271 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13272 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13273 $as_echo_n "(cached) " >&6
13275 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13276 /* end confdefs.h. */
13278 #include <sys/ioctl.h>
13279 #include <sys/types.h>
13280 #include <linux/joystick.h>
13282 struct js_event blub;
13283 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13284 #error "no 2.2 header"
13295 if ac_fn_c_try_compile
"$LINENO"; then :
13296 wine_cv_linux_joystick_22_api
=yes
13298 wine_cv_linux_joystick_22_api
=no
13300 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13304 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13305 if test "$wine_cv_linux_joystick_22_api" = "yes"
13308 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13314 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13315 #ifdef HAVE_SYS_PARAM_H
13316 # include <sys/param.h>
13318 #ifdef HAVE_SYS_MOUNT_H
13319 # include <sys/mount.h>
13321 #ifdef HAVE_SYS_VFS_H
13322 # include <sys/vfs.h>
13324 #ifdef HAVE_SYS_STATFS_H
13325 # include <sys/statfs.h>
13328 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13330 cat >>confdefs.h
<<_ACEOF
13331 #define HAVE_STRUCT_STATFS_F_BFREE 1
13336 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13337 #ifdef HAVE_SYS_PARAM_H
13338 # include <sys/param.h>
13340 #ifdef HAVE_SYS_MOUNT_H
13341 # include <sys/mount.h>
13343 #ifdef HAVE_SYS_VFS_H
13344 # include <sys/vfs.h>
13346 #ifdef HAVE_SYS_STATFS_H
13347 # include <sys/statfs.h>
13350 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13352 cat >>confdefs.h
<<_ACEOF
13353 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13358 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13359 #ifdef HAVE_SYS_PARAM_H
13360 # include <sys/param.h>
13362 #ifdef HAVE_SYS_MOUNT_H
13363 # include <sys/mount.h>
13365 #ifdef HAVE_SYS_VFS_H
13366 # include <sys/vfs.h>
13368 #ifdef HAVE_SYS_STATFS_H
13369 # include <sys/statfs.h>
13372 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13374 cat >>confdefs.h
<<_ACEOF
13375 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13380 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13381 #ifdef HAVE_SYS_PARAM_H
13382 # include <sys/param.h>
13384 #ifdef HAVE_SYS_MOUNT_H
13385 # include <sys/mount.h>
13387 #ifdef HAVE_SYS_VFS_H
13388 # include <sys/vfs.h>
13390 #ifdef HAVE_SYS_STATFS_H
13391 # include <sys/statfs.h>
13394 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13396 cat >>confdefs.h
<<_ACEOF
13397 #define HAVE_STRUCT_STATFS_F_FFREE 1
13402 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13403 #ifdef HAVE_SYS_PARAM_H
13404 # include <sys/param.h>
13406 #ifdef HAVE_SYS_MOUNT_H
13407 # include <sys/mount.h>
13409 #ifdef HAVE_SYS_VFS_H
13410 # include <sys/vfs.h>
13412 #ifdef HAVE_SYS_STATFS_H
13413 # include <sys/statfs.h>
13416 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13418 cat >>confdefs.h
<<_ACEOF
13419 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13424 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13425 #ifdef HAVE_SYS_PARAM_H
13426 # include <sys/param.h>
13428 #ifdef HAVE_SYS_MOUNT_H
13429 # include <sys/mount.h>
13431 #ifdef HAVE_SYS_VFS_H
13432 # include <sys/vfs.h>
13434 #ifdef HAVE_SYS_STATFS_H
13435 # include <sys/statfs.h>
13438 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13440 cat >>confdefs.h
<<_ACEOF
13441 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13448 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13449 #include <sys/statvfs.h>
13452 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13454 cat >>confdefs.h
<<_ACEOF
13455 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13462 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13463 #ifdef HAVE_SYS_SOCKET_H
13464 # include <sys/socket.h>
13466 #ifdef HAVE_SYS_UN_H
13467 # include <sys/un.h>
13470 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13472 cat >>confdefs.h
<<_ACEOF
13473 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13478 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13479 #ifdef HAVE_SYS_SOCKET_H
13480 # include <sys/socket.h>
13482 #ifdef HAVE_SYS_UN_H
13483 # include <sys/un.h>
13486 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13488 cat >>confdefs.h
<<_ACEOF
13489 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13494 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13495 #ifdef HAVE_SYS_SOCKET_H
13496 # include <sys/socket.h>
13498 #ifdef HAVE_SYS_UN_H
13499 # include <sys/un.h>
13502 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13504 cat >>confdefs.h
<<_ACEOF
13505 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13512 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13513 #ifdef HAVE_SCSI_SG_H
13514 #include <scsi/sg.h>
13517 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13519 cat >>confdefs.h
<<_ACEOF
13520 #define HAVE_SCSIREQ_T_CMD 1
13525 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>
13526 #ifdef HAVE_SCSI_SG_H
13527 #include <scsi/sg.h>
13530 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13532 cat >>confdefs.h
<<_ACEOF
13533 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13540 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13542 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13544 cat >>confdefs.h
<<_ACEOF
13545 #define HAVE_SIGINFO_T_SI_FD 1
13552 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13553 #ifdef HAVE_SYS_MTIO_H
13554 #include <sys/mtio.h>
13557 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13559 cat >>confdefs.h
<<_ACEOF
13560 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13565 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13566 #ifdef HAVE_SYS_MTIO_H
13567 #include <sys/mtio.h>
13570 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13572 cat >>confdefs.h
<<_ACEOF
13573 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13578 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13579 #ifdef HAVE_SYS_MTIO_H
13580 #include <sys/mtio.h>
13583 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13585 cat >>confdefs.h
<<_ACEOF
13586 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13593 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13594 #include <getopt.h>
13597 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13599 cat >>confdefs.h
<<_ACEOF
13600 #define HAVE_STRUCT_OPTION_NAME 1
13607 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13608 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13610 cat >>confdefs.h
<<_ACEOF
13611 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13616 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13617 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13619 cat >>confdefs.h
<<_ACEOF
13620 #define HAVE_STRUCT_STAT_ST_MTIM 1
13625 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13626 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13628 cat >>confdefs.h
<<_ACEOF
13629 #define HAVE_STRUCT_STAT_ST_CTIM 1
13634 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13635 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13637 cat >>confdefs.h
<<_ACEOF
13638 #define HAVE_STRUCT_STAT_ST_ATIM 1
13645 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
13646 #include <sys/types.h>
13648 #ifdef HAVE_NETINET_IN_H
13649 #include <netinet/in.h>
13652 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
13654 cat >>confdefs.h
<<_ACEOF
13655 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13662 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13663 #include <sys/types.h>
13665 #ifdef HAVE_NETINET_IN_H
13666 # include <netinet/in.h>
13668 #ifdef HAVE_ARPA_NAMESER_H
13669 # include <arpa/nameser.h>
13672 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
13674 cat >>confdefs.h
<<_ACEOF
13675 #define HAVE_NS_MSG__MSG_PTR 1
13682 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13683 #include <sys/types.h>
13685 #ifdef HAVE_ALIAS_H
13688 #ifdef HAVE_SYS_SOCKET_H
13689 #include <sys/socket.h>
13691 #ifdef HAVE_SYS_SOCKETVAR_H
13692 #include <sys/socketvar.h>
13694 #ifdef HAVE_SYS_TIMEOUT_H
13695 #include <sys/timeout.h>
13697 #ifdef HAVE_NETINET_IN_H
13698 #include <netinet/in.h>
13700 #ifdef HAVE_NETINET_IN_SYSTM_H
13701 #include <netinet/in_systm.h>
13703 #ifdef HAVE_NETINET_IP_H
13704 #include <netinet/ip.h>
13706 #ifdef HAVE_NETINET_IP_VAR_H
13707 #include <netinet/ip_var.h>
13709 #ifdef HAVE_NETINET_IP_ICMP_H
13710 #include <netinet/ip_icmp.h>
13712 #ifdef HAVE_NETINET_ICMP_VAR
13713 #include <netinet/icmp_var.h>
13716 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
13718 cat >>confdefs.h
<<_ACEOF
13719 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13726 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13727 #include <sys/types.h>
13729 #ifdef HAVE_NET_IF_H
13730 # include <net/if.h>
13733 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
13735 cat >>confdefs.h
<<_ACEOF
13736 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13744 $as_echo_n "checking for timezone variable... " >&6; }
13745 if test "${ac_cv_have_timezone+set}" = set; then :
13746 $as_echo_n "(cached) " >&6
13748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13749 /* end confdefs.h. */
13759 if ac_fn_c_try_link
"$LINENO"; then :
13760 ac_cv_have_timezone
="yes"
13762 ac_cv_have_timezone
="no"
13764 rm -f core conftest.err conftest.
$ac_objext \
13765 conftest
$ac_exeext conftest.
$ac_ext
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13768 $as_echo "$ac_cv_have_timezone" >&6; }
13769 if test "$ac_cv_have_timezone" = "yes"
13772 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13776 $as_echo_n "checking for daylight variable... " >&6; }
13777 if test "${ac_cv_have_daylight+set}" = set; then :
13778 $as_echo_n "(cached) " >&6
13780 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13781 /* end confdefs.h. */
13791 if ac_fn_c_try_link
"$LINENO"; then :
13792 ac_cv_have_daylight
="yes"
13794 ac_cv_have_daylight
="no"
13796 rm -f core conftest.err conftest.
$ac_objext \
13797 conftest
$ac_exeext conftest.
$ac_ext
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13800 $as_echo "$ac_cv_have_daylight" >&6; }
13801 if test "$ac_cv_have_daylight" = "yes"
13804 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13809 $as_echo_n "checking for isinf... " >&6; }
13810 if test "${ac_cv_have_isinf+set}" = set; then :
13811 $as_echo_n "(cached) " >&6
13813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13814 /* end confdefs.h. */
13819 float f = 0.0; int i=isinf(f)
13824 if ac_fn_c_try_link
"$LINENO"; then :
13825 ac_cv_have_isinf
="yes"
13827 ac_cv_have_isinf
="no"
13829 rm -f core conftest.err conftest.
$ac_objext \
13830 conftest
$ac_exeext conftest.
$ac_ext
13832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13833 $as_echo "$ac_cv_have_isinf" >&6; }
13834 if test "$ac_cv_have_isinf" = "yes"
13837 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
13842 $as_echo_n "checking for isnan... " >&6; }
13843 if test "${ac_cv_have_isnan+set}" = set; then :
13844 $as_echo_n "(cached) " >&6
13846 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13847 /* end confdefs.h. */
13852 float f = 0.0; int i=isnan(f)
13857 if ac_fn_c_try_link
"$LINENO"; then :
13858 ac_cv_have_isnan
="yes"
13860 ac_cv_have_isnan
="no"
13862 rm -f core conftest.err conftest.
$ac_objext \
13863 conftest
$ac_exeext conftest.
$ac_ext
13865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
13866 $as_echo "$ac_cv_have_isnan" >&6; }
13867 if test "$ac_cv_have_isnan" = "yes"
13870 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13876 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
13877 $as_echo_n "checking whether we need to define __i386__... " >&6; }
13878 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
13879 $as_echo_n "(cached) " >&6
13881 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13887 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13888 $EGREP "yes" >/dev
/null
2>&1; then :
13889 ac_cv_cpp_def___i386__
=yes
13891 ac_cv_cpp_def___i386__
=no
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
13897 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
13898 if test $ac_cv_cpp_def___i386__ = yes; then :
13899 CFLAGS
="$CFLAGS -D__i386__"
13900 LINTFLAGS
="$LINTFLAGS -D__i386__"
13902 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
13903 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
13904 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
13905 $as_echo_n "(cached) " >&6
13907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13908 /* end confdefs.h. */
13913 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13914 $EGREP "yes" >/dev
/null
2>&1; then :
13915 ac_cv_cpp_def___x86_64__
=yes
13917 ac_cv_cpp_def___x86_64__
=no
13922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
13923 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
13924 if test $ac_cv_cpp_def___x86_64__ = yes; then :
13925 CFLAGS
="$CFLAGS -D__x86_64__"
13926 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
13928 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
13929 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
13930 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
13931 $as_echo_n "(cached) " >&6
13933 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13934 /* end confdefs.h. */
13939 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13940 $EGREP "yes" >/dev
/null
2>&1; then :
13941 ac_cv_cpp_def___ALPHA__
=yes
13943 ac_cv_cpp_def___ALPHA__
=no
13948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
13949 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
13950 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
13951 CFLAGS
="$CFLAGS -D__ALPHA__"
13952 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
13954 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
13955 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
13956 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
13957 $as_echo_n "(cached) " >&6
13959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13960 /* end confdefs.h. */
13965 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13966 $EGREP "yes" >/dev
/null
2>&1; then :
13967 ac_cv_cpp_def___sparc__
=yes
13969 ac_cv_cpp_def___sparc__
=no
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
13975 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
13976 if test $ac_cv_cpp_def___sparc__ = yes; then :
13977 CFLAGS
="$CFLAGS -D__sparc__"
13978 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13980 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
13981 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
13982 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
13983 $as_echo_n "(cached) " >&6
13985 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13986 /* end confdefs.h. */
13987 #ifndef __powerpc__
13991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13992 $EGREP "yes" >/dev
/null
2>&1; then :
13993 ac_cv_cpp_def___powerpc__
=yes
13995 ac_cv_cpp_def___powerpc__
=no
14000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14001 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14002 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14003 CFLAGS
="$CFLAGS -D__powerpc__"
14004 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14008 case $host_vendor in
14009 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14010 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14011 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
14012 $as_echo_n "(cached) " >&6
14014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14015 /* end confdefs.h. */
14020 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14021 $EGREP "yes" >/dev
/null
2>&1; then :
14022 ac_cv_cpp_def___sun__
=yes
14024 ac_cv_cpp_def___sun__
=no
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14030 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14031 if test $ac_cv_cpp_def___sun__ = yes; then :
14032 CFLAGS
="$CFLAGS -D__sun__"
14033 LINTFLAGS
="$LINTFLAGS -D__sun__"
14041 ac_config_commands
="$ac_config_commands include/stamp-h"
14044 ALL_MAKEFILE_DEPENDS
="
14045 # Rules automatically generated by configure
14050 Makefile: Makefile.in Make.rules config.status
14051 @./config.status Make.tmp Makefile"
14053 ALL_WINETEST_DEPENDS
="# Test binaries"
14055 ALL_TEST_BINARIES
=""
14058 wine_fn_append_file
()
14060 as_fn_append
$1 " \\$as_nl $2"
14063 wine_fn_append_rule
()
14065 as_fn_append
$1 "$as_nl$2"
14068 wine_fn_all_dir_rules
()
14070 wine_fn_append_file ALL_DIRS
$1
14071 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14072 "__clean__: $1/__clean__
14073 .PHONY: $1/__clean__
14074 $1/__clean__: $1/Makefile
14075 @cd $1 && \$(MAKE) clean
14077 $1/Makefile: $1/Makefile.in config.status $2
14078 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend
14079 depend: $1/__depend__
14080 .PHONY: $1/__depend__
14081 $1/__depend__: \$(MAKEDEP) dummy
14082 @./config.status --file $1/Makefile && cd $1 && \$(MAKE) depend"
14085 wine_fn_config_makefile
()
14089 wine_fn_all_dir_rules
$ac_dir "Make.rules \$(MAKEDEP)"
14091 eval as_val
=\$
$ac_enable
14092 if test "x$as_val" = x
""no
; then :
14095 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14098 $ac_dir: $ac_dir/Makefile dummy
14099 @cd $ac_dir && \$(MAKE)
14101 @cd $ac_dir && \$(MAKE) install
14102 install-lib:: $ac_dir
14103 @cd $ac_dir && \$(MAKE) install-lib
14104 install-dev:: $ac_dir
14105 @cd $ac_dir && \$(MAKE) install-dev
14106 uninstall:: $ac_dir/Makefile
14107 @cd $ac_dir && \$(MAKE) uninstall"
14111 wine_fn_config_lib
()
14114 ac_dir
=dlls
/$ac_name
14115 wine_fn_all_dir_rules
$ac_dir "dlls/Makeimplib.rules \$(MAKEDEP)"
14116 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14117 "all __builddeps__: $ac_dir
14118 __buildcrossdeps__: $ac_dir/lib$ac_name.cross.a
14119 $ac_dir $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile tools/widl tools/winebuild tools/winegcc include
14121 @cd $ac_dir && \$(MAKE)
14122 $ac_dir/lib$ac_name.cross.a: dummy
14123 @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
14124 install install-dev:: $ac_dir
14125 @cd $ac_dir && \$(MAKE) install
14126 uninstall:: $ac_dir/Makefile
14127 @cd $ac_dir && \$(MAKE) uninstall"
14130 wine_fn_config_dll
()
14136 ac_file
="dlls/$ac_dir/lib$ac_implib"
14137 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14139 wine_fn_all_dir_rules dlls
/$ac_dir "dlls/Makedll.rules \$(MAKEDEP)"
14141 eval as_val
=\$
$ac_enable
14142 if test "x$as_val" = x
""no
; then :
14143 test "$ac_enable" != enable_win16 ||
return 0
14145 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14147 .PHONY: dlls/$ac_dir
14148 dlls/$ac_dir: dlls/$ac_dir/Makefile __builddeps__ dummy
14149 @cd dlls/$ac_dir && \$(MAKE)
14150 install:: dlls/$ac_dir/Makefile __builddeps__
14151 @cd dlls/$ac_dir && \$(MAKE) install
14152 install-lib:: dlls/$ac_dir/Makefile __builddeps__
14153 @cd dlls/$ac_dir && \$(MAKE) install-lib
14154 uninstall manpages htmlpages sgmlpages xmlpages:: dlls/$ac_dir/Makefile
14155 @cd dlls/$ac_dir && \$(MAKE) \$@"
14158 if test -n "$ac_implibsrc"
14160 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14161 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14162 __buildcrossdeps__: $ac_file.cross.a
14163 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14164 $ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
14165 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
14166 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
14167 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
14168 install-dev:: dlls/$ac_dir/Makefile __builddeps__
14169 @cd dlls/$ac_dir && \$(MAKE) install-dev"
14170 elif test -n "$ac_implib"
14172 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14173 "__builddeps__: $ac_file.$IMPLIBEXT
14174 __buildcrossdeps__: $ac_file.cross.a
14175 $ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile $ac_deps
14176 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
14177 install-dev:: dlls/$ac_dir/Makefile __builddeps__
14178 @cd dlls/$ac_dir && \$(MAKE) install-dev"
14180 if test "$ac_dir" != "$ac_implib"
14182 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14183 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14184 __buildcrossdeps__: dlls/lib$ac_implib.cross.a
14185 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14186 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
14187 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14188 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
14190 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14195 wine_fn_config_program
()
14200 wine_fn_all_dir_rules programs
/$ac_dir "programs/Makeprog.rules \$(MAKEDEP)"
14202 eval as_val
=\$
$ac_enable
14203 if test "x$as_val" = x
""no
; then :
14206 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14207 "all: programs/$ac_dir
14208 .PHONY: programs/$ac_dir
14209 programs/$ac_dir: programs/$ac_dir/Makefile __builddeps__ dummy
14210 @cd programs/$ac_dir && \$(MAKE)"
14212 test -n "$ac_install" ||
return
14213 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14214 "install install-lib:: programs/$ac_dir/Makefile __builddeps__
14215 @cd programs/$ac_dir && \$(MAKE) install
14216 uninstall:: programs/$ac_dir/Makefile
14217 @cd programs/$ac_dir && \$(MAKE) uninstall"
14218 if test "$ac_install" = installbin
-a -n "$DLLEXT" -a "x$enable_tools" != xno
14220 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14221 "install install-lib:: tools \$(DESTDIR)\$(bindir)
14222 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_dir
14224 \$(RM) \$(DESTDIR)\$(bindir)/$ac_dir"
14229 wine_fn_config_test
()
14233 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14234 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14235 "$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
14236 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14238 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14239 $ac_name.res: $ac_name.rc $ac_name.exe"
14240 wine_fn_all_dir_rules
$ac_dir "Maketest.rules \$(MAKEDEP)"
14242 if test "x$enable_tests" = x
""no
; then :
14245 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14246 "all programs/winetest: $ac_dir
14248 $ac_dir: $ac_dir/Makefile __builddeps__ dummy
14249 @cd $ac_dir && \$(MAKE)
14250 crosstest: $ac_dir/__crosstest__
14251 .PHONY: $ac_dir/__crosstest__
14252 $ac_dir/__crosstest__: $ac_dir/Makefile __buildcrossdeps__ dummy
14253 @cd $ac_dir && \$(MAKE) crosstest
14254 test: $ac_dir/__test__
14255 .PHONY: $ac_dir/__test__
14256 $ac_dir/__test__: dummy
14257 @cd $ac_dir && \$(MAKE) test
14259 \$(RM) $ac_dir/*.ok"
14263 wine_fn_config_tool
()
14266 ac_deps
="Make.rules"
14267 if test "$ac_dir" != tools
14269 ac_deps
="$ac_deps \$(MAKEDEP)"
14271 wine_fn_all_dir_rules
$ac_dir "$ac_deps"
14273 if test "x$enable_tools" = x
""no
; then :
14277 tools
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14279 @cd $ac_dir && \$(MAKE) install
14280 install-lib:: $ac_dir
14281 @cd $ac_dir && \$(MAKE) install-lib
14282 install-dev:: $ac_dir
14283 @cd $ac_dir && \$(MAKE) install-dev" ;;
14284 *) wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14285 "install install-dev:: $ac_dir
14286 @cd $ac_dir && \$(MAKE) install" ;;
14288 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14289 "uninstall:: $ac_dir/Makefile
14290 @cd $ac_dir && \$(MAKE) uninstall
14291 all __tooldeps__: $ac_dir
14293 $ac_dir: $ac_dir/Makefile libs/port dummy
14294 @cd $ac_dir && \$(MAKE)"
14298 wine_fn_config_makerules
()
14302 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14303 "$ac_rules: $ac_rules.in $ac_deps config.status
14304 @./config.status $ac_rules
14309 wine_fn_config_symlink
()
14312 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14314 @./config.status $ac_link
14318 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14319 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14320 if test "x$enable_fonts" != xno
; then
14321 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14322 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14324 if test "x$enable_fonts" != xno
; then
14325 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14326 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14328 if test "x$enable_fonts" != xno
; then
14329 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14330 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14332 if test "x$enable_fonts" != xno
; then
14333 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14334 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14336 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14337 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14338 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14339 wine_fn_config_symlink wine
14341 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14343 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14345 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14347 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14349 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14351 ac_config_commands
="$ac_config_commands include/wine"
14354 wine_fn_config_makerules Make.rules
14355 MAKE_RULES
=Make.rules
14356 ac_config_files
="$ac_config_files Make.rules"
14358 wine_fn_config_makerules Maketest.rules Make.rules
14359 MAKE_TEST_RULES
=Maketest.rules
14360 ac_config_files
="$ac_config_files Maketest.rules"
14362 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14363 MAKE_DLL_RULES
=dlls
/Makedll.rules
14364 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14366 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14367 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14368 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14370 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14371 MAKE_PROG_RULES
=programs
/Makeprog.rules
14372 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14375 wine_fn_config_dll acledit enable_acledit
14376 wine_fn_config_dll aclui enable_aclui aclui
14377 wine_fn_config_dll activeds enable_activeds activeds
14378 wine_fn_config_dll actxprxy enable_actxprxy
14379 wine_fn_config_lib adsiid
14380 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14381 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14382 wine_fn_config_dll advpack enable_advpack advpack
14383 wine_fn_config_test dlls
/advpack
/tests advpack_test
14384 wine_fn_config_dll amstream enable_amstream
14385 wine_fn_config_test dlls
/amstream
/tests amstream_test
14386 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14387 wine_fn_config_dll atl enable_atl atl
14388 wine_fn_config_dll authz enable_authz
14389 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14390 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14391 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14392 wine_fn_config_dll avifile.dll16 enable_win16
14393 wine_fn_config_dll avrt enable_avrt avrt
14394 wine_fn_config_dll bcrypt enable_bcrypt
14395 wine_fn_config_dll browseui enable_browseui
14396 wine_fn_config_test dlls
/browseui
/tests browseui_test
14397 wine_fn_config_dll cabinet enable_cabinet cabinet
14398 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14399 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14400 wine_fn_config_dll cards enable_cards cards
14401 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14402 wine_fn_config_dll clusapi enable_clusapi clusapi
14403 wine_fn_config_dll comcat enable_comcat
14404 wine_fn_config_test dlls
/comcat
/tests comcat_test
14405 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14406 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14407 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14408 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14409 wine_fn_config_dll
comm.drv16 enable_win16
14410 wine_fn_config_dll commdlg.dll16 enable_win16
14411 wine_fn_config_dll compobj.dll16 enable_win16
14412 wine_fn_config_dll compstui enable_compstui compstui
14413 wine_fn_config_dll credui enable_credui credui
14414 wine_fn_config_test dlls
/credui
/tests credui_test
14415 wine_fn_config_dll crtdll enable_crtdll crtdll
14416 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14417 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14418 wine_fn_config_dll cryptdlg enable_cryptdlg
14419 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14420 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14421 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14422 wine_fn_config_dll cryptui enable_cryptui cryptui
14423 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14424 wine_fn_config_dll ctapi32 enable_ctapi32
14425 wine_fn_config_dll ctl3d.dll16 enable_win16
14426 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14427 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14428 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14429 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14430 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14431 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14432 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14433 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14434 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14435 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14436 wine_fn_config_dll d3dim enable_d3dim d3dim
14437 wine_fn_config_dll d3drm enable_d3drm d3drm
14438 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14439 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14440 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14441 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14442 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14443 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14444 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14445 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14446 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14447 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14448 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14449 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14450 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14451 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14452 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14453 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14454 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14455 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14456 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14457 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14458 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14459 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14460 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14461 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14462 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14463 wine_fn_config_dll ddeml.dll16 enable_win16
14464 wine_fn_config_dll ddraw enable_ddraw ddraw
14465 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14466 wine_fn_config_dll ddrawex enable_ddrawex
14467 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14468 wine_fn_config_dll devenum enable_devenum
14469 wine_fn_config_dll dinput enable_dinput dinput
"data_formats.c"
14470 wine_fn_config_test dlls
/dinput
/tests dinput_test
14471 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14472 wine_fn_config_dll dispdib.dll16 enable_win16
14473 wine_fn_config_dll dispex enable_dispex
14474 wine_fn_config_test dlls
/dispex
/tests dispex_test
14475 wine_fn_config_dll display.drv16 enable_win16
14476 wine_fn_config_dll dmband enable_dmband
14477 wine_fn_config_dll dmcompos enable_dmcompos
14478 wine_fn_config_dll dmime enable_dmime
14479 wine_fn_config_dll dmloader enable_dmloader
14480 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14481 wine_fn_config_dll dmscript enable_dmscript
14482 wine_fn_config_dll dmstyle enable_dmstyle
14483 wine_fn_config_dll dmsynth enable_dmsynth
14484 wine_fn_config_dll dmusic enable_dmusic
14485 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14486 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14487 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14488 wine_fn_config_dll dplay enable_dplay dplay
14489 wine_fn_config_dll dplayx enable_dplayx dplayx
14490 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14491 wine_fn_config_dll dpnaddr enable_dpnaddr
14492 wine_fn_config_dll dpnet enable_dpnet dpnet
14493 wine_fn_config_dll dpnhpast enable_dpnhpast
14494 wine_fn_config_dll dpnlobby enable_dpnlobby
14495 wine_fn_config_dll dpwsockx enable_dpwsockx
14496 wine_fn_config_dll drmclien enable_drmclien
14497 wine_fn_config_dll dsound enable_dsound dsound
14498 wine_fn_config_test dlls
/dsound
/tests dsound_test
14499 wine_fn_config_dll dssenh enable_dssenh
14500 wine_fn_config_dll dswave enable_dswave
14501 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14502 wine_fn_config_dll dxdiagn enable_dxdiagn
14503 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14504 wine_fn_config_lib dxerr8
14505 wine_fn_config_lib dxerr9
14506 wine_fn_config_dll dxgi enable_dxgi dxgi
14507 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14508 wine_fn_config_lib dxguid
14509 wine_fn_config_dll faultrep enable_faultrep
14510 wine_fn_config_dll fltlib enable_fltlib
14511 wine_fn_config_dll fusion enable_fusion
14512 wine_fn_config_test dlls
/fusion
/tests fusion_test
14513 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14514 wine_fn_config_dll gdi.exe16 enable_win16
14515 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14516 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14517 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14518 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14519 wine_fn_config_dll glu32 enable_glu32 glu32
14520 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14521 wine_fn_config_dll gpkcsp enable_gpkcsp
14522 wine_fn_config_dll hal enable_hal
14523 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14524 wine_fn_config_dll hid enable_hid hid
14525 wine_fn_config_dll hlink enable_hlink hlink
14526 wine_fn_config_test dlls
/hlink
/tests hlink_test
14527 wine_fn_config_dll hnetcfg enable_hnetcfg
14528 wine_fn_config_dll httpapi enable_httpapi
14529 wine_fn_config_dll iccvid enable_iccvid
14530 wine_fn_config_dll icmp enable_icmp
14531 wine_fn_config_dll ifsmgr.vxd enable_win16
14532 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14533 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14534 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14535 wine_fn_config_dll imm.dll16 enable_win16
14536 wine_fn_config_dll imm32 enable_imm32 imm32
14537 wine_fn_config_test dlls
/imm32
/tests imm32_test
14538 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14539 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14540 wine_fn_config_dll inetmib1 enable_inetmib1
14541 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14542 wine_fn_config_dll infosoft enable_infosoft
14543 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14544 wine_fn_config_dll initpki enable_initpki
14545 wine_fn_config_dll inkobj enable_inkobj
14546 wine_fn_config_dll inseng enable_inseng
14547 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14548 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14549 wine_fn_config_dll itircl enable_itircl
14550 wine_fn_config_dll itss enable_itss
14551 wine_fn_config_test dlls
/itss
/tests itss_test
14552 wine_fn_config_dll jscript enable_jscript
14553 wine_fn_config_test dlls
/jscript
/tests jscript_test
14554 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14555 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14556 wine_fn_config_dll keyboard.drv16 enable_win16
14557 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14558 wine_fn_config_dll loadperf enable_loadperf loadperf
14559 wine_fn_config_dll localspl enable_localspl
14560 wine_fn_config_test dlls
/localspl
/tests localspl_test
14561 wine_fn_config_dll localui enable_localui
14562 wine_fn_config_test dlls
/localui
/tests localui_test
14563 wine_fn_config_dll lz32 enable_lz32 lz32
14564 wine_fn_config_test dlls
/lz32
/tests lz32_test
14565 wine_fn_config_dll lzexpand.dll16 enable_win16
14566 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14567 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14568 wine_fn_config_dll mapistub enable_mapistub
14569 wine_fn_config_dll mciavi32 enable_mciavi32
14570 wine_fn_config_dll mcicda enable_mcicda
14571 wine_fn_config_dll mciqtz32 enable_mciqtz32
14572 wine_fn_config_dll mciseq enable_mciseq
14573 wine_fn_config_dll mciwave enable_mciwave
14574 wine_fn_config_dll midimap enable_midimap
14575 wine_fn_config_dll mlang enable_mlang mlang
14576 wine_fn_config_test dlls
/mlang
/tests mlang_test
14577 wine_fn_config_dll mmdevapi enable_mmdevapi
14578 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14579 wine_fn_config_dll mmdevldr.vxd enable_win16
14580 wine_fn_config_dll mmsystem.dll16 enable_win16
14581 wine_fn_config_dll monodebg.vxd enable_win16
14582 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14583 wine_fn_config_dll mouse.drv16 enable_win16
14584 wine_fn_config_dll mpr enable_mpr mpr
14585 wine_fn_config_dll mprapi enable_mprapi mprapi
14586 wine_fn_config_dll msacm.dll16 enable_win16
14587 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14588 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14589 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14590 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14591 wine_fn_config_dll mscat32 enable_mscat32
14592 wine_fn_config_dll mscms enable_mscms mscms
14593 wine_fn_config_test dlls
/mscms
/tests mscms_test
14594 wine_fn_config_dll mscoree enable_mscoree
14595 wine_fn_config_dll msctf enable_msctf
14596 wine_fn_config_test dlls
/msctf
/tests msctf_test
14597 wine_fn_config_dll msdaps enable_msdaps
14598 wine_fn_config_dll msdmo enable_msdmo msdmo
14599 wine_fn_config_dll msftedit enable_msftedit
14600 wine_fn_config_dll msg711.acm enable_msg711_acm
14601 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14602 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14603 wine_fn_config_dll mshtml enable_mshtml mshtml
14604 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
14605 wine_fn_config_dll msi enable_msi msi
14606 wine_fn_config_test dlls
/msi
/tests msi_test
14607 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14608 wine_fn_config_dll msimtf enable_msimtf
14609 wine_fn_config_dll msisip enable_msisip
14610 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14611 wine_fn_config_dll msnet32 enable_msnet32
14612 wine_fn_config_dll msrle32 enable_msrle32
14613 wine_fn_config_dll mssign32 enable_mssign32
14614 wine_fn_config_dll mssip32 enable_mssip32
14615 wine_fn_config_dll mstask enable_mstask
14616 wine_fn_config_test dlls
/mstask
/tests mstask_test
14617 wine_fn_config_dll msvcirt enable_msvcirt
14618 wine_fn_config_dll msvcr100 enable_msvcr100
14619 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
14620 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
14621 wine_fn_config_dll msvcr80 enable_msvcr80
14622 wine_fn_config_dll msvcr90 enable_msvcr90
14623 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
14624 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
14625 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
14626 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
14627 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
14628 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
14629 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
14630 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
14631 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
14632 wine_fn_config_dll msvidc32 enable_msvidc32
14633 wine_fn_config_dll msvideo.dll16 enable_win16
14634 wine_fn_config_dll mswsock enable_mswsock mswsock
14635 wine_fn_config_dll msxml3 enable_msxml3
14636 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
14637 wine_fn_config_dll msxml4 enable_msxml4
14638 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
14639 wine_fn_config_dll netapi32 enable_netapi32 netapi32
14640 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
14641 wine_fn_config_dll newdev enable_newdev newdev
14642 wine_fn_config_dll ntdll enable_ntdll ntdll
14643 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
14644 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
14645 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
14646 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
14647 wine_fn_config_dll ntprint enable_ntprint
14648 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
14649 wine_fn_config_dll objsel enable_objsel
14650 wine_fn_config_dll odbc32 enable_odbc32 odbc32
14651 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
14652 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
14653 wine_fn_config_dll ole2.dll16 enable_win16
14654 wine_fn_config_dll ole2conv.dll16 enable_win16
14655 wine_fn_config_dll ole2disp.dll16 enable_win16
14656 wine_fn_config_dll ole2nls.dll16 enable_win16
14657 wine_fn_config_dll ole2prox.dll16 enable_win16
14658 wine_fn_config_dll ole2thk.dll16 enable_win16
14659 wine_fn_config_dll ole32 enable_ole32 ole32
14660 wine_fn_config_test dlls
/ole32
/tests ole32_test
14661 wine_fn_config_dll oleacc enable_oleacc oleacc
14662 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
14663 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
14664 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
14665 wine_fn_config_dll olecli.dll16 enable_win16
14666 wine_fn_config_dll olecli32 enable_olecli32 olecli32
14667 wine_fn_config_dll oledb32 enable_oledb32
14668 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
14669 wine_fn_config_dll oledlg enable_oledlg oledlg
14670 wine_fn_config_dll olepro32 enable_olepro32 olepro32
14671 wine_fn_config_dll olesvr.dll16 enable_win16
14672 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
14673 wine_fn_config_dll olethk32 enable_olethk32
14674 wine_fn_config_dll openal32 enable_openal32
14675 wine_fn_config_dll opengl32 enable_opengl32 opengl32
14676 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
14677 wine_fn_config_dll pdh enable_pdh pdh
14678 wine_fn_config_test dlls
/pdh
/tests pdh_test
14679 wine_fn_config_dll pidgen enable_pidgen
14680 wine_fn_config_dll powrprof enable_powrprof powrprof
14681 wine_fn_config_dll printui enable_printui
14682 wine_fn_config_dll propsys enable_propsys
14683 wine_fn_config_dll psapi enable_psapi psapi
14684 wine_fn_config_test dlls
/psapi
/tests psapi_test
14685 wine_fn_config_dll pstorec enable_pstorec
14686 wine_fn_config_dll qcap enable_qcap
14687 wine_fn_config_dll qedit enable_qedit
14688 wine_fn_config_test dlls
/qedit
/tests qedit_test
14689 wine_fn_config_dll qmgr enable_qmgr
14690 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
14691 wine_fn_config_dll qmgrprxy enable_qmgrprxy
14692 wine_fn_config_dll quartz enable_quartz quartz
14693 wine_fn_config_test dlls
/quartz
/tests quartz_test
14694 wine_fn_config_dll query enable_query
14695 wine_fn_config_dll rasapi16.dll16 enable_win16
14696 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
14697 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
14698 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
14699 wine_fn_config_dll resutils enable_resutils resutils
14700 wine_fn_config_dll riched20 enable_riched20 riched20
14701 wine_fn_config_test dlls
/riched20
/tests riched20_test
14702 wine_fn_config_dll riched32 enable_riched32
14703 wine_fn_config_test dlls
/riched32
/tests riched32_test
14704 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
14705 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
14706 wine_fn_config_dll rsabase enable_rsabase
14707 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
14708 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
14709 wine_fn_config_dll rtutils enable_rtutils rtutils
14710 wine_fn_config_dll samlib enable_samlib
14711 wine_fn_config_dll sane.ds enable_sane_ds
14712 wine_fn_config_dll sccbase enable_sccbase
14713 wine_fn_config_dll schannel enable_schannel
14714 wine_fn_config_test dlls
/schannel
/tests schannel_test
14715 wine_fn_config_dll secur32 enable_secur32 secur32
14716 wine_fn_config_test dlls
/secur32
/tests secur32_test
14717 wine_fn_config_dll security enable_security
14718 wine_fn_config_dll sensapi enable_sensapi sensapi
14719 wine_fn_config_dll serialui enable_serialui serialui
14720 wine_fn_config_test dlls
/serialui
/tests serialui_test
14721 wine_fn_config_dll setupapi enable_setupapi setupapi
14722 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
14723 wine_fn_config_dll setupx.dll16 enable_win16
14724 wine_fn_config_dll sfc enable_sfc sfc
14725 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
14726 wine_fn_config_dll shdoclc enable_shdoclc
14727 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
14728 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
14729 wine_fn_config_dll shell.dll16 enable_win16
14730 wine_fn_config_dll shell32 enable_shell32 shell32
14731 wine_fn_config_test dlls
/shell32
/tests shell32_test
14732 wine_fn_config_dll shfolder enable_shfolder shfolder
14733 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
14734 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
14735 wine_fn_config_dll slbcsp enable_slbcsp
14736 wine_fn_config_dll slc enable_slc slc
14737 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
14738 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
14739 wine_fn_config_dll softpub enable_softpub
14740 wine_fn_config_dll sound.drv16 enable_win16
14741 wine_fn_config_dll spoolss enable_spoolss spoolss
14742 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
14743 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
14744 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
14745 wine_fn_config_dll sti enable_sti sti
14746 wine_fn_config_test dlls
/sti
/tests sti_test
14747 wine_fn_config_dll storage.dll16 enable_win16
14748 wine_fn_config_dll stress.dll16 enable_win16
14749 wine_fn_config_lib strmiids
14750 wine_fn_config_dll svrapi enable_svrapi
14751 wine_fn_config_dll sxs enable_sxs
14752 wine_fn_config_dll system.drv16 enable_win16
14753 wine_fn_config_dll t2embed enable_t2embed
14754 wine_fn_config_dll tapi32 enable_tapi32 tapi32
14755 wine_fn_config_dll toolhelp.dll16 enable_win16
14756 wine_fn_config_dll traffic enable_traffic
14757 wine_fn_config_dll twain.dll16 enable_win16
14758 wine_fn_config_dll twain_32 enable_twain_32
14759 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
14760 wine_fn_config_dll typelib.dll16 enable_win16
14761 wine_fn_config_dll unicows enable_unicows unicows
14762 wine_fn_config_dll updspapi enable_updspapi
14763 wine_fn_config_dll url enable_url url
14764 wine_fn_config_dll urlmon enable_urlmon urlmon
14765 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
14766 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
14767 wine_fn_config_dll user.exe16 enable_win16
14768 wine_fn_config_dll user32 enable_user32 user32
14769 wine_fn_config_test dlls
/user32
/tests user32_test
14770 wine_fn_config_dll userenv enable_userenv userenv
14771 wine_fn_config_test dlls
/userenv
/tests userenv_test
14772 wine_fn_config_dll usp10 enable_usp10 usp10
14773 wine_fn_config_test dlls
/usp10
/tests usp10_test
14774 wine_fn_config_lib uuid
14775 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
14776 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
14777 wine_fn_config_dll vdhcp.vxd enable_win16
14778 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
14779 wine_fn_config_dll ver.dll16 enable_win16
14780 wine_fn_config_dll version enable_version version
14781 wine_fn_config_test dlls
/version
/tests version_test
14782 wine_fn_config_dll vmm.vxd enable_win16
14783 wine_fn_config_dll vnbt.vxd enable_win16
14784 wine_fn_config_dll vnetbios.vxd enable_win16
14785 wine_fn_config_dll vtdapi.vxd enable_win16
14786 wine_fn_config_dll vwin32.vxd enable_win16
14787 wine_fn_config_dll w32skrnl enable_win16
14788 wine_fn_config_dll w32sys.dll16 enable_win16
14789 wine_fn_config_dll wbemprox enable_wbemprox
14790 wine_fn_config_dll wiaservc enable_wiaservc
14791 wine_fn_config_dll win32s16.dll16 enable_win16
14792 wine_fn_config_dll win87em.dll16 enable_win16
14793 wine_fn_config_dll winaspi.dll16 enable_win16
14794 wine_fn_config_dll windebug.dll16 enable_win16
14795 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
14796 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
14797 wine_fn_config_dll winealsa.drv enable_winealsa_drv
14798 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
14799 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
14800 wine_fn_config_lib winecrt0
14801 wine_fn_config_dll wined3d enable_wined3d wined3d
14802 wine_fn_config_dll wineesd.drv enable_wineesd_drv
14803 wine_fn_config_dll winejack.drv enable_winejack_drv
14804 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
14805 wine_fn_config_dll winemapi enable_winemapi
14806 wine_fn_config_dll winemp3.acm enable_winemp3_acm
14807 wine_fn_config_dll winenas.drv enable_winenas_drv
14808 wine_fn_config_dll wineoss.drv enable_wineoss_drv
14809 wine_fn_config_dll wineps.drv enable_wineps_drv
14810 wine_fn_config_dll wineps16.drv16 enable_win16
14811 wine_fn_config_dll winepulse.drv enable_winepulse_drv
14812 wine_fn_config_dll winequartz.drv enable_winequartz_drv
14813 wine_fn_config_dll winex11.drv enable_winex11_drv
14814 wine_fn_config_dll wing.dll16 enable_win16
14815 wine_fn_config_dll wing32 enable_wing32
14816 wine_fn_config_dll winhttp enable_winhttp winhttp
14817 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
14818 wine_fn_config_dll wininet enable_wininet wininet
14819 wine_fn_config_test dlls
/wininet
/tests wininet_test
14820 wine_fn_config_dll winmm enable_winmm winmm
14821 wine_fn_config_test dlls
/winmm
/tests winmm_test
14822 wine_fn_config_dll winnls.dll16 enable_win16
14823 wine_fn_config_dll winnls32 enable_winnls32 winnls32
14824 wine_fn_config_dll winscard enable_winscard winscard
14825 wine_fn_config_dll winsock.dll16 enable_win16
14826 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
14827 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
14828 wine_fn_config_dll wintab.dll16 enable_win16
14829 wine_fn_config_dll wintab32 enable_wintab32 wintab32
14830 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
14831 wine_fn_config_dll wintrust enable_wintrust wintrust
14832 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
14833 wine_fn_config_dll wldap32 enable_wldap32 wldap32
14834 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
14835 wine_fn_config_dll wmi enable_wmi
14836 wine_fn_config_dll wmiutils enable_wmiutils
14837 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
14838 wine_fn_config_dll wow32 enable_win16 wow32
14839 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
14840 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
14841 wine_fn_config_dll wsock32 enable_wsock32 wsock32
14842 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
14843 wine_fn_config_dll wuapi enable_wuapi
14844 wine_fn_config_dll wuaueng enable_wuaueng
14845 wine_fn_config_dll xinput1_1 enable_xinput1_1
14846 wine_fn_config_dll xinput1_2 enable_xinput1_2
14847 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
14848 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
14849 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
14850 wine_fn_config_dll xmllite enable_xmllite
14851 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
14852 wine_fn_config_makefile documentation enable_documentation
14853 wine_fn_config_makefile fonts enable_fonts
14854 wine_fn_config_makefile include enable_include
14855 wine_fn_config_makefile libs
/port enable_libs_port
14856 wine_fn_config_makefile libs
/wine enable_libs_wine
14857 wine_fn_config_makefile libs
/wpp enable_libs_wpp
14858 wine_fn_config_makefile loader enable_loader
14859 wine_fn_config_program attrib enable_attrib
install
14860 wine_fn_config_program cacls enable_cacls
install
14861 wine_fn_config_program
clock enable_clock
install
14862 wine_fn_config_program cmd enable_cmd
install
14863 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
14864 wine_fn_config_program cmdlgtst enable_cmdlgtst
14865 wine_fn_config_program control enable_control
install
14866 wine_fn_config_program dxdiag enable_dxdiag
install
14867 wine_fn_config_program eject enable_eject
install
14868 wine_fn_config_program
expand enable_expand
install
14869 wine_fn_config_program explorer enable_explorer
install
14870 wine_fn_config_program extrac32 enable_extrac32
install
14871 wine_fn_config_program hh enable_hh
install
14872 wine_fn_config_program icinfo enable_icinfo
install
14873 wine_fn_config_program iexplore enable_iexplore
install
14874 wine_fn_config_program lodctr enable_lodctr
install
14875 wine_fn_config_program mshta enable_mshta
install
14876 wine_fn_config_program msiexec enable_msiexec installbin
14877 wine_fn_config_program net enable_net
install
14878 wine_fn_config_program ngen enable_ngen
install
14879 wine_fn_config_program notepad enable_notepad installbin
14880 wine_fn_config_program oleview enable_oleview
install
14881 wine_fn_config_program
ping enable_ping
install
14882 wine_fn_config_program progman enable_progman
install
14883 wine_fn_config_program reg enable_reg
install
14884 wine_fn_config_program regedit enable_regedit installbin
14885 wine_fn_config_program regsvr32 enable_regsvr32 installbin
14886 wine_fn_config_program rpcss enable_rpcss
install
14887 wine_fn_config_program rundll32 enable_rundll32
install
14888 wine_fn_config_program sc enable_sc
install
14889 wine_fn_config_program secedit enable_secedit
install
14890 wine_fn_config_program services enable_services
install
14891 wine_fn_config_program spoolsv enable_spoolsv
install
14892 wine_fn_config_program start enable_start
install
14893 wine_fn_config_program svchost enable_svchost
install
14894 wine_fn_config_program taskmgr enable_taskmgr
install
14895 wine_fn_config_program termsv enable_termsv
install
14896 wine_fn_config_program uninstaller enable_uninstaller
install
14897 wine_fn_config_program unlodctr enable_unlodctr
install
14898 wine_fn_config_program view enable_view
14899 wine_fn_config_program wineboot enable_wineboot installbin
14900 wine_fn_config_program winebrowser enable_winebrowser
install
14901 wine_fn_config_program winecfg enable_winecfg installbin
14902 wine_fn_config_program wineconsole enable_wineconsole installbin
14903 wine_fn_config_program winedbg enable_winedbg installbin
14904 wine_fn_config_program winedevice enable_winedevice
install
14905 wine_fn_config_program winefile enable_winefile installbin
14906 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
14907 wine_fn_config_program winemine enable_winemine installbin
14908 wine_fn_config_program winepath enable_winepath installbin
14909 wine_fn_config_program winetest enable_winetest
14910 wine_fn_config_program winevdm enable_win16
install
14911 wine_fn_config_program winhelp.exe16 enable_win16
install
14912 wine_fn_config_program winhlp32 enable_winhlp32
install
14913 wine_fn_config_program winoldap.mod16 enable_win16
install
14914 wine_fn_config_program winver enable_winver
install
14915 wine_fn_config_program wordpad enable_wordpad
install
14916 wine_fn_config_program
write enable_write
install
14917 wine_fn_config_program xcopy enable_xcopy
install
14918 wine_fn_config_makefile server enable_server
14919 wine_fn_config_tool tools
14920 wine_fn_config_tool tools
/widl
14921 wine_fn_config_tool tools
/winebuild
14922 wine_fn_config_tool tools
/winedump
14923 wine_fn_config_tool tools
/winegcc
14924 wine_fn_config_tool tools
/wmc
14925 wine_fn_config_tool tools
/wrc
14927 ac_config_commands
="$ac_config_commands Makefile"
14930 ac_config_files
="$ac_config_files Make.tmp:Makefile.in"
14934 if test -n "$with_wine64"
14936 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server $with_wine64/loader/wine
14938 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
14939 $with_wine64/loader/wine:
14940 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
14942 \$(RM) fonts server $with_wine64/loader/wine"
14945 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"uninstall::
14946 -rmdir \$(DESTDIR)\$(datadir)/wine \$(DESTDIR)\$(fakedlldir) \$(DESTDIR)\$(dlldir)"
14948 cat >confcache
<<\_ACEOF
14949 # This file is a shell script that caches the results of configure
14950 # tests run on this system so they can be shared between configure
14951 # scripts and configure runs, see configure's option --config-cache.
14952 # It is not useful on other systems. If it contains results you don't
14953 # want to keep, you may remove or edit it.
14955 # config.status only pays attention to the cache file if you give it
14956 # the --recheck option to rerun configure.
14958 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14959 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14960 # following values.
14964 # The following way of writing the cache mishandles newlines in values,
14965 # but we know of no workaround that is simple, portable, and efficient.
14966 # So, we kill variables containing newlines.
14967 # Ultrix sh set writes to stderr and can't be redirected directly,
14968 # and sets the high bit in the cache file unless we assign to the vars.
14970 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14971 eval ac_val
=\$
$ac_var
14975 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14976 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14979 _ | IFS | as_nl
) ;; #(
14980 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14981 *) { eval $ac_var=; unset $ac_var;} ;;
14987 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14988 *${as_nl}ac_space
=\
*)
14989 # `set' does not quote correctly, so add quotes: double-quote
14990 # substitution turns \\\\ into \\, and sed turns \\ into \.
14993 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14996 # `set' quotes correctly as required by POSIX, so do not add quotes.
14997 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15006 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15008 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15010 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15011 if test -w "$cache_file"; then
15012 test "x$cache_file" != "x/dev/null" &&
15013 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15014 $as_echo "$as_me: updating cache $cache_file" >&6;}
15015 cat confcache
>$cache_file
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15018 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15023 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15024 # Let make expand exec_prefix.
15025 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15027 DEFS
=-DHAVE_CONFIG_H
15031 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15032 # 1. Remove the extension, and $U if already installed.
15033 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15034 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15035 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15036 # will be set to the directory where LIBOBJS objects are built.
15037 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15038 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15040 LIBOBJS
=$ac_libobjs
15042 LTLIBOBJS
=$ac_ltlibobjs
15046 : ${CONFIG_STATUS=./config.status}
15048 ac_clean_files_save
=$ac_clean_files
15049 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15051 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15053 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15055 # Generated by $as_me.
15056 # Run this file to recreate the current configuration.
15057 # Compiler output produced by configure, useful for debugging
15058 # configure, is in config.log if it exists.
15061 ac_cs_recheck=false
15064 SHELL=\${CONFIG_SHELL-$SHELL}
15067 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15068 ## -------------------- ##
15069 ## M4sh Initialization. ##
15070 ## -------------------- ##
15072 # Be more Bourne compatible
15073 DUALCASE
=1; export DUALCASE
# for MKS sh
15074 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15077 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15078 # is contrary to our usage. Disable this feature.
15079 alias -g '${1+"$@"}'='"$@"'
15080 setopt NO_GLOB_SUBST
15082 case `(set -o) 2>/dev/null` in #(
15094 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15095 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15096 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15097 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15098 # Prefer a ksh shell builtin over an external printf program on Solaris,
15099 # but without wasting forks for bash or zsh.
15100 if test -z "$BASH_VERSION$ZSH_VERSION" \
15101 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15102 as_echo='print
-r --'
15103 as_echo_n='print
-rn --'
15104 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15105 as_echo='printf %s
\n'
15106 as_echo_n='printf %s
'
15108 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15109 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15110 as_echo_n='/usr
/ucb
/echo -n'
15112 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15113 as_echo_n_body='eval
15117 expr "X$arg" : "X\\(.*\\)$as_nl";
15118 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15120 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15122 export as_echo_n_body
15123 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15125 export as_echo_body
15126 as_echo='sh
-c $as_echo_body as_echo
'
15129 # The user is always right.
15130 if test "${PATH_SEPARATOR+set}" != set; then
15132 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15133 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15140 # We need space, tab and new line, in precisely that order. Quoting is
15141 # there to prevent editors from complaining about space-tab.
15142 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15143 # splitting by setting IFS to empty value.)
15146 # Find who we are. Look in the path if we contain no directory separator.
15148 *[\\/]* ) as_myself=$0 ;;
15149 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15150 for as_dir in $PATH
15153 test -z "$as_dir" && as_dir=.
15154 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15160 # We did not find ourselves, most probably we were run as `sh COMMAND'
15161 # in which case we are not to be found in the path.
15162 if test "x$as_myself" = x
; then
15165 if test ! -f "$as_myself"; then
15166 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15170 # Unset variables that we do not need and which cause bugs (e.g. in
15171 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15172 # suppresses any "Segmentation fault" message there. '((' could
15173 # trigger a bug in pdksh 5.2.14.
15174 for as_var
in BASH_ENV ENV MAIL MAILPATH
15175 do eval test x\
${$as_var+set} = xset \
15176 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
15189 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
15192 # as_fn_error ERROR [LINENO LOG_FD]
15193 # ---------------------------------
15194 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
15195 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
15196 # script with status $?, using 1 if that was 0.
15199 as_status
=$?
; test $as_status -eq 0 && as_status
=1
15201 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
15202 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
15204 $as_echo "$as_me: error: $1" >&2
15205 as_fn_exit
$as_status
15209 # as_fn_set_status STATUS
15210 # -----------------------
15211 # Set $? to STATUS, without forking.
15212 as_fn_set_status
()
15215 } # as_fn_set_status
15217 # as_fn_exit STATUS
15218 # -----------------
15219 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
15223 as_fn_set_status
$1
15229 # Portably unset VAR.
15232 { eval $1=; unset $1;}
15234 as_unset
=as_fn_unset
15235 # as_fn_append VAR VALUE
15236 # ----------------------
15237 # Append the text in VALUE to the end of the definition contained in VAR. Take
15238 # advantage of any shell optimizations that allow amortized linear growth over
15239 # repeated appends, instead of the typical quadratic growth present in naive
15241 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
15242 eval 'as_fn_append ()
15253 # as_fn_arith ARG...
15254 # ------------------
15255 # Perform arithmetic evaluation on the ARGs, and store the result in the
15256 # global $as_val. Take advantage of shells that can avoid forks. The arguments
15257 # must be portable across $(()) and expr.
15258 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
15259 eval 'as_fn_arith ()
15266 as_val
=`expr "$@" || test $? -eq 1`
15271 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
15272 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
15278 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
15279 as_basename
=basename
15284 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15290 as_me
=`$as_basename -- "$0" ||
15291 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15292 X"$0" : 'X\(//\)$' \| \
15293 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15295 sed '/^.*\/\([^/][^/]*\)\/*$/{
15309 # Avoid depending upon Character Ranges.
15310 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15311 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15312 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15313 as_cr_digits
='0123456789'
15314 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15316 ECHO_C
= ECHO_N
= ECHO_T
=
15317 case `echo -n x` in #(((((
15319 case `echo 'xy\c'` in
15320 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15322 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15329 rm -f conf$$ conf$$.exe conf$$.
file
15330 if test -d conf$$.dir
; then
15331 rm -f conf$$.dir
/conf$$.
file
15334 mkdir conf$$.dir
2>/dev
/null
15336 if (echo >conf$$.
file) 2>/dev
/null
; then
15337 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15339 # ... but there are two gotchas:
15340 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15341 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15342 # In both cases, we have to default to `cp -p'.
15343 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15345 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15353 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15354 rmdir conf$$.dir
2>/dev
/null
15359 # Create "$as_dir" as a directory, including parents if necessary.
15364 -*) as_dir
=.
/$as_dir;;
15366 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15370 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15371 *) as_qdir
=$as_dir;;
15373 as_dirs
="'$as_qdir' $as_dirs"
15374 as_dir
=`$as_dirname -- "$as_dir" ||
15375 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15376 X"$as_dir" : 'X\(//\)[^/]' \| \
15377 X"$as_dir" : 'X\(//\)$' \| \
15378 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15379 $as_echo X"$as_dir" |
15380 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15384 /^X\(\/\/\)[^/].*/{
15397 test -d "$as_dir" && break
15399 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15400 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15404 if mkdir
-p .
2>/dev
/null
; then
15405 as_mkdir_p
='mkdir -p "$as_dir"'
15407 test -d .
/-p && rmdir .
/-p
15411 if test -x / >/dev
/null
2>&1; then
15412 as_test_x
='test -x'
15414 if ls -dL / >/dev
/null
2>&1; then
15421 if test -d "$1"; then
15427 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15428 ???[sx]*):;;*)false;;esac;fi
15432 as_executable_p
=$as_test_x
15434 # Sed expression to map a string onto a valid CPP name.
15435 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15437 # Sed expression to map a string onto a valid variable name.
15438 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15442 ## ----------------------------------- ##
15443 ## Main body of $CONFIG_STATUS script. ##
15444 ## ----------------------------------- ##
15446 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15448 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15449 # Save the log message, to keep $0 and so on meaningful, and to
15450 # report actual input values of CONFIG_FILES etc. instead of their
15451 # values after options handling.
15453 This file was extended by Wine $as_me 1.2-rc2, which was
15454 generated by GNU Autoconf 2.65. Invocation command line was
15456 CONFIG_FILES = $CONFIG_FILES
15457 CONFIG_HEADERS = $CONFIG_HEADERS
15458 CONFIG_LINKS = $CONFIG_LINKS
15459 CONFIG_COMMANDS = $CONFIG_COMMANDS
15462 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15467 case $ac_config_files in *"
15468 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15471 case $ac_config_headers in *"
15472 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15477 # Files that config.status was made for.
15478 config_files="$ac_config_files"
15479 config_headers="$ac_config_headers"
15480 config_links="$ac_config_links"
15481 config_commands="$ac_config_commands"
15485 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15487 \`$as_me' instantiates files and other configuration actions
15488 from templates according to the current configuration. Unless the files
15489 and actions are specified as TAGs, all are instantiated by default.
15491 Usage: $0 [OPTION]... [TAG]...
15493 -h, --help print this help, then exit
15494 -V, --version print version number and configuration settings, then exit
15495 --config print configuration, then exit
15496 -q, --quiet, --silent
15497 do not print progress messages
15498 -d, --debug don't remove temporary files
15499 --recheck update $as_me by reconfiguring in the same conditions
15500 --file=FILE[:TEMPLATE]
15501 instantiate the configuration file FILE
15502 --header=FILE[:TEMPLATE]
15503 instantiate the configuration header FILE
15505 Configuration files:
15508 Configuration headers:
15511 Configuration links:
15514 Configuration commands:
15517 Report bugs to <wine-devel@winehq.org>.
15518 Wine home page: <http://www.winehq.org>."
15521 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15522 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15524 Wine config.status 1.2-rc2
15525 configured by $0, generated by GNU Autoconf 2.65,
15526 with options \\"\$ac_cs_config\\"
15528 Copyright (C) 2009 Free Software Foundation, Inc.
15529 This config.status script is free software; the Free Software Foundation
15530 gives unlimited permission to copy, distribute and modify it."
15535 test -n "\$AWK" || AWK=awk
15538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15539 # The default lists apply if the user does not specify any file.
15545 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15546 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15557 # Handling of the options.
15558 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15560 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15561 $as_echo "$ac_cs_version"; exit ;;
15562 --config |
--confi |
--conf |
--con |
--co |
--c )
15563 $as_echo "$ac_cs_config"; exit ;;
15564 --debug |
--debu |
--deb |
--de |
--d |
-d )
15566 --file |
--fil |
--fi |
--f )
15569 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15571 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15572 ac_need_defaults
=false
;;
15573 --header |
--heade |
--head |
--hea )
15576 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15578 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15579 ac_need_defaults
=false
;;
15581 # Conflict between --help and --header
15582 as_fn_error
"ambiguous option: \`$1'
15583 Try \`$0 --help' for more information.";;
15584 --help |
--hel |
-h )
15585 $as_echo "$ac_cs_usage"; exit ;;
15586 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15587 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15590 # This is an error.
15591 -*) as_fn_error
"unrecognized option: \`$1'
15592 Try \`$0 --help' for more information." ;;
15594 *) as_fn_append ac_config_targets
" $1"
15595 ac_need_defaults
=false
;;
15601 ac_configure_extra_args
=
15603 if $ac_cs_silent; then
15605 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15610 if \$ac_cs_recheck; then
15611 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15613 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15614 CONFIG_SHELL='$SHELL'
15615 export CONFIG_SHELL
15620 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15624 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15625 ## Running $as_me. ##
15631 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15635 wine_fn_output_makefile ()
15637 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
15638 $ALL_MAKEFILE_DEPENDS
15640 as_fn_error "could not create Makefile" "$LINENO" 5
15645 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15647 # Handling of arguments.
15648 for ac_config_target
in $ac_config_targets
15650 case $ac_config_target in
15651 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15652 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
15653 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
15654 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
15655 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
15656 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
15657 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
15658 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
15659 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
15660 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
15661 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
15662 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
15663 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
15664 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
15665 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
15666 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
15667 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
15668 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
15669 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
15670 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
15671 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
15672 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Makefile.in" ;;
15674 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15679 # If the user did not use the arguments to specify the items to instantiate,
15680 # then the envvar interface is used. Set only those that are not.
15681 # We use the long form for the default assignment because of an extremely
15682 # bizarre bug on SunOS 4.1.3.
15683 if $ac_need_defaults; then
15684 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15685 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15686 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
15687 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15690 # Have a temporary directory for convenience. Make it in the build tree
15691 # simply because there is no reason against having it here, and in addition,
15692 # creating and moving files from /tmp can sometimes cause problems.
15693 # Hook for its removal unless debugging.
15694 # Note that there is a small window in which the directory will not be cleaned:
15695 # after its creation but before its name has been assigned to `$tmp'.
15699 trap 'exit_status=$?
15700 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15702 trap 'as_fn_exit 1' 1 2 13 15
15704 # Create a (secure) tmp directory for tmp files.
15707 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15708 test -n "$tmp" && test -d "$tmp"
15711 tmp
=.
/conf$$
-$RANDOM
15712 (umask 077 && mkdir
"$tmp")
15713 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15715 # Set up the scripts for CONFIG_FILES section.
15716 # No need to generate them if there are no CONFIG_FILES.
15717 # This happens for instance with `./config.status config.h'.
15718 if test -n "$CONFIG_FILES"; then
15720 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15721 ac_cs_awk_getline
=:
15722 ac_cs_awk_pipe_init
=
15723 ac_cs_awk_read_file
='
15724 while ((getline aline < (F[key])) > 0)
15727 ac_cs_awk_pipe_fini
=
15729 ac_cs_awk_getline
=false
15730 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15731 ac_cs_awk_read_file
='
15733 print "cat " F[key] " &&"
15734 '$ac_cs_awk_pipe_init
15735 # The final `:' finishes the AND list.
15736 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15738 ac_cr
=`echo X | tr X '\015'`
15739 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15740 # But we know of no other shell where ac_cr would be empty at this
15741 # point, so we can use a bashism as a fallback.
15742 if test "x$ac_cr" = x
; then
15743 eval ac_cr
=\$
\'\\r
\'
15745 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15746 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15749 ac_cs_awk_cr
=$ac_cr
15752 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15755 # Create commands to substitute file output variables.
15757 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15758 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15759 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15762 } >conf$
$files.sh
&&
15763 . .
/conf$
$files.sh ||
15764 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15765 rm -f conf$
$files.sh
15768 echo "cat >conf$$subs.awk <<_ACEOF" &&
15769 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15771 } >conf$$subs.sh ||
15772 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15773 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15775 for ac_last_try in false false false false false :; do
15776 . ./conf$$subs.sh ||
15777 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15779 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15780 if test $ac_delim_n = $ac_delim_num; then
15782 elif $ac_last_try; then
15783 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15785 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15788 rm -f conf$$subs.sh
15790 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15791 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15795 s/^/S["/; s
/!.
*/"]=/
15805 s/\(.\{148\}\)..*/\1/
15807 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15812 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15819 s/\(.\{148\}\)..*/\1/
15821 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15825 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15830 ' <conf$$subs.awk | sed '
15835 ' >>$CONFIG_STATUS || ac_write_fail=1
15836 rm -f conf$$subs.awk
15837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15839 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15840 for (key in S) S_is_set[key] = 1
15842 \$ac_cs_awk_pipe_init
15846 nfields = split(line, field, "@
")
15848 len = length(field[1])
15849 for (i = 2; i < nfields; i++) {
15851 keylen = length(key)
15852 if (S_is_set[key]) {
15854 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15855 len += length(value) + length(field[++i])
15860 if (nfields == 3 && !substed) {
15862 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15863 \$ac_cs_awk_read_file
15869 \$ac_cs_awk_pipe_fini
15872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15873 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15874 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15877 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15878 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15881 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15882 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15883 # trailing colons and then remove the whole line if VPATH becomes empty
15884 # (actually we leave an empty line to preserve line numbers).
15885 if test "x
$srcdir" = x.; then
15886 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15887 s/:*\$(srcdir):*/:/
15888 s/:*\${srcdir}:*/:/
15890 s/^\([^=]*=[ ]*\):*/\1/
15896 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15897 fi # test -n "$CONFIG_FILES"
15899 # Set up the scripts for CONFIG_HEADERS section.
15900 # No need to generate them if there are no CONFIG_HEADERS.
15901 # This happens for instance with `./config.status Makefile'.
15902 if test -n "$CONFIG_HEADERS"; then
15903 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15907 # Transform confdefs.h into an awk script `defines.awk', embedded as
15908 # here-document in config.status, that substitutes the proper values into
15909 # config.h.in to produce config.h.
15911 # Create a delimiter string that does not exist in confdefs.h, to ease
15912 # handling of long lines.
15914 for ac_last_try in false false :; do
15915 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15916 if test -z "$ac_t"; then
15918 elif $ac_last_try; then
15919 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15921 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15925 # For the awk script, D is an array of macro values keyed by name,
15926 # likewise P contains macro parameters if any. Preserve backslash
15927 # newline sequences.
15929 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15931 s/.\{148\}/&'"$ac_delim"'/g
15934 s/^[ ]*#[ ]*define[ ][ ]*/ /
15941 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15943 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15947 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15948 D["\
1"]=" \
3\\\\\\n
"\\/p
15950 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15955 s/.\{148\}/&'"$ac_delim"'/g
15960 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15963 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15965 ' <confdefs.h | sed '
15966 s/'"$ac_delim"'/"\\\
15967 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15969 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15970 for (key in D) D_is_set[key] = 1
15973 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15975 split(line, arg, " ")
15976 if (arg[1] == "#") {
15980 defundef
= substr
(arg
[1], 2)
15983 split(mac1
, mac2
, "(") #)
15985 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15986 if (D_is_set
[macro
]) {
15987 # Preserve the white space surrounding the "#".
15988 print prefix
"define", macro P
[macro
] D
[macro
]
15991 # Replace #undef with comments. This is necessary, for example,
15992 # in the case of _POSIX_SOURCE, which is predefined and required
15993 # on some systems where configure will not decide to define it.
15994 if (defundef
== "undef") {
15995 print
"/*", prefix defundef
, macro
, "*/"
16003 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16004 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
16005 fi # test -n "$CONFIG_HEADERS"
16008 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16013 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16015 case $ac_mode$ac_tag in
16017 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16018 :[FH
]-) ac_tag
=-:-;;
16019 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16036 -) ac_f
="$tmp/stdin";;
16037 *) # Look for the file first in the build tree, then in the source tree
16038 # (if the path is not absolute). The absolute path cannot be DOS-style,
16039 # because $ac_f cannot contain `:'.
16043 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16045 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
16047 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16048 as_fn_append ac_file_inputs
" '$ac_f'"
16051 # Let's still pretend it is `configure' which instantiates (i.e., don't
16052 # use $as_me), people would be surprised to read:
16053 # /* config.h. Generated by config.status. */
16054 configure_input
='Generated from '`
16055 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16057 if test x
"$ac_file" != x-
; then
16058 configure_input
="$ac_file. $configure_input"
16059 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16060 $as_echo "$as_me: creating $ac_file" >&6;}
16062 # Neutralize special characters interpreted by sed in replacement strings.
16063 case $configure_input in #(
16064 *\
&* |
*\|
* |
*\\* )
16065 ac_sed_conf_input
=`$as_echo "$configure_input" |
16066 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16067 *) ac_sed_conf_input
=$configure_input;;
16071 *:-:* |
*:-) cat >"$tmp/stdin" \
16072 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
16077 ac_dir
=`$as_dirname -- "$ac_file" ||
16078 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16079 X"$ac_file" : 'X\(//\)[^/]' \| \
16080 X"$ac_file" : 'X\(//\)$' \| \
16081 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16082 $as_echo X"$ac_file" |
16083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16087 /^X\(\/\/\)[^/].*/{
16100 as_dir
="$ac_dir"; as_fn_mkdir_p
16104 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16106 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16107 # A ".." for each directory in $ac_dir_suffix.
16108 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16109 case $ac_top_builddir_sub in
16110 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16111 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16114 ac_abs_top_builddir
=$ac_pwd
16115 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16116 # for backward compatibility:
16117 ac_top_builddir
=$ac_top_build_prefix
16120 .
) # We are building in place.
16122 ac_top_srcdir
=$ac_top_builddir_sub
16123 ac_abs_top_srcdir
=$ac_pwd ;;
16124 [\\/]* | ?
:[\\/]* ) # Absolute name.
16125 ac_srcdir
=$srcdir$ac_dir_suffix;
16126 ac_top_srcdir
=$srcdir
16127 ac_abs_top_srcdir
=$srcdir ;;
16128 *) # Relative name.
16129 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16130 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16131 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16133 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16143 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16144 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16148 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16149 # If the template does not know about datarootdir, expand it.
16150 # FIXME: This hack should be removed a few years after 2.60.
16151 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16162 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16163 *datarootdir
*) ac_datarootdir_seen
=yes;;
16164 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16166 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16168 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16169 ac_datarootdir_hack='
16170 s&@datadir@&$datadir&g
16171 s&@docdir@&$docdir&g
16172 s&@infodir@&$infodir&g
16173 s&@localedir@&$localedir&g
16174 s&@mandir@&$mandir&g
16175 s&\\\${datarootdir}&$datarootdir&g' ;;
16179 # Neutralize VPATH when `$srcdir' = `.'.
16180 # Shell code in configure.ac might set extrasub.
16181 # FIXME: do we really want to maintain this feature?
16182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16183 ac_sed_extra="$ac_vpsub
16186 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16188 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
16189 s|@configure_input@|
$ac_sed_conf_input|
;t t
16190 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
16191 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
16192 s
&@srcdir@
&$ac_srcdir&;t t
16193 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
16194 s
&@top_srcdir@
&$ac_top_srcdir&;t t
16195 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
16196 s
&@builddir@
&$ac_builddir&;t t
16197 s
&@abs_builddir@
&$ac_abs_builddir&;t t
16198 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
16199 s
&@INSTALL@
&$ac_INSTALL&;t t
16200 $ac_datarootdir_hack
16202 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
16203 if $ac_cs_awk_getline; then
16204 $AWK -f "$tmp/subs.
awk"
16206 $AWK -f "$tmp/subs.
awk" | $SHELL
16208 || as_fn_error "could not create
$ac_file" "$LINENO" 5
16210 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
16211 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
16212 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
16214 which seems to be undefined. Please make sure it is defined." >&5
16215 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
16216 which seems to be undefined. Please make sure it is defined." >&2;}
16220 -) cat "$tmp/out" && rm -f "$tmp/out";;
16221 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
16223 || as_fn_error "could not create $ac_file" "$LINENO" 5
16229 if test x"$ac_file" != x-; then
16231 $as_echo "/* $configure_input */" \
16232 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
16233 } >"$tmp/config.h" \
16234 || as_fn_error "could not create $ac_file" "$LINENO" 5
16235 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
16236 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
16237 $as_echo "$as_me: $ac_file is unchanged" >&6;}
16240 mv "$tmp/config.h" "$ac_file" \
16241 || as_fn_error "could not create $ac_file" "$LINENO" 5
16244 $as_echo "/* $configure_input */" \
16245 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
16246 || as_fn_error "could not create -" "$LINENO" 5
16254 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
16257 # Prefer the file from the source tree if names are identical.
16258 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
16259 ac_source=$srcdir/$ac_source
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
16263 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
16265 if test ! -r "$ac_source"; then
16266 as_fn_error "$ac_source: file not found" "$LINENO" 5
16270 # Try a relative symlink, then a hard link, then a copy.
16272 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
16273 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
16275 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
16276 ln "$ac_source" "$ac_file" 2>/dev/null ||
16277 cp -p "$ac_source" "$ac_file" ||
16278 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
16281 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
16282 $as_echo "$as_me: executing $ac_file commands" >&6;}
16287 case $ac_file$ac_mode in
16288 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
16289 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
16290 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
16291 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
16292 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
16293 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
16294 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16295 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16296 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16297 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16298 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16299 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16300 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16301 "Makefile":C) wine_fn_output_makefile Makefile ;;
16309 ac_clean_files=$ac_clean_files_save
16311 test $ac_write_fail = 0 ||
16312 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16315 # configure is writing to config.log, and then calls config.status.
16316 # config.status does its own redirection, appending to config.log.
16317 # Unfortunately, on DOS this fails, as config.log is still kept open
16318 # by configure, so config.status won't be able to
write to it
; its
16319 # output is simply discarded. So we exec the FD to /dev/null,
16320 # effectively closing config.log, so it can be properly (re)opened and
16321 # appended to by config.status. When coming back to configure, we
16322 # need to make the FD available again.
16323 if test "$no_create" != yes; then
16325 ac_config_status_args
=
16326 test "$silent" = yes &&
16327 ac_config_status_args
="$ac_config_status_args --quiet"
16329 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16331 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16332 # would make configure fail if this is the last instruction.
16333 $ac_cs_success || as_fn_exit $?
16335 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16336 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16337 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16341 if test "$no_create" = "yes"
16347 if test "x$wine_notices != "x
; then
16350 for msg
in $wine_notices; do
16352 if test -n "$msg"; then
16353 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16354 $as_echo "$as_me: $msg" >&6;}
16359 for msg
in $wine_warnings; do
16361 if test -n "$msg"; then
16363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16364 $as_echo "$as_me: WARNING: $msg" >&2;}
16370 $as_me: Finished. Do '${ac_make}' to compile Wine.