2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for Wine 1.1.41.
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.1.41'
556 PACKAGE_STRING
='Wine 1.1.41'
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
599 ALL_PROGRAM_BIN_INSTALL_DIRS
757 program_transform_name
768 ac_subst_files
='MAKE_RULES
774 enable_option_checking
778 enable_maintainer_mode
824 ac_precious_vars
='build_alias
839 # Initialize some variables set by options.
841 ac_init_version
=false
842 ac_unrecognized_opts
=
844 # The variables have the same names as the options, with
845 # dashes changed to underlines.
853 program_transform_name
=s
,x
,x
,
861 # Installation directory options.
862 # These are left unexpanded so users can "make install exec_prefix=/foo"
863 # and all the variables that are supposed to be based on exec_prefix
864 # by default will actually change.
865 # Use braces instead of parens because sh, perl, etc. also accept them.
866 # (The list follows the same order as the GNU Coding Standards.)
867 bindir
='${exec_prefix}/bin'
868 sbindir
='${exec_prefix}/sbin'
869 libexecdir
='${exec_prefix}/libexec'
870 datarootdir
='${prefix}/share'
871 datadir
='${datarootdir}'
872 sysconfdir
='${prefix}/etc'
873 sharedstatedir
='${prefix}/com'
874 localstatedir
='${prefix}/var'
875 includedir
='${prefix}/include'
876 oldincludedir
='/usr/include'
877 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
878 infodir
='${datarootdir}/info'
883 libdir
='${exec_prefix}/lib'
884 localedir
='${datarootdir}/locale'
885 mandir
='${datarootdir}/man'
891 # If the previous option needs an argument, assign it.
892 if test -n "$ac_prev"; then
893 eval $ac_prev=\
$ac_option
899 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
903 # Accept the important Cygnus configure options, so we can diagnose typos.
905 case $ac_dashdash$ac_option in
909 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
911 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
914 -build |
--build |
--buil |
--bui |
--bu)
915 ac_prev
=build_alias
;;
916 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
917 build_alias
=$ac_optarg ;;
919 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
920 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
921 ac_prev
=cache_file
;;
922 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
923 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
924 cache_file
=$ac_optarg ;;
927 cache_file
=config.cache
;;
929 -datadir |
--datadir |
--datadi |
--datad)
931 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
932 datadir
=$ac_optarg ;;
934 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
935 |
--dataroo |
--dataro |
--datar)
936 ac_prev
=datarootdir
;;
937 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
938 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
939 datarootdir
=$ac_optarg ;;
941 -disable-* |
--disable-*)
942 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
943 # Reject names that are not valid shell variable names.
944 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
945 as_fn_error
"invalid feature name: $ac_useropt"
946 ac_useropt_orig
=$ac_useropt
947 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
948 case $ac_user_opts in
952 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
953 ac_unrecognized_sep
=', ';;
955 eval enable_
$ac_useropt=no
;;
957 -docdir |
--docdir |
--docdi |
--doc |
--do)
959 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
962 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
964 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
967 -enable-* |
--enable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=\
$ac_optarg ;;
983 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
984 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
985 |
--exec |
--exe |
--ex)
986 ac_prev
=exec_prefix
;;
987 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
988 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
989 |
--exec=* |
--exe=* |
--ex=*)
990 exec_prefix
=$ac_optarg ;;
992 -gas |
--gas |
--ga |
--g)
993 # Obsolete; use --with-gas.
996 -help |
--help |
--hel |
--he |
-h)
998 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
999 ac_init_help
=recursive
;;
1000 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1001 ac_init_help
=short
;;
1003 -host |
--host |
--hos |
--ho)
1004 ac_prev
=host_alias
;;
1005 -host=* |
--host=* |
--hos=* |
--ho=*)
1006 host_alias
=$ac_optarg ;;
1008 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1010 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1012 htmldir
=$ac_optarg ;;
1014 -includedir |
--includedir |
--includedi |
--included |
--include \
1015 |
--includ |
--inclu |
--incl |
--inc)
1016 ac_prev
=includedir
;;
1017 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1018 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1019 includedir
=$ac_optarg ;;
1021 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1023 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1024 infodir
=$ac_optarg ;;
1026 -libdir |
--libdir |
--libdi |
--libd)
1028 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1029 libdir
=$ac_optarg ;;
1031 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1032 |
--libexe |
--libex |
--libe)
1033 ac_prev
=libexecdir
;;
1034 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1035 |
--libexe=* |
--libex=* |
--libe=*)
1036 libexecdir
=$ac_optarg ;;
1038 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1039 ac_prev
=localedir
;;
1040 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1041 localedir
=$ac_optarg ;;
1043 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1044 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1045 ac_prev
=localstatedir
;;
1046 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1047 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1048 localstatedir
=$ac_optarg ;;
1050 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1052 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1053 mandir
=$ac_optarg ;;
1055 -nfp |
--nfp |
--nf)
1056 # Obsolete; use --without-fp.
1059 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1060 |
--no-cr |
--no-c |
-n)
1063 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1064 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1067 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1068 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1069 |
--oldin |
--oldi |
--old |
--ol |
--o)
1070 ac_prev
=oldincludedir
;;
1071 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1072 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1073 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1074 oldincludedir
=$ac_optarg ;;
1076 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1078 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1079 prefix
=$ac_optarg ;;
1081 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1082 |
--program-pre |
--program-pr |
--program-p)
1083 ac_prev
=program_prefix
;;
1084 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1085 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1086 program_prefix
=$ac_optarg ;;
1088 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1089 |
--program-suf |
--program-su |
--program-s)
1090 ac_prev
=program_suffix
;;
1091 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1092 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1093 program_suffix
=$ac_optarg ;;
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 ac_prev
=program_transform_name
;;
1103 -program-transform-name=* |
--program-transform-name=* \
1104 |
--program-transform-nam=* |
--program-transform-na=* \
1105 |
--program-transform-n=* |
--program-transform-=* \
1106 |
--program-transform=* |
--program-transfor=* \
1107 |
--program-transfo=* |
--program-transf=* \
1108 |
--program-trans=* |
--program-tran=* \
1109 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1110 program_transform_name
=$ac_optarg ;;
1112 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1114 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1115 pdfdir
=$ac_optarg ;;
1117 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1119 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1122 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1123 |
-silent |
--silent |
--silen |
--sile |
--sil)
1126 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1128 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1130 sbindir
=$ac_optarg ;;
1132 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1133 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1134 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1136 ac_prev
=sharedstatedir
;;
1137 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1138 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1139 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1141 sharedstatedir
=$ac_optarg ;;
1143 -site |
--site |
--sit)
1145 -site=* |
--site=* |
--sit=*)
1148 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1150 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1151 srcdir
=$ac_optarg ;;
1153 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1154 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1155 ac_prev
=sysconfdir
;;
1156 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1157 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1158 sysconfdir
=$ac_optarg ;;
1160 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1161 ac_prev
=target_alias
;;
1162 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1163 target_alias
=$ac_optarg ;;
1165 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1168 -version |
--version |
--versio |
--versi |
--vers |
-V)
1169 ac_init_version
=: ;;
1172 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1175 as_fn_error
"invalid package name: $ac_useropt"
1176 ac_useropt_orig
=$ac_useropt
1177 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep
=', ';;
1185 eval with_
$ac_useropt=\
$ac_optarg ;;
1187 -without-* |
--without-*)
1188 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1191 as_fn_error
"invalid package name: $ac_useropt"
1192 ac_useropt_orig
=$ac_useropt
1193 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep
=', ';;
1201 eval with_
$ac_useropt=no
;;
1204 # Obsolete; use --with-x.
1207 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1208 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1209 ac_prev
=x_includes
;;
1210 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1211 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1212 x_includes
=$ac_optarg ;;
1214 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1215 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1216 ac_prev
=x_libraries
;;
1217 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1218 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1219 x_libraries
=$ac_optarg ;;
1221 -*) as_fn_error
"unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information."
1226 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
1228 case $ac_envvar in #(
1229 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1230 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1232 eval $ac_envvar=\
$ac_optarg
1233 export $ac_envvar ;;
1236 # FIXME: should be removed in autoconf 3.0.
1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1246 if test -n "$ac_prev"; then
1247 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1248 as_fn_error
"missing argument to $ac_option"
1251 if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1254 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 # Check all directory arguments for consistency.
1260 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir
1265 eval ac_val
=\$
$ac_var
1266 # Remove trailing slashes.
1269 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\
$ac_val;;
1272 # Be sure to have absolute directory names.
1274 [\\/$
]* | ?
:[\\/]* ) continue;;
1275 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1277 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1285 target
=$target_alias
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x
; then
1289 if test "x$build_alias" = x
; then
1290 cross_compiling
=maybe
1291 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1292 If a cross compiler is detected then cross compile mode will be used." >&2
1293 elif test "x$build_alias" != "x$host_alias"; then
1299 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1301 test "$silent" = yes && exec 6>/dev
/null
1304 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1305 ac_ls_di
=`ls -di .` &&
1306 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1307 as_fn_error
"working directory cannot be determined"
1308 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1309 as_fn_error
"pwd does not report name of working directory"
1312 # Find the source files, if location was not specified.
1313 if test -z "$srcdir"; then
1314 ac_srcdir_defaulted
=yes
1315 # Try the directory containing this script, then the parent directory.
1316 ac_confdir
=`$as_dirname -- "$as_myself" ||
1317 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1318 X"$as_myself" : 'X\(//\)[^/]' \| \
1319 X"$as_myself" : 'X\(//\)$' \| \
1320 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1321 $as_echo X"$as_myself" |
1322 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1340 if test ! -r "$srcdir/$ac_unique_file"; then
1344 ac_srcdir_defaulted
=no
1346 if test ! -r "$srcdir/$ac_unique_file"; then
1347 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1348 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1350 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1352 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1354 # When building in place, set srcdir=.
1355 if test "$ac_abs_confdir" = "$ac_pwd"; then
1358 # Remove unnecessary trailing slashes from srcdir.
1359 # Double slashes in file names in object file debugging info
1360 # mess up M-x gdb in Emacs.
1362 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1364 for ac_var
in $ac_precious_vars; do
1365 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1366 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1367 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1368 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1372 # Report the --help message.
1374 if test "$ac_init_help" = "long"; then
1375 # Omit some internal or obsolete options to make the list less imposing.
1376 # This message is too long to be a string in the A/UX 3.1 sh.
1378 \`configure' configures Wine 1.1.41 to adapt to many kinds of systems.
1380 Usage: $0 [OPTION]... [VAR=VALUE]...
1382 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1383 VAR=VALUE. See below for descriptions of some of the useful variables.
1385 Defaults for the options are specified in brackets.
1388 -h, --help display this help and exit
1389 --help=short display options specific to this package
1390 --help=recursive display the short help of all the included packages
1391 -V, --version display version information and exit
1392 -q, --quiet, --silent do not print \`checking...' messages
1393 --cache-file=FILE cache test results in FILE [disabled]
1394 -C, --config-cache alias for \`--cache-file=config.cache'
1395 -n, --no-create do not create output files
1396 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1398 Installation directories:
1399 --prefix=PREFIX install architecture-independent files in PREFIX
1400 [$ac_default_prefix]
1401 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1404 By default, \`make install' will install all the files in
1405 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1406 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1407 for instance \`--prefix=\$HOME'.
1409 For better control, use the options below.
1411 Fine tuning of the installation directories:
1412 --bindir=DIR user executables [EPREFIX/bin]
1413 --sbindir=DIR system admin executables [EPREFIX/sbin]
1414 --libexecdir=DIR program executables [EPREFIX/libexec]
1415 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1416 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1417 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1418 --libdir=DIR object code libraries [EPREFIX/lib]
1419 --includedir=DIR C header files [PREFIX/include]
1420 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1421 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1422 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1423 --infodir=DIR info documentation [DATAROOTDIR/info]
1424 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1425 --mandir=DIR man documentation [DATAROOTDIR/man]
1426 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1427 --htmldir=DIR html documentation [DOCDIR]
1428 --dvidir=DIR dvi documentation [DOCDIR]
1429 --pdfdir=DIR pdf documentation [DOCDIR]
1430 --psdir=DIR ps documentation [DOCDIR]
1436 --x-includes=DIR X include files are
in DIR
1437 --x-libraries=DIR X library files are
in DIR
1440 --build=BUILD configure
for building on BUILD
[guessed
]
1441 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive
) echo "Configuration of Wine 1.1.41:";;
1452 --disable-option-checking ignore unrecognized
--enable/--with options
1453 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1454 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1455 --disable-win16 do not include Win16 support
1456 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1458 --disable-tests do not build the regression tests
1459 --enable-maintainer-mode
1460 enable maintainer-specific build rules
1461 --disable-largefile omit support for large files
1464 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1465 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1466 --without-alsa do not use the Alsa sound support
1467 --without-audioio do not use the AudioIO sound support
1468 --without-capi do not use CAPI (ISDN support)
1469 --without-cms do not use CMS (color management support)
1470 --without-coreaudio do not use the CoreAudio sound support
1471 --without-cups do not use CUPS
1472 --without-curses do not use (n)curses
1473 --without-esd do not use the EsounD sound support
1474 --without-fontconfig do not use fontconfig
1475 --without-freetype do not use the FreeType library
1476 --without-gphoto do not use gphoto (Digital Camera support)
1477 --without-glu do not use the GLU library
1478 --without-gnutls do not use GnuTLS (schannel support)
1479 --without-gsm do not use libgsm (GSM 06.10 codec support)
1480 --without-hal do not use HAL (dynamic device support)
1481 --without-jack do not use the Jack sound support
1482 --without-jpeg do not use JPEG
1483 --without-ldap do not use LDAP
1484 --without-mpg123 do not use the mpg123 library
1485 --without-nas do not use the NAS sound support
1486 --without-openal do not use OpenAL
1487 --without-opengl do not use OpenGL
1488 --without-openssl do not use OpenSSL
1489 --without-oss do not use the OSS sound support
1490 --without-png do not use PNG
1491 --without-pthread do not use the pthread library
1492 --without-sane do not use SANE (scanner support)
1493 --without-tiff do not use TIFF
1494 --without-v4l do not use v4l1 (v4l support)
1495 --without-xcomposite do not use the Xcomposite extension
1496 --without-xcursor do not use the Xcursor extension
1497 --without-xinerama do not use Xinerama (multi-monitor support)
1498 --without-xinput do not use the Xinput extension
1499 --without-xml do not use XML
1500 --without-xrandr do not use Xrandr (resolution changes)
1501 --without-xrender do not use the Xrender extension
1502 --without-xshape do not use the Xshape extension
1503 --without-xshm do not use XShm (shared memory extension)
1504 --without-xslt do not use XSLT
1505 --without-xxf86vm do not use XFree video mode extension
1506 --with-wine-tools=DIR use Wine tools from directory DIR
1507 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1508 --with-x use the X Window System
1510 Some influential environment variables:
1511 CC C compiler command
1512 CFLAGS C compiler flags
1513 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1514 nonstandard directory <lib dir>
1515 LIBS libraries to pass to the linker, e.g. -l<library>
1516 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1517 you have headers in a nonstandard directory <include dir>
1518 CXX C++ compiler command
1519 CXXFLAGS C++ compiler flags
1521 XMKMF Path to xmkmf, Makefile generator for X Window System
1523 Use these variables to override the choices made by `configure' or to
help
1524 it to
find libraries and programs with nonstandard names
/locations.
1526 Report bugs to
<wine-devel@winehq.org
>.
1527 Wine home page
: <http
://www.winehq.org
>.
1532 if test "$ac_init_help" = "recursive"; then
1533 # If there are subdirs, report their specific --help.
1534 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1535 test -d "$ac_dir" ||
1536 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1541 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1543 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1544 # A ".." for each directory in $ac_dir_suffix.
1545 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1546 case $ac_top_builddir_sub in
1547 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1548 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1551 ac_abs_top_builddir
=$ac_pwd
1552 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1553 # for backward compatibility:
1554 ac_top_builddir
=$ac_top_build_prefix
1557 .
) # We are building in place.
1559 ac_top_srcdir
=$ac_top_builddir_sub
1560 ac_abs_top_srcdir
=$ac_pwd ;;
1561 [\\/]* | ?
:[\\/]* ) # Absolute name.
1562 ac_srcdir
=$srcdir$ac_dir_suffix;
1563 ac_top_srcdir
=$srcdir
1564 ac_abs_top_srcdir
=$srcdir ;;
1566 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1567 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1568 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1570 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1572 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1573 # Check for guested configure.
1574 if test -f "$ac_srcdir/configure.gnu"; then
1576 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1577 elif test -f "$ac_srcdir/configure"; then
1579 $SHELL "$ac_srcdir/configure" --help=recursive
1581 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1583 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1587 test -n "$ac_init_help" && exit $ac_status
1588 if $ac_init_version; then
1590 Wine configure
1.1.41
1591 generated by GNU Autoconf
2.65
1593 Copyright
(C
) 2009 Free Software Foundation
, Inc.
1594 This configure
script is free software
; the Free Software Foundation
1595 gives unlimited permission to copy
, distribute and modify it.
1600 ## ------------------------ ##
1601 ## Autoconf initialization. ##
1602 ## ------------------------ ##
1604 # ac_fn_c_try_compile LINENO
1605 # --------------------------
1606 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1607 ac_fn_c_try_compile
()
1609 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1610 rm -f conftest.
$ac_objext
1611 if { { ac_try
="$ac_compile"
1613 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1614 *) ac_try_echo=$ac_try;;
1616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1617 $as_echo "$ac_try_echo"; } >&5
1618 (eval "$ac_compile") 2>conftest.err
1620 if test -s conftest.err; then
1621 grep -v '^ *+' conftest.err >conftest.er1
1622 cat conftest.er1 >&5
1623 mv -f conftest.er1 conftest.err
1625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1626 test $ac_status = 0; } && {
1627 test -z "$ac_c_werror_flag" ||
1628 test ! -s conftest.err
1629 } && test -s conftest.$ac_objext; then :
1632 $as_echo "$as_me: failed program was:" >&5
1633 sed 's/^/| /' conftest.$ac_ext >&5
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_compile
1642 # ac_fn_cxx_try_compile LINENO
1643 # ----------------------------
1644 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1645 ac_fn_cxx_try_compile ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 rm -f conftest.$ac_objext
1649 if { { ac_try="$ac_compile"
1651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1652 *) ac_try_echo
=$ac_try;;
1654 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1655 $as_echo "$ac_try_echo"; } >&5
1656 (eval "$ac_compile") 2>conftest.err
1658 if test -s conftest.err
; then
1659 grep -v '^ *+' conftest.err
>conftest.er1
1660 cat conftest.er1
>&5
1661 mv -f conftest.er1 conftest.err
1663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1664 test $ac_status = 0; } && {
1665 test -z "$ac_cxx_werror_flag" ||
1666 test ! -s conftest.err
1667 } && test -s conftest.
$ac_objext; then :
1670 $as_echo "$as_me: failed program was:" >&5
1671 sed 's/^/| /' conftest.
$ac_ext >&5
1675 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1676 as_fn_set_status
$ac_retval
1678 } # ac_fn_cxx_try_compile
1680 # ac_fn_c_try_link LINENO
1681 # -----------------------
1682 # Try to link conftest.$ac_ext, and return whether this succeeded.
1685 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1686 rm -f conftest.
$ac_objext conftest
$ac_exeext
1687 if { { ac_try
="$ac_link"
1689 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1690 *) ac_try_echo=$ac_try;;
1692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1693 $as_echo "$ac_try_echo"; } >&5
1694 (eval "$ac_link") 2>conftest.err
1696 if test -s conftest.err; then
1697 grep -v '^ *+' conftest.err >conftest.er1
1698 cat conftest.er1 >&5
1699 mv -f conftest.er1 conftest.err
1701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1702 test $ac_status = 0; } && {
1703 test -z "$ac_c_werror_flag" ||
1704 test ! -s conftest.err
1705 } && test -s conftest$ac_exeext && {
1706 test "$cross_compiling" = yes ||
1707 $as_test_x conftest$ac_exeext
1711 $as_echo "$as_me: failed program was:" >&5
1712 sed 's/^/| /' conftest.$ac_ext >&5
1716 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1717 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1718 # interfere with the next link command; also delete a directory that is
1719 # left behind by Apple's compiler. We do this before executing the actions.
1720 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1721 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1722 as_fn_set_status $ac_retval
1724 } # ac_fn_c_try_link
1726 # ac_fn_c_try_cpp LINENO
1727 # ----------------------
1728 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1732 if { { ac_try="$ac_cpp conftest.$ac_ext"
1734 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1735 *) ac_try_echo
=$ac_try;;
1737 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1738 $as_echo "$ac_try_echo"; } >&5
1739 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1741 if test -s conftest.err
; then
1742 grep -v '^ *+' conftest.err
>conftest.er1
1743 cat conftest.er1
>&5
1744 mv -f conftest.er1 conftest.err
1746 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1747 test $ac_status = 0; } >/dev
/null
&& {
1748 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1749 test ! -s conftest.err
1753 $as_echo "$as_me: failed program was:" >&5
1754 sed 's/^/| /' conftest.
$ac_ext >&5
1758 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1759 as_fn_set_status
$ac_retval
1763 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1764 # -------------------------------------------------------
1765 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1766 # the include files in INCLUDES and setting the cache variable VAR
1768 ac_fn_c_check_header_mongrel
()
1770 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1771 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1773 $as_echo_n "checking for $2... " >&6; }
1774 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1775 $as_echo_n "(cached) " >&6
1778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1779 $as_echo "$ac_res" >&6; }
1781 # Is the header compilable?
1782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1783 $as_echo_n "checking $2 usability... " >&6; }
1784 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1785 /* end confdefs.h. */
1789 if ac_fn_c_try_compile
"$LINENO"; then :
1790 ac_header_compiler
=yes
1792 ac_header_compiler
=no
1794 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1796 $as_echo "$ac_header_compiler" >&6; }
1798 # Is the header present?
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1800 $as_echo_n "checking $2 presence... " >&6; }
1801 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1805 if ac_fn_c_try_cpp
"$LINENO"; then :
1806 ac_header_preproc
=yes
1808 ac_header_preproc
=no
1810 rm -f conftest.err conftest.
$ac_ext
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1812 $as_echo "$ac_header_preproc" >&6; }
1814 # So? What about this header?
1815 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1818 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1819 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1820 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1824 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1826 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1828 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1830 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1832 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1834 ## ------------------------------------ ##
1835 ## Report this to wine-devel@winehq.org ##
1836 ## ------------------------------------ ##
1838 ) |
sed "s/^/$as_me: WARNING: /" >&2
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1846 eval "$3=\$ac_header_compiler"
1849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1850 $as_echo "$ac_res" >&6; }
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1854 } # ac_fn_c_check_header_mongrel
1856 # ac_fn_c_try_run LINENO
1857 # ----------------------
1858 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1859 # that executables *can* be run.
1862 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1863 if { { ac_try
="$ac_link"
1865 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1866 *) ac_try_echo=$ac_try;;
1868 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1869 $as_echo "$ac_try_echo"; } >&5
1870 (eval "$ac_link") 2>&5
1872 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1873 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1874 { { case "(($ac_try" in
1875 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1876 *) ac_try_echo
=$ac_try;;
1878 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1879 $as_echo "$ac_try_echo"; } >&5
1880 (eval "$ac_try") 2>&5
1882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1883 test $ac_status = 0; }; }; then :
1886 $as_echo "$as_me: program exited with status $ac_status" >&5
1887 $as_echo "$as_me: failed program was:" >&5
1888 sed 's/^/| /' conftest.
$ac_ext >&5
1890 ac_retval
=$ac_status
1892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1893 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1894 as_fn_set_status
$ac_retval
1898 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1899 # -------------------------------------------------------
1900 # Tests whether HEADER exists and can be compiled using the include files in
1901 # INCLUDES, setting the cache variable VAR accordingly.
1902 ac_fn_c_check_header_compile
()
1904 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1906 $as_echo_n "checking for $2... " >&6; }
1907 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1908 $as_echo_n "(cached) " >&6
1910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1911 /* end confdefs.h. */
1915 if ac_fn_c_try_compile
"$LINENO"; then :
1920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1924 $as_echo "$ac_res" >&6; }
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1927 } # ac_fn_c_check_header_compile
1929 # ac_fn_c_check_func LINENO FUNC VAR
1930 # ----------------------------------
1931 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1932 ac_fn_c_check_func
()
1934 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1936 $as_echo_n "checking for $2... " >&6; }
1937 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1938 $as_echo_n "(cached) " >&6
1940 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1941 /* end confdefs.h. */
1942 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1944 #define $2 innocuous_$2
1946 /* System header to define __stub macros and hopefully few prototypes,
1947 which can conflict with char $2 (); below.
1948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1949 <limits.h> exists even on freestanding compilers. */
1952 # include <limits.h>
1954 # include <assert.h>
1959 /* Override any GCC internal prototype to avoid an error.
1960 Use char because int might match the return type of a GCC
1961 builtin and then its argument prototype would still apply. */
1966 /* The GNU C library defines this for functions which it implements
1967 to always fail with ENOSYS. Some functions are actually named
1968 something starting with __ and the normal name is an alias. */
1969 #if defined __stub_$2 || defined __stub___$2
1981 if ac_fn_c_try_link
"$LINENO"; then :
1986 rm -f core conftest.err conftest.
$ac_objext \
1987 conftest
$ac_exeext conftest.
$ac_ext
1990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1991 $as_echo "$ac_res" >&6; }
1992 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1994 } # ac_fn_c_check_func
1996 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
1997 # ----------------------------------------------------
1998 # Tries to find if the field MEMBER exists in type AGGR, after including
1999 # INCLUDES, setting cache variable VAR accordingly.
2000 ac_fn_c_check_member
()
2002 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2004 $as_echo_n "checking for $2.$3... " >&6; }
2005 if { as_var
=$4; eval "test \"\${$as_var+set}\" = set"; }; then :
2006 $as_echo_n "(cached) " >&6
2008 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2021 if ac_fn_c_try_compile
"$LINENO"; then :
2024 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2031 if (sizeof ac_aggr.$3)
2037 if ac_fn_c_try_compile
"$LINENO"; then :
2042 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2044 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2048 $as_echo "$ac_res" >&6; }
2049 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2051 } # ac_fn_c_check_member
2053 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2054 # -------------------------------------------
2055 # Tests whether TYPE exists after having included INCLUDES, setting cache
2056 # variable VAR accordingly.
2057 ac_fn_c_check_type
()
2059 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2061 $as_echo_n "checking for $2... " >&6; }
2062 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2063 $as_echo_n "(cached) " >&6
2066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2067 /* end confdefs.h. */
2078 if ac_fn_c_try_compile
"$LINENO"; then :
2079 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2080 /* end confdefs.h. */
2091 if ac_fn_c_try_compile
"$LINENO"; then :
2096 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2098 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2102 $as_echo "$ac_res" >&6; }
2103 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
2105 } # ac_fn_c_check_type
2106 cat >config.log
<<_ACEOF
2107 This file contains any messages produced by compilers while
2108 running configure, to aid debugging if configure makes a mistake.
2110 It was created by Wine $as_me 1.1.41, which was
2111 generated by GNU Autoconf 2.65. Invocation command line was
2123 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2124 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2125 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2126 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2127 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2129 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2130 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2132 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2133 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2134 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2135 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2136 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2137 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2138 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2142 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir
=.
2147 $as_echo "PATH: $as_dir"
2163 # Keep a trace of the command line.
2164 # Strip out --no-create and --no-recursion so they do not pile up.
2165 # Strip out --silent because we don't want to record it for future runs.
2166 # Also quote any args containing shell meta-characters.
2167 # Make two passes to allow for proper duplicate-argument suppression.
2171 ac_must_keep_next
=false
2177 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2178 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2179 |
-silent |
--silent |
--silen |
--sile |
--sil)
2182 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2185 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2187 as_fn_append ac_configure_args1
" '$ac_arg'"
2188 if test $ac_must_keep_next = true
; then
2189 ac_must_keep_next
=false
# Got value, back to normal.
2192 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2193 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2194 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2195 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2196 case "$ac_configure_args0 " in
2197 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2200 -* ) ac_must_keep_next
=true
;;
2203 as_fn_append ac_configure_args
" '$ac_arg'"
2208 { ac_configure_args0
=; unset ac_configure_args0
;}
2209 { ac_configure_args1
=; unset ac_configure_args1
;}
2211 # When interrupted or exit'd, cleanup temporary files, and complete
2212 # config.log. We remove comments because anyway the quotes in there
2213 # would cause problems or look ugly.
2214 # WARNING: Use '\'' to represent an apostrophe within the trap.
2215 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2216 trap 'exit_status=$?
2217 # Save into config.log some information that might help in debugging.
2222 ## ---------------- ##
2223 ## Cache variables. ##
2224 ## ---------------- ##
2227 # The following way of writing the cache mishandles newlines in values,
2229 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2230 eval ac_val=\$$ac_var
2234 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2235 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2238 _ | IFS | as_nl) ;; #(
2239 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2240 *) { eval $ac_var=; unset $ac_var;} ;;
2245 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2246 *${as_nl}ac_space=\ *)
2248 "s/'\''/'\''\\\\'\'''\''/g;
2249 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2252 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2260 ## ----------------- ##
2261 ## Output variables. ##
2262 ## ----------------- ##
2265 for ac_var in $ac_subst_vars
2267 eval ac_val=\$$ac_var
2269 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2271 $as_echo "$ac_var='\''$ac_val'\''"
2275 if test -n "$ac_subst_files"; then
2277 ## ------------------- ##
2278 ## File substitutions. ##
2279 ## ------------------- ##
2282 for ac_var
in $ac_subst_files
2284 eval ac_val
=\$
$ac_var
2286 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2288 $as_echo "$ac_var='\''$ac_val'\''"
2293 if test -s confdefs.h; then
2303 test "$ac_signal" != 0 &&
2304 $as_echo "$as_me: caught signal $ac_signal"
2305 $as_echo "$as_me: exit $exit_status"
2307 rm -f core *.core core.conftest.* &&
2308 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2311 for ac_signal
in 1 2 13 15; do
2312 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2316 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2317 rm -f -r conftest
* confdefs.h
2319 $as_echo "/* confdefs.h */" > confdefs.h
2321 # Predefined preprocessor variables.
2323 cat >>confdefs.h
<<_ACEOF
2324 #define PACKAGE_NAME "$PACKAGE_NAME"
2327 cat >>confdefs.h
<<_ACEOF
2328 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2331 cat >>confdefs.h
<<_ACEOF
2332 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2335 cat >>confdefs.h
<<_ACEOF
2336 #define PACKAGE_STRING "$PACKAGE_STRING"
2339 cat >>confdefs.h
<<_ACEOF
2340 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2343 cat >>confdefs.h
<<_ACEOF
2344 #define PACKAGE_URL "$PACKAGE_URL"
2348 # Let the site file select an alternate cache file if it wants to.
2349 # Prefer an explicitly selected file to automatically selected ones.
2352 if test -n "$CONFIG_SITE"; then
2353 ac_site_file1
=$CONFIG_SITE
2354 elif test "x$prefix" != xNONE
; then
2355 ac_site_file1
=$prefix/share
/config.site
2356 ac_site_file2
=$prefix/etc
/config.site
2358 ac_site_file1
=$ac_default_prefix/share
/config.site
2359 ac_site_file2
=$ac_default_prefix/etc
/config.site
2361 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2363 test "x$ac_site_file" = xNONE
&& continue
2364 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2366 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2367 sed 's/^/| /' "$ac_site_file" >&5
2372 if test -r "$cache_file"; then
2373 # Some versions of bash will fail to source /dev/null (special files
2374 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2375 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2376 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2377 $as_echo "$as_me: loading cache $cache_file" >&6;}
2379 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2380 *) .
"./$cache_file";;
2384 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2385 $as_echo "$as_me: creating cache $cache_file" >&6;}
2389 # Check that the precious variables saved in the cache have kept the same
2391 ac_cache_corrupted
=false
2392 for ac_var
in $ac_precious_vars; do
2393 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2394 eval ac_new_set
=\
$ac_env_${ac_var}_set
2395 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2396 eval ac_new_val
=\
$ac_env_${ac_var}_value
2397 case $ac_old_set,$ac_new_set in
2399 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2400 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2401 ac_cache_corrupted
=: ;;
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2404 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2405 ac_cache_corrupted
=: ;;
2408 if test "x$ac_old_val" != "x$ac_new_val"; then
2409 # differences in whitespace do not lead to failure.
2410 ac_old_val_w
=`echo x $ac_old_val`
2411 ac_new_val_w
=`echo x $ac_new_val`
2412 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2414 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2415 ac_cache_corrupted
=:
2417 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2418 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2419 eval $ac_var=\
$ac_old_val
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2422 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2423 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2424 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2427 # Pass precious variables to config.status.
2428 if test "$ac_new_set" = set; then
2430 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2431 *) ac_arg
=$ac_var=$ac_new_val ;;
2433 case " $ac_configure_args " in
2434 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2435 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2439 if $ac_cache_corrupted; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2441 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2443 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2444 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2446 ## -------------------- ##
2447 ## Main body of script. ##
2448 ## -------------------- ##
2451 ac_cpp
='$CPP $CPPFLAGS'
2452 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2453 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2454 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2458 ac_config_headers
="$ac_config_headers include/config.h"
2461 for ac_dir
in tools
"$srcdir"/tools
; do
2462 for ac_t
in install-sh
install.sh shtool
; do
2463 if test -f "$ac_dir/$ac_t"; then
2465 ac_install_sh
="$ac_aux_dir/$ac_t -c"
2470 if test -z "$ac_aux_dir"; then
2471 as_fn_error
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2474 # These three variables are undocumented and unsupported,
2475 # and are intended to be withdrawn in a future Autoconf release.
2476 # They can cause serious problems if a builder's source tree is in a directory
2477 # whose full name contains unusual characters.
2478 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2479 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2480 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2486 # Check whether --enable-win16 was given.
2487 if test "${enable_win16+set}" = set; then :
2488 enableval
=$enable_win16;
2491 # Check whether --enable-win64 was given.
2492 if test "${enable_win64+set}" = set; then :
2493 enableval
=$enable_win64;
2496 # Check whether --enable-tests was given.
2497 if test "${enable_tests+set}" = set; then :
2498 enableval
=$enable_tests;
2501 # Check whether --enable-maintainer-mode was given.
2502 if test "${enable_maintainer_mode+set}" = set; then :
2503 enableval
=$enable_maintainer_mode;
2511 # Check whether --with-alsa was given.
2512 if test "${with_alsa+set}" = set; then :
2513 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2517 # Check whether --with-audioio was given.
2518 if test "${with_audioio+set}" = set; then :
2519 withval
=$with_audioio; if test "x$withval" = "xno"; then ac_cv_header_libaudioio_h
=no
; fi
2523 # Check whether --with-capi was given.
2524 if test "${with_capi+set}" = set; then :
2525 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2529 # Check whether --with-cms was given.
2530 if test "${with_cms+set}" = set; then :
2531 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2535 # Check whether --with-coreaudio was given.
2536 if test "${with_coreaudio+set}" = set; then :
2537 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2541 # Check whether --with-cups was given.
2542 if test "${with_cups+set}" = set; then :
2547 # Check whether --with-curses was given.
2548 if test "${with_curses+set}" = set; then :
2549 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2553 # Check whether --with-esd was given.
2554 if test "${with_esd+set}" = set; then :
2559 # Check whether --with-fontconfig was given.
2560 if test "${with_fontconfig+set}" = set; then :
2561 withval
=$with_fontconfig; if test "x$withval" = "xno"; then ac_cv_header_fontconfig_fontconfig_h
=no
; fi
2565 # Check whether --with-freetype was given.
2566 if test "${with_freetype+set}" = set; then :
2567 withval
=$with_freetype;
2571 # Check whether --with-gphoto was given.
2572 if test "${with_gphoto+set}" = set; then :
2573 withval
=$with_gphoto;
2577 # Check whether --with-glu was given.
2578 if test "${with_glu+set}" = set; then :
2579 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2583 # Check whether --with-gnutls was given.
2584 if test "${with_gnutls+set}" = set; then :
2585 withval
=$with_gnutls;
2589 # Check whether --with-gsm was given.
2590 if test "${with_gsm+set}" = set; then :
2591 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2595 # Check whether --with-hal was given.
2596 if test "${with_hal+set}" = set; then :
2601 # Check whether --with-jack was given.
2602 if test "${with_jack+set}" = set; then :
2603 withval
=$with_jack; if test "x$withval" = "xno"; then ac_cv_header_jack_jack_h
=no
; fi
2607 # Check whether --with-jpeg was given.
2608 if test "${with_jpeg+set}" = set; then :
2609 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2613 # Check whether --with-ldap was given.
2614 if test "${with_ldap+set}" = set; then :
2615 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2619 # Check whether --with-mpg123 was given.
2620 if test "${with_mpg123+set}" = set; then :
2621 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2625 # Check whether --with-nas was given.
2626 if test "${with_nas+set}" = set; then :
2627 withval
=$with_nas; if test "x$withval" = "xno"; then ac_cv_header_audio_audiolib_h
=no
; fi
2631 # Check whether --with-openal was given.
2632 if test "${with_openal+set}" = set; then :
2633 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2637 # Check whether --with-opengl was given.
2638 if test "${with_opengl+set}" = set; then :
2639 withval
=$with_opengl;
2643 # Check whether --with-openssl was given.
2644 if test "${with_openssl+set}" = set; then :
2645 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2649 # Check whether --with-oss was given.
2650 if test "${with_oss+set}" = set; then :
2651 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
2655 # Check whether --with-png was given.
2656 if test "${with_png+set}" = set; then :
2657 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2661 # Check whether --with-pthread was given.
2662 if test "${with_pthread+set}" = set; then :
2663 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2667 # Check whether --with-sane was given.
2668 if test "${with_sane+set}" = set; then :
2673 # Check whether --with-tiff was given.
2674 if test "${with_tiff+set}" = set; then :
2675 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2679 # Check whether --with-v4l was given.
2680 if test "${with_v4l+set}" = set; then :
2685 # Check whether --with-xcomposite was given.
2686 if test "${with_xcomposite+set}" = set; then :
2687 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2691 # Check whether --with-xcursor was given.
2692 if test "${with_xcursor+set}" = set; then :
2693 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2697 # Check whether --with-xinerama was given.
2698 if test "${with_xinerama+set}" = set; then :
2699 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2703 # Check whether --with-xinput was given.
2704 if test "${with_xinput+set}" = set; then :
2705 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2709 # Check whether --with-xml was given.
2710 if test "${with_xml+set}" = set; then :
2715 # Check whether --with-xrandr was given.
2716 if test "${with_xrandr+set}" = set; then :
2717 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2721 # Check whether --with-xrender was given.
2722 if test "${with_xrender+set}" = set; then :
2723 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2727 # Check whether --with-xshape was given.
2728 if test "${with_xshape+set}" = set; then :
2729 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2733 # Check whether --with-xshm was given.
2734 if test "${with_xshm+set}" = set; then :
2735 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2739 # Check whether --with-xslt was given.
2740 if test "${with_xslt+set}" = set; then :
2745 # Check whether --with-xxf86vm was given.
2746 if test "${with_xxf86vm+set}" = set; then :
2747 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
2752 # Check whether --with-wine-tools was given.
2753 if test "${with_wine_tools+set}" = set; then :
2754 withval
=$with_wine_tools;
2758 # Check whether --with-wine64 was given.
2759 if test "${with_wine64+set}" = set; then :
2760 withval
=$with_wine64;
2764 # Make sure we can run config.sub.
2765 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2766 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2769 $as_echo_n "checking build system type... " >&6; }
2770 if test "${ac_cv_build+set}" = set; then :
2771 $as_echo_n "(cached) " >&6
2773 ac_build_alias
=$build_alias
2774 test "x$ac_build_alias" = x
&&
2775 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2776 test "x$ac_build_alias" = x
&&
2777 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
2778 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2779 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2783 $as_echo "$ac_cv_build" >&6; }
2784 case $ac_cv_build in
2786 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
2789 ac_save_IFS
=$IFS; IFS
='-'
2795 # Remember, the first character of IFS is used to create $*,
2796 # except with old shells:
2799 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2803 $as_echo_n "checking host system type... " >&6; }
2804 if test "${ac_cv_host+set}" = set; then :
2805 $as_echo_n "(cached) " >&6
2807 if test "x$host_alias" = x
; then
2808 ac_cv_host
=$ac_cv_build
2810 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2811 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2816 $as_echo "$ac_cv_host" >&6; }
2819 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
2822 ac_save_IFS
=$IFS; IFS
='-'
2828 # Remember, the first character of IFS is used to create $*,
2829 # except with old shells:
2832 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2838 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2839 as_fn_error
"you are building out of the source tree, but the source tree contains object files.
2840 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2846 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2848 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2849 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2850 $as_echo_n "(cached) " >&6
2852 cat >conftest.
make <<\_ACEOF
2855 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2857 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2858 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2860 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2862 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2866 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2868 $as_echo "yes" >&6; }
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2872 $as_echo "no" >&6; }
2873 SET_MAKE
="MAKE=${MAKE-make}"
2877 ac_cpp
='$CPP $CPPFLAGS'
2878 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2879 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2880 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2881 if test -n "$ac_tool_prefix"; then
2882 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2883 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2885 $as_echo_n "checking for $ac_word... " >&6; }
2886 if test "${ac_cv_prog_CC+set}" = set; then :
2887 $as_echo_n "(cached) " >&6
2889 if test -n "$CC"; then
2890 ac_cv_prog_CC
="$CC" # Let the user override the test.
2892 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2896 test -z "$as_dir" && as_dir
=.
2897 for ac_exec_ext
in '' $ac_executable_extensions; do
2898 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2899 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2900 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2910 if test -n "$CC"; then
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2912 $as_echo "$CC" >&6; }
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2915 $as_echo "no" >&6; }
2920 if test -z "$ac_cv_prog_CC"; then
2922 # Extract the first word of "gcc", so it can be a program name with args.
2923 set dummy gcc
; ac_word
=$2
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2925 $as_echo_n "checking for $ac_word... " >&6; }
2926 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2927 $as_echo_n "(cached) " >&6
2929 if test -n "$ac_ct_CC"; then
2930 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2932 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2936 test -z "$as_dir" && as_dir
=.
2937 for ac_exec_ext
in '' $ac_executable_extensions; do
2938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2939 ac_cv_prog_ac_ct_CC
="gcc"
2940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2949 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2950 if test -n "$ac_ct_CC"; then
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2952 $as_echo "$ac_ct_CC" >&6; }
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2955 $as_echo "no" >&6; }
2958 if test "x$ac_ct_CC" = x
; then
2961 case $cross_compiling:$ac_tool_warned in
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2964 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2965 ac_tool_warned
=yes ;;
2973 if test -z "$CC"; then
2974 if test -n "$ac_tool_prefix"; then
2975 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2976 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2978 $as_echo_n "checking for $ac_word... " >&6; }
2979 if test "${ac_cv_prog_CC+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2982 if test -n "$CC"; then
2983 ac_cv_prog_CC
="$CC" # Let the user override the test.
2985 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2989 test -z "$as_dir" && as_dir
=.
2990 for ac_exec_ext
in '' $ac_executable_extensions; do
2991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2992 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3003 if test -n "$CC"; then
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3005 $as_echo "$CC" >&6; }
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3008 $as_echo "no" >&6; }
3014 if test -z "$CC"; then
3015 # Extract the first word of "cc", so it can be a program name with args.
3016 set dummy cc
; ac_word
=$2
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3018 $as_echo_n "checking for $ac_word... " >&6; }
3019 if test "${ac_cv_prog_CC+set}" = set; then :
3020 $as_echo_n "(cached) " >&6
3022 if test -n "$CC"; then
3023 ac_cv_prog_CC
="$CC" # Let the user override the test.
3026 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3030 test -z "$as_dir" && as_dir
=.
3031 for ac_exec_ext
in '' $ac_executable_extensions; do
3032 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3033 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3034 ac_prog_rejected
=yes
3038 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 if test $ac_prog_rejected = yes; then
3046 # We found a bogon in the path, so make sure we never use it.
3047 set dummy
$ac_cv_prog_CC
3049 if test $# != 0; then
3050 # We chose a different compiler from the bogus one.
3051 # However, it has the same basename, so the bogon will be chosen
3052 # first if we set CC to just the basename; use the full file name.
3054 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3060 if test -n "$CC"; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3062 $as_echo "$CC" >&6; }
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3065 $as_echo "no" >&6; }
3070 if test -z "$CC"; then
3071 if test -n "$ac_tool_prefix"; then
3072 for ac_prog
in cl.exe
3074 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3075 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3077 $as_echo_n "checking for $ac_word... " >&6; }
3078 if test "${ac_cv_prog_CC+set}" = set; then :
3079 $as_echo_n "(cached) " >&6
3081 if test -n "$CC"; then
3082 ac_cv_prog_CC
="$CC" # Let the user override the test.
3084 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3088 test -z "$as_dir" && as_dir
=.
3089 for ac_exec_ext
in '' $ac_executable_extensions; do
3090 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3091 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3092 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3102 if test -n "$CC"; then
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3104 $as_echo "$CC" >&6; }
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3107 $as_echo "no" >&6; }
3111 test -n "$CC" && break
3114 if test -z "$CC"; then
3116 for ac_prog
in cl.exe
3118 # Extract the first word of "$ac_prog", so it can be a program name with args.
3119 set dummy
$ac_prog; ac_word
=$2
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3121 $as_echo_n "checking for $ac_word... " >&6; }
3122 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3123 $as_echo_n "(cached) " >&6
3125 if test -n "$ac_ct_CC"; then
3126 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3128 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3132 test -z "$as_dir" && as_dir
=.
3133 for ac_exec_ext
in '' $ac_executable_extensions; do
3134 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3135 ac_cv_prog_ac_ct_CC
="$ac_prog"
3136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3145 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3146 if test -n "$ac_ct_CC"; then
3147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3148 $as_echo "$ac_ct_CC" >&6; }
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3151 $as_echo "no" >&6; }
3155 test -n "$ac_ct_CC" && break
3158 if test "x$ac_ct_CC" = x
; then
3161 case $cross_compiling:$ac_tool_warned in
3163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3164 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3165 ac_tool_warned
=yes ;;
3174 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3175 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3176 as_fn_error
"no acceptable C compiler found in \$PATH
3177 See \`config.log' for more details." "$LINENO" 5; }
3179 # Provide some information about the compiler.
3180 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3183 for ac_option
in --version -v -V -qversion; do
3184 { { ac_try
="$ac_compiler $ac_option >&5"
3186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3187 *) ac_try_echo=$ac_try;;
3189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3190 $as_echo "$ac_try_echo"; } >&5
3191 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3193 if test -s conftest.err; then
3195 ... rest of stderr output deleted ...
3196 10q' conftest.err >conftest.er1
3197 cat conftest.er1 >&5
3199 rm -f conftest.er1 conftest.err
3200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3201 test $ac_status = 0; }
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3215 ac_clean_files_save=$ac_clean_files
3216 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3217 # Try to create an executable without -o first, disregard a.out.
3218 # It will help us diagnose broken compilers, and finding out an intuition
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3221 $as_echo_n "checking whether the C compiler works... " >&6; }
3222 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3224 # The possible output files:
3225 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3228 for ac_file in $ac_files
3231 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3232 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3237 if { { ac_try="$ac_link_default"
3239 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3240 *) ac_try_echo
=$ac_try;;
3242 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3243 $as_echo "$ac_try_echo"; } >&5
3244 (eval "$ac_link_default") 2>&5
3246 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3247 test $ac_status = 0; }; then :
3248 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3249 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3250 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3251 # so that the user can short-circuit this test for compilers unknown to
3253 for ac_file
in $ac_files ''
3255 test -f "$ac_file" ||
continue
3257 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3260 # We found the default executable, but exeext='' is most
3264 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3266 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3268 # We set ac_cv_exeext here because the later test for it is not
3269 # safe: cross compilers may not add the suffix if given an `-o'
3270 # argument, so we may need to know it at that point already.
3271 # Even if this section looks crufty: it has the advantage of
3278 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3283 if test -z "$ac_file"; then :
3284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3285 $as_echo "no" >&6; }
3286 $as_echo "$as_me: failed program was:" >&5
3287 sed 's/^/| /' conftest.
$ac_ext >&5
3289 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3290 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3291 { as_fn_set_status
77
3292 as_fn_error
"C compiler cannot create executables
3293 See \`config.log' for more details." "$LINENO" 5; }; }
3295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3296 $as_echo "yes" >&6; }
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3299 $as_echo_n "checking for C compiler default output file name... " >&6; }
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3301 $as_echo "$ac_file" >&6; }
3302 ac_exeext
=$ac_cv_exeext
3304 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3305 ac_clean_files
=$ac_clean_files_save
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3307 $as_echo_n "checking for suffix of executables... " >&6; }
3308 if { { ac_try
="$ac_link"
3310 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3311 *) ac_try_echo=$ac_try;;
3313 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3314 $as_echo "$ac_try_echo"; } >&5
3315 (eval "$ac_link") 2>&5
3317 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3318 test $ac_status = 0; }; then :
3319 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3320 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3321 # work properly (i.e., refer to `conftest.exe'), while it won't with
3323 for ac_file
in conftest.exe conftest conftest.
*; do
3324 test -f "$ac_file" ||
continue
3326 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3327 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3335 as_fn_error
"cannot compute suffix of executables: cannot compile and link
3336 See \`config.log' for more details." "$LINENO" 5; }
3338 rm -f conftest conftest
$ac_cv_exeext
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3340 $as_echo "$ac_cv_exeext" >&6; }
3342 rm -f conftest.
$ac_ext
3343 EXEEXT
=$ac_cv_exeext
3345 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3351 FILE *f = fopen ("conftest.out", "w");
3352 return ferror (f) || fclose (f) != 0;
3358 ac_clean_files
="$ac_clean_files conftest.out"
3359 # Check that the compiler produces executables we can run. If not, either
3360 # the compiler is broken, or we cross compile.
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3362 $as_echo_n "checking whether we are cross compiling... " >&6; }
3363 if test "$cross_compiling" != yes; then
3364 { { ac_try
="$ac_link"
3366 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3367 *) ac_try_echo=$ac_try;;
3369 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3370 $as_echo "$ac_try_echo"; } >&5
3371 (eval "$ac_link") 2>&5
3373 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3374 test $ac_status = 0; }
3375 if { ac_try='./conftest$ac_cv_exeext'
3376 { { case "(($ac_try" in
3377 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3378 *) ac_try_echo
=$ac_try;;
3380 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3381 $as_echo "$ac_try_echo"; } >&5
3382 (eval "$ac_try") 2>&5
3384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3385 test $ac_status = 0; }; }; then
3388 if test "$cross_compiling" = maybe
; then
3391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3393 as_fn_error
"cannot run C compiled programs.
3394 If you meant to cross compile, use \`--host'.
3395 See \`config.log' for more details." "$LINENO" 5; }
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3400 $as_echo "$cross_compiling" >&6; }
3402 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3403 ac_clean_files
=$ac_clean_files_save
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3405 $as_echo_n "checking for suffix of object files... " >&6; }
3406 if test "${ac_cv_objext+set}" = set; then :
3407 $as_echo_n "(cached) " >&6
3409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3420 rm -f conftest.o conftest.obj
3421 if { { ac_try
="$ac_compile"
3423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_compile") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }; then :
3432 for ac_file in conftest.o conftest.obj conftest.*; do
3433 test -f "$ac_file" || continue;
3435 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3436 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3441 $as_echo "$as_me: failed program was:" >&5
3442 sed 's/^/| /' conftest.$ac_ext >&5
3444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3446 as_fn_error "cannot compute suffix of object files
: cannot compile
3447 See \
`config.log' for more details." "$LINENO" 5; }
3449 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3452 $as_echo "$ac_cv_objext" >&6; }
3453 OBJEXT=$ac_cv_objext
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3456 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3457 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
3458 $as_echo_n "(cached) " >&6
3460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3461 /* end confdefs.h. */
3474 if ac_fn_c_try_compile "$LINENO"; then :
3479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3480 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3484 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3485 if test $ac_compiler_gnu = yes; then
3490 ac_test_CFLAGS=${CFLAGS+set}
3491 ac_save_CFLAGS=$CFLAGS
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3493 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3494 if test "${ac_cv_prog_cc_g+set}" = set; then :
3495 $as_echo_n "(cached) " >&6
3497 ac_save_c_werror_flag=$ac_c_werror_flag
3498 ac_c_werror_flag=yes
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3512 if ac_fn_c_try_compile "$LINENO"; then :
3516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3517 /* end confdefs.h. */
3527 if ac_fn_c_try_compile "$LINENO"; then :
3530 ac_c_werror_flag=$ac_save_c_werror_flag
3532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3533 /* end confdefs.h. */
3543 if ac_fn_c_try_compile "$LINENO"; then :
3546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3551 ac_c_werror_flag=$ac_save_c_werror_flag
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3554 $as_echo "$ac_cv_prog_cc_g" >&6; }
3555 if test "$ac_test_CFLAGS" = set; then
3556 CFLAGS=$ac_save_CFLAGS
3557 elif test $ac_cv_prog_cc_g = yes; then
3558 if test "$GCC" = yes; then
3564 if test "$GCC" = yes; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3571 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3572 if test "${ac_cv_prog_cc_c89+set}" = set; then :
3573 $as_echo_n "(cached) " >&6
3575 ac_cv_prog_cc_c89=no
3577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3578 /* end confdefs.h. */
3581 #include <sys/types.h>
3582 #include <sys/stat.h>
3583 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3584 struct buf { int x; };
3585 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3586 static char *e (p, i)
3592 static char *f (char * (*g) (char **, int), char **p, ...)
3597 s = g (p, va_arg (v,int));
3602 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3603 function prototypes and stuff, but not '\xHH' hex character constants.
3604 These don't provoke an error unfortunately, instead are silently treated
3605 as 'x'. The following induces an error, until -std is added to get
3606 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3607 array size at least. It's necessary to write '\x00'==0 to get something
3608 that's true only with -std. */
3609 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3611 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3612 inside strings and character constants. */
3614 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3616 int test (int i, double x);
3617 struct s1 {int (*f) (int a);};
3618 struct s2 {int (*f) (double a);};
3619 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3625 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3630 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3631 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3633 CC="$ac_save_CC $ac_arg"
3634 if ac_fn_c_try_compile "$LINENO"; then :
3635 ac_cv_prog_cc_c89=$ac_arg
3637 rm -f core conftest.err conftest.$ac_objext
3638 test "x$ac_cv_prog_cc_c89" != "xno" && break
3640 rm -f conftest.$ac_ext
3645 case "x$ac_cv_prog_cc_c89" in
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3648 $as_echo "none needed" >&6; } ;;
3650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3651 $as_echo "unsupported" >&6; } ;;
3653 CC="$CC $ac_cv_prog_cc_c89"
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3655 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3657 if test "x$ac_cv_prog_cc_c89" != xno; then :
3662 ac_cpp='$CPP $CPPFLAGS'
3663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3668 ac_cpp='$CXXCPP $CPPFLAGS'
3669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3672 if test -z "$CXX"; then
3673 if test -n "$CCC"; then
3676 if test -n "$ac_tool_prefix"; then
3677 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3679 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3680 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3682 $as_echo_n "checking for $ac_word... " >&6; }
3683 if test "${ac_cv_prog_CXX+set}" = set; then :
3684 $as_echo_n "(cached) " >&6
3686 if test -n "$CXX"; then
3687 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3693 test -z "$as_dir" && as_dir=.
3694 for ac_exec_ext in '' $ac_executable_extensions; do
3695 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3696 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 if test -n "$CXX"; then
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3709 $as_echo "$CXX" >&6; }
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3712 $as_echo "no" >&6; }
3716 test -n "$CXX" && break
3719 if test -z "$CXX"; then
3721 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3723 # Extract the first word of "$ac_prog", so it can be a program name with args.
3724 set dummy $ac_prog; ac_word=$2
3725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3726 $as_echo_n "checking for $ac_word... " >&6; }
3727 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
3728 $as_echo_n "(cached) " >&6
3730 if test -n "$ac_ct_CXX"; then
3731 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3737 test -z "$as_dir" && as_dir=.
3738 for ac_exec_ext in '' $ac_executable_extensions; do
3739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3740 ac_cv_prog_ac_ct_CXX="$ac_prog"
3741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3750 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3751 if test -n "$ac_ct_CXX"; then
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3753 $as_echo "$ac_ct_CXX" >&6; }
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3756 $as_echo "no" >&6; }
3760 test -n "$ac_ct_CXX" && break
3763 if test "x$ac_ct_CXX" = x; then
3766 case $cross_compiling:$ac_tool_warned in
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3770 ac_tool_warned=yes ;;
3778 # Provide some information about the compiler.
3779 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3782 for ac_option in --version -v -V -qversion; do
3783 { { ac_try="$ac_compiler $ac_option >&5"
3785 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3786 *) ac_try_echo
=$ac_try;;
3788 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3789 $as_echo "$ac_try_echo"; } >&5
3790 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3792 if test -s conftest.err
; then
3794 ... rest of stderr output deleted ...
3795 10q' conftest.err
>conftest.er1
3796 cat conftest.er1
>&5
3798 rm -f conftest.er1 conftest.err
3799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3800 test $ac_status = 0; }
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3804 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3805 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
3806 $as_echo_n "(cached) " >&6
3808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3822 if ac_fn_cxx_try_compile
"$LINENO"; then :
3827 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3828 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3832 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3833 if test $ac_compiler_gnu = yes; then
3838 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3839 ac_save_CXXFLAGS
=$CXXFLAGS
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3841 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3842 if test "${ac_cv_prog_cxx_g+set}" = set; then :
3843 $as_echo_n "(cached) " >&6
3845 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3846 ac_cxx_werror_flag
=yes
3849 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3860 if ac_fn_cxx_try_compile
"$LINENO"; then :
3861 ac_cv_prog_cxx_g
=yes
3864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3875 if ac_fn_cxx_try_compile
"$LINENO"; then :
3878 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 if ac_fn_cxx_try_compile
"$LINENO"; then :
3892 ac_cv_prog_cxx_g
=yes
3894 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3896 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3898 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3899 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3902 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3903 if test "$ac_test_CXXFLAGS" = set; then
3904 CXXFLAGS
=$ac_save_CXXFLAGS
3905 elif test $ac_cv_prog_cxx_g = yes; then
3906 if test "$GXX" = yes; then
3912 if test "$GXX" = yes; then
3919 ac_cpp
='$CPP $CPPFLAGS'
3920 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3921 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3922 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3924 if test -n "$ac_tool_prefix"; then
3925 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3926 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928 $as_echo_n "checking for $ac_word... " >&6; }
3929 if test "${ac_cv_prog_CPPBIN+set}" = set; then :
3930 $as_echo_n "(cached) " >&6
3932 if test -n "$CPPBIN"; then
3933 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3935 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3939 test -z "$as_dir" && as_dir
=.
3940 for ac_exec_ext
in '' $ac_executable_extensions; do
3941 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3942 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3943 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3952 CPPBIN
=$ac_cv_prog_CPPBIN
3953 if test -n "$CPPBIN"; then
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
3955 $as_echo "$CPPBIN" >&6; }
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3958 $as_echo "no" >&6; }
3963 if test -z "$ac_cv_prog_CPPBIN"; then
3964 ac_ct_CPPBIN
=$CPPBIN
3965 # Extract the first word of "cpp", so it can be a program name with args.
3966 set dummy cpp
; ac_word
=$2
3967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3968 $as_echo_n "checking for $ac_word... " >&6; }
3969 if test "${ac_cv_prog_ac_ct_CPPBIN+set}" = set; then :
3970 $as_echo_n "(cached) " >&6
3972 if test -n "$ac_ct_CPPBIN"; then
3973 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
3975 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3979 test -z "$as_dir" && as_dir
=.
3980 for ac_exec_ext
in '' $ac_executable_extensions; do
3981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3982 ac_cv_prog_ac_ct_CPPBIN
="cpp"
3983 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3992 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
3993 if test -n "$ac_ct_CPPBIN"; then
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
3995 $as_echo "$ac_ct_CPPBIN" >&6; }
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3998 $as_echo "no" >&6; }
4001 if test "x$ac_ct_CPPBIN" = x
; then
4004 case $cross_compiling:$ac_tool_warned in
4006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4007 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4008 ac_tool_warned
=yes ;;
4010 CPPBIN
=$ac_ct_CPPBIN
4013 CPPBIN
="$ac_cv_prog_CPPBIN"
4017 cat >>confdefs.h
<<_ACEOF
4018 #define EXEEXT "$ac_exeext"
4024 if test "x$enable_win64" = "xyes"
4028 LD
="${LD:-ld} -arch x86_64"
4029 AS
="${AS:-as} -arch x86_64"
4031 notice_platform
="64-bit "
4037 LD
="${LD:-ld} -arch i386"
4038 AS
="${AS:-as} -arch i386"
4040 notice_platform
="32-bit "
4043 enable_win16
=${enable_win16:-yes}
4047 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4052 $as_echo_n "checking whether $CC works... " >&6; }
4054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4065 if ac_fn_c_try_link
"$LINENO"; then :
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4067 $as_echo "yes" >&6; }
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4071 as_fn_error
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4073 rm -f core conftest.err conftest.
$ac_objext \
4074 conftest
$ac_exeext conftest.
$ac_ext
4075 LD
="${LD:-ld} -m elf_i386"
4078 notice_platform
="32-bit "
4081 enable_win16
=${enable_win16:-yes}
4083 if test "x${GCC}" = "xyes"
4085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4086 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4087 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4088 /* end confdefs.h. */
4093 void func(__builtin_ms_va_list *args);
4098 if ac_fn_c_try_compile
"$LINENO"; then :
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4100 $as_echo "yes" >&6; }
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4104 as_fn_error
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4106 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4112 *-mingw32*|
*-cygwin*)
4113 enable_win16
=${enable_win16:-no}
4114 CFLAGS
="$CFLAGS -D_WIN32"
4117 enable_win16
=${enable_win16:-yes}
4121 enable_win16
=${enable_win16:-no}
4123 enable_winetest
=${enable_winetest:-$enable_tests}
4125 if test -n "$with_wine64"
4127 if test "x$enable_win64" = "xyes"
4129 as_fn_error
"--enable-win64 and --with-wine64 are mutually exclusive.
4130 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4134 enable_fonts
=${enable_fonts:-no}
4135 enable_include
=${enable_include:-no}
4136 enable_server
=${enable_server:-no}
4137 enable_tools
=${enable_tools:-no}
4138 enable_wineboot
=${enable_wineboot:-no}
4139 enable_winedbg
=${enable_winedbg:-no}
4140 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib32"
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4144 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4145 if test "${wine_cv_toolsdir+set}" = set; then :
4146 $as_echo_n "(cached) " >&6
4148 wine_cv_toolsdir
="$with_wine_tools"
4149 if test -z "$with_wine_tools"; then
4150 if test "$cross_compiling" = "yes"; then
4151 as_fn_error
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4152 elif test -n "$with_wine64"; then
4153 wine_cv_toolsdir
="$with_wine64"
4156 if test -z "$wine_cv_toolsdir"; then
4157 wine_cv_toolsdir
="\$(TOPOBJDIR)"
4158 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4159 case "$wine_cv_toolsdir" in
4161 *) wine_cv_toolsdir
="\$(TOPOBJDIR)/$wine_cv_toolsdir" ;;
4164 as_fn_error
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4168 $as_echo "$wine_cv_toolsdir" >&6; }
4169 TOOLSDIR
=$wine_cv_toolsdir
4171 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4173 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4179 # Extract the first word of "$ac_prog", so it can be a program name with args.
4180 set dummy
$ac_prog; ac_word
=$2
4181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182 $as_echo_n "checking for $ac_word... " >&6; }
4183 if test "${ac_cv_prog_FLEX+set}" = set; then :
4184 $as_echo_n "(cached) " >&6
4186 if test -n "$FLEX"; then
4187 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4189 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4193 test -z "$as_dir" && as_dir
=.
4194 for ac_exec_ext
in '' $ac_executable_extensions; do
4195 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4196 ac_cv_prog_FLEX
="$ac_prog"
4197 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4206 FLEX
=$ac_cv_prog_FLEX
4207 if test -n "$FLEX"; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4209 $as_echo "$FLEX" >&6; }
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212 $as_echo "no" >&6; }
4216 test -n "$FLEX" && break
4218 test -n "$FLEX" || FLEX
="none"
4220 if test "$FLEX" = "none"
4222 as_fn_error
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4225 $as_echo_n "checking whether flex is recent enough... " >&6; }
4226 cat >conftest.l
<<EOF
4228 #include "prediluvian.h"
4232 if $FLEX -t conftest.l
>/dev
/null
2>&1
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4235 $as_echo "yes" >&6; }
4237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4238 $as_echo "no" >&6; }
4239 as_fn_error
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4242 for ac_prog
in bison
4244 # Extract the first word of "$ac_prog", so it can be a program name with args.
4245 set dummy
$ac_prog; ac_word
=$2
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4247 $as_echo_n "checking for $ac_word... " >&6; }
4248 if test "${ac_cv_prog_BISON+set}" = set; then :
4249 $as_echo_n "(cached) " >&6
4251 if test -n "$BISON"; then
4252 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4254 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4258 test -z "$as_dir" && as_dir
=.
4259 for ac_exec_ext
in '' $ac_executable_extensions; do
4260 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4261 ac_cv_prog_BISON
="$ac_prog"
4262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4271 BISON
=$ac_cv_prog_BISON
4272 if test -n "$BISON"; then
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4274 $as_echo "$BISON" >&6; }
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4277 $as_echo "no" >&6; }
4281 test -n "$BISON" && break
4283 test -n "$BISON" || BISON
="none"
4285 if test "$BISON" = "none"
4287 as_fn_error
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4290 if test -n "$ac_tool_prefix"; then
4291 for ac_prog
in ar gar
4293 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4294 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4296 $as_echo_n "checking for $ac_word... " >&6; }
4297 if test "${ac_cv_prog_AR+set}" = set; then :
4298 $as_echo_n "(cached) " >&6
4300 if test -n "$AR"; then
4301 ac_cv_prog_AR
="$AR" # Let the user override the test.
4303 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4307 test -z "$as_dir" && as_dir
=.
4308 for ac_exec_ext
in '' $ac_executable_extensions; do
4309 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4310 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4311 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4321 if test -n "$AR"; then
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4323 $as_echo "$AR" >&6; }
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4326 $as_echo "no" >&6; }
4330 test -n "$AR" && break
4333 if test -z "$AR"; then
4335 for ac_prog
in ar gar
4337 # Extract the first word of "$ac_prog", so it can be a program name with args.
4338 set dummy
$ac_prog; ac_word
=$2
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4340 $as_echo_n "checking for $ac_word... " >&6; }
4341 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
4342 $as_echo_n "(cached) " >&6
4344 if test -n "$ac_ct_AR"; then
4345 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4351 test -z "$as_dir" && as_dir
=.
4352 for ac_exec_ext
in '' $ac_executable_extensions; do
4353 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4354 ac_cv_prog_ac_ct_AR
="$ac_prog"
4355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4364 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4365 if test -n "$ac_ct_AR"; then
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4367 $as_echo "$ac_ct_AR" >&6; }
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4370 $as_echo "no" >&6; }
4374 test -n "$ac_ct_AR" && break
4377 if test "x$ac_ct_AR" = x
; then
4380 case $cross_compiling:$ac_tool_warned in
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4383 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4384 ac_tool_warned
=yes ;;
4392 if test -n "$ac_tool_prefix"; then
4393 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4394 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4396 $as_echo_n "checking for $ac_word... " >&6; }
4397 if test "${ac_cv_prog_RANLIB+set}" = set; then :
4398 $as_echo_n "(cached) " >&6
4400 if test -n "$RANLIB"; then
4401 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4403 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4407 test -z "$as_dir" && as_dir
=.
4408 for ac_exec_ext
in '' $ac_executable_extensions; do
4409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4410 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4411 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4420 RANLIB
=$ac_cv_prog_RANLIB
4421 if test -n "$RANLIB"; then
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4423 $as_echo "$RANLIB" >&6; }
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4431 if test -z "$ac_cv_prog_RANLIB"; then
4432 ac_ct_RANLIB
=$RANLIB
4433 # Extract the first word of "ranlib", so it can be a program name with args.
4434 set dummy ranlib
; ac_word
=$2
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4436 $as_echo_n "checking for $ac_word... " >&6; }
4437 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
4438 $as_echo_n "(cached) " >&6
4440 if test -n "$ac_ct_RANLIB"; then
4441 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4443 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4447 test -z "$as_dir" && as_dir
=.
4448 for ac_exec_ext
in '' $ac_executable_extensions; do
4449 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4450 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4451 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4460 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4461 if test -n "$ac_ct_RANLIB"; then
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4463 $as_echo "$ac_ct_RANLIB" >&6; }
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4466 $as_echo "no" >&6; }
4469 if test "x$ac_ct_RANLIB" = x
; then
4472 case $cross_compiling:$ac_tool_warned in
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4475 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4476 ac_tool_warned
=yes ;;
4478 RANLIB
=$ac_ct_RANLIB
4481 RANLIB
="$ac_cv_prog_RANLIB"
4484 if test -n "$ac_tool_prefix"; then
4485 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
4486 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
4487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4488 $as_echo_n "checking for $ac_word... " >&6; }
4489 if test "${ac_cv_prog_STRIP+set}" = set; then :
4490 $as_echo_n "(cached) " >&6
4492 if test -n "$STRIP"; then
4493 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
4495 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4499 test -z "$as_dir" && as_dir
=.
4500 for ac_exec_ext
in '' $ac_executable_extensions; do
4501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4502 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
4503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4512 STRIP
=$ac_cv_prog_STRIP
4513 if test -n "$STRIP"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
4515 $as_echo "$STRIP" >&6; }
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4523 if test -z "$ac_cv_prog_STRIP"; then
4525 # Extract the first word of "strip", so it can be a program name with args.
4526 set dummy strip
; ac_word
=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
4530 $as_echo_n "(cached) " >&6
4532 if test -n "$ac_ct_STRIP"; then
4533 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
4535 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4539 test -z "$as_dir" && as_dir
=.
4540 for ac_exec_ext
in '' $ac_executable_extensions; do
4541 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4542 ac_cv_prog_ac_ct_STRIP
="strip"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4552 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
4553 if test -n "$ac_ct_STRIP"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
4555 $as_echo "$ac_ct_STRIP" >&6; }
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4561 if test "x$ac_ct_STRIP" = x
; then
4564 case $cross_compiling:$ac_tool_warned in
4566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4568 ac_tool_warned
=yes ;;
4573 STRIP
="$ac_cv_prog_STRIP"
4576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4577 $as_echo_n "checking whether ln -s works... " >&6; }
4579 if test "$LN_S" = "ln -s"; then
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4581 $as_echo "yes" >&6; }
4583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4584 $as_echo "no, using $LN_S" >&6; }
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4588 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4589 if test "${ac_cv_path_GREP+set}" = set; then :
4590 $as_echo_n "(cached) " >&6
4592 if test -z "$GREP"; then
4593 ac_path_GREP_found
=false
4594 # Loop through the user's path and test for each of PROGNAME-LIST
4595 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4596 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4599 test -z "$as_dir" && as_dir
=.
4600 for ac_prog
in grep ggrep
; do
4601 for ac_exec_ext
in '' $ac_executable_extensions; do
4602 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4603 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4604 # Check for GNU ac_path_GREP and select it if it is found.
4605 # Check for GNU $ac_path_GREP
4606 case `"$ac_path_GREP" --version 2>&1` in
4608 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4611 $as_echo_n 0123456789 >"conftest.in"
4614 cat "conftest.in" "conftest.in" >"conftest.tmp"
4615 mv "conftest.tmp" "conftest.in"
4616 cp "conftest.in" "conftest.nl"
4617 $as_echo 'GREP' >> "conftest.nl"
4618 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4619 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4620 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4621 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4622 # Best one so far, save it but keep looking for a better one
4623 ac_cv_path_GREP
="$ac_path_GREP"
4624 ac_path_GREP_max
=$ac_count
4626 # 10*(2^10) chars as input seems more than enough
4627 test $ac_count -gt 10 && break
4629 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4632 $ac_path_GREP_found && break 3
4637 if test -z "$ac_cv_path_GREP"; then
4638 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4641 ac_cv_path_GREP
=$GREP
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4646 $as_echo "$ac_cv_path_GREP" >&6; }
4647 GREP
="$ac_cv_path_GREP"
4650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4651 $as_echo_n "checking for egrep... " >&6; }
4652 if test "${ac_cv_path_EGREP+set}" = set; then :
4653 $as_echo_n "(cached) " >&6
4655 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4656 then ac_cv_path_EGREP
="$GREP -E"
4658 if test -z "$EGREP"; then
4659 ac_path_EGREP_found
=false
4660 # Loop through the user's path and test for each of PROGNAME-LIST
4661 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4662 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4665 test -z "$as_dir" && as_dir
=.
4666 for ac_prog
in egrep; do
4667 for ac_exec_ext
in '' $ac_executable_extensions; do
4668 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4669 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4670 # Check for GNU ac_path_EGREP and select it if it is found.
4671 # Check for GNU $ac_path_EGREP
4672 case `"$ac_path_EGREP" --version 2>&1` in
4674 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4677 $as_echo_n 0123456789 >"conftest.in"
4680 cat "conftest.in" "conftest.in" >"conftest.tmp"
4681 mv "conftest.tmp" "conftest.in"
4682 cp "conftest.in" "conftest.nl"
4683 $as_echo 'EGREP' >> "conftest.nl"
4684 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4685 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4686 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4687 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4688 # Best one so far, save it but keep looking for a better one
4689 ac_cv_path_EGREP
="$ac_path_EGREP"
4690 ac_path_EGREP_max
=$ac_count
4692 # 10*(2^10) chars as input seems more than enough
4693 test $ac_count -gt 10 && break
4695 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4698 $ac_path_EGREP_found && break 3
4703 if test -z "$ac_cv_path_EGREP"; then
4704 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4707 ac_cv_path_EGREP
=$EGREP
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4713 $as_echo "$ac_cv_path_EGREP" >&6; }
4714 EGREP
="$ac_cv_path_EGREP"
4717 # Extract the first word of "ldconfig", so it can be a program name with args.
4718 set dummy ldconfig
; ac_word
=$2
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4720 $as_echo_n "checking for $ac_word... " >&6; }
4721 if test "${ac_cv_path_LDCONFIG+set}" = set; then :
4722 $as_echo_n "(cached) " >&6
4726 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4729 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4730 for as_dir
in /sbin
/usr
/sbin
$PATH
4733 test -z "$as_dir" && as_dir
=.
4734 for ac_exec_ext
in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4744 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4748 LDCONFIG
=$ac_cv_path_LDCONFIG
4749 if test -n "$LDCONFIG"; then
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4751 $as_echo "$LDCONFIG" >&6; }
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4754 $as_echo "no" >&6; }
4758 # Find a good install program. We prefer a C program (faster),
4759 # so one script is as good as another. But avoid the broken or
4760 # incompatible versions:
4761 # SysV /etc/install, /usr/sbin/install
4762 # SunOS /usr/etc/install
4763 # IRIX /sbin/install
4765 # AmigaOS /C/install, which installs bootblocks on floppy discs
4766 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4767 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4768 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4769 # OS/2's system install, which has a completely different semantic
4770 # ./install, which can be erroneously created by make from ./install.sh.
4771 # Reject install programs that cannot install multiple files.
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4773 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4774 if test -z "$INSTALL"; then
4775 if test "${ac_cv_path_install+set}" = set; then :
4776 $as_echo_n "(cached) " >&6
4778 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4782 test -z "$as_dir" && as_dir
=.
4783 # Account for people who put trailing slashes in PATH elements.
4784 case $as_dir/ in #((
4785 .
/ | .
// |
/[cC
]/* | \
4786 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4787 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4790 # OSF1 and SCO ODT 3.0 have their own names for install.
4791 # Don't use installbsd from OSF since it installs stuff as root
4793 for ac_prog
in ginstall scoinst
install; do
4794 for ac_exec_ext
in '' $ac_executable_extensions; do
4795 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4796 if test $ac_prog = install &&
4797 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4798 # AIX install. It has an incompatible calling convention.
4800 elif test $ac_prog = install &&
4801 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4802 # program-specific install script used by HP pwplus--don't use.
4805 rm -rf conftest.one conftest.two conftest.dir
4806 echo one
> conftest.one
4807 echo two
> conftest.two
4809 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4810 test -s conftest.one
&& test -s conftest.two
&&
4811 test -s conftest.dir
/conftest.one
&&
4812 test -s conftest.dir
/conftest.two
4814 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4827 rm -rf conftest.one conftest.two conftest.dir
4830 if test "${ac_cv_path_install+set}" = set; then
4831 INSTALL
=$ac_cv_path_install
4833 # As a last resort, use the slow shell script. Don't cache a
4834 # value for INSTALL within a source directory, because that will
4835 # break other packages using the cache if that directory is
4836 # removed, or if the value is a relative name.
4837 INSTALL
=$ac_install_sh
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4841 $as_echo "$INSTALL" >&6; }
4843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4844 # It thinks the first close brace ends the variable substitution.
4845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4849 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4852 [\\/$
]* | ?
:[\\/]* ) ;;
4853 *) INSTALL
="\\\$(TOPSRCDIR)/$INSTALL" ;;
4856 for ac_prog
in lclint lint
4858 # Extract the first word of "$ac_prog", so it can be a program name with args.
4859 set dummy
$ac_prog; ac_word
=$2
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4861 $as_echo_n "checking for $ac_word... " >&6; }
4862 if test "${ac_cv_prog_LINT+set}" = set; then :
4863 $as_echo_n "(cached) " >&6
4865 if test -n "$LINT"; then
4866 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4868 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4872 test -z "$as_dir" && as_dir
=.
4873 for ac_exec_ext
in '' $ac_executable_extensions; do
4874 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4875 ac_cv_prog_LINT
="$ac_prog"
4876 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4885 LINT
=$ac_cv_prog_LINT
4886 if test -n "$LINT"; then
4887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4888 $as_echo "$LINT" >&6; }
4890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4891 $as_echo "no" >&6; }
4895 test -n "$LINT" && break
4898 if test "$LINT" = "lint"
4900 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4905 for ac_prog
in fontforge
4907 # Extract the first word of "$ac_prog", so it can be a program name with args.
4908 set dummy
$ac_prog; ac_word
=$2
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4910 $as_echo_n "checking for $ac_word... " >&6; }
4911 if test "${ac_cv_prog_FONTFORGE+set}" = set; then :
4912 $as_echo_n "(cached) " >&6
4914 if test -n "$FONTFORGE"; then
4915 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4917 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4921 test -z "$as_dir" && as_dir
=.
4922 for ac_exec_ext
in '' $ac_executable_extensions; do
4923 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4924 ac_cv_prog_FONTFORGE
="$ac_prog"
4925 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4934 FONTFORGE
=$ac_cv_prog_FONTFORGE
4935 if test -n "$FONTFORGE"; then
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4937 $as_echo "$FONTFORGE" >&6; }
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4940 $as_echo "no" >&6; }
4944 test -n "$FONTFORGE" && break
4946 test -n "$FONTFORGE" || FONTFORGE
="false"
4948 for ac_prog
in pkg-config
4950 # Extract the first word of "$ac_prog", so it can be a program name with args.
4951 set dummy
$ac_prog; ac_word
=$2
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4953 $as_echo_n "checking for $ac_word... " >&6; }
4954 if test "${ac_cv_prog_PKG_CONFIG+set}" = set; then :
4955 $as_echo_n "(cached) " >&6
4957 if test -n "$PKG_CONFIG"; then
4958 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4960 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4964 test -z "$as_dir" && as_dir
=.
4965 for ac_exec_ext
in '' $ac_executable_extensions; do
4966 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4967 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4968 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4977 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4978 if test -n "$PKG_CONFIG"; then
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4980 $as_echo "$PKG_CONFIG" >&6; }
4982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4983 $as_echo "no" >&6; }
4987 test -n "$PKG_CONFIG" && break
4989 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4993 # Extract the first word of "$ac_prog", so it can be a program name with args.
4994 set dummy
$ac_prog; ac_word
=$2
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4996 $as_echo_n "checking for $ac_word... " >&6; }
4997 if test "${ac_cv_prog_RSVG+set}" = set; then :
4998 $as_echo_n "(cached) " >&6
5000 if test -n "$RSVG"; then
5001 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
5003 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5007 test -z "$as_dir" && as_dir
=.
5008 for ac_exec_ext
in '' $ac_executable_extensions; do
5009 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5010 ac_cv_prog_RSVG
="$ac_prog"
5011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5020 RSVG
=$ac_cv_prog_RSVG
5021 if test -n "$RSVG"; then
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
5023 $as_echo "$RSVG" >&6; }
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5026 $as_echo "no" >&6; }
5030 test -n "$RSVG" && break
5032 test -n "$RSVG" || RSVG
="false"
5034 for ac_prog
in icotool
5036 # Extract the first word of "$ac_prog", so it can be a program name with args.
5037 set dummy
$ac_prog; ac_word
=$2
5038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5039 $as_echo_n "checking for $ac_word... " >&6; }
5040 if test "${ac_cv_prog_ICOTOOL+set}" = set; then :
5041 $as_echo_n "(cached) " >&6
5043 if test -n "$ICOTOOL"; then
5044 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5046 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5050 test -z "$as_dir" && as_dir
=.
5051 for ac_exec_ext
in '' $ac_executable_extensions; do
5052 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5053 ac_cv_prog_ICOTOOL
="$ac_prog"
5054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5063 ICOTOOL
=$ac_cv_prog_ICOTOOL
5064 if test -n "$ICOTOOL"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5066 $as_echo "$ICOTOOL" >&6; }
5068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5069 $as_echo "no" >&6; }
5073 test -n "$ICOTOOL" && break
5075 test -n "$ICOTOOL" || ICOTOOL
="false"
5078 if test "${enable_maintainer_mode+set}" = set
5080 if test "$FONTFORGE" = "false"; then as_fn_append wine_warnings
"|fontforge is missing, fonts can't be rebuilt."; fi
5081 if test "$RSVG" = "false"; then as_fn_append wine_warnings
"|rsvg is missing, icons can't be rebuilt."; fi
5082 if test "$ICOTOOL" = "false"; then as_fn_append wine_warnings
"|icotool is missing, icons can't be rebuilt."; fi
5087 # Extract the first word of "prelink", so it can be a program name with args.
5088 set dummy prelink
; ac_word
=$2
5089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5090 $as_echo_n "checking for $ac_word... " >&6; }
5091 if test "${ac_cv_path_PRELINK+set}" = set; then :
5092 $as_echo_n "(cached) " >&6
5096 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
5099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5100 for as_dir
in /sbin
/usr
/sbin
$PATH
5103 test -z "$as_dir" && as_dir
=.
5104 for ac_exec_ext
in '' $ac_executable_extensions; do
5105 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5106 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
5107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5114 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
5118 PRELINK
=$ac_cv_path_PRELINK
5119 if test -n "$PRELINK"; then
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
5121 $as_echo "$PRELINK" >&6; }
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5124 $as_echo "no" >&6; }
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5133 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5134 if test "${ac_cv_lib_i386_i386_set_ldt+set}" = set; then :
5135 $as_echo_n "(cached) " >&6
5137 ac_check_lib_save_LIBS
=$LIBS
5139 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5140 /* end confdefs.h. */
5142 /* Override any GCC internal prototype to avoid an error.
5143 Use char because int might match the return type of a GCC
5144 builtin and then its argument prototype would still apply. */
5148 char i386_set_ldt ();
5152 return i386_set_ldt ();
5157 if ac_fn_c_try_link
"$LINENO"; then :
5158 ac_cv_lib_i386_i386_set_ldt
=yes
5160 ac_cv_lib_i386_i386_set_ldt
=no
5162 rm -f core conftest.err conftest.
$ac_objext \
5163 conftest
$ac_exeext conftest.
$ac_ext
5164 LIBS
=$ac_check_lib_save_LIBS
5166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5167 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5168 if test "x$ac_cv_lib_i386_i386_set_ldt" = x
""yes; then :
5169 cat >>confdefs.h
<<_ACEOF
5170 #define HAVE_LIBI386 1
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5178 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5179 if test "${ac_cv_lib_ossaudio__oss_ioctl+set}" = set; then :
5180 $as_echo_n "(cached) " >&6
5182 ac_check_lib_save_LIBS
=$LIBS
5183 LIBS
="-lossaudio $LIBS"
5184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5185 /* end confdefs.h. */
5187 /* Override any GCC internal prototype to avoid an error.
5188 Use char because int might match the return type of a GCC
5189 builtin and then its argument prototype would still apply. */
5197 return _oss_ioctl ();
5202 if ac_fn_c_try_link
"$LINENO"; then :
5203 ac_cv_lib_ossaudio__oss_ioctl
=yes
5205 ac_cv_lib_ossaudio__oss_ioctl
=no
5207 rm -f core conftest.err conftest.
$ac_objext \
5208 conftest
$ac_exeext conftest.
$ac_ext
5209 LIBS
=$ac_check_lib_save_LIBS
5211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5212 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5213 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = x
""yes; then :
5214 cat >>confdefs.h
<<_ACEOF
5215 #define HAVE_LIBOSSAUDIO 1
5218 LIBS
="-lossaudio $LIBS"
5229 # Check whether --enable-largefile was given.
5230 if test "${enable_largefile+set}" = set; then :
5231 enableval
=$enable_largefile;
5234 if test "$enable_largefile" != no
; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5237 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5238 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
5239 $as_echo_n "(cached) " >&6
5241 ac_cv_sys_largefile_CC
=no
5242 if test "$GCC" != yes; then
5245 # IRIX 6.2 and later do not support large files by default,
5246 # so use the C compiler's -n32 option if that helps.
5247 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5248 /* end confdefs.h. */
5249 #include <sys/types.h>
5250 /* Check that off_t can represent 2**63 - 1 correctly.
5251 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5252 since some C++ compilers masquerading as C compilers
5253 incorrectly reject 9223372036854775807. */
5254 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5255 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5256 && LARGE_OFF_T % 2147483647 == 1)
5266 if ac_fn_c_try_compile
"$LINENO"; then :
5269 rm -f core conftest.err conftest.
$ac_objext
5271 if ac_fn_c_try_compile
"$LINENO"; then :
5272 ac_cv_sys_largefile_CC
=' -n32'; break
5274 rm -f core conftest.err conftest.
$ac_objext
5278 rm -f conftest.
$ac_ext
5281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5282 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5283 if test "$ac_cv_sys_largefile_CC" != no
; then
5284 CC
=$CC$ac_cv_sys_largefile_CC
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5288 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5289 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
5290 $as_echo_n "(cached) " >&6
5293 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5295 #include <sys/types.h>
5296 /* Check that off_t can represent 2**63 - 1 correctly.
5297 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5298 since some C++ compilers masquerading as C compilers
5299 incorrectly reject 9223372036854775807. */
5300 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5301 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5302 && LARGE_OFF_T % 2147483647 == 1)
5312 if ac_fn_c_try_compile
"$LINENO"; then :
5313 ac_cv_sys_file_offset_bits
=no
; break
5315 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5316 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5318 #define _FILE_OFFSET_BITS 64
5319 #include <sys/types.h>
5320 /* Check that off_t can represent 2**63 - 1 correctly.
5321 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5322 since some C++ compilers masquerading as C compilers
5323 incorrectly reject 9223372036854775807. */
5324 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5325 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5326 && LARGE_OFF_T % 2147483647 == 1)
5336 if ac_fn_c_try_compile
"$LINENO"; then :
5337 ac_cv_sys_file_offset_bits
=64; break
5339 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5340 ac_cv_sys_file_offset_bits
=unknown
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5345 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5346 case $ac_cv_sys_file_offset_bits in #(
5349 cat >>confdefs.h
<<_ACEOF
5350 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5355 if test $ac_cv_sys_file_offset_bits = unknown
; then
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5357 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5358 if test "${ac_cv_sys_large_files+set}" = set; then :
5359 $as_echo_n "(cached) " >&6
5362 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5364 #include <sys/types.h>
5365 /* Check that off_t can represent 2**63 - 1 correctly.
5366 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5367 since some C++ compilers masquerading as C compilers
5368 incorrectly reject 9223372036854775807. */
5369 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5370 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5371 && LARGE_OFF_T % 2147483647 == 1)
5381 if ac_fn_c_try_compile
"$LINENO"; then :
5382 ac_cv_sys_large_files
=no
; break
5384 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5385 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5386 /* end confdefs.h. */
5387 #define _LARGE_FILES 1
5388 #include <sys/types.h>
5389 /* Check that off_t can represent 2**63 - 1 correctly.
5390 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5391 since some C++ compilers masquerading as C compilers
5392 incorrectly reject 9223372036854775807. */
5393 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5394 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5395 && LARGE_OFF_T % 2147483647 == 1)
5405 if ac_fn_c_try_compile
"$LINENO"; then :
5406 ac_cv_sys_large_files
=1; break
5408 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5409 ac_cv_sys_large_files
=unknown
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5414 $as_echo "$ac_cv_sys_large_files" >&6; }
5415 case $ac_cv_sys_large_files in #(
5418 cat >>confdefs.h
<<_ACEOF
5419 #define _LARGE_FILES $ac_cv_sys_large_files
5429 ac_cpp
='$CPP $CPPFLAGS'
5430 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5431 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5432 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5434 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5435 # On Suns, sometimes $CPP names a directory.
5436 if test -n "$CPP" && test -d "$CPP"; then
5439 if test -z "$CPP"; then
5440 if test "${ac_cv_prog_CPP+set}" = set; then :
5441 $as_echo_n "(cached) " >&6
5443 # Double quotes because CPP needs to be expanded
5444 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5447 for ac_c_preproc_warn_flag
in '' yes
5449 # Use a header file that comes with gcc, so configuring glibc
5450 # with a fresh cross-compiler works.
5451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5452 # <limits.h> exists even on freestanding compilers.
5453 # On the NeXT, cc -E runs the code through the compiler's parser,
5454 # not just through cpp. "Syntax error" is here to catch this case.
5455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5456 /* end confdefs.h. */
5458 # include <limits.h>
5460 # include <assert.h>
5464 if ac_fn_c_try_cpp
"$LINENO"; then :
5467 # Broken: fails on valid input.
5470 rm -f conftest.err conftest.
$ac_ext
5472 # OK, works on sane cases. Now check whether nonexistent headers
5473 # can be detected and how.
5474 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5476 #include <ac_nonexistent.h>
5478 if ac_fn_c_try_cpp
"$LINENO"; then :
5479 # Broken: success on invalid input.
5482 # Passes both tests.
5486 rm -f conftest.err conftest.
$ac_ext
5489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5490 rm -f conftest.err conftest.
$ac_ext
5491 if $ac_preproc_ok; then :
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5504 $as_echo "$CPP" >&6; }
5506 for ac_c_preproc_warn_flag
in '' yes
5508 # Use a header file that comes with gcc, so configuring glibc
5509 # with a fresh cross-compiler works.
5510 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5511 # <limits.h> exists even on freestanding compilers.
5512 # On the NeXT, cc -E runs the code through the compiler's parser,
5513 # not just through cpp. "Syntax error" is here to catch this case.
5514 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5517 # include <limits.h>
5519 # include <assert.h>
5523 if ac_fn_c_try_cpp
"$LINENO"; then :
5526 # Broken: fails on valid input.
5529 rm -f conftest.err conftest.
$ac_ext
5531 # OK, works on sane cases. Now check whether nonexistent headers
5532 # can be detected and how.
5533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5534 /* end confdefs.h. */
5535 #include <ac_nonexistent.h>
5537 if ac_fn_c_try_cpp
"$LINENO"; then :
5538 # Broken: success on invalid input.
5541 # Passes both tests.
5545 rm -f conftest.err conftest.
$ac_ext
5548 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5549 rm -f conftest.err conftest.
$ac_ext
5550 if $ac_preproc_ok; then :
5553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5555 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
5556 See \`config.log' for more details." "$LINENO" 5; }
5560 ac_cpp
='$CPP $CPPFLAGS'
5561 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5562 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5563 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5567 $as_echo_n "checking for ANSI C header files... " >&6; }
5568 if test "${ac_cv_header_stdc+set}" = set; then :
5569 $as_echo_n "(cached) " >&6
5571 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5572 /* end confdefs.h. */
5586 if ac_fn_c_try_compile
"$LINENO"; then :
5587 ac_cv_header_stdc
=yes
5589 ac_cv_header_stdc
=no
5591 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5593 if test $ac_cv_header_stdc = yes; then
5594 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5596 /* end confdefs.h. */
5600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5601 $EGREP "memchr" >/dev
/null
2>&1; then :
5604 ac_cv_header_stdc
=no
5610 if test $ac_cv_header_stdc = yes; then
5611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5612 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5613 /* end confdefs.h. */
5617 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5618 $EGREP "free" >/dev
/null
2>&1; then :
5621 ac_cv_header_stdc
=no
5627 if test $ac_cv_header_stdc = yes; then
5628 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5629 if test "$cross_compiling" = yes; then :
5632 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5633 /* end confdefs.h. */
5636 #if ((' ' & 0x0FF) == 0x020)
5637 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5638 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5640 # define ISLOWER(c) \
5641 (('a' <= (c) && (c) <= 'i') \
5642 || ('j' <= (c) && (c) <= 'r') \
5643 || ('s' <= (c) && (c) <= 'z'))
5644 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5647 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5652 for (i = 0; i < 256; i++)
5653 if (XOR (islower (i), ISLOWER (i))
5654 || toupper (i) != TOUPPER (i))
5659 if ac_fn_c_try_run
"$LINENO"; then :
5662 ac_cv_header_stdc
=no
5664 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5665 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5671 $as_echo "$ac_cv_header_stdc" >&6; }
5672 if test $ac_cv_header_stdc = yes; then
5674 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5678 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5679 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5680 inttypes.h stdint.h unistd.h
5682 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5683 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5685 eval as_val
=\$
$as_ac_Header
5686 if test "x$as_val" = x
""yes; then :
5687 cat >>confdefs.h
<<_ACEOF
5688 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5698 AudioToolbox
/AudioConverter.h \
5699 AudioToolbox
/AudioFile.h \
5700 AudioToolbox
/AudioFileStream.h \
5701 AudioUnit
/AudioUnit.h \
5703 CoreAudio
/CoreAudio.h \
5704 DiskArbitration
/DiskArbitration.h \
5706 IOKit
/hid
/IOHIDLib.h \
5721 fontconfig
/fontconfig.h \
5754 machine
/soundcard.h \
5760 netinet
/in_systm.h \
5828 valgrind
/memcheck.h \
5829 valgrind
/valgrind.h \
5833 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5834 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5835 eval as_val
=\$
$as_ac_Header
5836 if test "x$as_val" = x
""yes; then :
5837 cat >>confdefs.h
<<_ACEOF
5838 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5846 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5847 if test "${ac_cv_header_stat_broken+set}" = set; then :
5848 $as_echo_n "(cached) " >&6
5850 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5851 /* end confdefs.h. */
5852 #include <sys/types.h>
5853 #include <sys/stat.h>
5855 #if defined S_ISBLK && defined S_IFDIR
5856 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5859 #if defined S_ISBLK && defined S_IFCHR
5860 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5863 #if defined S_ISLNK && defined S_IFREG
5864 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5867 #if defined S_ISSOCK && defined S_IFREG
5868 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5872 if ac_fn_c_try_compile
"$LINENO"; then :
5873 ac_cv_header_stat_broken
=no
5875 ac_cv_header_stat_broken
=yes
5877 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5880 $as_echo "$ac_cv_header_stat_broken" >&6; }
5881 if test $ac_cv_header_stat_broken = yes; then
5883 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5889 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5891 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5892 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5893 #ifdef HAVE_SYS_PARAM_H
5894 # include <sys/param.h>
5897 eval as_val
=\$
$as_ac_Header
5898 if test "x$as_val" = x
""yes; then :
5899 cat >>confdefs.h
<<_ACEOF
5900 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5915 netinet
/if_ether.h \
5916 netinet
/if_inarp.h \
5924 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5925 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5926 #ifdef HAVE_SYS_SOCKET_H
5927 # include <sys/socket.h>
5929 #ifdef HAVE_SYS_SOCKETVAR_H
5930 # include <sys/socketvar.h>
5932 #ifdef HAVE_NET_ROUTE_H
5933 # include <net/route.h>
5935 #ifdef HAVE_NETINET_IN_H
5936 # include <netinet/in.h>
5938 #ifdef HAVE_NETINET_IN_SYSTM_H
5939 # include <netinet/in_systm.h>
5941 #ifdef HAVE_NET_IF_H
5942 # include <net/if.h>
5944 #ifdef HAVE_NETINET_IP_H
5945 # include <netinet/ip.h>
5948 eval as_val
=\$
$as_ac_Header
5949 if test "x$as_val" = x
""yes; then :
5950 cat >>confdefs.h
<<_ACEOF
5951 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5959 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
5961 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5962 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5966 #ifdef HAVE_SYS_SOCKET_H
5967 # include <sys/socket.h>
5969 #ifdef HAVE_SYS_SOCKETVAR_H
5970 # include <sys/socketvar.h>
5972 #ifdef HAVE_SYS_TIMEOUT_H
5973 # include <sys/timeout.h>
5975 #ifdef HAVE_NETINET_IN_H
5976 # include <netinet/in.h>
5978 #ifdef HAVE_NETINET_IN_SYSTM_H
5979 # include <netinet/in_systm.h>
5981 #ifdef HAVE_NETINET_IP_H
5982 # include <netinet/ip.h>
5984 #ifdef HAVE_NETINET_IP_VAR_H
5985 # include <netinet/ip_var.h>
5987 #ifdef HAVE_NETINET_IP_ICMP_H
5988 # include <netinet/ip_icmp.h>
5990 #ifdef HAVE_NETINET_UDP_H
5991 # include <netinet/udp.h>
5993 #ifdef HAVE_NETINET_TCP_H
5994 # include <netinet/tcp.h>
5996 #ifdef HAVE_NETINET_TCP_TIMER_H
5997 #include <netinet/tcp_timer.h>
6000 eval as_val
=\$
$as_ac_Header
6001 if test "x$as_val" = x
""yes; then :
6002 cat >>confdefs.h
<<_ACEOF
6003 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6011 for ac_header
in linux
/ipx.h linux
/irda.h
6013 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6014 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6015 #ifdef HAVE_ASM_TYPES_H
6016 # include <asm/types.h>
6018 #ifdef HAVE_SYS_SOCKET_H
6019 # include <sys/socket.h>
6021 #ifdef HAVE_LINUX_TYPES_H
6022 # include <linux/types.h>
6025 eval as_val
=\$
$as_ac_Header
6026 if test "x$as_val" = x
""yes; then :
6027 cat >>confdefs.h
<<_ACEOF
6028 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6036 for ac_header
in mach-o
/dyld_images.h
6038 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6039 # include <stdbool.h>
6041 #ifdef HAVE_STDINT_H
6042 # include <stdint.h>
6045 if test "x$ac_cv_header_mach_o_dyld_images_h" = x
""yes; then :
6046 cat >>confdefs.h
<<_ACEOF
6047 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6055 for ac_header
in resolv.h
6057 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6058 #ifdef HAVE_SYS_SOCKET_H
6059 # include <sys/socket.h>
6061 #ifdef HAVE_NETINET_IN_H
6062 # include <netinet/in.h>
6064 #ifdef HAVE_ARPA_NAMESER_H
6065 # include <arpa/nameser.h>
6068 if test "x$ac_cv_header_resolv_h" = x
""yes; then :
6069 cat >>confdefs.h
<<_ACEOF
6070 #define HAVE_RESOLV_H 1
6078 for ac_header
in ifaddrs.h
6080 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6082 if test "x$ac_cv_header_ifaddrs_h" = x
""yes; then :
6083 cat >>confdefs.h
<<_ACEOF
6084 #define HAVE_IFADDRS_H 1
6092 for ac_header
in ucontext.h
6094 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6096 if test "x$ac_cv_header_ucontext_h" = x
""yes; then :
6097 cat >>confdefs.h
<<_ACEOF
6098 #define HAVE_UCONTEXT_H 1
6106 for ac_header
in sys
/thr.h
6108 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6109 #ifdef HAVE_UCONTEXT_H
6110 #include <ucontext.h>
6113 if test "x$ac_cv_header_sys_thr_h" = x
""yes; then :
6114 cat >>confdefs.h
<<_ACEOF
6115 #define HAVE_SYS_THR_H 1
6123 for ac_header
in pthread_np.h
6125 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6126 #include <pthread.h>
6129 if test "x$ac_cv_header_pthread_np_h" = x
""yes; then :
6130 cat >>confdefs.h
<<_ACEOF
6131 #define HAVE_PTHREAD_NP_H 1
6139 for ac_header
in linux
/videodev.h
6141 ac_fn_c_check_header_compile
"$LINENO" "linux/videodev.h" "ac_cv_header_linux_videodev_h" "#ifdef HAVE_SYS_TIME_H
6142 #include <sys/time.h>
6144 #include <sys/types.h>
6145 #ifdef HAVE_ASM_TYPES_H
6146 #include <asm/types.h>
6149 if test "x$ac_cv_header_linux_videodev_h" = x
""yes; then :
6150 cat >>confdefs.h
<<_ACEOF
6151 #define HAVE_LINUX_VIDEODEV_H 1
6159 for ac_header
in linux
/capi.h
6161 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6163 if test "x$ac_cv_header_linux_capi_h" = x
""yes; then :
6164 cat >>confdefs.h
<<_ACEOF
6165 #define HAVE_LINUX_CAPI_H 1
6176 DLLFLAGS
="-D_REENTRANT"
6190 STATIC_IMPLIBEXT
="def.a"
6191 # Extract the first word of "ldd", so it can be a program name with args.
6192 set dummy ldd
; ac_word
=$2
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6194 $as_echo_n "checking for $ac_word... " >&6; }
6195 if test "${ac_cv_path_LDD+set}" = set; then :
6196 $as_echo_n "(cached) " >&6
6200 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6203 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6204 as_dummy
="/sbin:/usr/sbin:$PATH"
6205 for as_dir
in $as_dummy
6208 test -z "$as_dir" && as_dir
=.
6209 for ac_exec_ext
in '' $ac_executable_extensions; do
6210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6211 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6219 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6224 if test -n "$LDD"; then
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6226 $as_echo "$LDD" >&6; }
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6229 $as_echo "no" >&6; }
6236 if test -n "$ac_tool_prefix"; then
6237 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6238 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
6242 $as_echo_n "(cached) " >&6
6244 if test -n "$DLLTOOL"; then
6245 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6247 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6251 test -z "$as_dir" && as_dir
=.
6252 for ac_exec_ext
in '' $ac_executable_extensions; do
6253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6254 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6264 DLLTOOL
=$ac_cv_prog_DLLTOOL
6265 if test -n "$DLLTOOL"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6267 $as_echo "$DLLTOOL" >&6; }
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6275 if test -z "$ac_cv_prog_DLLTOOL"; then
6276 ac_ct_DLLTOOL
=$DLLTOOL
6277 # Extract the first word of "dlltool", so it can be a program name with args.
6278 set dummy dlltool
; ac_word
=$2
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6280 $as_echo_n "checking for $ac_word... " >&6; }
6281 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
6282 $as_echo_n "(cached) " >&6
6284 if test -n "$ac_ct_DLLTOOL"; then
6285 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6287 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6291 test -z "$as_dir" && as_dir
=.
6292 for ac_exec_ext
in '' $ac_executable_extensions; do
6293 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6294 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6295 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6304 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6305 if test -n "$ac_ct_DLLTOOL"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6307 $as_echo "$ac_ct_DLLTOOL" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6313 if test "x$ac_ct_DLLTOOL" = x
; then
6316 case $cross_compiling:$ac_tool_warned in
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6319 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6320 ac_tool_warned
=yes ;;
6322 DLLTOOL
=$ac_ct_DLLTOOL
6325 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6328 if test -n "$ac_tool_prefix"; then
6329 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6330 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6332 $as_echo_n "checking for $ac_word... " >&6; }
6333 if test "${ac_cv_prog_DLLWRAP+set}" = set; then :
6334 $as_echo_n "(cached) " >&6
6336 if test -n "$DLLWRAP"; then
6337 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6339 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6343 test -z "$as_dir" && as_dir
=.
6344 for ac_exec_ext
in '' $ac_executable_extensions; do
6345 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6346 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6356 DLLWRAP
=$ac_cv_prog_DLLWRAP
6357 if test -n "$DLLWRAP"; then
6358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6359 $as_echo "$DLLWRAP" >&6; }
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6362 $as_echo "no" >&6; }
6367 if test -z "$ac_cv_prog_DLLWRAP"; then
6368 ac_ct_DLLWRAP
=$DLLWRAP
6369 # Extract the first word of "dllwrap", so it can be a program name with args.
6370 set dummy dllwrap
; ac_word
=$2
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6372 $as_echo_n "checking for $ac_word... " >&6; }
6373 if test "${ac_cv_prog_ac_ct_DLLWRAP+set}" = set; then :
6374 $as_echo_n "(cached) " >&6
6376 if test -n "$ac_ct_DLLWRAP"; then
6377 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6379 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6383 test -z "$as_dir" && as_dir
=.
6384 for ac_exec_ext
in '' $ac_executable_extensions; do
6385 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6386 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6396 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6397 if test -n "$ac_ct_DLLWRAP"; then
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6399 $as_echo "$ac_ct_DLLWRAP" >&6; }
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6402 $as_echo "no" >&6; }
6405 if test "x$ac_ct_DLLWRAP" = x
; then
6408 case $cross_compiling:$ac_tool_warned in
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6411 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6412 ac_tool_warned
=yes ;;
6414 DLLWRAP
=$ac_ct_DLLWRAP
6417 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6420 if test "$DLLWRAP" = "false"; then
6426 STATIC_IMPLIBEXT
="a"
6427 enable_iphlpapi
=${enable_iphlpapi:-no}
6428 enable_kernel32
=${enable_kernel32:-no}
6429 enable_msvcrt
=${enable_msvcrt:-no}
6430 enable_ntdll
=${enable_ntdll:-no}
6431 enable_ws2_32
=${enable_ws2_32:-no}
6432 enable_loader
=${enable_loader:-no}
6433 enable_server
=${enable_server:-no}
6434 with_x
=${with_x:-no}
6435 with_pthread
=${with_pthread:-no}
6440 DLLFLAGS
="$DLLFLAGS -fPIC"
6441 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6442 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6443 LDSHARED
="\$(CC) -dynamiclib"
6445 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(TOPOBJDIR)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6446 SECURITYLIB
="-framework Security -framework CoreFoundation"
6448 COREFOUNDATIONLIB
="-framework CoreFoundation"
6450 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6452 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00000000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6454 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6456 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6459 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6461 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6463 ac_save_LIBS
="$LIBS"
6464 if test "$ac_cv_header_AudioToolbox_AudioFile_h" = "yes"
6466 LIBS
="$LIBS $COREAUDIO"
6467 for ac_func
in AudioFileStreamOpen
6469 ac_fn_c_check_func
"$LINENO" "AudioFileStreamOpen" "ac_cv_func_AudioFileStreamOpen"
6470 if test "x$ac_cv_func_AudioFileStreamOpen" = x
""yes; then :
6471 cat >>confdefs.h
<<_ACEOF
6472 #define HAVE_AUDIOFILESTREAMOPEN 1
6478 LIBS
="$ac_save_LIBS"
6480 test "x$ac_cv_func_AudioFileStreamOpen" = xyes || as_fn_append wine_notices
"|AudioToolbox version too old, mp3 codec won't be supported."
6482 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6484 LIBOPENAL
="-framework OpenAL"
6486 ac_cv_lib_openal_alGetSource3i
=yes
6488 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6490 ac_save_LIBS
="$LIBS"
6491 LIBS
="$LIBS $IOKITLIB"
6492 for ac_func
in IOHIDManagerCreate
6494 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6495 if test "x$ac_cv_func_IOHIDManagerCreate" = x
""yes; then :
6496 cat >>confdefs.h
<<_ACEOF
6497 #define HAVE_IOHIDMANAGERCREATE 1
6503 LIBS
="$ac_save_LIBS"
6507 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6509 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6511 CARBONLIB
="-framework Carbon"
6513 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6515 if test "x$enable_win16" = "xyes"
6517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6518 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6519 if test "$cross_compiling" = yes; then :
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6521 $as_echo "cross-compiling, assuming yes" >&6; }
6523 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6524 /* end confdefs.h. */
6527 "good:\tnop;nop\n\t"
6528 ".globl _testfunc\n"
6529 "_testfunc:\tcallw good");
6530 extern void testfunc();
6534 unsigned short *p = (unsigned short *)testfunc;
6535 return p[0] != 0xe866 || p[1] != 0xfffa
6540 if ac_fn_c_try_run
"$LINENO"; then :
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6542 $as_echo "yes" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6546 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
6548 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6549 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6555 DLLFLAGS
="$DLLFLAGS -fPIC"
6557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6558 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6559 if test "${ac_cv_c_dll_gnuelf+set}" = set; then :
6560 $as_echo_n "(cached) " >&6
6562 ac_wine_try_cflags_saved
=$CFLAGS
6563 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6565 /* end confdefs.h. */
6568 if ac_fn_c_try_link
"$LINENO"; then :
6569 ac_cv_c_dll_gnuelf
="yes"
6571 ac_cv_c_dll_gnuelf
="no"
6573 rm -f core conftest.err conftest.
$ac_objext \
6574 conftest
$ac_exeext conftest.
$ac_ext
6575 CFLAGS
=$ac_wine_try_cflags_saved
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6578 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6579 if test "$ac_cv_c_dll_gnuelf" = "yes"
6581 LDSHARED
="\$(CC) -shared"
6582 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6584 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6585 if test "${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+set}" = set; then :
6586 $as_echo_n "(cached) " >&6
6588 ac_wine_try_cflags_saved
=$CFLAGS
6589 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6590 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6591 /* end confdefs.h. */
6592 int main(int argc, char **argv) { return 0; }
6594 if ac_fn_c_try_link
"$LINENO"; then :
6595 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6597 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6599 rm -f core conftest.err conftest.
$ac_objext \
6600 conftest
$ac_exeext conftest.
$ac_ext
6601 CFLAGS
=$ac_wine_try_cflags_saved
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6604 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6605 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6606 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6609 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6610 if test "${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+set}" = set; then :
6611 $as_echo_n "(cached) " >&6
6613 ac_wine_try_cflags_saved
=$CFLAGS
6614 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6616 /* end confdefs.h. */
6617 int main(int argc, char **argv) { return 0; }
6619 if ac_fn_c_try_link
"$LINENO"; then :
6620 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6622 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6624 rm -f core conftest.err conftest.
$ac_objext \
6625 conftest
$ac_exeext conftest.
$ac_ext
6626 CFLAGS
=$ac_wine_try_cflags_saved
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6629 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6630 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6631 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6636 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6637 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+set}" = set; then :
6638 $as_echo_n "(cached) " >&6
6640 ac_wine_try_cflags_saved
=$CFLAGS
6641 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6643 /* end confdefs.h. */
6644 int main(int argc, char **argv) { return 0; }
6646 if ac_fn_c_try_link
"$LINENO"; then :
6647 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6649 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6651 rm -f core conftest.err conftest.
$ac_objext \
6652 conftest
$ac_exeext conftest.
$ac_ext
6653 CFLAGS
=$ac_wine_try_cflags_saved
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6656 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6657 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6658 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6661 { $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
6662 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6663 if test "${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+set}" = set; then :
6664 $as_echo_n "(cached) " >&6
6666 ac_wine_try_cflags_saved
=$CFLAGS
6667 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6669 /* end confdefs.h. */
6670 int main(int argc, char **argv) { return 0; }
6672 if ac_fn_c_try_link
"$LINENO"; then :
6673 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6675 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6677 rm -f core conftest.err conftest.
$ac_objext \
6678 conftest
$ac_exeext conftest.
$ac_ext
6679 CFLAGS
=$ac_wine_try_cflags_saved
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6682 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6683 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6684 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6687 echo '{ global: *; };' >conftest.map
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6689 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6690 if test "${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+set}" = set; then :
6691 $as_echo_n "(cached) " >&6
6693 ac_wine_try_cflags_saved
=$CFLAGS
6694 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6697 int main(int argc, char **argv) { return 0; }
6699 if ac_fn_c_try_link
"$LINENO"; then :
6700 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6702 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6704 rm -f core conftest.err conftest.
$ac_objext \
6705 conftest
$ac_exeext conftest.
$ac_ext
6706 CFLAGS
=$ac_wine_try_cflags_saved
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6709 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6710 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6711 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6716 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6717 if test "${ac_cv_cflags__fPIC__Wl___export_dynamic+set}" = set; then :
6718 $as_echo_n "(cached) " >&6
6720 ac_wine_try_cflags_saved
=$CFLAGS
6721 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6722 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6723 /* end confdefs.h. */
6724 int main(int argc, char **argv) { return 0; }
6726 if ac_fn_c_try_link
"$LINENO"; then :
6727 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6729 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6731 rm -f core conftest.err conftest.
$ac_objext \
6732 conftest
$ac_exeext conftest.
$ac_ext
6733 CFLAGS
=$ac_wine_try_cflags_saved
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6736 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6737 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6738 LDEXECFLAGS
="-Wl,--export-dynamic"
6742 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6744 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6745 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6746 $as_echo_n "(cached) " >&6
6748 ac_wine_try_cflags_saved
=$CFLAGS
6749 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6750 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6751 /* end confdefs.h. */
6752 int main(int argc, char **argv) { return 0; }
6754 if ac_fn_c_try_link
"$LINENO"; then :
6755 eval "$as_ac_var=yes"
6757 eval "$as_ac_var=no"
6759 rm -f core conftest.err conftest.
$ac_objext \
6760 conftest
$ac_exeext conftest.
$ac_ext
6761 CFLAGS
=$ac_wine_try_cflags_saved
6763 eval ac_res
=\$
$as_ac_var
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6765 $as_echo "$ac_res" >&6; }
6766 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6767 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6768 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6770 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6772 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6773 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then :
6774 $as_echo_n "(cached) " >&6
6776 ac_wine_try_cflags_saved
=$CFLAGS
6777 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6778 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6779 /* end confdefs.h. */
6780 int main(int argc, char **argv) { return 0; }
6782 if ac_fn_c_try_link
"$LINENO"; then :
6783 eval "$as_ac_var=yes"
6785 eval "$as_ac_var=no"
6787 rm -f core conftest.err conftest.
$ac_objext \
6788 conftest
$ac_exeext conftest.
$ac_ext
6789 CFLAGS
=$ac_wine_try_cflags_saved
6791 eval ac_res
=\$
$as_ac_var
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6793 $as_echo "$ac_res" >&6; }
6794 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6795 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6796 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(TOPOBJDIR)/libs/wine"
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6801 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6802 if test "${ac_cv_cflags__Wl___enable_new_dtags+set}" = set; then :
6803 $as_echo_n "(cached) " >&6
6805 ac_wine_try_cflags_saved
=$CFLAGS
6806 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6808 /* end confdefs.h. */
6809 int main(int argc, char **argv) { return 0; }
6811 if ac_fn_c_try_link
"$LINENO"; then :
6812 ac_cv_cflags__Wl___enable_new_dtags
=yes
6814 ac_cv_cflags__Wl___enable_new_dtags
=no
6816 rm -f core conftest.err conftest.
$ac_objext \
6817 conftest
$ac_exeext conftest.
$ac_ext
6818 CFLAGS
=$ac_wine_try_cflags_saved
6820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6821 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6822 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6823 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6827 *i
[3456789]86* | x86_64
)
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6829 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6830 if test "${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+set}" = set; then :
6831 $as_echo_n "(cached) " >&6
6833 ac_wine_try_cflags_saved
=$CFLAGS
6834 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6837 int main(int argc, char **argv) { return 0; }
6839 if ac_fn_c_try_link
"$LINENO"; then :
6840 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6842 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6844 rm -f core conftest.err conftest.
$ac_objext \
6845 conftest
$ac_exeext conftest.
$ac_ext
6846 CFLAGS
=$ac_wine_try_cflags_saved
6848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6849 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6850 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6851 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
6858 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
6859 if test "${ac_cv_c_dll_unixware+set}" = set; then :
6860 $as_echo_n "(cached) " >&6
6862 ac_wine_try_cflags_saved
=$CFLAGS
6863 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
6864 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6865 /* end confdefs.h. */
6868 if ac_fn_c_try_link
"$LINENO"; then :
6869 ac_cv_c_dll_unixware
="yes"
6871 ac_cv_c_dll_unixware
="no"
6873 rm -f core conftest.err conftest.
$ac_objext \
6874 conftest
$ac_exeext conftest.
$ac_ext
6875 CFLAGS
=$ac_wine_try_cflags_saved
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
6878 $as_echo "$ac_cv_c_dll_unixware" >&6; }
6879 if test "$ac_cv_c_dll_unixware" = "yes"
6881 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
6882 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
6886 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
6887 if test "${ac_cv_c_dll_hpux+set}" = set; then :
6888 $as_echo_n "(cached) " >&6
6890 ac_wine_try_cflags_saved
=$CFLAGS
6891 CFLAGS
="$CFLAGS -shared"
6892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6896 if ac_fn_c_try_link
"$LINENO"; then :
6897 ac_cv_c_dll_hpux
="yes"
6899 ac_cv_c_dll_hpux
="no"
6901 rm -f core conftest.err conftest.
$ac_objext \
6902 conftest
$ac_exeext conftest.
$ac_ext
6903 CFLAGS
=$ac_wine_try_cflags_saved
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
6906 $as_echo "$ac_cv_c_dll_hpux" >&6; }
6907 if test "$ac_cv_c_dll_hpux" = "yes"
6911 LDDLLFLAGS
="-shared -fPIC"
6912 LDSHARED
="\$(CC) -shared"
6919 enable_winequartz_drv
=${enable_winequartz_drv:-no}
6921 if test "$LIBEXT" = "a"; then
6922 as_fn_error
"could not find a way to build shared libraries.
6923 It is currently not possible to build Wine without shared library
6924 (.so) support to allow transparent switch between .so and .dll files.
6925 If you are using Linux, you will need a newer binutils.
6929 if test "$cross_compiling" = "no" -a "$LIBEXT" != "dll"
6933 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 " ;;
6935 ac_prefix_list
="x86_64-pc-mingw32-gcc x86_64-w64-mingw32-gcc " ;;
6937 ac_prefix_list
="" ;;
6939 for ac_prog
in $ac_prefix_list
6941 # Extract the first word of "$ac_prog", so it can be a program name with args.
6942 set dummy
$ac_prog; ac_word
=$2
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6944 $as_echo_n "checking for $ac_word... " >&6; }
6945 if test "${ac_cv_prog_CROSSCC+set}" = set; then :
6946 $as_echo_n "(cached) " >&6
6948 if test -n "$CROSSCC"; then
6949 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
6951 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6955 test -z "$as_dir" && as_dir
=.
6956 for ac_exec_ext
in '' $ac_executable_extensions; do
6957 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6958 ac_cv_prog_CROSSCC
="$ac_prog"
6959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6968 CROSSCC
=$ac_cv_prog_CROSSCC
6969 if test -n "$CROSSCC"; then
6970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
6971 $as_echo "$CROSSCC" >&6; }
6973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6974 $as_echo "no" >&6; }
6978 test -n "$CROSSCC" && break
6980 test -n "$CROSSCC" || CROSSCC
="false"
6982 if test "$CROSSCC" != "false"
6984 CROSSTEST
="\$(CROSSTEST)"
6992 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
6996 if test -n "$target"
6998 CROSSTARGET
="$target"
7005 if test "$ac_cv_header_pthread_h" = "yes"
7007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7008 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7009 if test "${ac_cv_lib_pthread_pthread_create+set}" = set; then :
7010 $as_echo_n "(cached) " >&6
7012 ac_check_lib_save_LIBS
=$LIBS
7013 LIBS
="-lpthread $LIBS"
7014 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7015 /* end confdefs.h. */
7017 /* Override any GCC internal prototype to avoid an error.
7018 Use char because int might match the return type of a GCC
7019 builtin and then its argument prototype would still apply. */
7023 char pthread_create ();
7027 return pthread_create ();
7032 if ac_fn_c_try_link
"$LINENO"; then :
7033 ac_cv_lib_pthread_pthread_create
=yes
7035 ac_cv_lib_pthread_pthread_create
=no
7037 rm -f core conftest.err conftest.
$ac_objext \
7038 conftest
$ac_exeext conftest.
$ac_ext
7039 LIBS
=$ac_check_lib_save_LIBS
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7042 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7043 if test "x$ac_cv_lib_pthread_pthread_create" = x
""yes; then :
7044 LIBPTHREAD
="-lpthread"
7049 if test "x$LIBPTHREAD" = "x"; then :
7050 case "x$with_pthread" in
7052 *) as_fn_error
"pthread ${notice_platform}development files not found.
7053 Wine cannot support threads without libpthread.
7054 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7060 $as_echo_n "checking for X... " >&6; }
7063 # Check whether --with-x was given.
7064 if test "${with_x+set}" = set; then :
7068 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7069 if test "x$with_x" = xno
; then
7070 # The user explicitly disabled X.
7073 case $x_includes,$x_libraries in #(
7074 *\'*) as_fn_error
"cannot use X directory names containing '" "$LINENO" 5;; #(
7075 *,NONE | NONE
,*) if test "${ac_cv_have_x+set}" = set; then :
7076 $as_echo_n "(cached) " >&6
7078 # One or both of the vars are not set, and there is no cached value.
7079 ac_x_includes
=no ac_x_libraries
=no
7080 rm -f -r conftest.dir
7081 if mkdir conftest.dir
; then
7083 cat >Imakefile
<<'_ACEOF'
7085 @echo incroot='${INCROOT}'
7087 @echo usrlibdir='${USRLIBDIR}'
7089 @echo libdir='${LIBDIR}'
7091 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7092 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7093 for ac_var
in incroot usrlibdir libdir
; do
7094 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7096 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7097 for ac_extension
in a so sl dylib la dll
; do
7098 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7099 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7100 ac_im_usrlibdir
=$ac_im_libdir; break
7103 # Screen out bogus values from the imake configuration. They are
7104 # bogus both because they are the default anyway, and because
7105 # using them would break gcc on systems where it needs fixed includes.
7106 case $ac_im_incroot in
7107 /usr
/include
) ac_x_includes
= ;;
7108 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7110 case $ac_im_usrlibdir in
7111 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7112 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7116 rm -f -r conftest.dir
7119 # Standard set of common directories for X headers.
7120 # Check X11 before X11Rn because it is often a symlink to the current release.
7134 /usr/local/X11/include
7135 /usr/local/X11R7/include
7136 /usr/local/X11R6/include
7137 /usr/local/X11R5/include
7138 /usr/local/X11R4/include
7140 /usr/local/include/X11
7141 /usr/local/include/X11R7
7142 /usr/local/include/X11R6
7143 /usr/local/include/X11R5
7144 /usr/local/include/X11R4
7148 /usr/XFree86/include/X11
7152 /usr/unsupported/include
7154 /usr/local/x11r5/include
7155 /usr/lpp/Xamples/include
7157 /usr/openwin/include
7158 /usr/openwin/share/include'
7160 if test "$ac_x_includes" = no
; then
7161 # Guess where to find include files, by looking for Xlib.h.
7162 # First, try using that file with no special directory specified.
7163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7164 /* end confdefs.h. */
7165 #include <X11/Xlib.h>
7167 if ac_fn_c_try_cpp
"$LINENO"; then :
7168 # We can compile using X headers with no special include directory.
7171 for ac_dir
in $ac_x_header_dirs; do
7172 if test -r "$ac_dir/X11/Xlib.h"; then
7173 ac_x_includes
=$ac_dir
7178 rm -f conftest.err conftest.
$ac_ext
7179 fi # $ac_x_includes = no
7181 if test "$ac_x_libraries" = no
; then
7182 # Check for the libraries.
7183 # See if we find them without any special options.
7184 # Don't add to $LIBS permanently.
7187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7188 /* end confdefs.h. */
7189 #include <X11/Xlib.h>
7198 if ac_fn_c_try_link
"$LINENO"; then :
7200 # We can link X programs with no special library path.
7204 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7206 # Don't even attempt the hair of trying to link an X program!
7207 for ac_extension
in a so sl dylib la dll
; do
7208 if test -r "$ac_dir/libX11.$ac_extension"; then
7209 ac_x_libraries
=$ac_dir
7215 rm -f core conftest.err conftest.
$ac_objext \
7216 conftest
$ac_exeext conftest.
$ac_ext
7217 fi # $ac_x_libraries = no
7219 case $ac_x_includes,$ac_x_libraries in #(
7221 # Didn't find X, or a directory has "'" in its name.
7222 ac_cv_have_x
="have_x=no";; #(
7224 # Record where we found X for the cache.
7225 ac_cv_have_x
="have_x=yes\
7226 ac_x_includes='$ac_x_includes'\
7227 ac_x_libraries='$ac_x_libraries'"
7233 eval "$ac_cv_have_x"
7236 if test "$have_x" != yes; then
7237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7238 $as_echo "$have_x" >&6; }
7241 # If each of the values was on the command line, it overrides each guess.
7242 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7243 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7244 # Update the cache value to reflect the command line values.
7245 ac_cv_have_x
="have_x=yes\
7246 ac_x_includes='$x_includes'\
7247 ac_x_libraries='$x_libraries'"
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7249 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7252 if test "$no_x" = yes; then
7253 # Not all programs may use this symbol, but it does not hurt to define it.
7255 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7257 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7259 if test -n "$x_includes"; then
7260 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7263 # It would also be nice to do this for all -L options, not just this one.
7264 if test -n "$x_libraries"; then
7265 X_LIBS
="$X_LIBS -L$x_libraries"
7266 # For Solaris; some versions of Sun CC require a space after -R and
7267 # others require no space. Words are not sufficient . . . .
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7269 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7270 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7271 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7272 ac_c_werror_flag
=yes
7273 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7284 if ac_fn_c_try_link
"$LINENO"; then :
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7286 $as_echo "no" >&6; }
7287 X_LIBS
="$X_LIBS -R$x_libraries"
7289 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7290 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7291 /* end confdefs.h. */
7301 if ac_fn_c_try_link
"$LINENO"; then :
7302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7303 $as_echo "yes" >&6; }
7304 X_LIBS
="$X_LIBS -R $x_libraries"
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7307 $as_echo "neither works" >&6; }
7309 rm -f core conftest.err conftest.
$ac_objext \
7310 conftest
$ac_exeext conftest.
$ac_ext
7312 rm -f core conftest.err conftest.
$ac_objext \
7313 conftest
$ac_exeext conftest.
$ac_ext
7314 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7318 # Check for system-dependent libraries X programs must link with.
7319 # Do this before checking for the system-independent R6 libraries
7320 # (-lICE), since we may need -lsocket or whatever for X linking.
7322 if test "$ISC" = yes; then
7323 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7325 # Martyn Johnson says this is needed for Ultrix, if the X
7326 # libraries were built with DECnet support. And Karl Berry says
7327 # the Alpha needs dnet_stub (dnet does not exist).
7328 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7330 /* end confdefs.h. */
7332 /* Override any GCC internal prototype to avoid an error.
7333 Use char because int might match the return type of a GCC
7334 builtin and then its argument prototype would still apply. */
7338 char XOpenDisplay ();
7342 return XOpenDisplay ();
7347 if ac_fn_c_try_link
"$LINENO"; then :
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7351 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7352 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
7353 $as_echo_n "(cached) " >&6
7355 ac_check_lib_save_LIBS
=$LIBS
7357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7358 /* end confdefs.h. */
7360 /* Override any GCC internal prototype to avoid an error.
7361 Use char because int might match the return type of a GCC
7362 builtin and then its argument prototype would still apply. */
7370 return dnet_ntoa ();
7375 if ac_fn_c_try_link
"$LINENO"; then :
7376 ac_cv_lib_dnet_dnet_ntoa
=yes
7378 ac_cv_lib_dnet_dnet_ntoa
=no
7380 rm -f core conftest.err conftest.
$ac_objext \
7381 conftest
$ac_exeext conftest.
$ac_ext
7382 LIBS
=$ac_check_lib_save_LIBS
7384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7385 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7386 if test "x$ac_cv_lib_dnet_dnet_ntoa" = x
""yes; then :
7387 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7390 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7392 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7393 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
7394 $as_echo_n "(cached) " >&6
7396 ac_check_lib_save_LIBS
=$LIBS
7397 LIBS
="-ldnet_stub $LIBS"
7398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7399 /* end confdefs.h. */
7401 /* Override any GCC internal prototype to avoid an error.
7402 Use char because int might match the return type of a GCC
7403 builtin and then its argument prototype would still apply. */
7411 return dnet_ntoa ();
7416 if ac_fn_c_try_link
"$LINENO"; then :
7417 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7419 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7421 rm -f core conftest.err conftest.
$ac_objext \
7422 conftest
$ac_exeext conftest.
$ac_ext
7423 LIBS
=$ac_check_lib_save_LIBS
7425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7426 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7427 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x
""yes; then :
7428 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7433 rm -f core conftest.err conftest.
$ac_objext \
7434 conftest
$ac_exeext conftest.
$ac_ext
7435 LIBS
="$ac_xsave_LIBS"
7437 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7438 # to get the SysV transport functions.
7439 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7441 # The nsl library prevents programs from opening the X display
7442 # on Irix 5.2, according to T.E. Dickey.
7443 # The functions gethostbyname, getservbyname, and inet_addr are
7444 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7445 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7446 if test "x$ac_cv_func_gethostbyname" = x
""yes; then :
7450 if test $ac_cv_func_gethostbyname = no
; then
7451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7452 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7453 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
7454 $as_echo_n "(cached) " >&6
7456 ac_check_lib_save_LIBS
=$LIBS
7458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7459 /* end confdefs.h. */
7461 /* Override any GCC internal prototype to avoid an error.
7462 Use char because int might match the return type of a GCC
7463 builtin and then its argument prototype would still apply. */
7467 char gethostbyname ();
7471 return gethostbyname ();
7476 if ac_fn_c_try_link
"$LINENO"; then :
7477 ac_cv_lib_nsl_gethostbyname
=yes
7479 ac_cv_lib_nsl_gethostbyname
=no
7481 rm -f core conftest.err conftest.
$ac_objext \
7482 conftest
$ac_exeext conftest.
$ac_ext
7483 LIBS
=$ac_check_lib_save_LIBS
7485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7486 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7487 if test "x$ac_cv_lib_nsl_gethostbyname" = x
""yes; then :
7488 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7491 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7493 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7494 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
7495 $as_echo_n "(cached) " >&6
7497 ac_check_lib_save_LIBS
=$LIBS
7499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7500 /* end confdefs.h. */
7502 /* Override any GCC internal prototype to avoid an error.
7503 Use char because int might match the return type of a GCC
7504 builtin and then its argument prototype would still apply. */
7508 char gethostbyname ();
7512 return gethostbyname ();
7517 if ac_fn_c_try_link
"$LINENO"; then :
7518 ac_cv_lib_bsd_gethostbyname
=yes
7520 ac_cv_lib_bsd_gethostbyname
=no
7522 rm -f core conftest.err conftest.
$ac_objext \
7523 conftest
$ac_exeext conftest.
$ac_ext
7524 LIBS
=$ac_check_lib_save_LIBS
7526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7527 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7528 if test "x$ac_cv_lib_bsd_gethostbyname" = x
""yes; then :
7529 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7535 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7536 # socket/setsockopt and other routines are undefined under SCO ODT
7537 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7538 # on later versions), says Simon Leinen: it contains gethostby*
7539 # variants that don't use the name server (or something). -lsocket
7540 # must be given before -lnsl if both are needed. We assume that
7541 # if connect needs -lnsl, so does gethostbyname.
7542 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7543 if test "x$ac_cv_func_connect" = x
""yes; then :
7547 if test $ac_cv_func_connect = no
; then
7548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7549 $as_echo_n "checking for connect in -lsocket... " >&6; }
7550 if test "${ac_cv_lib_socket_connect+set}" = set; then :
7551 $as_echo_n "(cached) " >&6
7553 ac_check_lib_save_LIBS
=$LIBS
7554 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7555 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7556 /* end confdefs.h. */
7558 /* Override any GCC internal prototype to avoid an error.
7559 Use char because int might match the return type of a GCC
7560 builtin and then its argument prototype would still apply. */
7573 if ac_fn_c_try_link
"$LINENO"; then :
7574 ac_cv_lib_socket_connect
=yes
7576 ac_cv_lib_socket_connect
=no
7578 rm -f core conftest.err conftest.
$ac_objext \
7579 conftest
$ac_exeext conftest.
$ac_ext
7580 LIBS
=$ac_check_lib_save_LIBS
7582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7583 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7584 if test "x$ac_cv_lib_socket_connect" = x
""yes; then :
7585 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7590 # Guillermo Gomez says -lposix is necessary on A/UX.
7591 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7592 if test "x$ac_cv_func_remove" = x
""yes; then :
7596 if test $ac_cv_func_remove = no
; then
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7598 $as_echo_n "checking for remove in -lposix... " >&6; }
7599 if test "${ac_cv_lib_posix_remove+set}" = set; then :
7600 $as_echo_n "(cached) " >&6
7602 ac_check_lib_save_LIBS
=$LIBS
7603 LIBS
="-lposix $LIBS"
7604 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7605 /* end confdefs.h. */
7607 /* Override any GCC internal prototype to avoid an error.
7608 Use char because int might match the return type of a GCC
7609 builtin and then its argument prototype would still apply. */
7622 if ac_fn_c_try_link
"$LINENO"; then :
7623 ac_cv_lib_posix_remove
=yes
7625 ac_cv_lib_posix_remove
=no
7627 rm -f core conftest.err conftest.
$ac_objext \
7628 conftest
$ac_exeext conftest.
$ac_ext
7629 LIBS
=$ac_check_lib_save_LIBS
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7632 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7633 if test "x$ac_cv_lib_posix_remove" = x
""yes; then :
7634 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7639 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7640 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7641 if test "x$ac_cv_func_shmat" = x
""yes; then :
7645 if test $ac_cv_func_shmat = no
; then
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7647 $as_echo_n "checking for shmat in -lipc... " >&6; }
7648 if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
7649 $as_echo_n "(cached) " >&6
7651 ac_check_lib_save_LIBS
=$LIBS
7653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7654 /* end confdefs.h. */
7656 /* Override any GCC internal prototype to avoid an error.
7657 Use char because int might match the return type of a GCC
7658 builtin and then its argument prototype would still apply. */
7671 if ac_fn_c_try_link
"$LINENO"; then :
7672 ac_cv_lib_ipc_shmat
=yes
7674 ac_cv_lib_ipc_shmat
=no
7676 rm -f core conftest.err conftest.
$ac_objext \
7677 conftest
$ac_exeext conftest.
$ac_ext
7678 LIBS
=$ac_check_lib_save_LIBS
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7681 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7682 if test "x$ac_cv_lib_ipc_shmat" = x
""yes; then :
7683 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7689 # Check for libraries that X11R6 Xt/Xaw programs need.
7690 ac_save_LDFLAGS
=$LDFLAGS
7691 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7692 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7693 # check for ICE first), but we must link in the order -lSM -lICE or
7694 # we get undefined symbols. So assume we have SM if we have ICE.
7695 # These have to be linked with before -lX11, unlike the other
7696 # libraries we check for below, so use a different variable.
7697 # John Interrante, Karl Berry
7698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7699 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7700 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
7701 $as_echo_n "(cached) " >&6
7703 ac_check_lib_save_LIBS
=$LIBS
7704 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7705 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7706 /* end confdefs.h. */
7708 /* Override any GCC internal prototype to avoid an error.
7709 Use char because int might match the return type of a GCC
7710 builtin and then its argument prototype would still apply. */
7714 char IceConnectionNumber ();
7718 return IceConnectionNumber ();
7723 if ac_fn_c_try_link
"$LINENO"; then :
7724 ac_cv_lib_ICE_IceConnectionNumber
=yes
7726 ac_cv_lib_ICE_IceConnectionNumber
=no
7728 rm -f core conftest.err conftest.
$ac_objext \
7729 conftest
$ac_exeext conftest.
$ac_ext
7730 LIBS
=$ac_check_lib_save_LIBS
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7733 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7734 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x
""yes; then :
7735 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7738 LDFLAGS
=$ac_save_LDFLAGS
7743 if test "$have_x" = "yes"
7746 ac_save_CPPFLAGS
="$CPPFLAGS"
7747 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7750 $as_echo_n "checking for -lX11... " >&6; }
7751 if test "${ac_cv_lib_soname_X11+set}" = set; then :
7752 $as_echo_n "(cached) " >&6
7754 ac_check_soname_save_LIBS
=$LIBS
7755 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7756 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7757 /* end confdefs.h. */
7759 /* Override any GCC internal prototype to avoid an error.
7760 Use char because int might match the return type of a GCC
7761 builtin and then its argument prototype would still apply. */
7765 char XCreateWindow ();
7769 return XCreateWindow ();
7774 if ac_fn_c_try_link
"$LINENO"; then :
7776 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7777 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'` ;;
7778 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7781 rm -f core conftest.err conftest.
$ac_objext \
7782 conftest
$ac_exeext conftest.
$ac_ext
7783 LIBS
=$ac_check_soname_save_LIBS
7785 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7787 $as_echo "not found" >&6; }
7790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7791 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7793 cat >>confdefs.h
<<_ACEOF
7794 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
7800 $as_echo_n "checking for -lXext... " >&6; }
7801 if test "${ac_cv_lib_soname_Xext+set}" = set; then :
7802 $as_echo_n "(cached) " >&6
7804 ac_check_soname_save_LIBS
=$LIBS
7805 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
7806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7807 /* end confdefs.h. */
7809 /* Override any GCC internal prototype to avoid an error.
7810 Use char because int might match the return type of a GCC
7811 builtin and then its argument prototype would still apply. */
7815 char XextCreateExtension ();
7819 return XextCreateExtension ();
7824 if ac_fn_c_try_link
"$LINENO"; then :
7826 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7827 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'` ;;
7828 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7831 rm -f core conftest.err conftest.
$ac_objext \
7832 conftest
$ac_exeext conftest.
$ac_ext
7833 LIBS
=$ac_check_soname_save_LIBS
7835 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7837 $as_echo "not found" >&6; }
7840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
7841 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
7843 cat >>confdefs.h
<<_ACEOF
7844 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
7850 for ac_header
in X11
/Xlib.h \
7853 X11
/Xcursor
/Xcursor.h \
7854 X11
/extensions
/shape.h \
7855 X11
/extensions
/XInput.h \
7856 X11
/extensions
/XShm.h \
7857 X11
/extensions
/Xcomposite.h \
7858 X11
/extensions
/Xinerama.h \
7859 X11
/extensions
/Xrandr.h \
7860 X11
/extensions
/Xrender.h \
7861 X11
/extensions
/xf86vmode.h \
7862 X11
/extensions
/xf86vmproto.h
7864 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7865 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
7866 # include <X11/Xlib.h>
7868 #ifdef HAVE_X11_XUTIL_H
7869 # include <X11/Xutil.h>
7872 eval as_val
=\$
$as_ac_Header
7873 if test "x$as_val" = x
""yes; then :
7874 cat >>confdefs.h
<<_ACEOF
7875 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7883 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
7886 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
7887 if test "${ac_cv_lib_X11_XkbQueryExtension+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7890 ac_check_lib_save_LIBS
=$LIBS
7891 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7895 /* Override any GCC internal prototype to avoid an error.
7896 Use char because int might match the return type of a GCC
7897 builtin and then its argument prototype would still apply. */
7901 char XkbQueryExtension ();
7905 return XkbQueryExtension ();
7910 if ac_fn_c_try_link
"$LINENO"; then :
7911 ac_cv_lib_X11_XkbQueryExtension
=yes
7913 ac_cv_lib_X11_XkbQueryExtension
=no
7915 rm -f core conftest.err conftest.
$ac_objext \
7916 conftest
$ac_exeext conftest.
$ac_ext
7917 LIBS
=$ac_check_lib_save_LIBS
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
7920 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
7921 if test "x$ac_cv_lib_X11_XkbQueryExtension" = x
""yes; then :
7923 $as_echo "#define HAVE_XKB 1" >>confdefs.h
7929 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
7932 $as_echo_n "checking for -lXcursor... " >&6; }
7933 if test "${ac_cv_lib_soname_Xcursor+set}" = set; then :
7934 $as_echo_n "(cached) " >&6
7936 ac_check_soname_save_LIBS
=$LIBS
7937 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
7938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7939 /* end confdefs.h. */
7941 /* Override any GCC internal prototype to avoid an error.
7942 Use char because int might match the return type of a GCC
7943 builtin and then its argument prototype would still apply. */
7947 char XcursorImageLoadCursor ();
7951 return XcursorImageLoadCursor ();
7956 if ac_fn_c_try_link
"$LINENO"; then :
7958 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7959 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'` ;;
7960 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7963 rm -f core conftest.err conftest.
$ac_objext \
7964 conftest
$ac_exeext conftest.
$ac_ext
7965 LIBS
=$ac_check_soname_save_LIBS
7967 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7969 $as_echo "not found" >&6; }
7972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
7973 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
7975 cat >>confdefs.h
<<_ACEOF
7976 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
7982 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
7983 case "x$with_xcursor" in
7984 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
7986 *) as_fn_error
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
7987 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
7991 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
7994 $as_echo_n "checking for -lXi... " >&6; }
7995 if test "${ac_cv_lib_soname_Xi+set}" = set; then :
7996 $as_echo_n "(cached) " >&6
7998 ac_check_soname_save_LIBS
=$LIBS
7999 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8003 /* Override any GCC internal prototype to avoid an error.
8004 Use char because int might match the return type of a GCC
8005 builtin and then its argument prototype would still apply. */
8009 char XOpenDevice ();
8013 return XOpenDevice ();
8018 if ac_fn_c_try_link
"$LINENO"; then :
8020 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8021 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'` ;;
8022 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8025 rm -f core conftest.err conftest.
$ac_objext \
8026 conftest
$ac_exeext conftest.
$ac_ext
8027 LIBS
=$ac_check_soname_save_LIBS
8029 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8031 $as_echo "not found" >&6; }
8034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8035 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8037 cat >>confdefs.h
<<_ACEOF
8038 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8044 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8045 case "x$with_xinput" in
8046 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8048 *) as_fn_error
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8049 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8053 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8056 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8057 if test "${ac_cv_lib_Xext_XShmQueryExtension+set}" = set; then :
8058 $as_echo_n "(cached) " >&6
8060 ac_check_lib_save_LIBS
=$LIBS
8061 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8062 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8063 /* end confdefs.h. */
8065 /* Override any GCC internal prototype to avoid an error.
8066 Use char because int might match the return type of a GCC
8067 builtin and then its argument prototype would still apply. */
8071 char XShmQueryExtension ();
8075 return XShmQueryExtension ();
8080 if ac_fn_c_try_link
"$LINENO"; then :
8081 ac_cv_lib_Xext_XShmQueryExtension
=yes
8083 ac_cv_lib_Xext_XShmQueryExtension
=no
8085 rm -f core conftest.err conftest.
$ac_objext \
8086 conftest
$ac_exeext conftest.
$ac_ext
8087 LIBS
=$ac_check_lib_save_LIBS
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8090 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8091 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = x
""yes; then :
8093 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8098 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8099 case "x$with_xshm" in
8100 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8102 *) as_fn_error
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8103 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8107 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8110 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8111 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then :
8112 $as_echo_n "(cached) " >&6
8114 ac_check_lib_save_LIBS
=$LIBS
8115 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8117 /* end confdefs.h. */
8119 /* Override any GCC internal prototype to avoid an error.
8120 Use char because int might match the return type of a GCC
8121 builtin and then its argument prototype would still apply. */
8125 char XShapeQueryExtension ();
8129 return XShapeQueryExtension ();
8134 if ac_fn_c_try_link
"$LINENO"; then :
8135 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8137 ac_cv_lib_Xext_XShapeQueryExtension
=no
8139 rm -f core conftest.err conftest.
$ac_objext \
8140 conftest
$ac_exeext conftest.
$ac_ext
8141 LIBS
=$ac_check_lib_save_LIBS
8143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8144 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8145 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = x
""yes; then :
8147 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8152 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8153 case "x$with_xshape" in
8154 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8156 *) as_fn_error
"XShape ${notice_platform}development files not found, XShape won't be supported.
8157 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8161 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8164 $as_echo_n "checking for -lXxf86vm... " >&6; }
8165 if test "${ac_cv_lib_soname_Xxf86vm+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8168 ac_check_soname_save_LIBS
=$LIBS
8169 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8170 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8171 /* end confdefs.h. */
8173 /* Override any GCC internal prototype to avoid an error.
8174 Use char because int might match the return type of a GCC
8175 builtin and then its argument prototype would still apply. */
8179 char XF86VidModeQueryExtension ();
8183 return XF86VidModeQueryExtension ();
8188 if ac_fn_c_try_link
"$LINENO"; then :
8190 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8191 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'` ;;
8192 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8195 rm -f core conftest.err conftest.
$ac_objext \
8196 conftest
$ac_exeext conftest.
$ac_ext
8197 LIBS
=$ac_check_soname_save_LIBS
8199 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8201 $as_echo "not found" >&6; }
8204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8205 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8207 cat >>confdefs.h
<<_ACEOF
8208 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8214 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8215 case "x$with_xxf86vm" in
8216 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8218 *) as_fn_error
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8219 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8223 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"
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8226 $as_echo_n "checking for -lXrender... " >&6; }
8227 if test "${ac_cv_lib_soname_Xrender+set}" = set; then :
8228 $as_echo_n "(cached) " >&6
8230 ac_check_soname_save_LIBS
=$LIBS
8231 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8232 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8233 /* end confdefs.h. */
8235 /* Override any GCC internal prototype to avoid an error.
8236 Use char because int might match the return type of a GCC
8237 builtin and then its argument prototype would still apply. */
8241 char XRenderQueryExtension ();
8245 return XRenderQueryExtension ();
8250 if ac_fn_c_try_link
"$LINENO"; then :
8252 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8253 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'` ;;
8254 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8257 rm -f core conftest.err conftest.
$ac_objext \
8258 conftest
$ac_exeext conftest.
$ac_ext
8259 LIBS
=$ac_check_soname_save_LIBS
8261 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8263 $as_echo "not found" >&6; }
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8267 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8269 cat >>confdefs.h
<<_ACEOF
8270 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8274 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8275 if test "${ac_cv_lib_Xrender_XRenderSetPictureTransform+set}" = set; then :
8276 $as_echo_n "(cached) " >&6
8278 ac_check_lib_save_LIBS
=$LIBS
8279 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8281 /* end confdefs.h. */
8283 /* Override any GCC internal prototype to avoid an error.
8284 Use char because int might match the return type of a GCC
8285 builtin and then its argument prototype would still apply. */
8289 char XRenderSetPictureTransform ();
8293 return XRenderSetPictureTransform ();
8298 if ac_fn_c_try_link
"$LINENO"; then :
8299 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8301 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8303 rm -f core conftest.err conftest.
$ac_objext \
8304 conftest
$ac_exeext conftest.
$ac_ext
8305 LIBS
=$ac_check_lib_save_LIBS
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8308 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8309 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = x
""yes; then :
8311 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8318 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8319 case "x$with_xrender" in
8320 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8322 *) as_fn_error
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8323 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8327 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8330 /* end confdefs.h. */
8331 #include <X11/Xlib.h>
8332 #include <X11/extensions/Xrandr.h>
8336 static typeof(XRRSetScreenConfigAndRate) * func;
8341 if ac_fn_c_try_compile
"$LINENO"; then :
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8343 $as_echo_n "checking for -lXrandr... " >&6; }
8344 if test "${ac_cv_lib_soname_Xrandr+set}" = set; then :
8345 $as_echo_n "(cached) " >&6
8347 ac_check_soname_save_LIBS
=$LIBS
8348 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8349 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8350 /* end confdefs.h. */
8352 /* Override any GCC internal prototype to avoid an error.
8353 Use char because int might match the return type of a GCC
8354 builtin and then its argument prototype would still apply. */
8358 char XRRQueryExtension ();
8362 return XRRQueryExtension ();
8367 if ac_fn_c_try_link
"$LINENO"; then :
8369 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8370 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'` ;;
8371 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8374 rm -f core conftest.err conftest.
$ac_objext \
8375 conftest
$ac_exeext conftest.
$ac_ext
8376 LIBS
=$ac_check_soname_save_LIBS
8378 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8380 $as_echo "not found" >&6; }
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8384 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8386 cat >>confdefs.h
<<_ACEOF
8387 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8393 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8395 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8396 case "x$with_xrandr" in
8397 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8399 *) as_fn_error
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8400 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8404 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8406 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8407 /* end confdefs.h. */
8408 #include <X11/Xlib.h>
8409 #include <X11/extensions/Xinerama.h>
8413 static typeof(XineramaQueryScreens) * func;
8418 if ac_fn_c_try_compile
"$LINENO"; then :
8419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8420 $as_echo_n "checking for -lXinerama... " >&6; }
8421 if test "${ac_cv_lib_soname_Xinerama+set}" = set; then :
8422 $as_echo_n "(cached) " >&6
8424 ac_check_soname_save_LIBS
=$LIBS
8425 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8427 /* end confdefs.h. */
8429 /* Override any GCC internal prototype to avoid an error.
8430 Use char because int might match the return type of a GCC
8431 builtin and then its argument prototype would still apply. */
8435 char XineramaQueryScreens ();
8439 return XineramaQueryScreens ();
8444 if ac_fn_c_try_link
"$LINENO"; then :
8446 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8447 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'` ;;
8448 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8451 rm -f core conftest.err conftest.
$ac_objext \
8452 conftest
$ac_exeext conftest.
$ac_ext
8453 LIBS
=$ac_check_soname_save_LIBS
8455 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8457 $as_echo "not found" >&6; }
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8461 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8463 cat >>confdefs.h
<<_ACEOF
8464 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8470 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8472 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8473 case "x$with_xinerama" in
8474 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8476 *) as_fn_error
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8477 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8481 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8484 $as_echo_n "checking for -lXcomposite... " >&6; }
8485 if test "${ac_cv_lib_soname_Xcomposite+set}" = set; then :
8486 $as_echo_n "(cached) " >&6
8488 ac_check_soname_save_LIBS
=$LIBS
8489 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8490 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8491 /* end confdefs.h. */
8493 /* Override any GCC internal prototype to avoid an error.
8494 Use char because int might match the return type of a GCC
8495 builtin and then its argument prototype would still apply. */
8499 char XCompositeRedirectWindow ();
8503 return XCompositeRedirectWindow ();
8508 if ac_fn_c_try_link
"$LINENO"; then :
8510 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8511 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'` ;;
8512 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8515 rm -f core conftest.err conftest.
$ac_objext \
8516 conftest
$ac_exeext conftest.
$ac_ext
8517 LIBS
=$ac_check_soname_save_LIBS
8519 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8521 $as_echo "not found" >&6; }
8524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8525 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8527 cat >>confdefs.h
<<_ACEOF
8528 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8534 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8535 case "x$with_xcomposite" in
8536 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8538 *) as_fn_error
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8539 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8543 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8544 #include <X11/Xlib.h>
8547 if test "x$ac_cv_member_XICCallback_callback" = x
""yes; then :
8549 cat >>confdefs.h
<<_ACEOF
8550 #define HAVE_XICCALLBACK_CALLBACK 1
8559 if test "x$with_opengl" != "xno"
8561 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8563 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8564 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8565 # include <GL/glx.h>
8568 eval as_val
=\$
$as_ac_Header
8569 if test "x$as_val" = x
""yes; then :
8570 cat >>confdefs.h
<<_ACEOF
8571 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8578 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8581 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8582 if test "${wine_cv_opengl_header_version_OK+set}" = set; then :
8583 $as_echo_n "(cached) " >&6
8585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8586 /* end confdefs.h. */
8591 GLenum test = GL_UNSIGNED_SHORT_5_6_5;
8596 if ac_fn_c_try_compile
"$LINENO"; then :
8597 wine_cv_opengl_header_version_OK
="yes"
8599 wine_cv_opengl_header_version_OK
="no"
8601 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8604 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8606 if test "$wine_cv_opengl_header_version_OK" = "yes"
8608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8609 $as_echo_n "checking for -lGL... " >&6; }
8610 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8611 $as_echo_n "(cached) " >&6
8613 ac_check_soname_save_LIBS
=$LIBS
8614 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8615 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8616 /* end confdefs.h. */
8618 /* Override any GCC internal prototype to avoid an error.
8619 Use char because int might match the return type of a GCC
8620 builtin and then its argument prototype would still apply. */
8624 char glXCreateContext ();
8628 return glXCreateContext ();
8633 if ac_fn_c_try_link
"$LINENO"; then :
8635 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8636 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'` ;;
8637 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8640 rm -f core conftest.err conftest.
$ac_objext \
8641 conftest
$ac_exeext conftest.
$ac_ext
8642 LIBS
=$ac_check_soname_save_LIBS
8644 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8646 $as_echo "not found" >&6; }
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8648 $as_echo_n "checking for -lGL... " >&6; }
8649 if test "${ac_cv_lib_soname_GL+set}" = set; then :
8650 $as_echo_n "(cached) " >&6
8652 ac_check_soname_save_LIBS
=$LIBS
8653 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"
8654 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8655 /* end confdefs.h. */
8657 /* Override any GCC internal prototype to avoid an error.
8658 Use char because int might match the return type of a GCC
8659 builtin and then its argument prototype would still apply. */
8663 char glXCreateContext ();
8667 return glXCreateContext ();
8672 if ac_fn_c_try_link
"$LINENO"; then :
8674 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8675 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'` ;;
8676 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8679 rm -f core conftest.err conftest.
$ac_objext \
8680 conftest
$ac_exeext conftest.
$ac_ext
8681 LIBS
=$ac_check_soname_save_LIBS
8683 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8685 $as_echo "not found" >&6; }
8686 if test -f /usr
/X11R
6/lib
/libGL.a
8688 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8689 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8691 opengl_msg
="No OpenGL library found on this system."
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8695 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8697 cat >>confdefs.h
<<_ACEOF
8698 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8701 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"
8703 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8708 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8710 cat >>confdefs.h
<<_ACEOF
8711 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8716 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8719 if test "$ac_cv_header_GL_glu_h" = "yes"
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8722 $as_echo_n "checking for -lGLU... " >&6; }
8723 if test "${ac_cv_lib_soname_GLU+set}" = set; then :
8724 $as_echo_n "(cached) " >&6
8726 ac_check_soname_save_LIBS
=$LIBS
8727 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8728 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8729 /* end confdefs.h. */
8731 /* Override any GCC internal prototype to avoid an error.
8732 Use char because int might match the return type of a GCC
8733 builtin and then its argument prototype would still apply. */
8741 return gluLookAt ();
8746 if ac_fn_c_try_link
"$LINENO"; then :
8748 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8749 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'` ;;
8750 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8753 rm -f core conftest.err conftest.
$ac_objext \
8754 conftest
$ac_exeext conftest.
$ac_ext
8755 LIBS
=$ac_check_soname_save_LIBS
8757 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8759 $as_echo "not found" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8763 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8765 cat >>confdefs.h
<<_ACEOF
8766 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8772 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8773 case "x$with_glu" in
8774 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8776 *) as_fn_error
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8777 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8781 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8784 opengl_msg
="OpenGL development headers not found."
8786 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
8787 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
8789 enable_opengl32
=${enable_opengl32:-no}
8790 enable_glu32
=${enable_glu32:-no}
8792 if test -n "$opengl_msg"; then :
8793 case "x$with_opengl" in
8794 x
) as_fn_append wine_warnings
"|$opengl_msg
8795 OpenGL and Direct3D won't be supported." ;;
8797 *) as_fn_error
"$opengl_msg
8798 OpenGL and Direct3D won't be supported.
8799 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
8805 for ac_header
in audio
/audiolib.h
8807 ac_fn_c_check_header_mongrel
"$LINENO" "audio/audiolib.h" "ac_cv_header_audio_audiolib_h" "$ac_includes_default"
8808 if test "x$ac_cv_header_audio_audiolib_h" = x
""yes; then :
8809 cat >>confdefs.h
<<_ACEOF
8810 #define HAVE_AUDIO_AUDIOLIB_H 1
8812 for ac_header
in audio
/soundlib.h
8814 ac_fn_c_check_header_compile
"$LINENO" "audio/soundlib.h" "ac_cv_header_audio_soundlib_h" "#include <audio/audiolib.h>
8816 if test "x$ac_cv_header_audio_soundlib_h" = x
""yes; then :
8817 cat >>confdefs.h
<<_ACEOF
8818 #define HAVE_AUDIO_SOUNDLIB_H 1
8825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AuCreateFlow in -laudio" >&5
8826 $as_echo_n "checking for AuCreateFlow in -laudio... " >&6; }
8827 if test "${ac_cv_lib_audio_AuCreateFlow+set}" = set; then :
8828 $as_echo_n "(cached) " >&6
8830 ac_check_lib_save_LIBS
=$LIBS
8831 LIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8832 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8833 /* end confdefs.h. */
8835 /* Override any GCC internal prototype to avoid an error.
8836 Use char because int might match the return type of a GCC
8837 builtin and then its argument prototype would still apply. */
8841 char AuCreateFlow ();
8845 return AuCreateFlow ();
8850 if ac_fn_c_try_link
"$LINENO"; then :
8851 ac_cv_lib_audio_AuCreateFlow
=yes
8853 ac_cv_lib_audio_AuCreateFlow
=no
8855 rm -f core conftest.err conftest.
$ac_objext \
8856 conftest
$ac_exeext conftest.
$ac_ext
8857 LIBS
=$ac_check_lib_save_LIBS
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audio_AuCreateFlow" >&5
8860 $as_echo "$ac_cv_lib_audio_AuCreateFlow" >&6; }
8861 if test "x$ac_cv_lib_audio_AuCreateFlow" = x
""yes; then :
8863 $as_echo "#define HAVE_NAS 1" >>confdefs.h
8865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XauGetBestAuthByAddr in -lXau" >&5
8866 $as_echo_n "checking for XauGetBestAuthByAddr in -lXau... " >&6; }
8867 if test "${ac_cv_lib_Xau_XauGetBestAuthByAddr+set}" = set; then :
8868 $as_echo_n "(cached) " >&6
8870 ac_check_lib_save_LIBS
=$LIBS
8871 LIBS
="-lXau $X_LIBS $LIBS"
8872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8873 /* end confdefs.h. */
8875 /* Override any GCC internal prototype to avoid an error.
8876 Use char because int might match the return type of a GCC
8877 builtin and then its argument prototype would still apply. */
8881 char XauGetBestAuthByAddr ();
8885 return XauGetBestAuthByAddr ();
8890 if ac_fn_c_try_link
"$LINENO"; then :
8891 ac_cv_lib_Xau_XauGetBestAuthByAddr
=yes
8893 ac_cv_lib_Xau_XauGetBestAuthByAddr
=no
8895 rm -f core conftest.err conftest.
$ac_objext \
8896 conftest
$ac_exeext conftest.
$ac_ext
8897 LIBS
=$ac_check_lib_save_LIBS
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xau_XauGetBestAuthByAddr" >&5
8900 $as_echo "$ac_cv_lib_Xau_XauGetBestAuthByAddr" >&6; }
8901 if test "x$ac_cv_lib_Xau_XauGetBestAuthByAddr" = x
""yes; then :
8902 NASLIBS
="-lXau -laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8904 NASLIBS
="-laudio -lXt $X_LIBS $XLIB $X_EXTRA_LIBS"
8915 CPPFLAGS
="$ac_save_CPPFLAGS"
8920 enable_winex11_drv
=${enable_winex11_drv:-no}
8921 enable_opengl32
=${enable_opengl32:-no}
8922 enable_glu32
=${enable_glu32:-no}
8924 if test "x$XLIB" = "x"; then :
8927 *) as_fn_error
"X ${notice_platform}development files not found. Wine will be built
8928 without X support, which probably isn't what you want. You will need to install
8929 ${notice_platform}development packages of Xlib/Xfree86 at the very least.
8930 Use the --without-x option if you really want this." "$LINENO" 5 ;;
8941 if test "x$with_xml" != "xno"
8943 ac_save_CPPFLAGS
="$CPPFLAGS"
8944 if test "$PKG_CONFIG" != "false"
8946 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
8947 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
8949 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
8950 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
8952 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
8953 for ac_header
in libxml
/parser.h
8955 ac_fn_c_check_header_mongrel
"$LINENO" "libxml/parser.h" "ac_cv_header_libxml_parser_h" "$ac_includes_default"
8956 if test "x$ac_cv_header_libxml_parser_h" = x
""yes; then :
8957 cat >>confdefs.h
<<_ACEOF
8958 #define HAVE_LIBXML_PARSER_H 1
8960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
8961 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
8962 if test "${ac_cv_lib_xml2_xmlParseMemory+set}" = set; then :
8963 $as_echo_n "(cached) " >&6
8965 ac_check_lib_save_LIBS
=$LIBS
8966 LIBS
="-lxml2 $ac_xml_libs $LIBS"
8967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8968 /* end confdefs.h. */
8970 /* Override any GCC internal prototype to avoid an error.
8971 Use char because int might match the return type of a GCC
8972 builtin and then its argument prototype would still apply. */
8976 char xmlParseMemory ();
8980 return xmlParseMemory ();
8985 if ac_fn_c_try_link
"$LINENO"; then :
8986 ac_cv_lib_xml2_xmlParseMemory
=yes
8988 ac_cv_lib_xml2_xmlParseMemory
=no
8990 rm -f core conftest.err conftest.
$ac_objext \
8991 conftest
$ac_exeext conftest.
$ac_ext
8992 LIBS
=$ac_check_lib_save_LIBS
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
8995 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
8996 if test "x$ac_cv_lib_xml2_xmlParseMemory" = x
""yes; then :
8998 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9000 XML2LIBS
="$ac_xml_libs"
9001 XML2INCL
="$ac_xml_cflags"
9004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9005 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9006 if test "${ac_cv_lib_xml2_xmlReadMemory+set}" = set; then :
9007 $as_echo_n "(cached) " >&6
9009 ac_check_lib_save_LIBS
=$LIBS
9010 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9011 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9012 /* end confdefs.h. */
9014 /* Override any GCC internal prototype to avoid an error.
9015 Use char because int might match the return type of a GCC
9016 builtin and then its argument prototype would still apply. */
9020 char xmlReadMemory ();
9024 return xmlReadMemory ();
9029 if ac_fn_c_try_link
"$LINENO"; then :
9030 ac_cv_lib_xml2_xmlReadMemory
=yes
9032 ac_cv_lib_xml2_xmlReadMemory
=no
9034 rm -f core conftest.err conftest.
$ac_objext \
9035 conftest
$ac_exeext conftest.
$ac_ext
9036 LIBS
=$ac_check_lib_save_LIBS
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9039 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9040 if test "x$ac_cv_lib_xml2_xmlReadMemory" = x
""yes; then :
9042 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9047 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9048 if test "${ac_cv_lib_xml2_xmlNewDocPI+set}" = set; then :
9049 $as_echo_n "(cached) " >&6
9051 ac_check_lib_save_LIBS
=$LIBS
9052 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9054 /* end confdefs.h. */
9056 /* Override any GCC internal prototype to avoid an error.
9057 Use char because int might match the return type of a GCC
9058 builtin and then its argument prototype would still apply. */
9062 char xmlNewDocPI ();
9066 return xmlNewDocPI ();
9071 if ac_fn_c_try_link
"$LINENO"; then :
9072 ac_cv_lib_xml2_xmlNewDocPI
=yes
9074 ac_cv_lib_xml2_xmlNewDocPI
=no
9076 rm -f core conftest.err conftest.
$ac_objext \
9077 conftest
$ac_exeext conftest.
$ac_ext
9078 LIBS
=$ac_check_lib_save_LIBS
9080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9081 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9082 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = x
""yes; then :
9084 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9093 CPPFLAGS
="$ac_save_CPPFLAGS"
9095 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9096 case "x$with_xml" in
9097 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found, XML won't be supported." ;;
9099 *) as_fn_error
"libxml2 ${notice_platform}development files not found, XML won't be supported.
9100 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9104 if test "x$with_xslt" != "xno"
9106 if test "$PKG_CONFIG" != "false"
9108 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9109 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9111 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9112 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9114 ac_save_CPPFLAGS
="$CPPFLAGS"
9115 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9116 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9118 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9119 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9120 # include <libxslt/pattern.h>
9123 eval as_val
=\$
$as_ac_Header
9124 if test "x$as_val" = x
""yes; then :
9125 cat >>confdefs.h
<<_ACEOF
9126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9133 CPPFLAGS
="$ac_save_CPPFLAGS"
9134 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9137 $as_echo_n "checking for -lxslt... " >&6; }
9138 if test "${ac_cv_lib_soname_xslt+set}" = set; then :
9139 $as_echo_n "(cached) " >&6
9141 ac_check_soname_save_LIBS
=$LIBS
9142 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9143 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9144 /* end confdefs.h. */
9146 /* Override any GCC internal prototype to avoid an error.
9147 Use char because int might match the return type of a GCC
9148 builtin and then its argument prototype would still apply. */
9152 char xsltCompilePattern ();
9156 return xsltCompilePattern ();
9161 if ac_fn_c_try_link
"$LINENO"; then :
9163 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9164 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'` ;;
9165 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9168 rm -f core conftest.err conftest.
$ac_objext \
9169 conftest
$ac_exeext conftest.
$ac_ext
9170 LIBS
=$ac_check_soname_save_LIBS
9172 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9174 $as_echo "not found" >&6; }
9177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9178 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9180 cat >>confdefs.h
<<_ACEOF
9181 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9184 XSLTINCL
="$ac_xslt_cflags"
9188 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9189 case "x$with_xslt" in
9190 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9192 *) as_fn_error
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9193 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9199 if test "x$with_hal" != "xno"
9201 ac_save_CPPFLAGS
="$CPPFLAGS"
9202 if test "$PKG_CONFIG" != "false"
9204 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9205 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9206 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9208 for ac_header
in dbus
/dbus.h hal
/libhal.h
9210 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9211 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9212 eval as_val
=\$
$as_ac_Header
9213 if test "x$as_val" = x
""yes; then :
9214 cat >>confdefs.h
<<_ACEOF
9215 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9222 if test "$ac_cv_header_dbus_dbus_h" = "yes" -a "$ac_cv_header_hal_libhal_h" = "yes"
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dbus_connection_close in -ldbus-1" >&5
9225 $as_echo_n "checking for dbus_connection_close in -ldbus-1... " >&6; }
9226 if test "${ac_cv_lib_dbus_1_dbus_connection_close+set}" = set; then :
9227 $as_echo_n "(cached) " >&6
9229 ac_check_lib_save_LIBS
=$LIBS
9230 LIBS
="-ldbus-1 $ac_hal_libs $LIBS"
9231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9232 /* end confdefs.h. */
9234 /* Override any GCC internal prototype to avoid an error.
9235 Use char because int might match the return type of a GCC
9236 builtin and then its argument prototype would still apply. */
9240 char dbus_connection_close ();
9244 return dbus_connection_close ();
9249 if ac_fn_c_try_link
"$LINENO"; then :
9250 ac_cv_lib_dbus_1_dbus_connection_close
=yes
9252 ac_cv_lib_dbus_1_dbus_connection_close
=no
9254 rm -f core conftest.err conftest.
$ac_objext \
9255 conftest
$ac_exeext conftest.
$ac_ext
9256 LIBS
=$ac_check_lib_save_LIBS
9258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dbus_1_dbus_connection_close" >&5
9259 $as_echo "$ac_cv_lib_dbus_1_dbus_connection_close" >&6; }
9260 if test "x$ac_cv_lib_dbus_1_dbus_connection_close" = x
""yes; then :
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9262 $as_echo_n "checking for -lhal... " >&6; }
9263 if test "${ac_cv_lib_soname_hal+set}" = set; then :
9264 $as_echo_n "(cached) " >&6
9266 ac_check_soname_save_LIBS
=$LIBS
9267 LIBS
="-lhal $ac_hal_libs $LIBS"
9268 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9269 /* end confdefs.h. */
9271 /* Override any GCC internal prototype to avoid an error.
9272 Use char because int might match the return type of a GCC
9273 builtin and then its argument prototype would still apply. */
9277 char libhal_ctx_new ();
9281 return libhal_ctx_new ();
9286 if ac_fn_c_try_link
"$LINENO"; then :
9288 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9289 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'` ;;
9290 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9293 rm -f core conftest.err conftest.
$ac_objext \
9294 conftest
$ac_exeext conftest.
$ac_ext
9295 LIBS
=$ac_check_soname_save_LIBS
9297 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9299 $as_echo "not found" >&6; }
9302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9303 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9305 cat >>confdefs.h
<<_ACEOF
9306 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9309 HALINCL
="$ac_hal_cflags"
9314 CPPFLAGS
="$ac_save_CPPFLAGS"
9316 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9317 case "x$with_hal" in
9318 x
) as_fn_append wine_notices
"|libhal/libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9320 *) as_fn_error
"libhal/libdbus ${notice_platform}development files not found, no dynamic device support.
9321 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9325 if test "x$with_gnutls" != "xno"
9327 ac_save_CPPFLAGS
="$CPPFLAGS"
9328 if test "$PKG_CONFIG" != "false"
9330 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9331 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9332 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9334 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9335 if test "x$ac_cv_header_gnutls_gnutls_h" = x
""yes; then :
9336 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9337 /* end confdefs.h. */
9338 #include <gnutls/gnutls.h>
9342 typeof(gnutls_mac_get_key_size) *pfunc;
9347 if ac_fn_c_try_compile
"$LINENO"; then :
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9349 $as_echo_n "checking for -lgnutls... " >&6; }
9350 if test "${ac_cv_lib_soname_gnutls+set}" = set; then :
9351 $as_echo_n "(cached) " >&6
9353 ac_check_soname_save_LIBS
=$LIBS
9354 LIBS
="-lgnutls $ac_gnutls_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 gnutls_global_init ();
9368 return gnutls_global_init ();
9373 if ac_fn_c_try_link
"$LINENO"; then :
9375 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9376 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'` ;;
9377 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$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_gnutls" = "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_gnutls" >&5
9390 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9392 cat >>confdefs.h
<<_ACEOF
9393 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9396 GNUTLSINCL
="$ac_gnutls_cflags"
9400 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9404 CPPFLAGS
="$ac_save_CPPFLAGS"
9406 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9407 case "x$with_gnutls" in
9408 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9410 *) as_fn_error
"libgnutls ${notice_platform}development files not found, no schannel support.
9411 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9416 if test "$ac_cv_header_ncurses_h" = "yes"
9418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9419 $as_echo_n "checking for -lncurses... " >&6; }
9420 if test "${ac_cv_lib_soname_ncurses+set}" = set; then :
9421 $as_echo_n "(cached) " >&6
9423 ac_check_soname_save_LIBS
=$LIBS
9424 LIBS
="-lncurses $LIBS"
9425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9426 /* end confdefs.h. */
9428 /* Override any GCC internal prototype to avoid an error.
9429 Use char because int might match the return type of a GCC
9430 builtin and then its argument prototype would still apply. */
9443 if ac_fn_c_try_link
"$LINENO"; then :
9445 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9446 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'` ;;
9447 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9450 rm -f core conftest.err conftest.
$ac_objext \
9451 conftest
$ac_exeext conftest.
$ac_ext
9452 LIBS
=$ac_check_soname_save_LIBS
9454 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9456 $as_echo "not found" >&6; }
9459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9460 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9462 cat >>confdefs.h
<<_ACEOF
9463 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9466 CURSESLIBS
="-lncurses"
9468 elif test "$ac_cv_header_curses_h" = "yes"
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9471 $as_echo_n "checking for -lcurses... " >&6; }
9472 if test "${ac_cv_lib_soname_curses+set}" = set; then :
9473 $as_echo_n "(cached) " >&6
9475 ac_check_soname_save_LIBS
=$LIBS
9476 LIBS
="-lcurses $LIBS"
9477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9478 /* end confdefs.h. */
9480 /* Override any GCC internal prototype to avoid an error.
9481 Use char because int might match the return type of a GCC
9482 builtin and then its argument prototype would still apply. */
9495 if ac_fn_c_try_link
"$LINENO"; then :
9497 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9498 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'` ;;
9499 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9502 rm -f core conftest.err conftest.
$ac_objext \
9503 conftest
$ac_exeext conftest.
$ac_ext
9504 LIBS
=$ac_check_soname_save_LIBS
9506 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9508 $as_echo "not found" >&6; }
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9512 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9514 cat >>confdefs.h
<<_ACEOF
9515 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9518 CURSESLIBS
="-lcurses"
9521 ac_save_LIBS
="$LIBS"
9522 LIBS
="$LIBS $CURSESLIBS"
9523 for ac_func
in mousemask
9525 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9526 if test "x$ac_cv_func_mousemask" = x
""yes; then :
9527 cat >>confdefs.h
<<_ACEOF
9528 #define HAVE_MOUSEMASK 1
9534 LIBS
="$ac_save_LIBS"
9535 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9536 case "x$with_curses" in
9537 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9539 *) as_fn_error
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9540 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9544 if test "x$with_sane" != "xno"
9546 ac_save_CPPFLAGS
="$CPPFLAGS"
9547 # Extract the first word of "sane-config", so it can be a program name with args.
9548 set dummy sane-config
; ac_word
=$2
9549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9550 $as_echo_n "checking for $ac_word... " >&6; }
9551 if test "${ac_cv_prog_sane_devel+set}" = set; then :
9552 $as_echo_n "(cached) " >&6
9554 if test -n "$sane_devel"; then
9555 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9557 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9561 test -z "$as_dir" && as_dir
=.
9562 for ac_exec_ext
in '' $ac_executable_extensions; do
9563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9564 ac_cv_prog_sane_devel
="sane-config"
9565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9572 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9575 sane_devel
=$ac_cv_prog_sane_devel
9576 if test -n "$sane_devel"; then
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9578 $as_echo "$sane_devel" >&6; }
9580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9581 $as_echo "no" >&6; }
9585 if test "$sane_devel" != "no"
9587 ac_sane_incl
="`$sane_devel --cflags`"
9588 ac_sane_libs
="`$sane_devel --ldflags`"
9589 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9591 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9592 if test "x$ac_cv_header_sane_sane_h" = x
""yes; then :
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9594 $as_echo_n "checking for -lsane... " >&6; }
9595 if test "${ac_cv_lib_soname_sane+set}" = set; then :
9596 $as_echo_n "(cached) " >&6
9598 ac_check_soname_save_LIBS
=$LIBS
9599 LIBS
="-lsane $ac_sane_libs $LIBS"
9600 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9613 return sane_init ();
9618 if ac_fn_c_try_link
"$LINENO"; then :
9620 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9621 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'` ;;
9622 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9625 rm -f core conftest.err conftest.
$ac_objext \
9626 conftest
$ac_exeext conftest.
$ac_ext
9627 LIBS
=$ac_check_soname_save_LIBS
9629 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9631 $as_echo "not found" >&6; }
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9635 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9637 cat >>confdefs.h
<<_ACEOF
9638 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9641 SANEINCL
="$ac_sane_incl"
9647 CPPFLAGS
="$ac_save_CPPFLAGS"
9649 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9650 case "x$with_sane" in
9651 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9653 *) as_fn_error
"libsane ${notice_platform}development files not found, scanners won't be supported.
9654 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9658 if test "x$with_v4l" != "xno"
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9661 $as_echo_n "checking for -lv4l1... " >&6; }
9662 if test "${ac_cv_lib_soname_v4l1+set}" = set; then :
9663 $as_echo_n "(cached) " >&6
9665 ac_check_soname_save_LIBS
=$LIBS
9667 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9680 return v4l1_open ();
9685 if ac_fn_c_try_link
"$LINENO"; then :
9687 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9688 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'` ;;
9689 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9692 rm -f core conftest.err conftest.
$ac_objext \
9693 conftest
$ac_exeext conftest.
$ac_ext
9694 LIBS
=$ac_check_soname_save_LIBS
9696 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9698 $as_echo "not found" >&6; }
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
9702 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
9704 cat >>confdefs.h
<<_ACEOF
9705 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
9711 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
9712 case "x$with_v4l" in
9713 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
9715 *) as_fn_error
"libv4l ${notice_platform}development files not found.
9716 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
9720 if test "x$with_gphoto" != "xno"
9722 ac_save_CPPFLAGS
="$CPPFLAGS"
9723 # Extract the first word of "gphoto2-config", so it can be a program name with args.
9724 set dummy gphoto2-config
; ac_word
=$2
9725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9726 $as_echo_n "checking for $ac_word... " >&6; }
9727 if test "${ac_cv_prog_gphoto2_devel+set}" = set; then :
9728 $as_echo_n "(cached) " >&6
9730 if test -n "$gphoto2_devel"; then
9731 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
9733 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9737 test -z "$as_dir" && as_dir
=.
9738 for ac_exec_ext
in '' $ac_executable_extensions; do
9739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9740 ac_cv_prog_gphoto2_devel
="gphoto2-config"
9741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9748 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
9751 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
9752 if test -n "$gphoto2_devel"; then
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
9754 $as_echo "$gphoto2_devel" >&6; }
9756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9757 $as_echo "no" >&6; }
9761 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
9762 set dummy gphoto2-port-config
; ac_word
=$2
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9764 $as_echo_n "checking for $ac_word... " >&6; }
9765 if test "${ac_cv_prog_gphoto2port_devel+set}" = set; then :
9766 $as_echo_n "(cached) " >&6
9768 if test -n "$gphoto2port_devel"; then
9769 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
9771 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9775 test -z "$as_dir" && as_dir
=.
9776 for ac_exec_ext
in '' $ac_executable_extensions; do
9777 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9778 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
9779 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9786 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
9789 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
9790 if test -n "$gphoto2port_devel"; then
9791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
9792 $as_echo "$gphoto2port_devel" >&6; }
9794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9795 $as_echo "no" >&6; }
9799 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
9801 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
9803 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
9806 -L/usr
/lib|
-L/usr
/lib64
) ;;
9807 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
9810 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
9812 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
9813 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
9814 if test "x$ac_cv_header_gphoto2_camera_h" = x
""yes; then :
9815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
9816 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
9817 if test "${ac_cv_lib_gphoto2_gp_camera_new+set}" = set; then :
9818 $as_echo_n "(cached) " >&6
9820 ac_check_lib_save_LIBS
=$LIBS
9821 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
9822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9823 /* end confdefs.h. */
9825 /* Override any GCC internal prototype to avoid an error.
9826 Use char because int might match the return type of a GCC
9827 builtin and then its argument prototype would still apply. */
9831 char gp_camera_new ();
9835 return gp_camera_new ();
9840 if ac_fn_c_try_link
"$LINENO"; then :
9841 ac_cv_lib_gphoto2_gp_camera_new
=yes
9843 ac_cv_lib_gphoto2_gp_camera_new
=no
9845 rm -f core conftest.err conftest.
$ac_objext \
9846 conftest
$ac_exeext conftest.
$ac_ext
9847 LIBS
=$ac_check_lib_save_LIBS
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
9850 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
9851 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = x
""yes; then :
9853 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
9855 GPHOTO2LIBS
="$ac_gphoto2_libs"
9857 GPHOTO2INCL
="$ac_gphoto2_incl"
9864 CPPFLAGS
="$ac_save_CPPFLAGS"
9866 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
9867 case "x$with_gphoto" in
9868 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
9870 *) as_fn_error
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
9871 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
9878 if test "$ac_cv_header_resolv_h" = "yes"
9880 ac_save_LIBS
="$LIBS"
9881 LIBS
="$LIBS -lresolv"
9882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9883 /* end confdefs.h. */
9884 #ifdef HAVE_NETINET_IN_H
9885 #include <netinet/in.h>
9896 if ac_fn_c_try_link
"$LINENO"; then :
9898 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
9900 RESOLVLIBS
="-lresolv"
9902 rm -f core conftest.err conftest.
$ac_objext \
9903 conftest
$ac_exeext conftest.
$ac_ext
9904 LIBS
="$ac_save_LIBS"
9909 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
9911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
9912 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
9913 if test "${ac_cv_lib_lcms_cmsOpenProfileFromFile+set}" = set; then :
9914 $as_echo_n "(cached) " >&6
9916 ac_check_lib_save_LIBS
=$LIBS
9918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9919 /* end confdefs.h. */
9921 /* Override any GCC internal prototype to avoid an error.
9922 Use char because int might match the return type of a GCC
9923 builtin and then its argument prototype would still apply. */
9927 char cmsOpenProfileFromFile ();
9931 return cmsOpenProfileFromFile ();
9936 if ac_fn_c_try_link
"$LINENO"; then :
9937 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
9939 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
9941 rm -f core conftest.err conftest.
$ac_objext \
9942 conftest
$ac_exeext conftest.
$ac_ext
9943 LIBS
=$ac_check_lib_save_LIBS
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
9946 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
9947 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = x
""yes; then :
9949 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
9955 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
9956 case "x$with_cms" in
9957 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
9959 *) as_fn_error
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
9960 This is an error since --with-cms was requested." "$LINENO" 5 ;;
9964 if test "x$with_freetype" != "xno"
9966 for ac_prog
in freetype-config freetype2-config
9968 # Extract the first word of "$ac_prog", so it can be a program name with args.
9969 set dummy
$ac_prog; ac_word
=$2
9970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9971 $as_echo_n "checking for $ac_word... " >&6; }
9972 if test "${ac_cv_prog_ft_devel+set}" = set; then :
9973 $as_echo_n "(cached) " >&6
9975 if test -n "$ft_devel"; then
9976 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
9978 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9982 test -z "$as_dir" && as_dir
=.
9983 for ac_exec_ext
in '' $ac_executable_extensions; do
9984 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
9985 ac_cv_prog_ft_devel
="$ac_prog"
9986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9995 ft_devel
=$ac_cv_prog_ft_devel
9996 if test -n "$ft_devel"; then
9997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
9998 $as_echo "$ft_devel" >&6; }
10000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10001 $as_echo "no" >&6; }
10005 test -n "$ft_devel" && break
10007 test -n "$ft_devel" || ft_devel
="no"
10009 if test "$ft_devel" != "no"
10011 ac_freetype_incl
=`$ft_devel --cflags`
10012 ac_freetype_libs
=`$ft_devel --libs`
10014 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10016 $as_echo_n "checking for -lfreetype... " >&6; }
10017 if test "${ac_cv_lib_soname_freetype+set}" = set; then :
10018 $as_echo_n "(cached) " >&6
10020 ac_check_soname_save_LIBS
=$LIBS
10021 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10022 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10023 /* end confdefs.h. */
10025 /* Override any GCC internal prototype to avoid an error.
10026 Use char because int might match the return type of a GCC
10027 builtin and then its argument prototype would still apply. */
10031 char FT_Init_FreeType ();
10035 return FT_Init_FreeType ();
10040 if ac_fn_c_try_link
"$LINENO"; then :
10042 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10043 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'` ;;
10044 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10047 rm -f core conftest.err conftest.
$ac_objext \
10048 conftest
$ac_exeext conftest.
$ac_ext
10049 LIBS
=$ac_check_soname_save_LIBS
10051 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10053 $as_echo "not found" >&6; }
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10057 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10059 cat >>confdefs.h
<<_ACEOF
10060 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10065 if test "$ft_lib" = "yes"
10067 ac_save_CPPFLAGS
="$CPPFLAGS"
10068 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10069 for ac_header
in ft2build.h \
10070 freetype
/freetype.h \
10071 freetype
/ftglyph.h \
10072 freetype
/fttypes.h \
10073 freetype
/tttables.h \
10074 freetype
/ftsnames.h \
10075 freetype
/ttnameid.h \
10076 freetype
/ftoutln.h \
10077 freetype
/ftwinfnt.h \
10078 freetype
/ftmodapi.h \
10079 freetype
/ftlcdfil.h \
10080 freetype
/internal
/sfnt.h
10082 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10083 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10084 # include <ft2build.h>
10087 eval as_val
=\$
$as_ac_Header
10088 if test "x$as_val" = x
""yes; then :
10089 cat >>confdefs.h
<<_ACEOF
10090 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10098 /* end confdefs.h. */
10099 #include <ft2build.h>
10100 #include <freetype/fttrigon.h>
10102 if ac_fn_c_try_cpp
"$LINENO"; then :
10104 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10106 wine_cv_fttrigon
=yes
10108 wine_cv_fttrigon
=no
10110 rm -f conftest.err conftest.
$ac_ext
10111 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10113 if test "x$ac_cv_type_FT_TrueTypeEngineType" = x
""yes; then :
10115 cat >>confdefs.h
<<_ACEOF
10116 #define HAVE_FT_TRUETYPEENGINETYPE 1
10122 ac_save_CFLAGS
="$CFLAGS"
10123 CFLAGS
="$CFLAGS $ac_freetype_libs"
10124 for ac_func
in FT_Load_Sfnt_Table
10126 ac_fn_c_check_func
"$LINENO" "FT_Load_Sfnt_Table" "ac_cv_func_FT_Load_Sfnt_Table"
10127 if test "x$ac_cv_func_FT_Load_Sfnt_Table" = x
""yes; then :
10128 cat >>confdefs.h
<<_ACEOF
10129 #define HAVE_FT_LOAD_SFNT_TABLE 1
10135 CFLAGS
="$ac_save_CFLAGS"
10136 CPPFLAGS
="$ac_save_CPPFLAGS"
10137 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10140 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10142 FREETYPELIBS
="$ac_freetype_libs"
10144 FREETYPEINCL
="$ac_freetype_incl"
10149 if test "x$FREETYPELIBS" = "x"; then :
10150 case "x$with_freetype" in
10152 *) as_fn_error
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10153 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10156 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10159 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10160 if test "${ac_cv_c_ppdev+set}" = set; then :
10161 $as_echo_n "(cached) " >&6
10163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10164 /* end confdefs.h. */
10165 #ifdef HAVE_SYS_IOCTL_H
10166 # include <sys/ioctl.h>
10168 #include <linux/ppdev.h>
10172 ioctl (1,PPCLAIM,0)
10177 if ac_fn_c_try_compile
"$LINENO"; then :
10178 ac_cv_c_ppdev
="yes"
10182 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10185 $as_echo "$ac_cv_c_ppdev" >&6; }
10186 if test "$ac_cv_c_ppdev" = "yes"
10189 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10193 ac_wine_check_funcs_save_LIBS
="$LIBS"
10194 LIBS
="$LIBS $LIBPTHREAD"
10196 pthread_attr_get_np \
10197 pthread_getattr_np \
10198 pthread_get_stackaddr_np \
10199 pthread_get_stacksize_np
10201 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10202 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10203 eval as_val
=\$
$as_ac_var
10204 if test "x$as_val" = x
""yes; then :
10205 cat >>confdefs.h
<<_ACEOF
10206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10212 LIBS
="$ac_wine_check_funcs_save_LIBS"
10214 if test "$ac_cv_header_zlib_h" = "yes"
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10217 $as_echo_n "checking for inflate in -lz... " >&6; }
10218 if test "${ac_cv_lib_z_inflate+set}" = set; then :
10219 $as_echo_n "(cached) " >&6
10221 ac_check_lib_save_LIBS
=$LIBS
10223 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10241 if ac_fn_c_try_link
"$LINENO"; then :
10242 ac_cv_lib_z_inflate
=yes
10244 ac_cv_lib_z_inflate
=no
10246 rm -f core conftest.err conftest.
$ac_objext \
10247 conftest
$ac_exeext conftest.
$ac_ext
10248 LIBS
=$ac_check_lib_save_LIBS
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10251 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10252 if test "x$ac_cv_lib_z_inflate" = x
""yes; then :
10254 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10262 if test "x$with_esd" != xno
10264 save_CFLAGS
="$CFLAGS"
10265 # Extract the first word of "esd-config", so it can be a program name with args.
10266 set dummy esd-config
; ac_word
=$2
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10268 $as_echo_n "checking for $ac_word... " >&6; }
10269 if test "${ac_cv_path_ESDCONFIG+set}" = set; then :
10270 $as_echo_n "(cached) " >&6
10274 ac_cv_path_ESDCONFIG
="$ESDCONFIG" # Let the user override the test with a path.
10277 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10278 for as_dir
in $PATH
10281 test -z "$as_dir" && as_dir
=.
10282 for ac_exec_ext
in '' $ac_executable_extensions; do
10283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10284 ac_cv_path_ESDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
10285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10292 test -z "$ac_cv_path_ESDCONFIG" && ac_cv_path_ESDCONFIG
="no"
10296 ESDCONFIG
=$ac_cv_path_ESDCONFIG
10297 if test -n "$ESDCONFIG"; then
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ESDCONFIG" >&5
10299 $as_echo "$ESDCONFIG" >&6; }
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10302 $as_echo "no" >&6; }
10306 if test "x$ESDCONFIG" != "xno"
10309 for i
in `$ESDCONFIG --cflags`
10312 -I*) ac_esd_incl
="$ac_esd_incl $i";;
10315 ac_esd_libs
=`$ESDCONFIG --libs`
10316 CFLAGS
="$CFLAGS $ac_esd_incl"
10318 ac_esd_libs
=${ac_esd_libs:-"-lesd"}
10319 ac_fn_c_check_header_mongrel
"$LINENO" "esd.h" "ac_cv_header_esd_h" "$ac_includes_default"
10320 if test "x$ac_cv_header_esd_h" = x
""yes; then :
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for esd_open_sound in -lesd" >&5
10322 $as_echo_n "checking for esd_open_sound in -lesd... " >&6; }
10323 if test "${ac_cv_lib_esd_esd_open_sound+set}" = set; then :
10324 $as_echo_n "(cached) " >&6
10326 ac_check_lib_save_LIBS
=$LIBS
10327 LIBS
="-lesd $ac_esd_libs $LIBS"
10328 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10329 /* end confdefs.h. */
10331 /* Override any GCC internal prototype to avoid an error.
10332 Use char because int might match the return type of a GCC
10333 builtin and then its argument prototype would still apply. */
10337 char esd_open_sound ();
10341 return esd_open_sound ();
10346 if ac_fn_c_try_link
"$LINENO"; then :
10347 ac_cv_lib_esd_esd_open_sound
=yes
10349 ac_cv_lib_esd_esd_open_sound
=no
10351 rm -f core conftest.err conftest.
$ac_objext \
10352 conftest
$ac_exeext conftest.
$ac_ext
10353 LIBS
=$ac_check_lib_save_LIBS
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_esd_esd_open_sound" >&5
10356 $as_echo "$ac_cv_lib_esd_esd_open_sound" >&6; }
10357 if test "x$ac_cv_lib_esd_esd_open_sound" = x
""yes; then :
10358 ESDINCL
="$ac_esd_incl"
10360 ESDLIBS
="$ac_esd_libs"
10363 $as_echo "#define HAVE_ESD 1" >>confdefs.h
10370 CFLAGS
="$save_CFLAGS"
10375 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access in -lasound" >&5
10378 $as_echo_n "checking for snd_pcm_hw_params_get_access in -lasound... " >&6; }
10379 if test "${ac_cv_lib_asound_snd_pcm_hw_params_get_access+set}" = set; then :
10380 $as_echo_n "(cached) " >&6
10382 ac_check_lib_save_LIBS
=$LIBS
10383 LIBS
="-lasound $LIBS"
10384 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10385 /* end confdefs.h. */
10387 /* Override any GCC internal prototype to avoid an error.
10388 Use char because int might match the return type of a GCC
10389 builtin and then its argument prototype would still apply. */
10393 char snd_pcm_hw_params_get_access ();
10397 return snd_pcm_hw_params_get_access ();
10402 if ac_fn_c_try_link
"$LINENO"; then :
10403 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=yes
10405 ac_cv_lib_asound_snd_pcm_hw_params_get_access
=no
10407 rm -f core conftest.err conftest.
$ac_objext \
10408 conftest
$ac_exeext conftest.
$ac_ext
10409 LIBS
=$ac_check_lib_save_LIBS
10411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&5
10412 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access" >&6; }
10413 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access" = x
""yes; then :
10414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10415 /* end confdefs.h. */
10416 #ifdef HAVE_ALSA_ASOUNDLIB_H
10417 #include <alsa/asoundlib.h>
10418 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10419 #include <sys/asoundlib.h>
10424 int ret = snd_pcm_hw_params_get_access(NULL, NULL)
10429 if ac_fn_c_try_compile
"$LINENO"; then :
10431 $as_echo "#define HAVE_ALSA 1" >>confdefs.h
10433 ALSALIBS
="-lasound"
10435 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10442 if test "$ac_cv_header_libaudioio_h" = "yes"
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for AudioIOGetVersion in -laudioio" >&5
10445 $as_echo_n "checking for AudioIOGetVersion in -laudioio... " >&6; }
10446 if test "${ac_cv_lib_audioio_AudioIOGetVersion+set}" = set; then :
10447 $as_echo_n "(cached) " >&6
10449 ac_check_lib_save_LIBS
=$LIBS
10450 LIBS
="-laudioio $LIBS"
10451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10452 /* end confdefs.h. */
10454 /* Override any GCC internal prototype to avoid an error.
10455 Use char because int might match the return type of a GCC
10456 builtin and then its argument prototype would still apply. */
10460 char AudioIOGetVersion ();
10464 return AudioIOGetVersion ();
10469 if ac_fn_c_try_link
"$LINENO"; then :
10470 ac_cv_lib_audioio_AudioIOGetVersion
=yes
10472 ac_cv_lib_audioio_AudioIOGetVersion
=no
10474 rm -f core conftest.err conftest.
$ac_objext \
10475 conftest
$ac_exeext conftest.
$ac_ext
10476 LIBS
=$ac_check_lib_save_LIBS
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audioio_AudioIOGetVersion" >&5
10479 $as_echo "$ac_cv_lib_audioio_AudioIOGetVersion" >&6; }
10480 if test "x$ac_cv_lib_audioio_AudioIOGetVersion" = x
""yes; then :
10481 AUDIOIOLIBS
="-laudioio"
10483 $as_echo "#define HAVE_LIBAUDIOIO 1" >>confdefs.h
10490 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10493 $as_echo_n "checking for -lcapi20... " >&6; }
10494 if test "${ac_cv_lib_soname_capi20+set}" = set; then :
10495 $as_echo_n "(cached) " >&6
10497 ac_check_soname_save_LIBS
=$LIBS
10498 LIBS
="-lcapi20 $LIBS"
10499 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10500 /* end confdefs.h. */
10502 /* Override any GCC internal prototype to avoid an error.
10503 Use char because int might match the return type of a GCC
10504 builtin and then its argument prototype would still apply. */
10508 char capi20_register ();
10512 return capi20_register ();
10517 if ac_fn_c_try_link
"$LINENO"; then :
10519 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10520 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'` ;;
10521 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10524 rm -f core conftest.err conftest.
$ac_objext \
10525 conftest
$ac_exeext conftest.
$ac_ext
10526 LIBS
=$ac_check_soname_save_LIBS
10528 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10530 $as_echo "not found" >&6; }
10533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
10534 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
10536 cat >>confdefs.h
<<_ACEOF
10537 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
10543 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10544 case "x$with_capi" in
10545 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
10547 *) as_fn_error
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
10548 This is an error since --with-capi was requested." "$LINENO" 5 ;;
10554 if test "x$with_cups" != "xno"
10556 ac_save_CPPFLAGS
="$CPPFLAGS"
10557 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
10558 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
10559 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
10560 for ac_header
in cups
/cups.h
10562 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
10563 if test "x$ac_cv_header_cups_cups_h" = x
""yes; then :
10564 cat >>confdefs.h
<<_ACEOF
10565 #define HAVE_CUPS_CUPS_H 1
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
10568 $as_echo_n "checking for -lcups... " >&6; }
10569 if test "${ac_cv_lib_soname_cups+set}" = set; then :
10570 $as_echo_n "(cached) " >&6
10572 ac_check_soname_save_LIBS
=$LIBS
10573 LIBS
="-lcups $ac_cups_libs $LIBS"
10574 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10575 /* end confdefs.h. */
10577 /* Override any GCC internal prototype to avoid an error.
10578 Use char because int might match the return type of a GCC
10579 builtin and then its argument prototype would still apply. */
10583 char cupsGetDefault ();
10587 return cupsGetDefault ();
10592 if ac_fn_c_try_link
"$LINENO"; then :
10594 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10595 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'` ;;
10596 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10599 rm -f core conftest.err conftest.
$ac_objext \
10600 conftest
$ac_exeext conftest.
$ac_ext
10601 LIBS
=$ac_check_soname_save_LIBS
10603 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10605 $as_echo "not found" >&6; }
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
10609 $as_echo "$ac_cv_lib_soname_cups" >&6; }
10611 cat >>confdefs.h
<<_ACEOF
10612 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
10615 CUPSINCL
="$ac_cups_cflags"
10621 CPPFLAGS
="$ac_save_CPPFLAGS"
10623 if test "x$ac_cv_lib_soname_cups" = "x"; then :
10624 case "x$with_cups" in
10625 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
10627 *) as_fn_error
"libcups ${notice_platform}development files not found, CUPS won't be supported.
10628 This is an error since --with-cups was requested." "$LINENO" 5 ;;
10632 if test "$ac_cv_header_jack_jack_h" = "yes"
10634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljack" >&5
10635 $as_echo_n "checking for -ljack... " >&6; }
10636 if test "${ac_cv_lib_soname_jack+set}" = set; then :
10637 $as_echo_n "(cached) " >&6
10639 ac_check_soname_save_LIBS
=$LIBS
10640 LIBS
="-ljack $LIBS"
10641 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10644 /* Override any GCC internal prototype to avoid an error.
10645 Use char because int might match the return type of a GCC
10646 builtin and then its argument prototype would still apply. */
10650 char jack_client_new ();
10654 return jack_client_new ();
10659 if ac_fn_c_try_link
"$LINENO"; then :
10661 dll
) ac_cv_lib_soname_jack
=`$ac_cv_path_LDD conftest.exe | grep "jack" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10662 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'` ;;
10663 *) 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'` ;;
10666 rm -f core conftest.err conftest.
$ac_objext \
10667 conftest
$ac_exeext conftest.
$ac_ext
10668 LIBS
=$ac_check_soname_save_LIBS
10670 if test "x$ac_cv_lib_soname_jack" = "x"; then :
10671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10672 $as_echo "not found" >&6; }
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jack" >&5
10676 $as_echo "$ac_cv_lib_soname_jack" >&6; }
10678 cat >>confdefs.h
<<_ACEOF
10679 #define SONAME_LIBJACK "$ac_cv_lib_soname_jack"
10686 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10689 $as_echo_n "checking for -lfontconfig... " >&6; }
10690 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10691 $as_echo_n "(cached) " >&6
10693 ac_check_soname_save_LIBS
=$LIBS
10694 LIBS
="-lfontconfig $LIBS"
10695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10698 /* Override any GCC internal prototype to avoid an error.
10699 Use char because int might match the return type of a GCC
10700 builtin and then its argument prototype would still apply. */
10713 if ac_fn_c_try_link
"$LINENO"; then :
10715 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10716 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'` ;;
10717 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10720 rm -f core conftest.err conftest.
$ac_objext \
10721 conftest
$ac_exeext conftest.
$ac_ext
10722 LIBS
=$ac_check_soname_save_LIBS
10724 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10726 $as_echo "not found" >&6; }
10729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10730 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10732 cat >>confdefs.h
<<_ACEOF
10733 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10738 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
10740 ac_save_CPPFLAGS
="$CPPFLAGS"
10741 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10742 $as_unset ac_cv_header_fontconfig_fontconfig_h
10743 for ac_header
in fontconfig
/fontconfig.h
10745 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
10746 if test "x$ac_cv_header_fontconfig_fontconfig_h" = x
""yes; then :
10747 cat >>confdefs.h
<<_ACEOF
10748 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
10755 CPPFLAGS
="$ac_save_CPPFLAGS"
10756 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
10758 FONTCONFIGINCL
="$X_CFLAGS"
10760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
10761 $as_echo_n "checking for -lfontconfig... " >&6; }
10762 if test "${ac_cv_lib_soname_fontconfig+set}" = set; then :
10763 $as_echo_n "(cached) " >&6
10765 ac_check_soname_save_LIBS
=$LIBS
10766 LIBS
="-lfontconfig $X_LIBS $LIBS"
10767 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10768 /* end confdefs.h. */
10770 /* Override any GCC internal prototype to avoid an error.
10771 Use char because int might match the return type of a GCC
10772 builtin and then its argument prototype would still apply. */
10785 if ac_fn_c_try_link
"$LINENO"; then :
10787 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10788 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'` ;;
10789 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10792 rm -f core conftest.err conftest.
$ac_objext \
10793 conftest
$ac_exeext conftest.
$ac_ext
10794 LIBS
=$ac_check_soname_save_LIBS
10796 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10798 $as_echo "not found" >&6; }
10801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
10802 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
10804 cat >>confdefs.h
<<_ACEOF
10805 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
10812 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
10813 case "x$with_fontconfig" in
10814 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
10816 *) as_fn_error
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
10817 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
10821 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
10824 $as_echo_n "checking for -lssl... " >&6; }
10825 if test "${ac_cv_lib_soname_ssl+set}" = set; then :
10826 $as_echo_n "(cached) " >&6
10828 ac_check_soname_save_LIBS
=$LIBS
10830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10839 char SSL_library_init ();
10843 return SSL_library_init ();
10848 if ac_fn_c_try_link
"$LINENO"; then :
10850 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10851 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'` ;;
10852 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10855 rm -f core conftest.err conftest.
$ac_objext \
10856 conftest
$ac_exeext conftest.
$ac_ext
10857 LIBS
=$ac_check_soname_save_LIBS
10859 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10861 $as_echo "not found" >&6; }
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
10865 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
10867 cat >>confdefs.h
<<_ACEOF
10868 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
10873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
10874 $as_echo_n "checking for -lcrypto... " >&6; }
10875 if test "${ac_cv_lib_soname_crypto+set}" = set; then :
10876 $as_echo_n "(cached) " >&6
10878 ac_check_soname_save_LIBS
=$LIBS
10879 LIBS
="-lcrypto $LIBS"
10880 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10881 /* end confdefs.h. */
10883 /* Override any GCC internal prototype to avoid an error.
10884 Use char because int might match the return type of a GCC
10885 builtin and then its argument prototype would still apply. */
10889 char BIO_new_socket ();
10893 return BIO_new_socket ();
10898 if ac_fn_c_try_link
"$LINENO"; then :
10900 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10901 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'` ;;
10902 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10905 rm -f core conftest.err conftest.
$ac_objext \
10906 conftest
$ac_exeext conftest.
$ac_ext
10907 LIBS
=$ac_check_soname_save_LIBS
10909 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
10910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10911 $as_echo "not found" >&6; }
10914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
10915 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
10917 cat >>confdefs.h
<<_ACEOF
10918 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
10924 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
10925 case "x$with_openssl" in
10926 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
10928 *) as_fn_error
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
10929 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
10933 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
10936 $as_echo_n "checking for -lgsm... " >&6; }
10937 if test "${ac_cv_lib_soname_gsm+set}" = set; then :
10938 $as_echo_n "(cached) " >&6
10940 ac_check_soname_save_LIBS
=$LIBS
10942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10943 /* end confdefs.h. */
10945 /* Override any GCC internal prototype to avoid an error.
10946 Use char because int might match the return type of a GCC
10947 builtin and then its argument prototype would still apply. */
10951 char gsm_create ();
10955 return gsm_create ();
10960 if ac_fn_c_try_link
"$LINENO"; then :
10962 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10963 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'` ;;
10964 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10967 rm -f core conftest.err conftest.
$ac_objext \
10968 conftest
$ac_exeext conftest.
$ac_ext
10969 LIBS
=$ac_check_soname_save_LIBS
10971 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10973 $as_echo "not found" >&6; }
10976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
10977 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
10979 cat >>confdefs.h
<<_ACEOF
10980 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
10986 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
10987 case "x$with_gsm" in
10988 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
10990 *) as_fn_error
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
10991 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
10995 if test "$ac_cv_header_jpeglib_h" = "yes"
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
10998 $as_echo_n "checking for -ljpeg... " >&6; }
10999 if test "${ac_cv_lib_soname_jpeg+set}" = set; then :
11000 $as_echo_n "(cached) " >&6
11002 ac_check_soname_save_LIBS
=$LIBS
11003 LIBS
="-ljpeg $LIBS"
11004 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11013 char jpeg_start_decompress ();
11017 return jpeg_start_decompress ();
11022 if ac_fn_c_try_link
"$LINENO"; then :
11024 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11025 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'` ;;
11026 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11029 rm -f core conftest.err conftest.
$ac_objext \
11030 conftest
$ac_exeext conftest.
$ac_ext
11031 LIBS
=$ac_check_soname_save_LIBS
11033 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11035 $as_echo "not found" >&6; }
11038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11039 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11041 cat >>confdefs.h
<<_ACEOF
11042 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11048 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11049 case "x$with_jpeg" in
11050 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11052 *) as_fn_error
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11053 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11057 if test "$ac_cv_header_png_h" = "yes"
11059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11060 $as_echo_n "checking for -lpng... " >&6; }
11061 if test "${ac_cv_lib_soname_png+set}" = set; then :
11062 $as_echo_n "(cached) " >&6
11064 ac_check_soname_save_LIBS
=$LIBS
11065 LIBS
="-lpng -lm -lz $LIBS"
11066 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11069 /* Override any GCC internal prototype to avoid an error.
11070 Use char because int might match the return type of a GCC
11071 builtin and then its argument prototype would still apply. */
11075 char png_create_read_struct ();
11079 return png_create_read_struct ();
11084 if ac_fn_c_try_link
"$LINENO"; then :
11086 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11087 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'` ;;
11088 *) 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'` ;;
11091 rm -f core conftest.err conftest.
$ac_objext \
11092 conftest
$ac_exeext conftest.
$ac_ext
11093 LIBS
=$ac_check_soname_save_LIBS
11095 if test "x$ac_cv_lib_soname_png" = "x"; then :
11096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11097 $as_echo "not found" >&6; }
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11101 $as_echo "$ac_cv_lib_soname_png" >&6; }
11103 cat >>confdefs.h
<<_ACEOF
11104 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11110 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11111 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11112 $as_echo_n "(cached) " >&6
11114 ac_check_lib_save_LIBS
=$LIBS
11115 LIBS
="-lpng -lm -lz $LIBS"
11116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11125 char png_set_expand_gray_1_2_4_to_8 ();
11129 return png_set_expand_gray_1_2_4_to_8 ();
11134 if ac_fn_c_try_link
"$LINENO"; then :
11135 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11137 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11139 rm -f core conftest.err conftest.
$ac_objext \
11140 conftest
$ac_exeext conftest.
$ac_ext
11141 LIBS
=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11144 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11145 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11147 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11152 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11154 ac_save_CPPFLAGS
="$CPPFLAGS"
11155 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11156 $as_unset ac_cv_header_png_h
11157 for ac_header
in png.h
11159 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11160 if test "x$ac_cv_header_png_h" = x
""yes; then :
11161 cat >>confdefs.h
<<_ACEOF
11162 #define HAVE_PNG_H 1
11169 CPPFLAGS
="$ac_save_CPPFLAGS"
11170 if test "$ac_cv_header_png_h" = "yes"
11172 PNGINCL
="$X_CFLAGS"
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11175 $as_echo_n "checking for -lpng... " >&6; }
11176 if test "${ac_cv_lib_soname_png+set}" = set; then :
11177 $as_echo_n "(cached) " >&6
11179 ac_check_soname_save_LIBS
=$LIBS
11180 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11182 /* end confdefs.h. */
11184 /* Override any GCC internal prototype to avoid an error.
11185 Use char because int might match the return type of a GCC
11186 builtin and then its argument prototype would still apply. */
11190 char png_create_read_struct ();
11194 return png_create_read_struct ();
11199 if ac_fn_c_try_link
"$LINENO"; then :
11201 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11202 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'` ;;
11203 *) 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'` ;;
11206 rm -f core conftest.err conftest.
$ac_objext \
11207 conftest
$ac_exeext conftest.
$ac_ext
11208 LIBS
=$ac_check_soname_save_LIBS
11210 if test "x$ac_cv_lib_soname_png" = "x"; then :
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11212 $as_echo "not found" >&6; }
11215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11216 $as_echo "$ac_cv_lib_soname_png" >&6; }
11218 cat >>confdefs.h
<<_ACEOF
11219 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11225 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11226 if test "${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+set}" = set; then :
11227 $as_echo_n "(cached) " >&6
11229 ac_check_lib_save_LIBS
=$LIBS
11230 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11231 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11240 char png_set_expand_gray_1_2_4_to_8 ();
11244 return png_set_expand_gray_1_2_4_to_8 ();
11249 if ac_fn_c_try_link
"$LINENO"; then :
11250 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11252 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11254 rm -f core conftest.err conftest.
$ac_objext \
11255 conftest
$ac_exeext conftest.
$ac_ext
11256 LIBS
=$ac_check_lib_save_LIBS
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11259 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11260 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = x
""yes; then :
11261 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11267 if test "x$ac_cv_lib_soname_png" = "x"; then :
11268 case "x$with_png" in
11269 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11271 *) as_fn_error
"libpng ${notice_platform}development files not found, PNG won't be supported.
11272 This is an error since --with-png was requested." "$LINENO" 5 ;;
11276 if test "$ac_cv_header_tiffio_h" = "yes"
11278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11279 $as_echo_n "checking for -ltiff... " >&6; }
11280 if test "${ac_cv_lib_soname_tiff+set}" = set; then :
11281 $as_echo_n "(cached) " >&6
11283 ac_check_soname_save_LIBS
=$LIBS
11284 LIBS
="-ltiff $LIBS"
11285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11286 /* end confdefs.h. */
11288 /* Override any GCC internal prototype to avoid an error.
11289 Use char because int might match the return type of a GCC
11290 builtin and then its argument prototype would still apply. */
11294 char TIFFClientOpen ();
11298 return TIFFClientOpen ();
11303 if ac_fn_c_try_link
"$LINENO"; then :
11305 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11306 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'` ;;
11307 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11310 rm -f core conftest.err conftest.
$ac_objext \
11311 conftest
$ac_exeext conftest.
$ac_ext
11312 LIBS
=$ac_check_soname_save_LIBS
11314 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11316 $as_echo "not found" >&6; }
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11320 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11322 cat >>confdefs.h
<<_ACEOF
11323 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11329 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11330 case "x$with_tiff" in
11331 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11333 *) as_fn_error
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11334 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11338 if test "$ac_cv_header_mpg123_h" = "yes"
11340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11341 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11342 if test "${ac_cv_lib_mpg123_mpg123_feed+set}" = set; then :
11343 $as_echo_n "(cached) " >&6
11345 ac_check_lib_save_LIBS
=$LIBS
11346 LIBS
="-lmpg123 $LIBS"
11347 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11350 /* Override any GCC internal prototype to avoid an error.
11351 Use char because int might match the return type of a GCC
11352 builtin and then its argument prototype would still apply. */
11356 char mpg123_feed ();
11360 return mpg123_feed ();
11365 if ac_fn_c_try_link
"$LINENO"; then :
11366 ac_cv_lib_mpg123_mpg123_feed
=yes
11368 ac_cv_lib_mpg123_mpg123_feed
=no
11370 rm -f core conftest.err conftest.
$ac_objext \
11371 conftest
$ac_exeext conftest.
$ac_ext
11372 LIBS
=$ac_check_lib_save_LIBS
11374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11375 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11376 if test "x$ac_cv_lib_mpg123_mpg123_feed" = x
""yes; then :
11377 LIBMPG123
="-lmpg123"
11382 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11383 case "x$with_mpg123" in
11384 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11386 *) as_fn_error
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11387 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11390 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_func_AudioFileStreamOpen" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
11392 if test "$ac_cv_header_AL_al_h" = "yes"
11394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alGetSource3i in -lopenal" >&5
11395 $as_echo_n "checking for alGetSource3i in -lopenal... " >&6; }
11396 if test "${ac_cv_lib_openal_alGetSource3i+set}" = set; then :
11397 $as_echo_n "(cached) " >&6
11399 ac_check_lib_save_LIBS
=$LIBS
11400 LIBS
="-lopenal $LIBS"
11401 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11402 /* end confdefs.h. */
11404 /* Override any GCC internal prototype to avoid an error.
11405 Use char because int might match the return type of a GCC
11406 builtin and then its argument prototype would still apply. */
11410 char alGetSource3i ();
11414 return alGetSource3i ();
11419 if ac_fn_c_try_link
"$LINENO"; then :
11420 ac_cv_lib_openal_alGetSource3i
=yes
11422 ac_cv_lib_openal_alGetSource3i
=no
11424 rm -f core conftest.err conftest.
$ac_objext \
11425 conftest
$ac_exeext conftest.
$ac_ext
11426 LIBS
=$ac_check_lib_save_LIBS
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_openal_alGetSource3i" >&5
11429 $as_echo "$ac_cv_lib_openal_alGetSource3i" >&6; }
11430 if test "x$ac_cv_lib_openal_alGetSource3i" = x
""yes; then :
11431 LIBOPENAL
="-lopenal"
11436 if test "x$ac_cv_lib_openal_alGetSource3i" != xyes
; then :
11437 case "x$with_openal" in
11438 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11440 *) as_fn_error
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11441 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11444 test "x$ac_cv_lib_openal_alGetSource3i" = xyes || enable_openal32
=${enable_openal32:-no}
11446 if test "$ac_cv_header_kstat_h" = "yes"
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11449 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11450 if test "${ac_cv_lib_kstat_kstat_open+set}" = set; then :
11451 $as_echo_n "(cached) " >&6
11453 ac_check_lib_save_LIBS
=$LIBS
11454 LIBS
="-lkstat $LIBS"
11455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11456 /* end confdefs.h. */
11458 /* Override any GCC internal prototype to avoid an error.
11459 Use char because int might match the return type of a GCC
11460 builtin and then its argument prototype would still apply. */
11464 char kstat_open ();
11468 return kstat_open ();
11473 if ac_fn_c_try_link
"$LINENO"; then :
11474 ac_cv_lib_kstat_kstat_open
=yes
11476 ac_cv_lib_kstat_kstat_open
=no
11478 rm -f core conftest.err conftest.
$ac_objext \
11479 conftest
$ac_exeext conftest.
$ac_ext
11480 LIBS
=$ac_check_lib_save_LIBS
11482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11483 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11484 if test "x$ac_cv_lib_kstat_kstat_open" = x
""yes; then :
11486 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11495 $as_echo_n "checking for -lodbc... " >&6; }
11496 if test "${ac_cv_lib_soname_odbc+set}" = set; then :
11497 $as_echo_n "(cached) " >&6
11499 ac_check_soname_save_LIBS
=$LIBS
11500 LIBS
="-lodbc $LIBS"
11501 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11502 /* end confdefs.h. */
11504 /* Override any GCC internal prototype to avoid an error.
11505 Use char because int might match the return type of a GCC
11506 builtin and then its argument prototype would still apply. */
11510 char SQLConnect ();
11514 return SQLConnect ();
11519 if ac_fn_c_try_link
"$LINENO"; then :
11521 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11522 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'` ;;
11523 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11526 rm -f core conftest.err conftest.
$ac_objext \
11527 conftest
$ac_exeext conftest.
$ac_ext
11528 LIBS
=$ac_check_soname_save_LIBS
11530 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11532 $as_echo "not found" >&6; }
11533 cat >>confdefs.h
<<_ACEOF
11534 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11539 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11541 cat >>confdefs.h
<<_ACEOF
11542 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11548 if test "x$ALSALIBS$AUDIOIOLIBS$COREAUDIO$NASLIBS$ESDLIBS$ac_cv_lib_soname_jack" = "x" -a \
11549 "$ac_cv_header_sys_soundcard_h" != "yes" -a \
11550 "$ac_cv_header_machine_soundcard_h" != "yes" -a \
11551 "$ac_cv_header_soundcard_h" != "yes" -a \
11552 "x$with_alsa$with_audioio$with_coreaudio$with_nas$with_esd$with_jack$with_oss" != xnonononononono
11554 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11560 if test "x${GCC}" = "xyes"
11562 EXTRACFLAGS
="-Wall -pipe"
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
11565 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
11566 if test "${ac_cv_c_gcc_strength_bug+set}" = set; then :
11567 $as_echo_n "(cached) " >&6
11569 if test "$cross_compiling" = yes; then :
11570 ac_cv_c_gcc_strength_bug
="yes"
11572 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11573 /* end confdefs.h. */
11574 int L[4] = {0,1,2,3};
11578 static int Array[3];
11579 unsigned int B = 3;
11581 for(i=0; i<B; i++) Array[i] = i - 3;
11582 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
11584 return (Array[1] != -2 || L[2] != 3)
11589 if ac_fn_c_try_run
"$LINENO"; then :
11590 ac_cv_c_gcc_strength_bug
="no"
11592 ac_cv_c_gcc_strength_bug
="yes"
11594 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
11595 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
11600 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
11601 if test "$ac_cv_c_gcc_strength_bug" = "yes"
11603 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
11606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
11607 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
11608 if test "${ac_cv_cflags__fno_builtin+set}" = set; then :
11609 $as_echo_n "(cached) " >&6
11611 ac_wine_try_cflags_saved
=$CFLAGS
11612 CFLAGS
="$CFLAGS -fno-builtin"
11613 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11614 /* end confdefs.h. */
11615 int main(int argc, char **argv) { return 0; }
11617 if ac_fn_c_try_link
"$LINENO"; then :
11618 ac_cv_cflags__fno_builtin
=yes
11620 ac_cv_cflags__fno_builtin
=no
11622 rm -f core conftest.err conftest.
$ac_objext \
11623 conftest
$ac_exeext conftest.
$ac_ext
11624 CFLAGS
=$ac_wine_try_cflags_saved
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
11627 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
11628 if test $ac_cv_cflags__fno_builtin = yes; then :
11629 BUILTINFLAG
="-fno-builtin"
11632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
11633 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
11634 if test "${ac_cv_cflags__fno_strict_aliasing+set}" = set; then :
11635 $as_echo_n "(cached) " >&6
11637 ac_wine_try_cflags_saved
=$CFLAGS
11638 CFLAGS
="$CFLAGS -fno-strict-aliasing"
11639 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641 int main(int argc, char **argv) { return 0; }
11643 if ac_fn_c_try_link
"$LINENO"; then :
11644 ac_cv_cflags__fno_strict_aliasing
=yes
11646 ac_cv_cflags__fno_strict_aliasing
=no
11648 rm -f core conftest.err conftest.
$ac_objext \
11649 conftest
$ac_exeext conftest.
$ac_ext
11650 CFLAGS
=$ac_wine_try_cflags_saved
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
11653 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
11654 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
11655 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
11657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
11658 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
11659 if test "${ac_cv_cflags__Wdeclaration_after_statement+set}" = set; then :
11660 $as_echo_n "(cached) " >&6
11662 ac_wine_try_cflags_saved
=$CFLAGS
11663 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
11664 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11665 /* end confdefs.h. */
11666 int main(int argc, char **argv) { return 0; }
11668 if ac_fn_c_try_link
"$LINENO"; then :
11669 ac_cv_cflags__Wdeclaration_after_statement
=yes
11671 ac_cv_cflags__Wdeclaration_after_statement
=no
11673 rm -f core conftest.err conftest.
$ac_objext \
11674 conftest
$ac_exeext conftest.
$ac_ext
11675 CFLAGS
=$ac_wine_try_cflags_saved
11677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
11678 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
11679 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
11680 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
11683 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
11684 if test "${ac_cv_cflags__Wstrict_prototypes+set}" = set; then :
11685 $as_echo_n "(cached) " >&6
11687 ac_wine_try_cflags_saved
=$CFLAGS
11688 CFLAGS
="$CFLAGS -Wstrict-prototypes"
11689 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11691 int main(int argc, char **argv) { return 0; }
11693 if ac_fn_c_try_link
"$LINENO"; then :
11694 ac_cv_cflags__Wstrict_prototypes
=yes
11696 ac_cv_cflags__Wstrict_prototypes
=no
11698 rm -f core conftest.err conftest.
$ac_objext \
11699 conftest
$ac_exeext conftest.
$ac_ext
11700 CFLAGS
=$ac_wine_try_cflags_saved
11702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
11703 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
11704 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
11705 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
11707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
11708 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
11709 if test "${ac_cv_cflags__Wtype_limits+set}" = set; then :
11710 $as_echo_n "(cached) " >&6
11712 ac_wine_try_cflags_saved
=$CFLAGS
11713 CFLAGS
="$CFLAGS -Wtype-limits"
11714 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11715 /* end confdefs.h. */
11716 int main(int argc, char **argv) { return 0; }
11718 if ac_fn_c_try_link
"$LINENO"; then :
11719 ac_cv_cflags__Wtype_limits
=yes
11721 ac_cv_cflags__Wtype_limits
=no
11723 rm -f core conftest.err conftest.
$ac_objext \
11724 conftest
$ac_exeext conftest.
$ac_ext
11725 CFLAGS
=$ac_wine_try_cflags_saved
11727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
11728 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
11729 if test $ac_cv_cflags__Wtype_limits = yes; then :
11730 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
11733 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
11734 if test "${ac_cv_cflags__Wwrite_strings+set}" = set; then :
11735 $as_echo_n "(cached) " >&6
11737 ac_wine_try_cflags_saved
=$CFLAGS
11738 CFLAGS
="$CFLAGS -Wwrite-strings"
11739 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11740 /* end confdefs.h. */
11741 int main(int argc, char **argv) { return 0; }
11743 if ac_fn_c_try_link
"$LINENO"; then :
11744 ac_cv_cflags__Wwrite_strings
=yes
11746 ac_cv_cflags__Wwrite_strings
=no
11748 rm -f core conftest.err conftest.
$ac_objext \
11749 conftest
$ac_exeext conftest.
$ac_ext
11750 CFLAGS
=$ac_wine_try_cflags_saved
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
11753 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
11754 if test $ac_cv_cflags__Wwrite_strings = yes; then :
11755 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
11758 saved_CFLAGS
="$CFLAGS"
11759 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings" >&5
11761 $as_echo_n "checking for broken string.h that generates warnings... " >&6; }
11762 if test "${ac_cv_c_string_h_warnings+set}" = set; then :
11763 $as_echo_n "(cached) " >&6
11765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11766 /* end confdefs.h. */
11767 #include <string.h>
11776 if ac_fn_c_try_compile
"$LINENO"; then :
11777 ac_cv_c_string_h_warnings
=no
11779 ac_cv_c_string_h_warnings
=yes
11781 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
11784 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
11785 CFLAGS
="$saved_CFLAGS"
11786 if test "$ac_cv_c_string_h_warnings" = "no"
11788 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
11791 if test "${enable_maintainer_mode+set}" = set
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
11794 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
11795 if test "${ac_cv_cflags__Werror+set}" = set; then :
11796 $as_echo_n "(cached) " >&6
11798 ac_wine_try_cflags_saved
=$CFLAGS
11799 CFLAGS
="$CFLAGS -Werror"
11800 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11801 /* end confdefs.h. */
11802 int main(int argc, char **argv) { return 0; }
11804 if ac_fn_c_try_link
"$LINENO"; then :
11805 ac_cv_cflags__Werror
=yes
11807 ac_cv_cflags__Werror
=no
11809 rm -f core conftest.err conftest.
$ac_objext \
11810 conftest
$ac_exeext conftest.
$ac_ext
11811 CFLAGS
=$ac_wine_try_cflags_saved
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
11814 $as_echo "$ac_cv_cflags__Werror" >&6; }
11815 if test $ac_cv_cflags__Werror = yes; then :
11816 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
11820 saved_CFLAGS
="$CFLAGS"
11821 CFLAGS
="$CFLAGS -Werror"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
11823 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
11824 if test "${ac_cv_have_ms_hook_prologue+set}" = set; then :
11825 $as_echo_n "(cached) " >&6
11827 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11829 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
11838 if ac_fn_c_try_compile
"$LINENO"; then :
11839 ac_cv_have_ms_hook_prologue
="yes"
11841 ac_cv_have_ms_hook_prologue
="no"
11843 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
11846 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
11847 CFLAGS
="$saved_CFLAGS"
11848 if test "$ac_cv_have_ms_hook_prologue" = "yes"
11851 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
11854 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
11861 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
11862 if test "${ac_cv_c_extern_prefix+set}" = set; then :
11863 $as_echo_n "(cached) " >&6
11865 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 extern int ac_test;
11871 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
11876 if ac_fn_c_try_link
"$LINENO"; then :
11877 ac_cv_c_extern_prefix
="yes"
11879 ac_cv_c_extern_prefix
="no"
11881 rm -f core conftest.err conftest.
$ac_objext \
11882 conftest
$ac_exeext conftest.
$ac_ext
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
11885 $as_echo "$ac_cv_c_extern_prefix" >&6; }
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
11890 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
11891 if test "${ac_cv_c_stdcall_suffix+set}" = set; then :
11892 $as_echo_n "(cached) " >&6
11894 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11895 /* end confdefs.h. */
11897 #define __stdcall __attribute__((__stdcall__))
11899 int __stdcall ac_test(int i) { return i; }
11903 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
11908 if ac_fn_c_try_link
"$LINENO"; then :
11909 ac_cv_c_stdcall_suffix
="yes"
11911 ac_cv_c_stdcall_suffix
="no"
11913 rm -f core conftest.err conftest.
$ac_objext \
11914 conftest
$ac_exeext conftest.
$ac_ext
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
11917 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
11918 *) ac_cv_c_stdcall_suffix
="no" ;;
11922 if test "$ac_cv_c_extern_prefix" = "yes"
11924 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
11926 asm_name_prefix
="_"
11928 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
11934 if test "$ac_cv_c_stdcall_suffix" = "yes"
11936 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
11939 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
11945 $as_echo_n "checking how to define a function in assembly code... " >&6; }
11946 if test "${ac_cv_asm_func_def+set}" = set; then :
11947 $as_echo_n "(cached) " >&6
11949 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11955 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
11960 if ac_fn_c_try_link
"$LINENO"; then :
11961 ac_cv_asm_func_def
=".def"
11963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11964 /* end confdefs.h. */
11969 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
11974 if ac_fn_c_try_link
"$LINENO"; then :
11975 ac_cv_asm_func_def
=".type @function"
11977 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11978 /* end confdefs.h. */
11983 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
11988 if ac_fn_c_try_link
"$LINENO"; then :
11989 ac_cv_asm_func_def
=".type 2"
11991 ac_cv_asm_func_def
="unknown"
11993 rm -f core conftest.err conftest.
$ac_objext \
11994 conftest
$ac_exeext conftest.
$ac_ext
11996 rm -f core conftest.err conftest.
$ac_objext \
11997 conftest
$ac_exeext conftest.
$ac_ext
11999 rm -f core conftest.err conftest.
$ac_objext \
12000 conftest
$ac_exeext conftest.
$ac_ext
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12003 $as_echo "$ac_cv_asm_func_def" >&6; }
12006 case "$ac_cv_asm_func_def" in
12008 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12010 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12012 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12014 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12016 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12018 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12020 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12022 asm_func_header
="" ;;
12025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12026 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12027 if test "${ac_cv_c_asm_outside_funcs+set}" = set; then :
12028 $as_echo_n "(cached) " >&6
12030 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12031 /* end confdefs.h. */
12032 asm(".text\n\t.long 0");
12041 if ac_fn_c_try_compile
"$LINENO"; then :
12042 ac_cv_c_asm_outside_funcs
="yes"
12044 ac_cv_c_asm_outside_funcs
="no"
12046 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12049 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12052 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12053 if test "${ac_cv_c_dot_previous+set}" = set; then :
12054 $as_echo_n "(cached) " >&6
12056 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12057 /* end confdefs.h. */
12062 asm(".text\nac_test:\t.long 0\n\t.previous");
12067 if ac_fn_c_try_link
"$LINENO"; then :
12068 ac_cv_c_dot_previous
="yes"
12070 ac_cv_c_dot_previous
="no"
12072 rm -f core conftest.err conftest.
$ac_objext \
12073 conftest
$ac_exeext conftest.
$ac_ext
12075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12076 $as_echo "$ac_cv_c_dot_previous" >&6; }
12078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12079 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12080 if test "${ac_cv_c_cfi_support+set}" = set; then :
12081 $as_echo_n "(cached) " >&6
12083 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12084 /* end confdefs.h. */
12085 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12094 if ac_fn_c_try_compile
"$LINENO"; then :
12095 ac_cv_c_cfi_support
="yes"
12097 ac_cv_c_cfi_support
="no"
12099 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12102 $as_echo "$ac_cv_c_cfi_support" >&6; }
12104 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12105 asm_func_trailer
=""
12106 if test "$ac_cv_c_dot_previous" = "yes"
12108 asm_func_trailer
="\\n\\t.previous"
12110 if test "$ac_cv_c_cfi_support" = "yes"
12112 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12113 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12115 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12118 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12122 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12125 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12127 cat >>confdefs.h
<<_ACEOF
12128 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12132 cat >>confdefs.h
<<_ACEOF
12133 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12138 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12141 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12151 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12156 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12164 SOCKETLIBS
="-L\$(TOPOBJDIR)/dlls/ws2_32 -lws2_32"
12171 test -z "$with_wine64" || MAIN_BINARY
="wine32"
12177 EXTRA_BINARIES
="wine-preloader"
12184 ac_save_CFLAGS
="$CFLAGS"
12185 CFLAGS
="$CFLAGS $BUILTINFLAG"
12232 sched_setaffinity \
12261 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12262 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12263 eval as_val
=\$
$as_ac_var
12264 if test "x$as_val" = x
""yes; then :
12265 cat >>confdefs.h
<<_ACEOF
12266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12272 CFLAGS
="$ac_save_CFLAGS"
12274 if test "$ac_cv_func_dlopen" = no
12276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12277 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12278 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
12279 $as_echo_n "(cached) " >&6
12281 ac_check_lib_save_LIBS
=$LIBS
12283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12284 /* end confdefs.h. */
12286 /* Override any GCC internal prototype to avoid an error.
12287 Use char because int might match the return type of a GCC
12288 builtin and then its argument prototype would still apply. */
12301 if ac_fn_c_try_link
"$LINENO"; then :
12302 ac_cv_lib_dl_dlopen
=yes
12304 ac_cv_lib_dl_dlopen
=no
12306 rm -f core conftest.err conftest.
$ac_objext \
12307 conftest
$ac_exeext conftest.
$ac_ext
12308 LIBS
=$ac_check_lib_save_LIBS
12310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12311 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12312 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
12313 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12319 ac_wine_check_funcs_save_LIBS
="$LIBS"
12320 LIBS
="$LIBS $LIBDL"
12321 for ac_func
in dladdr
12323 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12324 if test "x$ac_cv_func_dladdr" = x
""yes; then :
12325 cat >>confdefs.h
<<_ACEOF
12326 #define HAVE_DLADDR 1
12332 LIBS
="$ac_wine_check_funcs_save_LIBS"
12334 if test "$ac_cv_func_poll" = no
12336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12337 $as_echo_n "checking for poll in -lpoll... " >&6; }
12338 if test "${ac_cv_lib_poll_poll+set}" = set; then :
12339 $as_echo_n "(cached) " >&6
12341 ac_check_lib_save_LIBS
=$LIBS
12342 LIBS
="-lpoll $LIBS"
12343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12344 /* end confdefs.h. */
12346 /* Override any GCC internal prototype to avoid an error.
12347 Use char because int might match the return type of a GCC
12348 builtin and then its argument prototype would still apply. */
12361 if ac_fn_c_try_link
"$LINENO"; then :
12362 ac_cv_lib_poll_poll
=yes
12364 ac_cv_lib_poll_poll
=no
12366 rm -f core conftest.err conftest.
$ac_objext \
12367 conftest
$ac_exeext conftest.
$ac_ext
12368 LIBS
=$ac_check_lib_save_LIBS
12370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
12371 $as_echo "$ac_cv_lib_poll_poll" >&6; }
12372 if test "x$ac_cv_lib_poll_poll" = x
""yes; then :
12373 $as_echo "#define HAVE_POLL 1" >>confdefs.h
12380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
12381 $as_echo_n "checking for library containing gethostbyname... " >&6; }
12382 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12383 $as_echo_n "(cached) " >&6
12385 ac_func_search_save_LIBS
=$LIBS
12386 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12387 /* end confdefs.h. */
12389 /* Override any GCC internal prototype to avoid an error.
12390 Use char because int might match the return type of a GCC
12391 builtin and then its argument prototype would still apply. */
12395 char gethostbyname ();
12399 return gethostbyname ();
12404 for ac_lib
in '' nsl
; do
12405 if test -z "$ac_lib"; then
12406 ac_res
="none required"
12409 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12411 if ac_fn_c_try_link
"$LINENO"; then :
12412 ac_cv_search_gethostbyname
=$ac_res
12414 rm -f core conftest.err conftest.
$ac_objext \
12416 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12420 if test "${ac_cv_search_gethostbyname+set}" = set; then :
12423 ac_cv_search_gethostbyname
=no
12425 rm conftest.
$ac_ext
12426 LIBS
=$ac_func_search_save_LIBS
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
12429 $as_echo "$ac_cv_search_gethostbyname" >&6; }
12430 ac_res
=$ac_cv_search_gethostbyname
12431 if test "$ac_res" != no
; then :
12432 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
12438 $as_echo_n "checking for library containing connect... " >&6; }
12439 if test "${ac_cv_search_connect+set}" = set; then :
12440 $as_echo_n "(cached) " >&6
12442 ac_func_search_save_LIBS
=$LIBS
12443 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12444 /* end confdefs.h. */
12446 /* Override any GCC internal prototype to avoid an error.
12447 Use char because int might match the return type of a GCC
12448 builtin and then its argument prototype would still apply. */
12461 for ac_lib
in '' socket
; do
12462 if test -z "$ac_lib"; then
12463 ac_res
="none required"
12466 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12468 if ac_fn_c_try_link
"$LINENO"; then :
12469 ac_cv_search_connect
=$ac_res
12471 rm -f core conftest.err conftest.
$ac_objext \
12473 if test "${ac_cv_search_connect+set}" = set; then :
12477 if test "${ac_cv_search_connect+set}" = set; then :
12480 ac_cv_search_connect
=no
12482 rm conftest.
$ac_ext
12483 LIBS
=$ac_func_search_save_LIBS
12485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
12486 $as_echo "$ac_cv_search_connect" >&6; }
12487 ac_res
=$ac_cv_search_connect
12488 if test "$ac_res" != no
; then :
12489 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
12495 $as_echo_n "checking for library containing inet_aton... " >&6; }
12496 if test "${ac_cv_search_inet_aton+set}" = set; then :
12497 $as_echo_n "(cached) " >&6
12499 ac_func_search_save_LIBS
=$LIBS
12500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12501 /* end confdefs.h. */
12503 /* Override any GCC internal prototype to avoid an error.
12504 Use char because int might match the return type of a GCC
12505 builtin and then its argument prototype would still apply. */
12513 return inet_aton ();
12518 for ac_lib
in '' resolv
; do
12519 if test -z "$ac_lib"; then
12520 ac_res
="none required"
12523 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
12525 if ac_fn_c_try_link
"$LINENO"; then :
12526 ac_cv_search_inet_aton
=$ac_res
12528 rm -f core conftest.err conftest.
$ac_objext \
12530 if test "${ac_cv_search_inet_aton+set}" = set; then :
12534 if test "${ac_cv_search_inet_aton+set}" = set; then :
12537 ac_cv_search_inet_aton
=no
12539 rm conftest.
$ac_ext
12540 LIBS
=$ac_func_search_save_LIBS
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
12543 $as_echo "$ac_cv_search_inet_aton" >&6; }
12544 ac_res
=$ac_cv_search_inet_aton
12545 if test "$ac_res" != no
; then :
12546 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
12565 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12566 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12567 eval as_val
=\$
$as_ac_var
12568 if test "x$as_val" = x
""yes; then :
12569 cat >>confdefs.h
<<_ACEOF
12570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12579 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
12581 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
12583 if test "x$ac_cv_type_LDAPSortKey" = x
""yes; then :
12584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
12585 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
12586 if test "${ac_cv_lib_ldap_r_ldap_initialize+set}" = set; then :
12587 $as_echo_n "(cached) " >&6
12589 ac_check_lib_save_LIBS
=$LIBS
12590 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
12591 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12592 /* end confdefs.h. */
12594 /* Override any GCC internal prototype to avoid an error.
12595 Use char because int might match the return type of a GCC
12596 builtin and then its argument prototype would still apply. */
12600 char ldap_initialize ();
12604 return ldap_initialize ();
12609 if ac_fn_c_try_link
"$LINENO"; then :
12610 ac_cv_lib_ldap_r_ldap_initialize
=yes
12612 ac_cv_lib_ldap_r_ldap_initialize
=no
12614 rm -f core conftest.err conftest.
$ac_objext \
12615 conftest
$ac_exeext conftest.
$ac_ext
12616 LIBS
=$ac_check_lib_save_LIBS
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
12619 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
12620 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = x
""yes; then :
12621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
12622 $as_echo_n "checking for ber_init in -llber... " >&6; }
12623 if test "${ac_cv_lib_lber_ber_init+set}" = set; then :
12624 $as_echo_n "(cached) " >&6
12626 ac_check_lib_save_LIBS
=$LIBS
12627 LIBS
="-llber $LIBPTHREAD $LIBS"
12628 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12629 /* end confdefs.h. */
12631 /* Override any GCC internal prototype to avoid an error.
12632 Use char because int might match the return type of a GCC
12633 builtin and then its argument prototype would still apply. */
12641 return ber_init ();
12646 if ac_fn_c_try_link
"$LINENO"; then :
12647 ac_cv_lib_lber_ber_init
=yes
12649 ac_cv_lib_lber_ber_init
=no
12651 rm -f core conftest.err conftest.
$ac_objext \
12652 conftest
$ac_exeext conftest.
$ac_ext
12653 LIBS
=$ac_check_lib_save_LIBS
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
12656 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
12657 if test "x$ac_cv_lib_lber_ber_init" = x
""yes; then :
12659 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
12661 LDAPLIBS
="-lldap_r -llber"
12668 ac_wine_check_funcs_save_LIBS
="$LIBS"
12669 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
12671 ldap_count_references \
12672 ldap_first_reference \
12673 ldap_next_reference \
12674 ldap_parse_reference \
12675 ldap_parse_sort_control \
12676 ldap_parse_sortresponse_control \
12677 ldap_parse_vlv_control \
12678 ldap_parse_vlvresponse_control
12680 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12681 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12682 eval as_val
=\$
$as_ac_var
12683 if test "x$as_val" = x
""yes; then :
12684 cat >>confdefs.h
<<_ACEOF
12685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12691 LIBS
="$ac_wine_check_funcs_save_LIBS"
12693 if test "x$LDAPLIBS" = "x"; then :
12694 case "x$with_ldap" in
12695 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
12697 *) as_fn_error
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
12698 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
12702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
12703 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
12704 if test "${wine_cv_one_arg_mkdir+set}" = set; then :
12705 $as_echo_n "(cached) " >&6
12707 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12709 #include <sys/stat.h>
12718 if ac_fn_c_try_compile
"$LINENO"; then :
12719 wine_cv_one_arg_mkdir
=yes
12721 wine_cv_one_arg_mkdir
=no
12723 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
12726 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
12727 if test "$wine_cv_one_arg_mkdir" = "yes"
12730 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
12735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
12736 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
12737 if test "${ac_cv_c_const+set}" = set; then :
12738 $as_echo_n "(cached) " >&6
12740 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12741 /* end confdefs.h. */
12746 /* FIXME: Include the comments suggested by Paul. */
12747 #ifndef __cplusplus
12748 /* Ultrix mips cc rejects this. */
12749 typedef int charset[2];
12751 /* SunOS 4.1.1 cc rejects this. */
12752 char const *const *pcpcc;
12754 /* NEC SVR4.0.2 mips cc rejects this. */
12755 struct point {int x, y;};
12756 static struct point const zero = {0,0};
12757 /* AIX XL C 1.02.0.0 rejects this.
12758 It does not let you subtract one const X* pointer from another in
12759 an arm of an if-expression whose if-part is not a constant
12761 const char *g = "string";
12762 pcpcc = &g + (g ? g-g : 0);
12763 /* HPUX 7.0 cc rejects these. */
12765 ppc = (char**) pcpcc;
12766 pcpcc = (char const *const *) ppc;
12767 { /* SCO 3.2v4 cc rejects this. */
12769 char const *s = 0 ? (char *) 0 : (char const *) 0;
12774 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
12775 int x[] = {25, 17};
12776 const int *foo = &x[0];
12779 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
12780 typedef const int *iptr;
12784 { /* AIX XL C 1.02.0.0 rejects this saying
12785 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
12786 struct s { int j; const int *ap[3]; };
12787 struct s *b; b->j = 5;
12789 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
12790 const int foo = 10;
12791 if (!foo) return 0;
12793 return !cs[0] && !zero.x;
12800 if ac_fn_c_try_compile
"$LINENO"; then :
12805 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
12808 $as_echo "$ac_cv_c_const" >&6; }
12809 if test $ac_cv_c_const = no
; then
12811 $as_echo "#define const /**/" >>confdefs.h
12815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
12816 $as_echo_n "checking for inline... " >&6; }
12817 if test "${ac_cv_c_inline+set}" = set; then :
12818 $as_echo_n "(cached) " >&6
12821 for ac_kw
in inline __inline__ __inline
; do
12822 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12824 #ifndef __cplusplus
12826 static $ac_kw foo_t static_foo () {return 0; }
12827 $ac_kw foo_t foo () {return 0; }
12831 if ac_fn_c_try_compile
"$LINENO"; then :
12832 ac_cv_c_inline
=$ac_kw
12834 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12835 test "$ac_cv_c_inline" != no
&& break
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
12840 $as_echo "$ac_cv_c_inline" >&6; }
12842 case $ac_cv_c_inline in
12845 case $ac_cv_c_inline in
12847 *) ac_val
=$ac_cv_c_inline;;
12849 cat >>confdefs.h
<<_ACEOF
12850 #ifndef __cplusplus
12851 #define inline $ac_val
12857 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
12858 if test "x$ac_cv_type_mode_t" = x
""yes; then :
12860 cat >>confdefs.h
<<_ACEOF
12861 #define HAVE_MODE_T 1
12866 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
12867 if test "x$ac_cv_type_off_t" = x
""yes; then :
12869 cat >>confdefs.h
<<_ACEOF
12870 #define HAVE_OFF_T 1
12875 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
12876 if test "x$ac_cv_type_pid_t" = x
""yes; then :
12878 cat >>confdefs.h
<<_ACEOF
12879 #define HAVE_PID_T 1
12884 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
12885 if test "x$ac_cv_type_size_t" = x
""yes; then :
12887 cat >>confdefs.h
<<_ACEOF
12888 #define HAVE_SIZE_T 1
12893 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
12894 if test "x$ac_cv_type_ssize_t" = x
""yes; then :
12896 cat >>confdefs.h
<<_ACEOF
12897 #define HAVE_SSIZE_T 1
12902 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
12903 if test "x$ac_cv_type_long_long" = x
""yes; then :
12905 cat >>confdefs.h
<<_ACEOF
12906 #define HAVE_LONG_LONG 1
12911 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
12912 if test "x$ac_cv_type_fsblkcnt_t" = x
""yes; then :
12914 cat >>confdefs.h
<<_ACEOF
12915 #define HAVE_FSBLKCNT_T 1
12920 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
12921 if test "x$ac_cv_type_fsfilcnt_t" = x
""yes; then :
12923 cat >>confdefs.h
<<_ACEOF
12924 #define HAVE_FSFILCNT_T 1
12930 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
12931 #include <signal.h>
12933 if test "x$ac_cv_type_sigset_t" = x
""yes; then :
12935 cat >>confdefs.h
<<_ACEOF
12936 #define HAVE_SIGSET_T 1
12942 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
12944 if test "x$ac_cv_type_request_sense" = x
""yes; then :
12946 cat >>confdefs.h
<<_ACEOF
12947 #define HAVE_REQUEST_SENSE 1
12954 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
12955 #ifdef HAVE_SYS_SOCKET_H
12956 #include <sys/socket.h>
12958 #ifdef HAVE_SYS_SOCKETVAR_H
12959 #include <sys/socketvar.h>
12961 #ifdef HAVE_NET_ROUTE_H
12962 #include <net/route.h>
12964 #ifdef HAVE_NETINET_IN_H
12965 #include <netinet/in.h>
12967 #ifdef HAVE_NETINET_IN_SYSTM_H
12968 #include <netinet/in_systm.h>
12970 #ifdef HAVE_NETINET_IP_H
12971 #include <netinet/ip.h>
12973 #ifdef HAVE_NETINET_IN_PCB_H
12974 #include <netinet/in_pcb.h>
12977 if test "x$ac_cv_type_struct_xinpgen" = x
""yes; then :
12979 cat >>confdefs.h
<<_ACEOF
12980 #define HAVE_STRUCT_XINPGEN 1
12987 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
12988 #include <linux/input.h>
12991 if test "x$ac_cv_member_struct_ff_effect_direction" = x
""yes; then :
12993 cat >>confdefs.h
<<_ACEOF
12994 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13002 $as_echo_n "checking for sigaddset... " >&6; }
13003 if test "${wine_cv_have_sigaddset+set}" = set; then :
13004 $as_echo_n "(cached) " >&6
13006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13007 /* end confdefs.h. */
13008 #include <signal.h>
13012 sigset_t set; sigaddset(&set,SIGTERM);
13017 if ac_fn_c_try_link
"$LINENO"; then :
13018 wine_cv_have_sigaddset
=yes
13020 wine_cv_have_sigaddset
=no
13022 rm -f core conftest.err conftest.
$ac_objext \
13023 conftest
$ac_exeext conftest.
$ac_ext
13025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13026 $as_echo "$wine_cv_have_sigaddset" >&6; }
13027 if test "$wine_cv_have_sigaddset" = "yes"
13030 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13036 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13037 if test "${wine_cv_linux_gethostbyname_r_6+set}" = set; then :
13038 $as_echo_n "(cached) " >&6
13040 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13041 /* end confdefs.h. */
13049 struct hostent *result;
13056 res=gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13057 res=gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13063 if ac_fn_c_try_link
"$LINENO"; then :
13064 wine_cv_linux_gethostbyname_r_6
=yes
13066 wine_cv_linux_gethostbyname_r_6
=no
13069 rm -f core conftest.err conftest.
$ac_objext \
13070 conftest
$ac_exeext conftest.
$ac_ext
13073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13074 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13075 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13078 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13082 if test "$ac_cv_header_linux_joystick_h" = "yes"
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13085 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13086 if test "${wine_cv_linux_joystick_22_api+set}" = set; then :
13087 $as_echo_n "(cached) " >&6
13089 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13090 /* end confdefs.h. */
13092 #include <sys/ioctl.h>
13093 #include <sys/types.h>
13094 #include <linux/joystick.h>
13096 struct js_event blub;
13097 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13098 #error "no 2.2 header"
13109 if ac_fn_c_try_compile
"$LINENO"; then :
13110 wine_cv_linux_joystick_22_api
=yes
13112 wine_cv_linux_joystick_22_api
=no
13114 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13118 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13119 if test "$wine_cv_linux_joystick_22_api" = "yes"
13122 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13128 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13129 #ifdef HAVE_SYS_PARAM_H
13130 # include <sys/param.h>
13132 #ifdef HAVE_SYS_MOUNT_H
13133 # include <sys/mount.h>
13135 #ifdef HAVE_SYS_VFS_H
13136 # include <sys/vfs.h>
13138 #ifdef HAVE_SYS_STATFS_H
13139 # include <sys/statfs.h>
13142 if test "x$ac_cv_member_struct_statfs_f_bfree" = x
""yes; then :
13144 cat >>confdefs.h
<<_ACEOF
13145 #define HAVE_STRUCT_STATFS_F_BFREE 1
13150 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13151 #ifdef HAVE_SYS_PARAM_H
13152 # include <sys/param.h>
13154 #ifdef HAVE_SYS_MOUNT_H
13155 # include <sys/mount.h>
13157 #ifdef HAVE_SYS_VFS_H
13158 # include <sys/vfs.h>
13160 #ifdef HAVE_SYS_STATFS_H
13161 # include <sys/statfs.h>
13164 if test "x$ac_cv_member_struct_statfs_f_bavail" = x
""yes; then :
13166 cat >>confdefs.h
<<_ACEOF
13167 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13172 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13173 #ifdef HAVE_SYS_PARAM_H
13174 # include <sys/param.h>
13176 #ifdef HAVE_SYS_MOUNT_H
13177 # include <sys/mount.h>
13179 #ifdef HAVE_SYS_VFS_H
13180 # include <sys/vfs.h>
13182 #ifdef HAVE_SYS_STATFS_H
13183 # include <sys/statfs.h>
13186 if test "x$ac_cv_member_struct_statfs_f_frsize" = x
""yes; then :
13188 cat >>confdefs.h
<<_ACEOF
13189 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13194 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13195 #ifdef HAVE_SYS_PARAM_H
13196 # include <sys/param.h>
13198 #ifdef HAVE_SYS_MOUNT_H
13199 # include <sys/mount.h>
13201 #ifdef HAVE_SYS_VFS_H
13202 # include <sys/vfs.h>
13204 #ifdef HAVE_SYS_STATFS_H
13205 # include <sys/statfs.h>
13208 if test "x$ac_cv_member_struct_statfs_f_ffree" = x
""yes; then :
13210 cat >>confdefs.h
<<_ACEOF
13211 #define HAVE_STRUCT_STATFS_F_FFREE 1
13216 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13217 #ifdef HAVE_SYS_PARAM_H
13218 # include <sys/param.h>
13220 #ifdef HAVE_SYS_MOUNT_H
13221 # include <sys/mount.h>
13223 #ifdef HAVE_SYS_VFS_H
13224 # include <sys/vfs.h>
13226 #ifdef HAVE_SYS_STATFS_H
13227 # include <sys/statfs.h>
13230 if test "x$ac_cv_member_struct_statfs_f_favail" = x
""yes; then :
13232 cat >>confdefs.h
<<_ACEOF
13233 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13238 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13239 #ifdef HAVE_SYS_PARAM_H
13240 # include <sys/param.h>
13242 #ifdef HAVE_SYS_MOUNT_H
13243 # include <sys/mount.h>
13245 #ifdef HAVE_SYS_VFS_H
13246 # include <sys/vfs.h>
13248 #ifdef HAVE_SYS_STATFS_H
13249 # include <sys/statfs.h>
13252 if test "x$ac_cv_member_struct_statfs_f_namelen" = x
""yes; then :
13254 cat >>confdefs.h
<<_ACEOF
13255 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13262 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13263 #include <sys/statvfs.h>
13266 if test "x$ac_cv_member_struct_statvfs_f_blocks" = x
""yes; then :
13268 cat >>confdefs.h
<<_ACEOF
13269 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13276 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13277 #ifdef HAVE_SYS_SOCKET_H
13278 # include <sys/socket.h>
13280 #ifdef HAVE_SYS_UN_H
13281 # include <sys/un.h>
13284 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = x
""yes; then :
13286 cat >>confdefs.h
<<_ACEOF
13287 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13292 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13293 #ifdef HAVE_SYS_SOCKET_H
13294 # include <sys/socket.h>
13296 #ifdef HAVE_SYS_UN_H
13297 # include <sys/un.h>
13300 if test "x$ac_cv_member_struct_sockaddr_sa_len" = x
""yes; then :
13302 cat >>confdefs.h
<<_ACEOF
13303 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13308 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13309 #ifdef HAVE_SYS_SOCKET_H
13310 # include <sys/socket.h>
13312 #ifdef HAVE_SYS_UN_H
13313 # include <sys/un.h>
13316 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = x
""yes; then :
13318 cat >>confdefs.h
<<_ACEOF
13319 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13326 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13327 #ifdef HAVE_SCSI_SG_H
13328 #include <scsi/sg.h>
13331 if test "x$ac_cv_member_scsireq_t_cmd" = x
""yes; then :
13333 cat >>confdefs.h
<<_ACEOF
13334 #define HAVE_SCSIREQ_T_CMD 1
13339 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>
13340 #ifdef HAVE_SCSI_SG_H
13341 #include <scsi/sg.h>
13344 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = x
""yes; then :
13346 cat >>confdefs.h
<<_ACEOF
13347 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13354 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13356 if test "x$ac_cv_member_siginfo_t_si_fd" = x
""yes; then :
13358 cat >>confdefs.h
<<_ACEOF
13359 #define HAVE_SIGINFO_T_SI_FD 1
13366 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13367 #ifdef HAVE_SYS_MTIO_H
13368 #include <sys/mtio.h>
13371 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = x
""yes; then :
13373 cat >>confdefs.h
<<_ACEOF
13374 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13379 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13380 #ifdef HAVE_SYS_MTIO_H
13381 #include <sys/mtio.h>
13384 if test "x$ac_cv_member_struct_mtget_mt_gstat" = x
""yes; then :
13386 cat >>confdefs.h
<<_ACEOF
13387 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13392 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13393 #ifdef HAVE_SYS_MTIO_H
13394 #include <sys/mtio.h>
13397 if test "x$ac_cv_member_struct_mtget_mt_blkno" = x
""yes; then :
13399 cat >>confdefs.h
<<_ACEOF
13400 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13407 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13408 #include <getopt.h>
13411 if test "x$ac_cv_member_struct_option_name" = x
""yes; then :
13413 cat >>confdefs.h
<<_ACEOF
13414 #define HAVE_STRUCT_OPTION_NAME 1
13421 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
13422 if test "x$ac_cv_member_struct_stat_st_blocks" = x
""yes; then :
13424 cat >>confdefs.h
<<_ACEOF
13425 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
13430 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
13431 if test "x$ac_cv_member_struct_stat_st_mtim" = x
""yes; then :
13433 cat >>confdefs.h
<<_ACEOF
13434 #define HAVE_STRUCT_STAT_ST_MTIM 1
13439 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
13440 if test "x$ac_cv_member_struct_stat_st_ctim" = x
""yes; then :
13442 cat >>confdefs.h
<<_ACEOF
13443 #define HAVE_STRUCT_STAT_ST_CTIM 1
13448 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
13449 if test "x$ac_cv_member_struct_stat_st_atim" = x
""yes; then :
13451 cat >>confdefs.h
<<_ACEOF
13452 #define HAVE_STRUCT_STAT_ST_ATIM 1
13459 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
13460 #include <sys/types.h>
13462 #ifdef HAVE_NETINET_IN_H
13463 #include <netinet/in.h>
13466 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = x
""yes; then :
13468 cat >>confdefs.h
<<_ACEOF
13469 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
13476 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
13477 #include <sys/types.h>
13479 #ifdef HAVE_NETINET_IN_H
13480 # include <netinet/in.h>
13482 #ifdef HAVE_ARPA_NAMESER_H
13483 # include <arpa/nameser.h>
13486 if test "x$ac_cv_member_ns_msg__msg_ptr" = x
""yes; then :
13488 cat >>confdefs.h
<<_ACEOF
13489 #define HAVE_NS_MSG__MSG_PTR 1
13496 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
13497 #include <sys/types.h>
13499 #ifdef HAVE_ALIAS_H
13502 #ifdef HAVE_SYS_SOCKET_H
13503 #include <sys/socket.h>
13505 #ifdef HAVE_SYS_SOCKETVAR_H
13506 #include <sys/socketvar.h>
13508 #ifdef HAVE_SYS_TIMEOUT_H
13509 #include <sys/timeout.h>
13511 #ifdef HAVE_NETINET_IN_H
13512 #include <netinet/in.h>
13514 #ifdef HAVE_NETINET_IN_SYSTM_H
13515 #include <netinet/in_systm.h>
13517 #ifdef HAVE_NETINET_IP_H
13518 #include <netinet/ip.h>
13520 #ifdef HAVE_NETINET_IP_VAR_H
13521 #include <netinet/ip_var.h>
13523 #ifdef HAVE_NETINET_IP_ICMP_H
13524 #include <netinet/ip_icmp.h>
13526 #ifdef HAVE_NETINET_ICMP_VAR
13527 #include <netinet/icmp_var.h>
13530 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = x
""yes; then :
13532 cat >>confdefs.h
<<_ACEOF
13533 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
13540 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
13541 #include <sys/types.h>
13543 #ifdef HAVE_NET_IF_H
13544 # include <net/if.h>
13547 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = x
""yes; then :
13549 cat >>confdefs.h
<<_ACEOF
13550 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
13557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
13558 $as_echo_n "checking for timezone variable... " >&6; }
13559 if test "${ac_cv_have_timezone+set}" = set; then :
13560 $as_echo_n "(cached) " >&6
13562 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13563 /* end confdefs.h. */
13573 if ac_fn_c_try_link
"$LINENO"; then :
13574 ac_cv_have_timezone
="yes"
13576 ac_cv_have_timezone
="no"
13578 rm -f core conftest.err conftest.
$ac_objext \
13579 conftest
$ac_exeext conftest.
$ac_ext
13581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
13582 $as_echo "$ac_cv_have_timezone" >&6; }
13583 if test "$ac_cv_have_timezone" = "yes"
13586 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
13589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
13590 $as_echo_n "checking for daylight variable... " >&6; }
13591 if test "${ac_cv_have_daylight+set}" = set; then :
13592 $as_echo_n "(cached) " >&6
13594 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13595 /* end confdefs.h. */
13605 if ac_fn_c_try_link
"$LINENO"; then :
13606 ac_cv_have_daylight
="yes"
13608 ac_cv_have_daylight
="no"
13610 rm -f core conftest.err conftest.
$ac_objext \
13611 conftest
$ac_exeext conftest.
$ac_ext
13613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
13614 $as_echo "$ac_cv_have_daylight" >&6; }
13615 if test "$ac_cv_have_daylight" = "yes"
13618 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
13623 $as_echo_n "checking for isinf... " >&6; }
13624 if test "${ac_cv_have_isinf+set}" = set; then :
13625 $as_echo_n "(cached) " >&6
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13633 float f = 0.0; int i=isinf(f)
13638 if ac_fn_c_try_link
"$LINENO"; then :
13639 ac_cv_have_isinf
="yes"
13641 ac_cv_have_isinf
="no"
13643 rm -f core conftest.err conftest.
$ac_objext \
13644 conftest
$ac_exeext conftest.
$ac_ext
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
13647 $as_echo "$ac_cv_have_isinf" >&6; }
13648 if test "$ac_cv_have_isinf" = "yes"
13651 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
13656 $as_echo_n "checking for isnan... " >&6; }
13657 if test "${ac_cv_have_isnan+set}" = set; then :
13658 $as_echo_n "(cached) " >&6
13660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13666 float f = 0.0; int i=isnan(f)
13671 if ac_fn_c_try_link
"$LINENO"; then :
13672 ac_cv_have_isnan
="yes"
13674 ac_cv_have_isnan
="no"
13676 rm -f core conftest.err conftest.
$ac_objext \
13677 conftest
$ac_exeext conftest.
$ac_ext
13679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
13680 $as_echo "$ac_cv_have_isnan" >&6; }
13681 if test "$ac_cv_have_isnan" = "yes"
13684 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
13690 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
13691 $as_echo_n "checking whether we need to define __i386__... " >&6; }
13692 if test "${ac_cv_cpp_def___i386__+set}" = set; then :
13693 $as_echo_n "(cached) " >&6
13695 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13696 /* end confdefs.h. */
13701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13702 $EGREP "yes" >/dev
/null
2>&1; then :
13703 ac_cv_cpp_def___i386__
=yes
13705 ac_cv_cpp_def___i386__
=no
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
13711 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
13712 if test $ac_cv_cpp_def___i386__ = yes; then :
13713 CFLAGS
="$CFLAGS -D__i386__"
13714 LINTFLAGS
="$LINTFLAGS -D__i386__"
13716 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
13717 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
13718 if test "${ac_cv_cpp_def___x86_64__+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13722 /* end confdefs.h. */
13727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13728 $EGREP "yes" >/dev
/null
2>&1; then :
13729 ac_cv_cpp_def___x86_64__
=yes
13731 ac_cv_cpp_def___x86_64__
=no
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
13737 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
13738 if test $ac_cv_cpp_def___x86_64__ = yes; then :
13739 CFLAGS
="$CFLAGS -D__x86_64__"
13740 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
13742 *alpha
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __ALPHA__" >&5
13743 $as_echo_n "checking whether we need to define __ALPHA__... " >&6; }
13744 if test "${ac_cv_cpp_def___ALPHA__+set}" = set; then :
13745 $as_echo_n "(cached) " >&6
13747 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13748 /* end confdefs.h. */
13753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13754 $EGREP "yes" >/dev
/null
2>&1; then :
13755 ac_cv_cpp_def___ALPHA__
=yes
13757 ac_cv_cpp_def___ALPHA__
=no
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___ALPHA__" >&5
13763 $as_echo "$ac_cv_cpp_def___ALPHA__" >&6; }
13764 if test $ac_cv_cpp_def___ALPHA__ = yes; then :
13765 CFLAGS
="$CFLAGS -D__ALPHA__"
13766 LINTFLAGS
="$LINTFLAGS -D__ALPHA__"
13768 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
13769 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
13770 if test "${ac_cv_cpp_def___sparc__+set}" = set; then :
13771 $as_echo_n "(cached) " >&6
13773 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13774 /* end confdefs.h. */
13779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13780 $EGREP "yes" >/dev
/null
2>&1; then :
13781 ac_cv_cpp_def___sparc__
=yes
13783 ac_cv_cpp_def___sparc__
=no
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
13789 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
13790 if test $ac_cv_cpp_def___sparc__ = yes; then :
13791 CFLAGS
="$CFLAGS -D__sparc__"
13792 LINTFLAGS
="$LINTFLAGS -D__sparc__"
13794 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
13795 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
13796 if test "${ac_cv_cpp_def___powerpc__+set}" = set; then :
13797 $as_echo_n "(cached) " >&6
13799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13800 /* end confdefs.h. */
13801 #ifndef __powerpc__
13805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13806 $EGREP "yes" >/dev
/null
2>&1; then :
13807 ac_cv_cpp_def___powerpc__
=yes
13809 ac_cv_cpp_def___powerpc__
=no
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
13815 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
13816 if test $ac_cv_cpp_def___powerpc__ = yes; then :
13817 CFLAGS
="$CFLAGS -D__powerpc__"
13818 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
13822 case $host_vendor in
13823 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
13824 $as_echo_n "checking whether we need to define __sun__... " >&6; }
13825 if test "${ac_cv_cpp_def___sun__+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13828 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13829 /* end confdefs.h. */
13834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13835 $EGREP "yes" >/dev
/null
2>&1; then :
13836 ac_cv_cpp_def___sun__
=yes
13838 ac_cv_cpp_def___sun__
=no
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
13844 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
13845 if test $ac_cv_cpp_def___sun__ = yes; then :
13846 CFLAGS
="$CFLAGS -D__sun__"
13847 LINTFLAGS
="$LINTFLAGS -D__sun__"
13854 ac_config_commands
="$ac_config_commands include/stamp-h"
13857 ALL_MAKEFILE_DEPENDS
="# Makefile dependencies
13858 Makefile: Makefile.in Make.rules config.status"
13860 ALL_WINETEST_DEPENDS
="# Test binaries"
13875 ALL_STATICLIB_DIRS
=""
13881 ALL_INSTALL_DIRS
=""
13885 ALL_TEST_BINARIES
=""
13887 ALL_PROGRAM_DIRS
=""
13889 ALL_PROGRAM_BIN_INSTALL_DIRS
=""
13892 wine_fn_append_file
()
13894 as_fn_append
$1 " \\$as_nl $2"
13897 wine_fn_append_rule
()
13899 as_fn_append
$1 "$as_nl$2"
13902 wine_fn_config_makefile
()
13906 wine_fn_append_file ALL_DIRS
$ac_dir
13907 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13908 "$ac_dir/__clean__ $ac_dir/__install__ $ac_dir/__install-dev__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
13909 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status Make.rules \$(MAKEDEP)
13910 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
13911 eval as_val
=\$
$ac_enable
13912 if test "x$as_val" = x
""no
; then :
13917 *) wine_fn_append_file ALL_TOP_DIRS
$ac_dir ;;
13922 wine_fn_config_lib
()
13925 ac_dir
=dlls
/$ac_name
13926 wine_fn_append_file ALL_DIRS
$ac_dir
13927 wine_fn_append_file ALL_STATICLIB_DIRS
$ac_dir
13928 wine_fn_append_file ALL_STATIC_LIBS
$ac_dir/lib
$ac_name.a
13929 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13930 "$ac_dir/__install__ $ac_dir/__install-dev__: $ac_dir
13931 $ac_dir $ac_dir/lib$ac_name.cross.a: tools/widl tools/winebuild tools/winegcc include
13932 $ac_dir/lib$ac_name.cross.a: $ac_dir/Makefile dummy
13933 @cd $ac_dir && \$(MAKE) lib$ac_name.cross.a
13934 $ac_dir/__clean__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
13935 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status dlls/Makeimplib.rules \$(MAKEDEP)
13936 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
13939 wine_fn_config_dll
()
13945 ac_file
="dlls/$ac_dir/lib$ac_implib"
13946 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
13948 wine_fn_append_file ALL_DIRS dlls
/$ac_dir
13949 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13950 "dlls/$ac_dir dlls/$ac_dir/__install__ dlls/$ac_dir/__install-lib__ dlls/$ac_dir/__install-dev__: __builddeps__ dlls/$ac_dir/Makefile
13951 dlls/$ac_dir/__clean__ dlls/$ac_dir/__uninstall__ dlls/$ac_dir: dlls/$ac_dir/Makefile
13952 dlls/$ac_dir/Makefile dlls/$ac_dir/__depend__: dlls/$ac_dir/Makefile.in config.status dlls/Makedll.rules \$(MAKEDEP)
13953 @./config.status --file dlls/$ac_dir/Makefile && cd dlls/$ac_dir && \$(MAKE) depend"
13954 eval as_val
=\$
$ac_enable
13955 if test "x$as_val" = x
""no
; then :
13956 test "$ac_enable" != enable_win16 ||
return 0
13958 wine_fn_append_file ALL_DLL_DIRS dlls
/$ac_dir
13961 if test -n "$ac_implibsrc"
13963 wine_fn_append_file ALL_IMPORT_LIBS
$ac_file.
$IMPLIBEXT
13964 wine_fn_append_file ALL_IMPORT_LIBS
$ac_file.
$STATIC_IMPLIBEXT
13965 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13966 "$ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
13967 $ac_file.def: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
13968 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`
13969 $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/Makefile dummy
13970 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`"
13971 elif test -n "$ac_implib"
13973 wine_fn_append_file ALL_IMPORT_LIBS
$ac_file.
$IMPLIBEXT
13974 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13975 "$ac_file.$IMPLIBEXT $ac_file.cross.a: $ac_deps
13976 $ac_file.$IMPLIBEXT $ac_file.cross.a: dlls/$ac_dir/$ac_dir.spec dlls/$ac_dir/Makefile
13977 @cd dlls/$ac_dir && \$(MAKE) \`basename \$@\`"
13979 if test "$ac_dir" != "$ac_implib"
13981 wine_fn_append_file ALL_IMPORT_LIBS dlls
/lib
$ac_implib.
$IMPLIBEXT
13982 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
13983 "dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
13984 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.$IMPLIBEXT \$@
13985 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
13986 \$(RM) \$@ && \$(LN_S) $ac_dir/lib$ac_implib.cross.a \$@
13988 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
13993 wine_fn_config_program
()
13998 wine_fn_append_file ALL_DIRS programs
/$ac_dir
13999 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14000 "programs/$ac_dir programs/$ac_dir/__install__ programs/$ac_dir/__install-lib__: __builddeps__ programs/$ac_dir/Makefile
14001 programs/$ac_dir/__clean__ programs/$ac_dir/__install-dev__ programs/$ac_dir/__uninstall__ programs/$ac_dir: programs/$ac_dir/Makefile
14002 programs/$ac_dir/Makefile programs/$ac_dir/__depend__: programs/$ac_dir/Makefile.in config.status programs/Makeprog.rules \$(MAKEDEP)
14003 @./config.status --file programs/$ac_dir/Makefile && cd programs/$ac_dir && \$(MAKE) depend"
14004 eval as_val
=\$
$ac_enable
14005 if test "x$as_val" = x
""no
; then :
14008 wine_fn_append_file ALL_PROGRAM_DIRS programs
/$ac_dir
14009 case $ac_install in
14010 installbin
) wine_fn_append_file ALL_INSTALL_DIRS programs
/$ac_dir
14011 wine_fn_append_file ALL_PROGRAM_BIN_INSTALL_DIRS programs
/$ac_dir ;;
14012 install) wine_fn_append_file ALL_INSTALL_DIRS programs
/$ac_dir ;;
14017 wine_fn_config_test
()
14021 wine_fn_append_file ALL_TEST_BINARIES
$ac_name.exe
14022 wine_fn_append_rule ALL_WINETEST_DEPENDS \
14023 "$ac_name.exe: \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT
14024 cp \$(TOPOBJDIR)/$ac_dir/$ac_name.exe$DLLEXT \$@ && \$(STRIP) \$@
14026 echo \"$ac_name.exe TESTRES \\\"$ac_name.exe\\\"\" >\$@ || (\$(RM) \$@ && false)
14027 $ac_name.res: $ac_name.rc $ac_name.exe"
14028 wine_fn_append_file ALL_DIRS
$ac_dir
14029 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14030 "$ac_dir: __builddeps__
14031 $ac_dir/__crosstest__: __buildcrossdeps__
14032 $ac_dir/__clean__ $ac_dir/__crosstest__ $ac_dir: $ac_dir/Makefile
14033 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status Maketest.rules \$(MAKEDEP)
14034 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
14035 if test "x$enable_tests" = x
""no
; then :
14038 wine_fn_append_file ALL_TEST_DIRS
$ac_dir
14042 wine_fn_config_tool
()
14045 ac_deps
="Make.rules"
14046 if test "$ac_dir" != tools
14048 ac_deps
="$ac_deps \$(MAKEDEP)"
14050 wine_fn_append_file ALL_DIRS
$ac_dir
14051 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14052 "$ac_dir/__clean__ $ac_dir/__install__ $ac_dir/__install-dev__ $ac_dir/__install-lib__ $ac_dir/__uninstall__ $ac_dir: $ac_dir/Makefile
14053 $ac_dir/Makefile $ac_dir/__depend__: $ac_dir/Makefile.in config.status $ac_deps
14054 @./config.status --file $ac_dir/Makefile && cd $ac_dir && \$(MAKE) depend"
14055 if test "x$enable_tools" = x
""no
; then :
14058 wine_fn_append_file ALL_TOOL_DIRS
$ac_dir
14061 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14062 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS
"dlls/wineps.drv/generic.ppd"
14063 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14064 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS
"fonts/marlett.ttf"
14065 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14066 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS
"fonts/symbol.ttf"
14067 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14068 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS
"fonts/tahoma.ttf"
14069 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14070 test "$srcdir" = "." || wine_fn_append_file ALL_SYMLINKS
"fonts/tahomabd.ttf"
14071 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14072 wine_fn_append_file ALL_SYMLINKS
"wine"
14074 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14076 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14078 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14080 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14082 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14084 ac_config_commands
="$ac_config_commands include/wine"
14087 wine_fn_append_file ALL_MAKERULES
"Make.rules"
14088 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"Make.rules: Make.rules.in config.status"
14089 MAKE_RULES
=Make.rules
14090 ac_config_files
="$ac_config_files Make.rules"
14092 wine_fn_append_file ALL_MAKERULES
"Maketest.rules"
14093 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"Maketest.rules: Maketest.rules.in Make.rules config.status"
14094 MAKE_TEST_RULES
=Maketest.rules
14095 ac_config_files
="$ac_config_files Maketest.rules"
14097 wine_fn_append_file ALL_MAKERULES
"dlls/Makedll.rules"
14098 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"dlls/Makedll.rules: dlls/Makedll.rules.in Make.rules config.status"
14099 MAKE_DLL_RULES
=dlls
/Makedll.rules
14100 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14102 wine_fn_append_file ALL_MAKERULES
"dlls/Makeimplib.rules"
14103 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"dlls/Makeimplib.rules: dlls/Makeimplib.rules.in Make.rules config.status"
14104 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14105 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14107 wine_fn_append_file ALL_MAKERULES
"programs/Makeprog.rules"
14108 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"programs/Makeprog.rules: programs/Makeprog.rules.in Make.rules config.status"
14109 MAKE_PROG_RULES
=programs
/Makeprog.rules
14110 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14113 wine_fn_config_dll acledit enable_acledit
14114 wine_fn_config_dll aclui enable_aclui aclui
14115 wine_fn_config_dll activeds enable_activeds activeds
14116 wine_fn_config_dll actxprxy enable_actxprxy
14117 wine_fn_config_lib adsiid
14118 wine_fn_config_dll advapi32 enable_advapi32 advapi32
14119 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
14120 wine_fn_config_dll advpack enable_advpack advpack
14121 wine_fn_config_test dlls
/advpack
/tests advpack_test
14122 wine_fn_config_dll amstream enable_amstream
14123 wine_fn_config_test dlls
/amstream
/tests amstream_test
14124 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl
14125 wine_fn_config_dll atl enable_atl atl
14126 wine_fn_config_dll authz enable_authz
14127 wine_fn_config_dll avicap32 enable_avicap32 avicap32
14128 wine_fn_config_dll avifil32 enable_avifil32 avifil32
14129 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
14130 wine_fn_config_dll avifile.dll16 enable_win16
14131 wine_fn_config_dll avrt enable_avrt avrt
14132 wine_fn_config_dll bcrypt enable_bcrypt
14133 wine_fn_config_dll browseui enable_browseui
14134 wine_fn_config_test dlls
/browseui
/tests browseui_test
14135 wine_fn_config_dll cabinet enable_cabinet cabinet
14136 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
14137 wine_fn_config_dll capi2032 enable_capi2032 capi2032
14138 wine_fn_config_dll cards enable_cards cards
14139 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 cfgmgr32
14140 wine_fn_config_dll clusapi enable_clusapi clusapi
14141 wine_fn_config_dll comcat enable_comcat
14142 wine_fn_config_test dlls
/comcat
/tests comcat_test
14143 wine_fn_config_dll comctl32 enable_comctl32 comctl32
14144 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
14145 wine_fn_config_dll comdlg32 enable_comdlg32 comdlg32
14146 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
14147 wine_fn_config_dll
comm.drv16 enable_win16
14148 wine_fn_config_dll commdlg.dll16 enable_win16
14149 wine_fn_config_dll compobj.dll16 enable_win16
14150 wine_fn_config_dll compstui enable_compstui compstui
14151 wine_fn_config_dll credui enable_credui credui
14152 wine_fn_config_test dlls
/credui
/tests credui_test
14153 wine_fn_config_dll crtdll enable_crtdll crtdll
14154 wine_fn_config_dll crypt32 enable_crypt32 crypt32
14155 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
14156 wine_fn_config_dll cryptdlg enable_cryptdlg
14157 wine_fn_config_dll cryptdll enable_cryptdll cryptdll
14158 wine_fn_config_dll cryptnet enable_cryptnet cryptnet
14159 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
14160 wine_fn_config_dll cryptui enable_cryptui cryptui
14161 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
14162 wine_fn_config_dll ctapi32 enable_ctapi32
14163 wine_fn_config_dll ctl3d.dll16 enable_win16
14164 wine_fn_config_dll ctl3d32 enable_ctl3d32 ctl3d32
14165 wine_fn_config_dll ctl3dv2.dll16 enable_win16
14166 wine_fn_config_dll d3d10 enable_d3d10 d3d10
14167 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
14168 wine_fn_config_dll d3d10core enable_d3d10core d3d10core
14169 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
14170 wine_fn_config_dll d3d8 enable_d3d8 d3d8
14171 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
14172 wine_fn_config_dll d3d9 enable_d3d9 d3d9
14173 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
14174 wine_fn_config_dll d3dim enable_d3dim d3dim
14175 wine_fn_config_dll d3drm enable_d3drm d3drm
14176 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
14177 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
14178 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
14179 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
14180 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
14181 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
14182 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
14183 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
14184 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
14185 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
14186 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
14187 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
14188 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
14189 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 d3dx9
14190 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
14191 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
14192 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
14193 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
14194 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
14195 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
14196 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
14197 wine_fn_config_dll d3dxof enable_d3dxof d3dxof
14198 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
14199 wine_fn_config_dll dbghelp enable_dbghelp dbghelp
14200 wine_fn_config_dll dciman32 enable_dciman32 dciman32
14201 wine_fn_config_dll ddeml.dll16 enable_win16
14202 wine_fn_config_dll ddraw enable_ddraw ddraw
14203 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
14204 wine_fn_config_dll ddrawex enable_ddrawex
14205 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
14206 wine_fn_config_dll devenum enable_devenum
14207 wine_fn_config_dll dinput enable_dinput dinput
"data_formats.c"
14208 wine_fn_config_test dlls
/dinput
/tests dinput_test
14209 wine_fn_config_dll dinput8 enable_dinput8 dinput8
14210 wine_fn_config_dll dispdib.dll16 enable_win16
14211 wine_fn_config_dll dispex enable_dispex
14212 wine_fn_config_test dlls
/dispex
/tests dispex_test
14213 wine_fn_config_dll display.drv16 enable_win16
14214 wine_fn_config_dll dmband enable_dmband
14215 wine_fn_config_dll dmcompos enable_dmcompos
14216 wine_fn_config_dll dmime enable_dmime
14217 wine_fn_config_dll dmloader enable_dmloader
14218 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
14219 wine_fn_config_dll dmscript enable_dmscript
14220 wine_fn_config_dll dmstyle enable_dmstyle
14221 wine_fn_config_dll dmsynth enable_dmsynth
14222 wine_fn_config_dll dmusic enable_dmusic
14223 wine_fn_config_dll dmusic32 enable_dmusic32 dmusic32
14224 wine_fn_config_dll dnsapi enable_dnsapi dnsapi
14225 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
14226 wine_fn_config_dll dplay enable_dplay dplay
14227 wine_fn_config_dll dplayx enable_dplayx dplayx
14228 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
14229 wine_fn_config_dll dpnaddr enable_dpnaddr
14230 wine_fn_config_dll dpnet enable_dpnet dpnet
14231 wine_fn_config_dll dpnhpast enable_dpnhpast
14232 wine_fn_config_dll dpnlobby enable_dpnlobby
14233 wine_fn_config_dll dpwsockx enable_dpwsockx
14234 wine_fn_config_dll drmclien enable_drmclien
14235 wine_fn_config_dll dsound enable_dsound dsound
14236 wine_fn_config_test dlls
/dsound
/tests dsound_test
14237 wine_fn_config_dll dssenh enable_dssenh
14238 wine_fn_config_dll dswave enable_dswave
14239 wine_fn_config_dll dwmapi enable_dwmapi dwmapi
14240 wine_fn_config_dll dxdiagn enable_dxdiagn
14241 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
14242 wine_fn_config_lib dxerr8
14243 wine_fn_config_lib dxerr9
14244 wine_fn_config_dll dxgi enable_dxgi dxgi
14245 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
14246 wine_fn_config_lib dxguid
14247 wine_fn_config_dll faultrep enable_faultrep
14248 wine_fn_config_dll fltlib enable_fltlib
14249 wine_fn_config_dll fusion enable_fusion
14250 wine_fn_config_test dlls
/fusion
/tests fusion_test
14251 wine_fn_config_dll fwpuclnt enable_fwpuclnt
14252 wine_fn_config_dll gdi.exe16 enable_win16
14253 wine_fn_config_dll gdi32 enable_gdi32 gdi32
14254 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
14255 wine_fn_config_dll gdiplus enable_gdiplus gdiplus
14256 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
14257 wine_fn_config_dll glu32 enable_glu32 glu32
14258 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds
14259 wine_fn_config_dll gpkcsp enable_gpkcsp
14260 wine_fn_config_dll hal enable_hal
14261 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx
14262 wine_fn_config_dll hid enable_hid hid
14263 wine_fn_config_dll hlink enable_hlink hlink
14264 wine_fn_config_test dlls
/hlink
/tests hlink_test
14265 wine_fn_config_dll hnetcfg enable_hnetcfg
14266 wine_fn_config_dll httpapi enable_httpapi
14267 wine_fn_config_dll iccvid enable_iccvid
14268 wine_fn_config_dll icmp enable_icmp
14269 wine_fn_config_dll ifsmgr.vxd enable_win16
14270 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
14271 wine_fn_config_dll imagehlp enable_imagehlp imagehlp
14272 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
14273 wine_fn_config_dll imm.dll16 enable_win16
14274 wine_fn_config_dll imm32 enable_imm32 imm32
14275 wine_fn_config_test dlls
/imm32
/tests imm32_test
14276 wine_fn_config_dll inetcomm enable_inetcomm inetcomm
14277 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
14278 wine_fn_config_dll inetmib1 enable_inetmib1
14279 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
14280 wine_fn_config_dll infosoft enable_infosoft
14281 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
14282 wine_fn_config_dll initpki enable_initpki
14283 wine_fn_config_dll inkobj enable_inkobj
14284 wine_fn_config_dll inseng enable_inseng
14285 wine_fn_config_dll iphlpapi enable_iphlpapi iphlpapi
14286 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
14287 wine_fn_config_dll itircl enable_itircl
14288 wine_fn_config_dll itss enable_itss
14289 wine_fn_config_test dlls
/itss
/tests itss_test
14290 wine_fn_config_dll jscript enable_jscript
14291 wine_fn_config_test dlls
/jscript
/tests jscript_test
14292 wine_fn_config_dll kernel32 enable_kernel32 kernel32
14293 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
14294 wine_fn_config_dll keyboard.drv16 enable_win16
14295 wine_fn_config_dll krnl386.exe16 enable_win16 kernel
14296 wine_fn_config_dll loadperf enable_loadperf loadperf
14297 wine_fn_config_dll localspl enable_localspl
14298 wine_fn_config_test dlls
/localspl
/tests localspl_test
14299 wine_fn_config_dll localui enable_localui
14300 wine_fn_config_test dlls
/localui
/tests localui_test
14301 wine_fn_config_dll lz32 enable_lz32 lz32
14302 wine_fn_config_test dlls
/lz32
/tests lz32_test
14303 wine_fn_config_dll lzexpand.dll16 enable_win16
14304 wine_fn_config_dll mapi32 enable_mapi32 mapi32
14305 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
14306 wine_fn_config_dll mapistub enable_mapistub
14307 wine_fn_config_dll mciavi32 enable_mciavi32
14308 wine_fn_config_dll mcicda enable_mcicda
14309 wine_fn_config_dll mciqtz32 enable_mciqtz32
14310 wine_fn_config_dll mciseq enable_mciseq
14311 wine_fn_config_dll mciwave enable_mciwave
14312 wine_fn_config_dll midimap enable_midimap
14313 wine_fn_config_dll mlang enable_mlang mlang
14314 wine_fn_config_test dlls
/mlang
/tests mlang_test
14315 wine_fn_config_dll mmdevapi enable_mmdevapi
14316 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
14317 wine_fn_config_dll mmdevldr.vxd enable_win16
14318 wine_fn_config_dll mmsystem.dll16 enable_win16
14319 wine_fn_config_dll monodebg.vxd enable_win16
14320 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
14321 wine_fn_config_dll mouse.drv16 enable_win16
14322 wine_fn_config_dll mpr enable_mpr mpr
14323 wine_fn_config_dll mprapi enable_mprapi mprapi
14324 wine_fn_config_dll msacm.dll16 enable_win16
14325 wine_fn_config_dll msacm32.drv enable_msacm32_drv
14326 wine_fn_config_dll msacm32 enable_msacm32 msacm32
14327 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
14328 wine_fn_config_dll msadp32.acm enable_msadp32_acm
14329 wine_fn_config_dll mscat32 enable_mscat32
14330 wine_fn_config_dll mscms enable_mscms mscms
14331 wine_fn_config_test dlls
/mscms
/tests mscms_test
14332 wine_fn_config_dll mscoree enable_mscoree
14333 wine_fn_config_dll msctf enable_msctf
14334 wine_fn_config_test dlls
/msctf
/tests msctf_test
14335 wine_fn_config_dll msdaps enable_msdaps
14336 wine_fn_config_dll msdmo enable_msdmo msdmo
14337 wine_fn_config_dll msftedit enable_msftedit
14338 wine_fn_config_dll msg711.acm enable_msg711_acm
14339 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
14340 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
14341 wine_fn_config_dll mshtml enable_mshtml mshtml
14342 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
14343 wine_fn_config_dll msi enable_msi msi
14344 wine_fn_config_test dlls
/msi
/tests msi_test
14345 wine_fn_config_dll msimg32 enable_msimg32 msimg32
14346 wine_fn_config_dll msimtf enable_msimtf
14347 wine_fn_config_dll msisip enable_msisip
14348 wine_fn_config_dll msisys.ocx enable_msisys_ocx
14349 wine_fn_config_dll msnet32 enable_msnet32
14350 wine_fn_config_dll msrle32 enable_msrle32
14351 wine_fn_config_dll mssign32 enable_mssign32
14352 wine_fn_config_dll mssip32 enable_mssip32
14353 wine_fn_config_dll mstask enable_mstask
14354 wine_fn_config_test dlls
/mstask
/tests mstask_test
14355 wine_fn_config_dll msvcirt enable_msvcirt
14356 wine_fn_config_dll msvcr70 enable_msvcr70 msvcr70
14357 wine_fn_config_dll msvcr71 enable_msvcr71 msvcr71
14358 wine_fn_config_dll msvcr80 enable_msvcr80 msvcr80
14359 wine_fn_config_dll msvcr90 enable_msvcr90 msvcr90
14360 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
14361 wine_fn_config_dll msvcrt enable_msvcrt msvcrt
14362 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
14363 wine_fn_config_dll msvcrt20 enable_msvcrt20 msvcrt20
14364 wine_fn_config_dll msvcrt40 enable_msvcrt40 msvcrt40
14365 wine_fn_config_dll msvcrtd enable_msvcrtd msvcrtd
14366 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
14367 wine_fn_config_dll msvfw32 enable_msvfw32 msvfw32
14368 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
14369 wine_fn_config_dll msvidc32 enable_msvidc32
14370 wine_fn_config_dll msvideo.dll16 enable_win16
14371 wine_fn_config_dll mswsock enable_mswsock mswsock
14372 wine_fn_config_dll msxml3 enable_msxml3
14373 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
14374 wine_fn_config_dll msxml4 enable_msxml4
14375 wine_fn_config_dll nddeapi enable_nddeapi nddeapi
14376 wine_fn_config_dll netapi32 enable_netapi32 netapi32
14377 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
14378 wine_fn_config_dll newdev enable_newdev newdev
14379 wine_fn_config_dll ntdll enable_ntdll ntdll
14380 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
14381 wine_fn_config_dll ntdsapi enable_ntdsapi ntdsapi
14382 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
14383 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe ntoskrnl.exe
14384 wine_fn_config_dll ntprint enable_ntprint
14385 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
14386 wine_fn_config_dll objsel enable_objsel
14387 wine_fn_config_dll odbc32 enable_odbc32 odbc32
14388 wine_fn_config_dll odbccp32 enable_odbccp32 odbccp32
14389 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
14390 wine_fn_config_dll ole2.dll16 enable_win16
14391 wine_fn_config_dll ole2conv.dll16 enable_win16
14392 wine_fn_config_dll ole2disp.dll16 enable_win16
14393 wine_fn_config_dll ole2nls.dll16 enable_win16
14394 wine_fn_config_dll ole2prox.dll16 enable_win16
14395 wine_fn_config_dll ole2thk.dll16 enable_win16
14396 wine_fn_config_dll ole32 enable_ole32 ole32
14397 wine_fn_config_test dlls
/ole32
/tests ole32_test
14398 wine_fn_config_dll oleacc enable_oleacc oleacc
14399 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
14400 wine_fn_config_dll oleaut32 enable_oleaut32 oleaut32
14401 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
14402 wine_fn_config_dll olecli.dll16 enable_win16
14403 wine_fn_config_dll olecli32 enable_olecli32 olecli32
14404 wine_fn_config_dll oledb32 enable_oledb32
14405 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
14406 wine_fn_config_dll oledlg enable_oledlg oledlg
14407 wine_fn_config_dll olepro32 enable_olepro32 olepro32
14408 wine_fn_config_dll olesvr.dll16 enable_win16
14409 wine_fn_config_dll olesvr32 enable_olesvr32 olesvr32
14410 wine_fn_config_dll olethk32 enable_olethk32
14411 wine_fn_config_dll openal32 enable_openal32
14412 wine_fn_config_dll opengl32 enable_opengl32 opengl32
14413 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
14414 wine_fn_config_dll pdh enable_pdh pdh
14415 wine_fn_config_test dlls
/pdh
/tests pdh_test
14416 wine_fn_config_dll pidgen enable_pidgen
14417 wine_fn_config_dll powrprof enable_powrprof powrprof
14418 wine_fn_config_dll printui enable_printui
14419 wine_fn_config_dll propsys enable_propsys
14420 wine_fn_config_dll psapi enable_psapi psapi
14421 wine_fn_config_test dlls
/psapi
/tests psapi_test
14422 wine_fn_config_dll pstorec enable_pstorec
14423 wine_fn_config_dll qcap enable_qcap
14424 wine_fn_config_dll qedit enable_qedit
14425 wine_fn_config_test dlls
/qedit
/tests qedit_test
14426 wine_fn_config_dll qmgr enable_qmgr
14427 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
14428 wine_fn_config_dll qmgrprxy enable_qmgrprxy
14429 wine_fn_config_dll quartz enable_quartz quartz
14430 wine_fn_config_test dlls
/quartz
/tests quartz_test
14431 wine_fn_config_dll query enable_query
14432 wine_fn_config_dll rasapi16.dll16 enable_win16
14433 wine_fn_config_dll rasapi32 enable_rasapi32 rasapi32
14434 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
14435 wine_fn_config_dll rasdlg enable_rasdlg rasdlg
14436 wine_fn_config_dll resutils enable_resutils resutils
14437 wine_fn_config_dll riched20 enable_riched20 riched20
14438 wine_fn_config_test dlls
/riched20
/tests riched20_test
14439 wine_fn_config_dll riched32 enable_riched32
14440 wine_fn_config_test dlls
/riched32
/tests riched32_test
14441 wine_fn_config_dll rpcrt4 enable_rpcrt4 rpcrt4
14442 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
14443 wine_fn_config_dll rsabase enable_rsabase
14444 wine_fn_config_dll rsaenh enable_rsaenh rsaenh
14445 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
14446 wine_fn_config_dll rtutils enable_rtutils rtutils
14447 wine_fn_config_dll sane.ds enable_sane_ds
14448 wine_fn_config_dll sccbase enable_sccbase
14449 wine_fn_config_dll schannel enable_schannel
14450 wine_fn_config_test dlls
/schannel
/tests schannel_test
14451 wine_fn_config_dll secur32 enable_secur32 secur32
14452 wine_fn_config_test dlls
/secur32
/tests secur32_test
14453 wine_fn_config_dll security enable_security
14454 wine_fn_config_dll sensapi enable_sensapi sensapi
14455 wine_fn_config_dll serialui enable_serialui serialui
14456 wine_fn_config_test dlls
/serialui
/tests serialui_test
14457 wine_fn_config_dll setupapi enable_setupapi setupapi
14458 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
14459 wine_fn_config_dll setupx.dll16 enable_win16
14460 wine_fn_config_dll sfc enable_sfc sfc
14461 wine_fn_config_dll sfc_os enable_sfc_os sfc_os
14462 wine_fn_config_dll shdoclc enable_shdoclc
14463 wine_fn_config_dll shdocvw enable_shdocvw shdocvw
14464 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
14465 wine_fn_config_dll shell.dll16 enable_win16
14466 wine_fn_config_dll shell32 enable_shell32 shell32
14467 wine_fn_config_test dlls
/shell32
/tests shell32_test
14468 wine_fn_config_dll shfolder enable_shfolder shfolder
14469 wine_fn_config_dll shlwapi enable_shlwapi shlwapi
14470 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
14471 wine_fn_config_dll slbcsp enable_slbcsp
14472 wine_fn_config_dll slc enable_slc slc
14473 wine_fn_config_dll snmpapi enable_snmpapi snmpapi
14474 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
14475 wine_fn_config_dll softpub enable_softpub
14476 wine_fn_config_dll sound.drv16 enable_win16
14477 wine_fn_config_dll spoolss enable_spoolss spoolss
14478 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
14479 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
14480 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
14481 wine_fn_config_dll sti enable_sti sti
14482 wine_fn_config_test dlls
/sti
/tests sti_test
14483 wine_fn_config_dll storage.dll16 enable_win16
14484 wine_fn_config_dll stress.dll16 enable_win16
14485 wine_fn_config_lib strmiids
14486 wine_fn_config_dll svrapi enable_svrapi
14487 wine_fn_config_dll sxs enable_sxs
14488 wine_fn_config_dll system.drv16 enable_win16
14489 wine_fn_config_dll t2embed enable_t2embed
14490 wine_fn_config_dll tapi32 enable_tapi32 tapi32
14491 wine_fn_config_dll toolhelp.dll16 enable_win16
14492 wine_fn_config_dll traffic enable_traffic
14493 wine_fn_config_dll twain.dll16 enable_win16
14494 wine_fn_config_dll twain_32 enable_twain_32
14495 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
14496 wine_fn_config_dll typelib.dll16 enable_win16
14497 wine_fn_config_dll unicows enable_unicows unicows
14498 wine_fn_config_dll updspapi enable_updspapi
14499 wine_fn_config_dll url enable_url url
14500 wine_fn_config_dll urlmon enable_urlmon urlmon
14501 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
14502 wine_fn_config_dll usbd.sys enable_usbd_sys usbd.sys
14503 wine_fn_config_dll user.exe16 enable_win16
14504 wine_fn_config_dll user32 enable_user32 user32
14505 wine_fn_config_test dlls
/user32
/tests user32_test
14506 wine_fn_config_dll userenv enable_userenv userenv
14507 wine_fn_config_test dlls
/userenv
/tests userenv_test
14508 wine_fn_config_dll usp10 enable_usp10 usp10
14509 wine_fn_config_test dlls
/usp10
/tests usp10_test
14510 wine_fn_config_lib uuid
14511 wine_fn_config_dll uxtheme enable_uxtheme uxtheme
14512 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
14513 wine_fn_config_dll vdhcp.vxd enable_win16
14514 wine_fn_config_dll vdmdbg enable_vdmdbg vdmdbg
14515 wine_fn_config_dll ver.dll16 enable_win16
14516 wine_fn_config_dll version enable_version version
14517 wine_fn_config_test dlls
/version
/tests version_test
14518 wine_fn_config_dll vmm.vxd enable_win16
14519 wine_fn_config_dll vnbt.vxd enable_win16
14520 wine_fn_config_dll vnetbios.vxd enable_win16
14521 wine_fn_config_dll vtdapi.vxd enable_win16
14522 wine_fn_config_dll vwin32.vxd enable_win16
14523 wine_fn_config_dll w32skrnl enable_win16
14524 wine_fn_config_dll w32sys.dll16 enable_win16
14525 wine_fn_config_dll wbemprox enable_wbemprox
14526 wine_fn_config_dll wiaservc enable_wiaservc
14527 wine_fn_config_dll win32s16.dll16 enable_win16
14528 wine_fn_config_dll win87em.dll16 enable_win16
14529 wine_fn_config_dll winaspi.dll16 enable_win16
14530 wine_fn_config_dll windebug.dll16 enable_win16
14531 wine_fn_config_dll windowscodecs enable_windowscodecs windowscodecs
14532 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
14533 wine_fn_config_dll winealsa.drv enable_winealsa_drv
14534 wine_fn_config_dll wineaudioio.drv enable_wineaudioio_drv
14535 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
14536 wine_fn_config_lib winecrt0
14537 wine_fn_config_dll wined3d enable_wined3d wined3d
14538 wine_fn_config_dll wineesd.drv enable_wineesd_drv
14539 wine_fn_config_dll winejack.drv enable_winejack_drv
14540 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
14541 wine_fn_config_dll winemapi enable_winemapi
14542 wine_fn_config_dll winemp3.acm enable_winemp3_acm
14543 wine_fn_config_dll winenas.drv enable_winenas_drv
14544 wine_fn_config_dll wineoss.drv enable_wineoss_drv
14545 wine_fn_config_dll wineps.drv enable_wineps_drv
14546 wine_fn_config_dll wineps16.drv16 enable_win16
14547 wine_fn_config_dll winequartz.drv enable_winequartz_drv
14548 wine_fn_config_dll winex11.drv enable_winex11_drv
14549 wine_fn_config_dll wing.dll16 enable_win16
14550 wine_fn_config_dll wing32 enable_wing32
14551 wine_fn_config_dll winhttp enable_winhttp winhttp
14552 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
14553 wine_fn_config_dll wininet enable_wininet wininet
14554 wine_fn_config_test dlls
/wininet
/tests wininet_test
14555 wine_fn_config_dll winmm enable_winmm winmm
14556 wine_fn_config_test dlls
/winmm
/tests winmm_test
14557 wine_fn_config_dll winnls.dll16 enable_win16
14558 wine_fn_config_dll winnls32 enable_winnls32 winnls32
14559 wine_fn_config_dll winscard enable_winscard winscard
14560 wine_fn_config_dll winsock.dll16 enable_win16
14561 wine_fn_config_dll winspool.drv enable_winspool_drv winspool
14562 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
14563 wine_fn_config_dll wintab.dll16 enable_win16
14564 wine_fn_config_dll wintab32 enable_wintab32 wintab32
14565 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
14566 wine_fn_config_dll wintrust enable_wintrust wintrust
14567 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
14568 wine_fn_config_dll wldap32 enable_wldap32 wldap32
14569 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
14570 wine_fn_config_dll wmi enable_wmi
14571 wine_fn_config_dll wmiutils enable_wmiutils
14572 wine_fn_config_dll wnaspi32 enable_wnaspi32 wnaspi32
14573 wine_fn_config_dll wow32 enable_win16 wow32
14574 wine_fn_config_dll ws2_32 enable_ws2_32 ws2_32
14575 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
14576 wine_fn_config_dll wsock32 enable_wsock32 wsock32
14577 wine_fn_config_dll wtsapi32 enable_wtsapi32 wtsapi32
14578 wine_fn_config_dll wuapi enable_wuapi
14579 wine_fn_config_dll wuaueng enable_wuaueng
14580 wine_fn_config_dll xinput1_1 enable_xinput1_1
14581 wine_fn_config_dll xinput1_2 enable_xinput1_2
14582 wine_fn_config_dll xinput1_3 enable_xinput1_3 xinput
14583 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
14584 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
14585 wine_fn_config_dll xmllite enable_xmllite
14586 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
14587 wine_fn_config_makefile documentation enable_documentation
14588 wine_fn_config_makefile fonts enable_fonts
14589 wine_fn_config_makefile include enable_include
14590 wine_fn_config_makefile libs
/port enable_libs_port
14591 wine_fn_config_makefile libs
/wine enable_libs_wine
14592 wine_fn_config_makefile libs
/wpp enable_libs_wpp
14593 wine_fn_config_makefile loader enable_loader
14594 wine_fn_config_makefile programs enable_programs
14595 wine_fn_config_program attrib enable_attrib
install
14596 wine_fn_config_program cacls enable_cacls
install
14597 wine_fn_config_program
clock enable_clock
install
14598 wine_fn_config_program cmd enable_cmd
install
14599 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
14600 wine_fn_config_program cmdlgtst enable_cmdlgtst
14601 wine_fn_config_program control enable_control
install
14602 wine_fn_config_program dxdiag enable_dxdiag
install
14603 wine_fn_config_program eject enable_eject
install
14604 wine_fn_config_program
expand enable_expand
install
14605 wine_fn_config_program explorer enable_explorer
install
14606 wine_fn_config_program extrac32 enable_extrac32
install
14607 wine_fn_config_program hh enable_hh
install
14608 wine_fn_config_program icinfo enable_icinfo
install
14609 wine_fn_config_program iexplore enable_iexplore
install
14610 wine_fn_config_program lodctr enable_lodctr
install
14611 wine_fn_config_program mshta enable_mshta
install
14612 wine_fn_config_program msiexec enable_msiexec installbin
14613 wine_fn_config_program net enable_net
install
14614 wine_fn_config_program notepad enable_notepad installbin
14615 wine_fn_config_program oleview enable_oleview
install
14616 wine_fn_config_program
ping enable_ping
install
14617 wine_fn_config_program progman enable_progman
install
14618 wine_fn_config_program reg enable_reg
install
14619 wine_fn_config_program regedit enable_regedit installbin
14620 wine_fn_config_program regsvr32 enable_regsvr32 installbin
14621 wine_fn_config_program rpcss enable_rpcss
install
14622 wine_fn_config_program rundll32 enable_rundll32
install
14623 wine_fn_config_program secedit enable_secedit
install
14624 wine_fn_config_program services enable_services
install
14625 wine_fn_config_program spoolsv enable_spoolsv
install
14626 wine_fn_config_program start enable_start
install
14627 wine_fn_config_program svchost enable_svchost
install
14628 wine_fn_config_program taskmgr enable_taskmgr
install
14629 wine_fn_config_program termsv enable_termsv
install
14630 wine_fn_config_program uninstaller enable_uninstaller
install
14631 wine_fn_config_program unlodctr enable_unlodctr
install
14632 wine_fn_config_program view enable_view
14633 wine_fn_config_program wineboot enable_wineboot installbin
14634 wine_fn_config_program winebrowser enable_winebrowser
install
14635 wine_fn_config_program winecfg enable_winecfg installbin
14636 wine_fn_config_program wineconsole enable_wineconsole installbin
14637 wine_fn_config_program winedbg enable_winedbg installbin
14638 wine_fn_config_program winedevice enable_winedevice
install
14639 wine_fn_config_program winefile enable_winefile installbin
14640 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
14641 wine_fn_config_program winemine enable_winemine installbin
14642 wine_fn_config_program winepath enable_winepath installbin
14643 wine_fn_config_program winetest enable_winetest
14644 wine_fn_config_program winevdm enable_win16
install
14645 wine_fn_config_program winhelp.exe16 enable_win16
install
14646 wine_fn_config_program winhlp32 enable_winhlp32
install
14647 wine_fn_config_program winoldap.mod16 enable_win16
install
14648 wine_fn_config_program winver enable_winver
install
14649 wine_fn_config_program wordpad enable_wordpad
install
14650 wine_fn_config_program
write enable_write
install
14651 wine_fn_config_program xcopy enable_xcopy
install
14652 wine_fn_config_makefile server enable_server
14653 wine_fn_config_tool tools
14654 wine_fn_config_tool tools
/widl
14655 wine_fn_config_tool tools
/winebuild
14656 wine_fn_config_tool tools
/winedump
14657 wine_fn_config_tool tools
/winegcc
14658 wine_fn_config_tool tools
/wmc
14659 wine_fn_config_tool tools
/wrc
14661 ac_config_files
="$ac_config_files Makefile"
14664 test -n "$DLLEXT" || ALL_PROGRAM_BIN_INSTALL_DIRS
=""
14666 cat >confcache
<<\_ACEOF
14667 # This file is a shell script that caches the results of configure
14668 # tests run on this system so they can be shared between configure
14669 # scripts and configure runs, see configure's option --config-cache.
14670 # It is not useful on other systems. If it contains results you don't
14671 # want to keep, you may remove or edit it.
14673 # config.status only pays attention to the cache file if you give it
14674 # the --recheck option to rerun configure.
14676 # `ac_cv_env_foo' variables (set or unset) will be overridden when
14677 # loading this file, other *unset* `ac_cv_foo' will be assigned the
14678 # following values.
14682 # The following way of writing the cache mishandles newlines in values,
14683 # but we know of no workaround that is simple, portable, and efficient.
14684 # So, we kill variables containing newlines.
14685 # Ultrix sh set writes to stderr and can't be redirected directly,
14686 # and sets the high bit in the cache file unless we assign to the vars.
14688 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
14689 eval ac_val
=\$
$ac_var
14693 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
14694 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
14697 _ | IFS | as_nl
) ;; #(
14698 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
14699 *) { eval $ac_var=; unset $ac_var;} ;;
14705 case $as_nl`(ac_space=' '; set) 2>&1` in #(
14706 *${as_nl}ac_space
=\
*)
14707 # `set' does not quote correctly, so add quotes: double-quote
14708 # substitution turns \\\\ into \\, and sed turns \\ into \.
14711 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
14714 # `set' quotes correctly as required by POSIX, so do not add quotes.
14715 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
14724 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
14726 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
14728 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
14729 if test -w "$cache_file"; then
14730 test "x$cache_file" != "x/dev/null" &&
14731 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14732 $as_echo "$as_me: updating cache $cache_file" >&6;}
14733 cat confcache
>$cache_file
14735 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14736 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14741 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
14742 # Let make expand exec_prefix.
14743 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
14745 DEFS
=-DHAVE_CONFIG_H
14749 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
14750 # 1. Remove the extension, and $U if already installed.
14751 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
14752 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
14753 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
14754 # will be set to the directory where LIBOBJS objects are built.
14755 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
14756 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
14758 LIBOBJS
=$ac_libobjs
14760 LTLIBOBJS
=$ac_ltlibobjs
14764 : ${CONFIG_STATUS=./config.status}
14766 ac_clean_files_save
=$ac_clean_files
14767 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
14769 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
14771 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
14773 # Generated by $as_me.
14774 # Run this file to recreate the current configuration.
14775 # Compiler output produced by configure, useful for debugging
14776 # configure, is in config.log if it exists.
14779 ac_cs_recheck=false
14782 SHELL=\${CONFIG_SHELL-$SHELL}
14785 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
14786 ## -------------------- ##
14787 ## M4sh Initialization. ##
14788 ## -------------------- ##
14790 # Be more Bourne compatible
14791 DUALCASE
=1; export DUALCASE
# for MKS sh
14792 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
14795 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
14796 # is contrary to our usage. Disable this feature.
14797 alias -g '${1+"$@"}'='"$@"'
14798 setopt NO_GLOB_SUBST
14800 case `(set -o) 2>/dev/null` in #(
14812 # Printing a long string crashes Solaris 7 /usr/bin/printf.
14813 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
14814 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
14815 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
14816 # Prefer a ksh shell builtin over an external printf program on Solaris,
14817 # but without wasting forks for bash or zsh.
14818 if test -z "$BASH_VERSION$ZSH_VERSION" \
14819 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
14820 as_echo='print
-r --'
14821 as_echo_n='print
-rn --'
14822 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
14823 as_echo='printf %s
\n'
14824 as_echo_n='printf %s
'
14826 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
14827 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
14828 as_echo_n='/usr
/ucb
/echo -n'
14830 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
14831 as_echo_n_body='eval
14835 expr "X$arg" : "X\\(.*\\)$as_nl";
14836 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
14838 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
14840 export as_echo_n_body
14841 as_echo_n='sh
-c $as_echo_n_body as_echo
'
14843 export as_echo_body
14844 as_echo='sh
-c $as_echo_body as_echo
'
14847 # The user is always right.
14848 if test "${PATH_SEPARATOR+set}" != set; then
14850 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
14851 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
14858 # We need space, tab and new line, in precisely that order. Quoting is
14859 # there to prevent editors from complaining about space-tab.
14860 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
14861 # splitting by setting IFS to empty value.)
14864 # Find who we are. Look in the path if we contain no directory separator.
14866 *[\\/]* ) as_myself=$0 ;;
14867 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14868 for as_dir in $PATH
14871 test -z "$as_dir" && as_dir=.
14872 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
14878 # We did not find ourselves, most probably we were run as `sh COMMAND'
14879 # in which case we are not to be found in the path.
14880 if test "x$as_myself" = x
; then
14883 if test ! -f "$as_myself"; then
14884 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
14888 # Unset variables that we do not need and which cause bugs (e.g. in
14889 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
14890 # suppresses any "Segmentation fault" message there. '((' could
14891 # trigger a bug in pdksh 5.2.14.
14892 for as_var
in BASH_ENV ENV MAIL MAILPATH
14893 do eval test x\
${$as_var+set} = xset \
14894 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
14907 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
14910 # as_fn_error ERROR [LINENO LOG_FD]
14911 # ---------------------------------
14912 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
14913 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
14914 # script with status $?, using 1 if that was 0.
14917 as_status
=$?
; test $as_status -eq 0 && as_status
=1
14919 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
14920 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
14922 $as_echo "$as_me: error: $1" >&2
14923 as_fn_exit
$as_status
14927 # as_fn_set_status STATUS
14928 # -----------------------
14929 # Set $? to STATUS, without forking.
14930 as_fn_set_status
()
14933 } # as_fn_set_status
14935 # as_fn_exit STATUS
14936 # -----------------
14937 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
14941 as_fn_set_status
$1
14947 # Portably unset VAR.
14950 { eval $1=; unset $1;}
14952 as_unset
=as_fn_unset
14953 # as_fn_append VAR VALUE
14954 # ----------------------
14955 # Append the text in VALUE to the end of the definition contained in VAR. Take
14956 # advantage of any shell optimizations that allow amortized linear growth over
14957 # repeated appends, instead of the typical quadratic growth present in naive
14959 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
14960 eval 'as_fn_append ()
14971 # as_fn_arith ARG...
14972 # ------------------
14973 # Perform arithmetic evaluation on the ARGs, and store the result in the
14974 # global $as_val. Take advantage of shells that can avoid forks. The arguments
14975 # must be portable across $(()) and expr.
14976 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
14977 eval 'as_fn_arith ()
14984 as_val
=`expr "$@" || test $? -eq 1`
14989 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
14990 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
14996 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
14997 as_basename
=basename
15002 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
15008 as_me
=`$as_basename -- "$0" ||
15009 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
15010 X"$0" : 'X\(//\)$' \| \
15011 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
15013 sed '/^.*\/\([^/][^/]*\)\/*$/{
15027 # Avoid depending upon Character Ranges.
15028 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
15029 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
15030 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
15031 as_cr_digits
='0123456789'
15032 as_cr_alnum
=$as_cr_Letters$as_cr_digits
15034 ECHO_C
= ECHO_N
= ECHO_T
=
15035 case `echo -n x` in #(((((
15037 case `echo 'xy\c'` in
15038 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
15040 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
15047 rm -f conf$$ conf$$.exe conf$$.
file
15048 if test -d conf$$.dir
; then
15049 rm -f conf$$.dir
/conf$$.
file
15052 mkdir conf$$.dir
2>/dev
/null
15054 if (echo >conf$$.
file) 2>/dev
/null
; then
15055 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
15057 # ... but there are two gotchas:
15058 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
15059 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
15060 # In both cases, we have to default to `cp -p'.
15061 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
15063 elif ln conf$$.
file conf$$
2>/dev
/null
; then
15071 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
15072 rmdir conf$$.dir
2>/dev
/null
15077 # Create "$as_dir" as a directory, including parents if necessary.
15082 -*) as_dir
=.
/$as_dir;;
15084 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
15088 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
15089 *) as_qdir
=$as_dir;;
15091 as_dirs
="'$as_qdir' $as_dirs"
15092 as_dir
=`$as_dirname -- "$as_dir" ||
15093 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15094 X"$as_dir" : 'X\(//\)[^/]' \| \
15095 X"$as_dir" : 'X\(//\)$' \| \
15096 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
15097 $as_echo X"$as_dir" |
15098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15102 /^X\(\/\/\)[^/].*/{
15115 test -d "$as_dir" && break
15117 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
15118 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
15122 if mkdir
-p .
2>/dev
/null
; then
15123 as_mkdir_p
='mkdir -p "$as_dir"'
15125 test -d .
/-p && rmdir .
/-p
15129 if test -x / >/dev
/null
2>&1; then
15130 as_test_x
='test -x'
15132 if ls -dL / >/dev
/null
2>&1; then
15139 if test -d "$1"; then
15145 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
15146 ???[sx]*):;;*)false;;esac;fi
15150 as_executable_p
=$as_test_x
15152 # Sed expression to map a string onto a valid CPP name.
15153 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
15155 # Sed expression to map a string onto a valid variable name.
15156 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
15160 ## ----------------------------------- ##
15161 ## Main body of $CONFIG_STATUS script. ##
15162 ## ----------------------------------- ##
15164 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
15166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15167 # Save the log message, to keep $0 and so on meaningful, and to
15168 # report actual input values of CONFIG_FILES etc. instead of their
15169 # values after options handling.
15171 This file was extended by Wine $as_me 1.1.41, which was
15172 generated by GNU Autoconf 2.65. Invocation command line was
15174 CONFIG_FILES = $CONFIG_FILES
15175 CONFIG_HEADERS = $CONFIG_HEADERS
15176 CONFIG_LINKS = $CONFIG_LINKS
15177 CONFIG_COMMANDS = $CONFIG_COMMANDS
15180 on `(hostname || uname -n) 2>/dev/null | sed 1q`
15185 case $ac_config_files in *"
15186 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
15189 case $ac_config_headers in *"
15190 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
15194 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15195 # Files that config.status was made for.
15196 config_files="$ac_config_files"
15197 config_headers="$ac_config_headers"
15198 config_links="$ac_config_links"
15199 config_commands="$ac_config_commands"
15203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15205 \`$as_me' instantiates files and other configuration actions
15206 from templates according to the current configuration. Unless the files
15207 and actions are specified as TAGs, all are instantiated by default.
15209 Usage: $0 [OPTION]... [TAG]...
15211 -h, --help print this help, then exit
15212 -V, --version print version number and configuration settings, then exit
15213 --config print configuration, then exit
15214 -q, --quiet, --silent
15215 do not print progress messages
15216 -d, --debug don't remove temporary files
15217 --recheck update $as_me by reconfiguring in the same conditions
15218 --file=FILE[:TEMPLATE]
15219 instantiate the configuration file FILE
15220 --header=FILE[:TEMPLATE]
15221 instantiate the configuration header FILE
15223 Configuration files:
15226 Configuration headers:
15229 Configuration links:
15232 Configuration commands:
15235 Report bugs to <wine-devel@winehq.org>.
15236 Wine home page: <http://www.winehq.org>."
15239 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15240 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
15242 Wine config.status 1.1.41
15243 configured by $0, generated by GNU Autoconf 2.65,
15244 with options \\"\$ac_cs_config\\"
15246 Copyright (C) 2009 Free Software Foundation, Inc.
15247 This config.status script is free software; the Free Software Foundation
15248 gives unlimited permission to copy, distribute and modify it."
15253 test -n "\$AWK" || AWK=awk
15256 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15257 # The default lists apply if the user does not specify any file.
15263 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
15264 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
15275 # Handling of the options.
15276 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
15278 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
15279 $as_echo "$ac_cs_version"; exit ;;
15280 --config |
--confi |
--conf |
--con |
--co |
--c )
15281 $as_echo "$ac_cs_config"; exit ;;
15282 --debug |
--debu |
--deb |
--de |
--d |
-d )
15284 --file |
--fil |
--fi |
--f )
15287 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15289 as_fn_append CONFIG_FILES
" '$ac_optarg'"
15290 ac_need_defaults
=false
;;
15291 --header |
--heade |
--head |
--hea )
15294 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
15296 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
15297 ac_need_defaults
=false
;;
15299 # Conflict between --help and --header
15300 as_fn_error
"ambiguous option: \`$1'
15301 Try \`$0 --help' for more information.";;
15302 --help |
--hel |
-h )
15303 $as_echo "$ac_cs_usage"; exit ;;
15304 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
15305 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
15308 # This is an error.
15309 -*) as_fn_error
"unrecognized option: \`$1'
15310 Try \`$0 --help' for more information." ;;
15312 *) as_fn_append ac_config_targets
" $1"
15313 ac_need_defaults
=false
;;
15319 ac_configure_extra_args
=
15321 if $ac_cs_silent; then
15323 ac_configure_extra_args
="$ac_configure_extra_args --silent"
15327 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15328 if \$ac_cs_recheck; then
15329 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
15331 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
15332 CONFIG_SHELL='$SHELL'
15333 export CONFIG_SHELL
15338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15342 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
15343 ## Running $as_me. ##
15349 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15354 # Handling of arguments.
15355 for ac_config_target
in $ac_config_targets
15357 case $ac_config_target in
15358 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
15359 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
15360 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
15361 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
15362 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
15363 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
15364 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
15365 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
15366 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
15367 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
15368 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
15369 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
15370 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
15371 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
15372 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
15373 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
15374 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
15375 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
15376 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
15377 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
15379 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15384 # If the user did not use the arguments to specify the items to instantiate,
15385 # then the envvar interface is used. Set only those that are not.
15386 # We use the long form for the default assignment because of an extremely
15387 # bizarre bug on SunOS 4.1.3.
15388 if $ac_need_defaults; then
15389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
15390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
15391 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
15392 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
15395 # Have a temporary directory for convenience. Make it in the build tree
15396 # simply because there is no reason against having it here, and in addition,
15397 # creating and moving files from /tmp can sometimes cause problems.
15398 # Hook for its removal unless debugging.
15399 # Note that there is a small window in which the directory will not be cleaned:
15400 # after its creation but before its name has been assigned to `$tmp'.
15404 trap 'exit_status=$?
15405 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
15407 trap 'as_fn_exit 1' 1 2 13 15
15409 # Create a (secure) tmp directory for tmp files.
15412 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15413 test -n "$tmp" && test -d "$tmp"
15416 tmp
=.
/conf$$
-$RANDOM
15417 (umask 077 && mkdir
"$tmp")
15418 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
15420 # Set up the scripts for CONFIG_FILES section.
15421 # No need to generate them if there are no CONFIG_FILES.
15422 # This happens for instance with `./config.status config.h'.
15423 if test -n "$CONFIG_FILES"; then
15425 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
15426 ac_cs_awk_getline
=:
15427 ac_cs_awk_pipe_init
=
15428 ac_cs_awk_read_file
='
15429 while ((getline aline < (F[key])) > 0)
15432 ac_cs_awk_pipe_fini
=
15434 ac_cs_awk_getline
=false
15435 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
15436 ac_cs_awk_read_file
='
15438 print "cat " F[key] " &&"
15439 '$ac_cs_awk_pipe_init
15440 # The final `:' finishes the AND list.
15441 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
15443 ac_cr
=`echo X | tr X '\015'`
15444 # On cygwin, bash can eat \r inside `` if the user requested igncr.
15445 # But we know of no other shell where ac_cr would be empty at this
15446 # point, so we can use a bashism as a fallback.
15447 if test "x$ac_cr" = x
; then
15448 eval ac_cr
=\$
\'\\r
\'
15450 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
15451 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
15454 ac_cs_awk_cr
=$ac_cr
15457 echo 'BEGIN {' >"$tmp/subs1.awk" &&
15460 # Create commands to substitute file output variables.
15462 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
15463 echo 'cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&' &&
15464 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
15467 } >conf$
$files.sh
&&
15468 . .
/conf$
$files.sh ||
15469 as_fn_error
"could not make $CONFIG_STATUS" "$LINENO" 5
15470 rm -f conf$
$files.sh
15473 echo "cat >conf$$subs.awk <<_ACEOF" &&
15474 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
15476 } >conf$$subs.sh ||
15477 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15478 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
15480 for ac_last_try in false false false false false :; do
15481 . ./conf$$subs.sh ||
15482 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15484 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
15485 if test $ac_delim_n = $ac_delim_num; then
15487 elif $ac_last_try; then
15488 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
15490 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15493 rm -f conf$$subs.sh
15495 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15496 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
15500 s/^/S["/; s
/!.
*/"]=/
15510 s/\(.\{148\}\)..*/\1/
15512 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
15517 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15524 s/\(.\{148\}\)..*/\1/
15526 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
15530 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
15535 ' <conf$$subs.awk | sed '
15540 ' >>$CONFIG_STATUS || ac_write_fail=1
15541 rm -f conf$$subs.awk
15542 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15544 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
15545 for (key in S) S_is_set[key] = 1
15547 \$ac_cs_awk_pipe_init
15551 nfields = split(line, field, "@
")
15553 len = length(field[1])
15554 for (i = 2; i < nfields; i++) {
15556 keylen = length(key)
15557 if (S_is_set[key]) {
15559 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
15560 len += length(value) + length(field[++i])
15565 if (nfields == 3 && !substed) {
15567 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
15568 \$ac_cs_awk_read_file
15574 \$ac_cs_awk_pipe_fini
15577 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15578 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
15579 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
15582 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
15583 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
15586 # VPATH may cause trouble with some makes, so we remove $(srcdir),
15587 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
15588 # trailing colons and then remove the whole line if VPATH becomes empty
15589 # (actually we leave an empty line to preserve line numbers).
15590 if test "x
$srcdir" = x.; then
15591 ac_vpsub='/^[ ]*VPATH[ ]*=/{
15592 s/:*\$(srcdir):*/:/
15593 s/:*\${srcdir}:*/:/
15595 s/^\([^=]*=[ ]*\):*/\1/
15601 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
15602 fi # test -n "$CONFIG_FILES"
15604 # Set up the scripts for CONFIG_HEADERS section.
15605 # No need to generate them if there are no CONFIG_HEADERS.
15606 # This happens for instance with `./config.status Makefile'.
15607 if test -n "$CONFIG_HEADERS"; then
15608 cat >"$tmp/defines.
awk" <<\_ACAWK ||
15612 # Transform confdefs.h into an awk script `defines.awk', embedded as
15613 # here-document in config.status, that substitutes the proper values into
15614 # config.h.in to produce config.h.
15616 # Create a delimiter string that does not exist in confdefs.h, to ease
15617 # handling of long lines.
15619 for ac_last_try in false false :; do
15620 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
15621 if test -z "$ac_t"; then
15623 elif $ac_last_try; then
15624 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
15626 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
15630 # For the awk script, D is an array of macro values keyed by name,
15631 # likewise P contains macro parameters if any. Preserve backslash
15632 # newline sequences.
15634 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
15636 s/.\{148\}/&'"$ac_delim"'/g
15639 s/^[ ]*#[ ]*define[ ][ ]*/ /
15646 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
15648 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
15652 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
15653 D["\
1"]=" \
3\\\\\\n
"\\/p
15655 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
15660 s/.\{148\}/&'"$ac_delim"'/g
15665 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
15668 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
15670 ' <confdefs.h | sed '
15671 s/'"$ac_delim"'/"\\\
15672 "/g' >>$CONFIG_STATUS || ac_write_fail=1
15674 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15675 for (key in D) D_is_set[key] = 1
15678 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
15680 split(line, arg, " ")
15681 if (arg[1] == "#") {
15685 defundef
= substr
(arg
[1], 2)
15688 split(mac1
, mac2
, "(") #)
15690 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
15691 if (D_is_set
[macro
]) {
15692 # Preserve the white space surrounding the "#".
15693 print prefix
"define", macro P
[macro
] D
[macro
]
15696 # Replace #undef with comments. This is necessary, for example,
15697 # in the case of _POSIX_SOURCE, which is predefined and required
15698 # on some systems where configure will not decide to define it.
15699 if (defundef
== "undef") {
15700 print
"/*", prefix defundef
, macro
, "*/"
15708 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15709 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
15710 fi # test -n "$CONFIG_HEADERS"
15713 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
15718 :[FHLC
]) ac_mode
=$ac_tag; continue;;
15720 case $ac_mode$ac_tag in
15722 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
15723 :[FH
]-) ac_tag
=-:-;;
15724 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
15741 -) ac_f
="$tmp/stdin";;
15742 *) # Look for the file first in the build tree, then in the source tree
15743 # (if the path is not absolute). The absolute path cannot be DOS-style,
15744 # because $ac_f cannot contain `:'.
15748 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
15750 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
15752 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15753 as_fn_append ac_file_inputs
" '$ac_f'"
15756 # Let's still pretend it is `configure' which instantiates (i.e., don't
15757 # use $as_me), people would be surprised to read:
15758 # /* config.h. Generated by config.status. */
15759 configure_input
='Generated from '`
15760 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
15762 if test x
"$ac_file" != x-
; then
15763 configure_input
="$ac_file. $configure_input"
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
15765 $as_echo "$as_me: creating $ac_file" >&6;}
15767 # Neutralize special characters interpreted by sed in replacement strings.
15768 case $configure_input in #(
15769 *\
&* |
*\|
* |
*\\* )
15770 ac_sed_conf_input
=`$as_echo "$configure_input" |
15771 sed 's/[\\\\&|]/\\\\&/g'`;; #(
15772 *) ac_sed_conf_input
=$configure_input;;
15776 *:-:* |
*:-) cat >"$tmp/stdin" \
15777 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
15782 ac_dir
=`$as_dirname -- "$ac_file" ||
15783 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
15784 X"$ac_file" : 'X\(//\)[^/]' \| \
15785 X"$ac_file" : 'X\(//\)$' \| \
15786 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
15787 $as_echo X"$ac_file" |
15788 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
15792 /^X\(\/\/\)[^/].*/{
15805 as_dir
="$ac_dir"; as_fn_mkdir_p
15809 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15811 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
15812 # A ".." for each directory in $ac_dir_suffix.
15813 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
15814 case $ac_top_builddir_sub in
15815 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
15816 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
15819 ac_abs_top_builddir
=$ac_pwd
15820 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
15821 # for backward compatibility:
15822 ac_top_builddir
=$ac_top_build_prefix
15825 .
) # We are building in place.
15827 ac_top_srcdir
=$ac_top_builddir_sub
15828 ac_abs_top_srcdir
=$ac_pwd ;;
15829 [\\/]* | ?
:[\\/]* ) # Absolute name.
15830 ac_srcdir
=$srcdir$ac_dir_suffix;
15831 ac_top_srcdir
=$srcdir
15832 ac_abs_top_srcdir
=$srcdir ;;
15833 *) # Relative name.
15834 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
15835 ac_top_srcdir
=$ac_top_build_prefix$srcdir
15836 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
15838 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
15848 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
15849 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
15853 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15854 # If the template does not know about datarootdir, expand it.
15855 # FIXME: This hack should be removed a few years after 2.60.
15856 ac_datarootdir_hack
=; ac_datarootdir_seen
=
15867 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
15868 *datarootdir
*) ac_datarootdir_seen
=yes;;
15869 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
15871 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
15873 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15874 ac_datarootdir_hack='
15875 s&@datadir@&$datadir&g
15876 s&@docdir@&$docdir&g
15877 s&@infodir@&$infodir&g
15878 s&@localedir@&$localedir&g
15879 s&@mandir@&$mandir&g
15880 s&\\\${datarootdir}&$datarootdir&g' ;;
15884 # Neutralize VPATH when `$srcdir' = `.'.
15885 # Shell code in configure.ac might set extrasub.
15886 # FIXME: do we really want to maintain this feature?
15887 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15888 ac_sed_extra="$ac_vpsub
15891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
15893 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
15894 s|@configure_input@|
$ac_sed_conf_input|
;t t
15895 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
15896 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
15897 s
&@srcdir@
&$ac_srcdir&;t t
15898 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
15899 s
&@top_srcdir@
&$ac_top_srcdir&;t t
15900 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
15901 s
&@builddir@
&$ac_builddir&;t t
15902 s
&@abs_builddir@
&$ac_abs_builddir&;t t
15903 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
15904 s
&@INSTALL@
&$ac_INSTALL&;t t
15905 $ac_datarootdir_hack
15907 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
15908 if $ac_cs_awk_getline; then
15909 $AWK -f "$tmp/subs.
awk"
15911 $AWK -f "$tmp/subs.
awk" | $SHELL
15913 || as_fn_error "could not create
$ac_file" "$LINENO" 5
15915 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15916 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
15917 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
15919 which seems to be undefined. Please make sure it is defined." >&5
15920 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
15921 which seems to be undefined. Please make sure it is defined." >&2;}
15925 -) cat "$tmp/out" && rm -f "$tmp/out";;
15926 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
15928 || as_fn_error "could not create $ac_file" "$LINENO" 5
15934 if test x"$ac_file" != x-; then
15936 $as_echo "/* $configure_input */" \
15937 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15938 } >"$tmp/config.h" \
15939 || as_fn_error "could not create $ac_file" "$LINENO" 5
15940 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15942 $as_echo "$as_me: $ac_file is unchanged" >&6;}
15945 mv "$tmp/config.h" "$ac_file" \
15946 || as_fn_error "could not create $ac_file" "$LINENO" 5
15949 $as_echo "/* $configure_input */" \
15950 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
15951 || as_fn_error "could not create -" "$LINENO" 5
15959 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
15962 # Prefer the file from the source tree if names are identical.
15963 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
15964 ac_source=$srcdir/$ac_source
15967 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
15968 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
15970 if test ! -r "$ac_source"; then
15971 as_fn_error "$ac_source: file not found" "$LINENO" 5
15975 # Try a relative symlink, then a hard link, then a copy.
15977 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
15978 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
15980 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
15981 ln "$ac_source" "$ac_file" 2>/dev/null ||
15982 cp -p "$ac_source" "$ac_file" ||
15983 as_fn_error "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
15986 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
15987 $as_echo "$as_me: executing $ac_file commands" >&6;}
15992 case $ac_file$ac_mode in
15993 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
15994 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
15995 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
15996 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
15997 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
15998 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
15999 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
16000 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
16001 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
16002 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
16003 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
16004 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
16005 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
16013 ac_clean_files=$ac_clean_files_save
16015 test $ac_write_fail = 0 ||
16016 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
16019 # configure is writing to config.log, and then calls config.status.
16020 # config.status does its own redirection, appending to config.log.
16021 # Unfortunately, on DOS this fails, as config.log is still kept open
16022 # by configure, so config.status won't be able to
write to it
; its
16023 # output is simply discarded. So we exec the FD to /dev/null,
16024 # effectively closing config.log, so it can be properly (re)opened and
16025 # appended to by config.status. When coming back to configure, we
16026 # need to make the FD available again.
16027 if test "$no_create" != yes; then
16029 ac_config_status_args
=
16030 test "$silent" = yes &&
16031 ac_config_status_args
="$ac_config_status_args --quiet"
16033 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
16035 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
16036 # would make configure fail if this is the last instruction.
16037 $ac_cs_success || as_fn_exit $?
16039 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
16041 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
16045 if test "$no_create" = "yes"
16051 if test "x$wine_notices != "x
; then
16054 for msg
in $wine_notices; do
16056 if test -n "$msg"; then
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
16058 $as_echo "$as_me: $msg" >&6;}
16063 for msg
in $wine_warnings; do
16065 if test -n "$msg"; then
16067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
16068 $as_echo "$as_me: WARNING: $msg" >&2;}
16074 $as_me: Finished. Do '${ac_make}' to compile Wine.