2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.4.1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
582 PACKAGE_TARNAME
='wine'
583 PACKAGE_VERSION
='1.4.1'
584 PACKAGE_STRING
='Wine 1.4.1'
585 PACKAGE_BUGREPORT
='wine-devel@winehq.org'
586 PACKAGE_URL
='http://www.winehq.org'
588 ac_unique_file
="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='LTLIBOBJS
692 APPLICATIONSERVICESLIB
781 program_transform_name
792 ac_subst_files
='MAKE_RULES
798 enable_option_checking
802 enable_maintainer_mode
851 ac_precious_vars
='build_alias
866 # Initialize some variables set by options.
868 ac_init_version
=false
869 ac_unrecognized_opts
=
871 # The variables have the same names as the options, with
872 # dashes changed to underlines.
880 program_transform_name
=s
,x
,x
,
888 # Installation directory options.
889 # These are left unexpanded so users can "make install exec_prefix=/foo"
890 # and all the variables that are supposed to be based on exec_prefix
891 # by default will actually change.
892 # Use braces instead of parens because sh, perl, etc. also accept them.
893 # (The list follows the same order as the GNU Coding Standards.)
894 bindir
='${exec_prefix}/bin'
895 sbindir
='${exec_prefix}/sbin'
896 libexecdir
='${exec_prefix}/libexec'
897 datarootdir
='${prefix}/share'
898 datadir
='${datarootdir}'
899 sysconfdir
='${prefix}/etc'
900 sharedstatedir
='${prefix}/com'
901 localstatedir
='${prefix}/var'
902 includedir
='${prefix}/include'
903 oldincludedir
='/usr/include'
904 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
905 infodir
='${datarootdir}/info'
910 libdir
='${exec_prefix}/lib'
911 localedir
='${datarootdir}/locale'
912 mandir
='${datarootdir}/man'
918 # If the previous option needs an argument, assign it.
919 if test -n "$ac_prev"; then
920 eval $ac_prev=\
$ac_option
926 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
931 # Accept the important Cygnus configure options, so we can diagnose typos.
933 case $ac_dashdash$ac_option in
937 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
939 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
942 -build |
--build |
--buil |
--bui |
--bu)
943 ac_prev
=build_alias
;;
944 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
945 build_alias
=$ac_optarg ;;
947 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
948 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
949 ac_prev
=cache_file
;;
950 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
951 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
952 cache_file
=$ac_optarg ;;
955 cache_file
=config.cache
;;
957 -datadir |
--datadir |
--datadi |
--datad)
959 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
960 datadir
=$ac_optarg ;;
962 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
963 |
--dataroo |
--dataro |
--datar)
964 ac_prev
=datarootdir
;;
965 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
966 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
967 datarootdir
=$ac_optarg ;;
969 -disable-* |
--disable-*)
970 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
971 # Reject names that are not valid shell variable names.
972 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
973 as_fn_error $?
"invalid feature name: $ac_useropt"
974 ac_useropt_orig
=$ac_useropt
975 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
976 case $ac_user_opts in
980 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
981 ac_unrecognized_sep
=', ';;
983 eval enable_
$ac_useropt=no
;;
985 -docdir |
--docdir |
--docdi |
--doc |
--do)
987 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
990 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
992 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
995 -enable-* |
--enable-*)
996 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
997 # Reject names that are not valid shell variable names.
998 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
999 as_fn_error $?
"invalid feature name: $ac_useropt"
1000 ac_useropt_orig
=$ac_useropt
1001 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1002 case $ac_user_opts in
1004 "enable_
$ac_useropt"
1006 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1007 ac_unrecognized_sep
=', ';;
1009 eval enable_
$ac_useropt=\
$ac_optarg ;;
1011 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1012 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1013 |
--exec |
--exe |
--ex)
1014 ac_prev
=exec_prefix
;;
1015 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1016 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1017 |
--exec=* |
--exe=* |
--ex=*)
1018 exec_prefix
=$ac_optarg ;;
1020 -gas |
--gas |
--ga |
--g)
1021 # Obsolete; use --with-gas.
1024 -help |
--help |
--hel |
--he |
-h)
1025 ac_init_help
=long
;;
1026 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1027 ac_init_help
=recursive
;;
1028 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1029 ac_init_help
=short
;;
1031 -host |
--host |
--hos |
--ho)
1032 ac_prev
=host_alias
;;
1033 -host=* |
--host=* |
--hos=* |
--ho=*)
1034 host_alias
=$ac_optarg ;;
1036 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1038 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1040 htmldir
=$ac_optarg ;;
1042 -includedir |
--includedir |
--includedi |
--included |
--include \
1043 |
--includ |
--inclu |
--incl |
--inc)
1044 ac_prev
=includedir
;;
1045 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1046 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1047 includedir
=$ac_optarg ;;
1049 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1051 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1052 infodir
=$ac_optarg ;;
1054 -libdir |
--libdir |
--libdi |
--libd)
1056 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1057 libdir
=$ac_optarg ;;
1059 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1060 |
--libexe |
--libex |
--libe)
1061 ac_prev
=libexecdir
;;
1062 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1063 |
--libexe=* |
--libex=* |
--libe=*)
1064 libexecdir
=$ac_optarg ;;
1066 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1067 ac_prev
=localedir
;;
1068 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1069 localedir
=$ac_optarg ;;
1071 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1072 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1073 ac_prev
=localstatedir
;;
1074 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1075 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1076 localstatedir
=$ac_optarg ;;
1078 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1080 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1081 mandir
=$ac_optarg ;;
1083 -nfp |
--nfp |
--nf)
1084 # Obsolete; use --without-fp.
1087 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1088 |
--no-cr |
--no-c |
-n)
1091 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1092 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1095 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1096 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1097 |
--oldin |
--oldi |
--old |
--ol |
--o)
1098 ac_prev
=oldincludedir
;;
1099 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1100 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1101 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1102 oldincludedir
=$ac_optarg ;;
1104 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1106 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1107 prefix
=$ac_optarg ;;
1109 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1110 |
--program-pre |
--program-pr |
--program-p)
1111 ac_prev
=program_prefix
;;
1112 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1113 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1114 program_prefix
=$ac_optarg ;;
1116 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1117 |
--program-suf |
--program-su |
--program-s)
1118 ac_prev
=program_suffix
;;
1119 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1120 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1121 program_suffix
=$ac_optarg ;;
1123 -program-transform-name |
--program-transform-name \
1124 |
--program-transform-nam |
--program-transform-na \
1125 |
--program-transform-n |
--program-transform- \
1126 |
--program-transform |
--program-transfor \
1127 |
--program-transfo |
--program-transf \
1128 |
--program-trans |
--program-tran \
1129 |
--progr-tra |
--program-tr |
--program-t)
1130 ac_prev
=program_transform_name
;;
1131 -program-transform-name=* |
--program-transform-name=* \
1132 |
--program-transform-nam=* |
--program-transform-na=* \
1133 |
--program-transform-n=* |
--program-transform-=* \
1134 |
--program-transform=* |
--program-transfor=* \
1135 |
--program-transfo=* |
--program-transf=* \
1136 |
--program-trans=* |
--program-tran=* \
1137 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1138 program_transform_name
=$ac_optarg ;;
1140 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1142 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1143 pdfdir
=$ac_optarg ;;
1145 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1147 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1150 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1151 |
-silent |
--silent |
--silen |
--sile |
--sil)
1154 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1156 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1158 sbindir
=$ac_optarg ;;
1160 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1161 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1162 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1164 ac_prev
=sharedstatedir
;;
1165 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1166 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1167 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1169 sharedstatedir
=$ac_optarg ;;
1171 -site |
--site |
--sit)
1173 -site=* |
--site=* |
--sit=*)
1176 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1178 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1179 srcdir
=$ac_optarg ;;
1181 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1182 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1183 ac_prev
=sysconfdir
;;
1184 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1185 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1186 sysconfdir
=$ac_optarg ;;
1188 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1189 ac_prev
=target_alias
;;
1190 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1191 target_alias
=$ac_optarg ;;
1193 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1196 -version |
--version |
--versio |
--versi |
--vers |
-V)
1197 ac_init_version
=: ;;
1200 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1203 as_fn_error $?
"invalid package name: $ac_useropt"
1204 ac_useropt_orig
=$ac_useropt
1205 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1210 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1211 ac_unrecognized_sep
=', ';;
1213 eval with_
$ac_useropt=\
$ac_optarg ;;
1215 -without-* |
--without-*)
1216 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1217 # Reject names that are not valid shell variable names.
1218 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1219 as_fn_error $?
"invalid package name: $ac_useropt"
1220 ac_useropt_orig
=$ac_useropt
1221 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1222 case $ac_user_opts in
1226 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1227 ac_unrecognized_sep
=', ';;
1229 eval with_
$ac_useropt=no
;;
1232 # Obsolete; use --with-x.
1235 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1236 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1237 ac_prev
=x_includes
;;
1238 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1239 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1240 x_includes
=$ac_optarg ;;
1242 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1243 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1244 ac_prev
=x_libraries
;;
1245 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1246 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1247 x_libraries
=$ac_optarg ;;
1249 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1250 Try \`$0 --help' for more information"
1254 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1255 # Reject names that are not valid shell variable names.
1256 case $ac_envvar in #(
1257 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1258 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1260 eval $ac_envvar=\
$ac_optarg
1261 export $ac_envvar ;;
1264 # FIXME: should be removed in autoconf 3.0.
1265 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1266 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1267 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1268 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1274 if test -n "$ac_prev"; then
1275 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1276 as_fn_error $?
"missing argument to $ac_option"
1279 if test -n "$ac_unrecognized_opts"; then
1280 case $enable_option_checking in
1282 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1283 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1287 # Check all directory arguments for consistency.
1288 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1289 datadir sysconfdir sharedstatedir localstatedir includedir \
1290 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1291 libdir localedir mandir
1293 eval ac_val
=\$
$ac_var
1294 # Remove trailing slashes.
1297 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1298 eval $ac_var=\
$ac_val;;
1300 # Be sure to have absolute directory names.
1302 [\\/$
]* | ?
:[\\/]* ) continue;;
1303 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1305 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1308 # There might be people who depend on the old broken behavior: `$host'
1309 # used to hold the argument of --host etc.
1310 # FIXME: To remove some day.
1313 target
=$target_alias
1315 # FIXME: To remove some day.
1316 if test "x$host_alias" != x
; then
1317 if test "x$build_alias" = x
; then
1318 cross_compiling
=maybe
1319 elif test "x$build_alias" != "x$host_alias"; then
1325 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1327 test "$silent" = yes && exec 6>/dev
/null
1330 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1331 ac_ls_di
=`ls -di .` &&
1332 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1333 as_fn_error $?
"working directory cannot be determined"
1334 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1335 as_fn_error $?
"pwd does not report name of working directory"
1338 # Find the source files, if location was not specified.
1339 if test -z "$srcdir"; then
1340 ac_srcdir_defaulted
=yes
1341 # Try the directory containing this script, then the parent directory.
1342 ac_confdir
=`$as_dirname -- "$as_myself" ||
1343 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1344 X"$as_myself" : 'X\(//\)[^/]' \| \
1345 X"$as_myself" : 'X\(//\)$' \| \
1346 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1347 $as_echo X"$as_myself" |
1348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1366 if test ! -r "$srcdir/$ac_unique_file"; then
1370 ac_srcdir_defaulted
=no
1372 if test ! -r "$srcdir/$ac_unique_file"; then
1373 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1374 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1376 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1378 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1380 # When building in place, set srcdir=.
1381 if test "$ac_abs_confdir" = "$ac_pwd"; then
1384 # Remove unnecessary trailing slashes from srcdir.
1385 # Double slashes in file names in object file debugging info
1386 # mess up M-x gdb in Emacs.
1388 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1390 for ac_var
in $ac_precious_vars; do
1391 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1393 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1394 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1398 # Report the --help message.
1400 if test "$ac_init_help" = "long"; then
1401 # Omit some internal or obsolete options to make the list less imposing.
1402 # This message is too long to be a string in the A/UX 3.1 sh.
1404 \`configure' configures Wine 1.4.1 to adapt to many kinds of systems.
1406 Usage: $0 [OPTION]... [VAR=VALUE]...
1408 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1409 VAR=VALUE. See below for descriptions of some of the useful variables.
1411 Defaults for the options are specified in brackets.
1414 -h, --help display this help and exit
1415 --help=short display options specific to this package
1416 --help=recursive display the short help of all the included packages
1417 -V, --version display version information and exit
1418 -q, --quiet, --silent do not print \`checking ...' messages
1419 --cache-file=FILE cache test results in FILE [disabled]
1420 -C, --config-cache alias for \`--cache-file=config.cache'
1421 -n, --no-create do not create output files
1422 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1424 Installation directories:
1425 --prefix=PREFIX install architecture-independent files in PREFIX
1426 [$ac_default_prefix]
1427 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1430 By default, \`make install' will install all the files in
1431 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1432 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1433 for instance \`--prefix=\$HOME'.
1435 For better control, use the options below.
1437 Fine tuning of the installation directories:
1438 --bindir=DIR user executables [EPREFIX/bin]
1439 --sbindir=DIR system admin executables [EPREFIX/sbin]
1440 --libexecdir=DIR program executables [EPREFIX/libexec]
1441 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1442 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1443 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1444 --libdir=DIR object code libraries [EPREFIX/lib]
1445 --includedir=DIR C header files [PREFIX/include]
1446 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1447 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1448 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1449 --infodir=DIR info documentation [DATAROOTDIR/info]
1450 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1451 --mandir=DIR man documentation [DATAROOTDIR/man]
1452 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1453 --htmldir=DIR html documentation [DOCDIR]
1454 --dvidir=DIR dvi documentation [DOCDIR]
1455 --pdfdir=DIR pdf documentation [DOCDIR]
1456 --psdir=DIR ps documentation [DOCDIR]
1462 --x-includes=DIR X include files are
in DIR
1463 --x-libraries=DIR X library files are
in DIR
1466 --build=BUILD configure
for building on BUILD
[guessed
]
1467 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1471 if test -n "$ac_init_help"; then
1472 case $ac_init_help in
1473 short | recursive
) echo "Configuration of Wine 1.4.1:";;
1478 --disable-option-checking ignore unrecognized
--enable/--with options
1479 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1480 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1481 --disable-win16 do not include Win16 support
1482 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1484 --disable-tests do not build the regression tests
1485 --enable-maintainer-mode
1486 enable maintainer-specific build rules
1487 --disable-largefile omit support for large files
1490 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1491 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1492 --without-alsa do not use the Alsa sound support
1493 --without-capi do not use CAPI (ISDN support)
1494 --without-cms do not use CMS (color management support)
1495 --without-coreaudio do not use the CoreAudio sound support
1496 --without-cups do not use CUPS
1497 --without-curses do not use (n)curses
1498 --without-dbus do not use DBus (dynamic device support)
1499 --without-fontconfig do not use fontconfig
1500 --without-freetype do not use the FreeType library
1501 --without-gettext do not use gettext
1502 --with-gettextpo use the GetTextPO library to rebuild po files
1503 --without-gphoto do not use gphoto (Digital Camera support)
1504 --without-glu do not use the GLU library
1505 --without-gnutls do not use GnuTLS (schannel support)
1506 --without-gsm do not use libgsm (GSM 06.10 codec support)
1507 --without-gstreamer do not use GStreamer (codecs support)
1508 --without-hal do not use HAL (dynamic device support)
1509 --without-jpeg do not use JPEG
1510 --without-ldap do not use LDAP
1511 --without-mpg123 do not use the mpg123 library
1512 --without-openal do not use OpenAL
1513 --without-opencl do not use OpenCL
1514 --without-opengl do not use OpenGL
1515 --without-openssl do not use OpenSSL
1516 --without-oss do not use the OSS sound support
1517 --without-png do not use PNG
1518 --without-pthread do not use the pthread library
1519 --without-pulse do not use PulseAudio sound support
1520 --without-sane do not use SANE (scanner support)
1521 --without-tiff do not use TIFF
1522 --without-v4l do not use v4l1 (v4l support)
1523 --without-xcomposite do not use the Xcomposite extension
1524 --without-xcursor do not use the Xcursor extension
1525 --without-xinerama do not use Xinerama (multi-monitor support)
1526 --without-xinput do not use the Xinput extension
1527 --without-xinput2 do not use the Xinput 2 extension
1528 --without-xml do not use XML
1529 --without-xrandr do not use Xrandr (resolution changes)
1530 --without-xrender do not use the Xrender extension
1531 --without-xshape do not use the Xshape extension
1532 --without-xslt do not use XSLT
1533 --without-xxf86vm do not use XFree video mode extension
1534 --without-zlib do not use Zlib (data compression)
1535 --with-wine-tools=DIR use Wine tools from directory DIR
1536 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1537 --with-x use the X Window System
1539 Some influential environment variables:
1540 CC C compiler command
1541 CFLAGS C compiler flags
1542 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1543 nonstandard directory <lib dir>
1544 LIBS libraries to pass to the linker, e.g. -l<library>
1545 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1546 you have headers in a nonstandard directory <include dir>
1547 CXX C++ compiler command
1548 CXXFLAGS C++ compiler flags
1550 XMKMF Path to xmkmf, Makefile generator for X Window System
1552 Use these variables to override the choices made by `configure' or to
help
1553 it to
find libraries and programs with nonstandard names
/locations.
1555 Report bugs to
<wine-devel@winehq.org
>.
1556 Wine home page
: <http
://www.winehq.org
>.
1561 if test "$ac_init_help" = "recursive"; then
1562 # If there are subdirs, report their specific --help.
1563 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1564 test -d "$ac_dir" ||
1565 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1570 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1572 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1573 # A ".." for each directory in $ac_dir_suffix.
1574 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1575 case $ac_top_builddir_sub in
1576 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1577 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1580 ac_abs_top_builddir
=$ac_pwd
1581 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1582 # for backward compatibility:
1583 ac_top_builddir
=$ac_top_build_prefix
1586 .
) # We are building in place.
1588 ac_top_srcdir
=$ac_top_builddir_sub
1589 ac_abs_top_srcdir
=$ac_pwd ;;
1590 [\\/]* | ?
:[\\/]* ) # Absolute name.
1591 ac_srcdir
=$srcdir$ac_dir_suffix;
1592 ac_top_srcdir
=$srcdir
1593 ac_abs_top_srcdir
=$srcdir ;;
1595 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1596 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1597 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1599 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1601 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1602 # Check for guested configure.
1603 if test -f "$ac_srcdir/configure.gnu"; then
1605 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1606 elif test -f "$ac_srcdir/configure"; then
1608 $SHELL "$ac_srcdir/configure" --help=recursive
1610 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1612 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1616 test -n "$ac_init_help" && exit $ac_status
1617 if $ac_init_version; then
1619 Wine configure
1.4.1
1620 generated by GNU Autoconf
2.69
1622 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1623 This configure
script is free software
; the Free Software Foundation
1624 gives unlimited permission to copy
, distribute and modify it.
1629 ## ------------------------ ##
1630 ## Autoconf initialization. ##
1631 ## ------------------------ ##
1633 # ac_fn_c_try_compile LINENO
1634 # --------------------------
1635 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1636 ac_fn_c_try_compile
()
1638 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1639 rm -f conftest.
$ac_objext
1640 if { { ac_try
="$ac_compile"
1642 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1643 *) ac_try_echo=$ac_try;;
1645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1646 $as_echo "$ac_try_echo"; } >&5
1647 (eval "$ac_compile") 2>conftest.err
1649 if test -s conftest.err; then
1650 grep -v '^ *+' conftest.err >conftest.er1
1651 cat conftest.er1 >&5
1652 mv -f conftest.er1 conftest.err
1654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1655 test $ac_status = 0; } && {
1656 test -z "$ac_c_werror_flag" ||
1657 test ! -s conftest.err
1658 } && test -s conftest.$ac_objext; then :
1661 $as_echo "$as_me: failed program was:" >&5
1662 sed 's/^/| /' conftest.$ac_ext >&5
1666 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1667 as_fn_set_status $ac_retval
1669 } # ac_fn_c_try_compile
1671 # ac_fn_cxx_try_compile LINENO
1672 # ----------------------------
1673 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1674 ac_fn_cxx_try_compile ()
1676 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1677 rm -f conftest.$ac_objext
1678 if { { ac_try="$ac_compile"
1680 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1681 *) ac_try_echo
=$ac_try;;
1683 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1684 $as_echo "$ac_try_echo"; } >&5
1685 (eval "$ac_compile") 2>conftest.err
1687 if test -s conftest.err
; then
1688 grep -v '^ *+' conftest.err
>conftest.er1
1689 cat conftest.er1
>&5
1690 mv -f conftest.er1 conftest.err
1692 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; } && {
1694 test -z "$ac_cxx_werror_flag" ||
1695 test ! -s conftest.err
1696 } && test -s conftest.
$ac_objext; then :
1699 $as_echo "$as_me: failed program was:" >&5
1700 sed 's/^/| /' conftest.
$ac_ext >&5
1704 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1705 as_fn_set_status
$ac_retval
1707 } # ac_fn_cxx_try_compile
1709 # ac_fn_c_try_link LINENO
1710 # -----------------------
1711 # Try to link conftest.$ac_ext, and return whether this succeeded.
1714 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1715 rm -f conftest.
$ac_objext conftest
$ac_exeext
1716 if { { ac_try
="$ac_link"
1718 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_link") 2>conftest.err
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest$ac_exeext && {
1735 test "$cross_compiling" = yes ||
1736 test -x conftest$ac_exeext
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1745 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1746 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1747 # interfere with the next link command; also delete a directory that is
1748 # left behind by Apple's compiler. We do this before executing the actions.
1749 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1751 as_fn_set_status $ac_retval
1753 } # ac_fn_c_try_link
1755 # ac_fn_c_try_cpp LINENO
1756 # ----------------------
1757 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1761 if { { ac_try="$ac_cpp conftest.$ac_ext"
1763 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1764 *) ac_try_echo
=$ac_try;;
1766 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1770 if test -s conftest.err
; then
1771 grep -v '^ *+' conftest.err
>conftest.er1
1772 cat conftest.er1
>&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } > conftest.i
&& {
1777 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.
$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status
$ac_retval
1792 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1793 # -------------------------------------------------------
1794 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1795 # the include files in INCLUDES and setting the cache variable VAR
1797 ac_fn_c_check_header_mongrel
()
1799 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1800 if eval \
${$3+:} false
; then :
1801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1802 $as_echo_n "checking for $2... " >&6; }
1803 if eval \
${$3+:} false
; then :
1804 $as_echo_n "(cached) " >&6
1807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1808 $as_echo "$ac_res" >&6; }
1810 # Is the header compilable?
1811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1812 $as_echo_n "checking $2 usability... " >&6; }
1813 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1814 /* end confdefs.h. */
1818 if ac_fn_c_try_compile
"$LINENO"; then :
1819 ac_header_compiler
=yes
1821 ac_header_compiler
=no
1823 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1825 $as_echo "$ac_header_compiler" >&6; }
1827 # Is the header present?
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1829 $as_echo_n "checking $2 presence... " >&6; }
1830 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1831 /* end confdefs.h. */
1834 if ac_fn_c_try_cpp
"$LINENO"; then :
1835 ac_header_preproc
=yes
1837 ac_header_preproc
=no
1839 rm -f conftest.err conftest.i conftest.
$ac_ext
1840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1841 $as_echo "$ac_header_preproc" >&6; }
1843 # So? What about this header?
1844 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1847 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1849 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1853 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1855 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1857 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1859 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1861 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1862 ( $as_echo "## ------------------------------------ ##
1863 ## Report this to wine-devel@winehq.org ##
1864 ## ------------------------------------ ##"
1865 ) |
sed "s/^/$as_me: WARNING: /" >&2
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if eval \
${$3+:} false
; then :
1871 $as_echo_n "(cached) " >&6
1873 eval "$3=\$ac_header_compiler"
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1881 } # ac_fn_c_check_header_mongrel
1883 # ac_fn_c_try_run LINENO
1884 # ----------------------
1885 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1886 # that executables *can* be run.
1889 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1890 if { { ac_try
="$ac_link"
1892 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1893 *) ac_try_echo=$ac_try;;
1895 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1896 $as_echo "$ac_try_echo"; } >&5
1897 (eval "$ac_link") 2>&5
1899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1900 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1901 { { case "(($ac_try" in
1902 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1903 *) ac_try_echo
=$ac_try;;
1905 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1906 $as_echo "$ac_try_echo"; } >&5
1907 (eval "$ac_try") 2>&5
1909 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1910 test $ac_status = 0; }; }; then :
1913 $as_echo "$as_me: program exited with status $ac_status" >&5
1914 $as_echo "$as_me: failed program was:" >&5
1915 sed 's/^/| /' conftest.
$ac_ext >&5
1917 ac_retval
=$ac_status
1919 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1920 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1921 as_fn_set_status
$ac_retval
1925 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1926 # -------------------------------------------------------
1927 # Tests whether HEADER exists and can be compiled using the include files in
1928 # INCLUDES, setting the cache variable VAR accordingly.
1929 ac_fn_c_check_header_compile
()
1931 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1933 $as_echo_n "checking for $2... " >&6; }
1934 if eval \
${$3+:} false
; then :
1935 $as_echo_n "(cached) " >&6
1937 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1938 /* end confdefs.h. */
1942 if ac_fn_c_try_compile
"$LINENO"; then :
1947 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1951 $as_echo "$ac_res" >&6; }
1952 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1954 } # ac_fn_c_check_header_compile
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func
()
1961 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if eval \
${$3+:} false
; then :
1965 $as_echo_n "(cached) " >&6
1967 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1971 #define $2 innocuous_$2
1973 /* System header to define __stub macros and hopefully few prototypes,
1974 which can conflict with char $2 (); below.
1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976 <limits.h> exists even on freestanding compilers. */
1979 # include <limits.h>
1981 # include <assert.h>
1986 /* Override any GCC internal prototype to avoid an error.
1987 Use char because int might match the return type of a GCC
1988 builtin and then its argument prototype would still apply. */
1993 /* The GNU C library defines this for functions which it implements
1994 to always fail with ENOSYS. Some functions are actually named
1995 something starting with __ and the normal name is an alias. */
1996 #if defined __stub_$2 || defined __stub___$2
2008 if ac_fn_c_try_link
"$LINENO"; then :
2013 rm -f core conftest.err conftest.
$ac_objext \
2014 conftest
$ac_exeext conftest.
$ac_ext
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2021 } # ac_fn_c_check_func
2023 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2024 # ----------------------------------------------------
2025 # Tries to find if the field MEMBER exists in type AGGR, after including
2026 # INCLUDES, setting cache variable VAR accordingly.
2027 ac_fn_c_check_member
()
2029 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2031 $as_echo_n "checking for $2.$3... " >&6; }
2032 if eval \
${$4+:} false
; then :
2033 $as_echo_n "(cached) " >&6
2035 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2036 /* end confdefs.h. */
2048 if ac_fn_c_try_compile
"$LINENO"; then :
2051 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2052 /* end confdefs.h. */
2058 if (sizeof ac_aggr.$3)
2064 if ac_fn_c_try_compile
"$LINENO"; then :
2069 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2071 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2075 $as_echo "$ac_res" >&6; }
2076 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2078 } # ac_fn_c_check_member
2080 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2081 # -------------------------------------------
2082 # Tests whether TYPE exists after having included INCLUDES, setting cache
2083 # variable VAR accordingly.
2084 ac_fn_c_check_type
()
2086 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval \
${$3+:} false
; then :
2090 $as_echo_n "(cached) " >&6
2093 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2094 /* end confdefs.h. */
2105 if ac_fn_c_try_compile
"$LINENO"; then :
2106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2107 /* end confdefs.h. */
2118 if ac_fn_c_try_compile
"$LINENO"; then :
2123 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2125 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2129 $as_echo "$ac_res" >&6; }
2130 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 } # ac_fn_c_check_type
2133 cat >config.log
<<_ACEOF
2134 This file contains any messages produced by compilers while
2135 running configure, to aid debugging if configure makes a mistake.
2137 It was created by Wine $as_me 1.4.1, which was
2138 generated by GNU Autoconf 2.69. Invocation command line was
2150 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2151 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2152 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2153 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2154 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2156 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2157 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2159 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2160 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2161 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2162 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2163 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2164 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2165 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2169 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2173 test -z "$as_dir" && as_dir
=.
2174 $as_echo "PATH: $as_dir"
2190 # Keep a trace of the command line.
2191 # Strip out --no-create and --no-recursion so they do not pile up.
2192 # Strip out --silent because we don't want to record it for future runs.
2193 # Also quote any args containing shell meta-characters.
2194 # Make two passes to allow for proper duplicate-argument suppression.
2198 ac_must_keep_next
=false
2204 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2205 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2206 |
-silent |
--silent |
--silen |
--sile |
--sil)
2209 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2212 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2214 as_fn_append ac_configure_args1
" '$ac_arg'"
2215 if test $ac_must_keep_next = true
; then
2216 ac_must_keep_next
=false
# Got value, back to normal.
2219 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2220 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2221 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2222 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2223 case "$ac_configure_args0 " in
2224 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2227 -* ) ac_must_keep_next
=true
;;
2230 as_fn_append ac_configure_args
" '$ac_arg'"
2235 { ac_configure_args0
=; unset ac_configure_args0
;}
2236 { ac_configure_args1
=; unset ac_configure_args1
;}
2238 # When interrupted or exit'd, cleanup temporary files, and complete
2239 # config.log. We remove comments because anyway the quotes in there
2240 # would cause problems or look ugly.
2241 # WARNING: Use '\'' to represent an apostrophe within the trap.
2242 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2243 trap 'exit_status=$?
2244 # Save into config.log some information that might help in debugging.
2248 $as_echo "## ---------------- ##
2249 ## Cache variables. ##
2250 ## ---------------- ##"
2252 # The following way of writing the cache mishandles newlines in values,
2254 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2255 eval ac_val=\$$ac_var
2259 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2260 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2263 _ | IFS | as_nl) ;; #(
2264 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2265 *) { eval $ac_var=; unset $ac_var;} ;;
2270 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2271 *${as_nl}ac_space=\ *)
2273 "s/'\''/'\''\\\\'\'''\''/g;
2274 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2277 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2284 $as_echo "## ----------------- ##
2285 ## Output variables. ##
2286 ## ----------------- ##"
2288 for ac_var in $ac_subst_vars
2290 eval ac_val=\$$ac_var
2292 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2294 $as_echo "$ac_var='\''$ac_val'\''"
2298 if test -n "$ac_subst_files"; then
2299 $as_echo "## ------------------- ##
2300 ## File substitutions. ##
2301 ## ------------------- ##"
2303 for ac_var
in $ac_subst_files
2305 eval ac_val
=\$
$ac_var
2307 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2309 $as_echo "$ac_var='\''$ac_val'\''"
2314 if test -s confdefs.h; then
2315 $as_echo "## ----------- ##
2322 test "$ac_signal" != 0 &&
2323 $as_echo "$as_me: caught signal $ac_signal"
2324 $as_echo "$as_me: exit $exit_status"
2326 rm -f core *.core core.conftest.* &&
2327 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2330 for ac_signal
in 1 2 13 15; do
2331 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2335 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2336 rm -f -r conftest
* confdefs.h
2338 $as_echo "/* confdefs.h */" > confdefs.h
2340 # Predefined preprocessor variables.
2342 cat >>confdefs.h
<<_ACEOF
2343 #define PACKAGE_NAME "$PACKAGE_NAME"
2346 cat >>confdefs.h
<<_ACEOF
2347 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2350 cat >>confdefs.h
<<_ACEOF
2351 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2354 cat >>confdefs.h
<<_ACEOF
2355 #define PACKAGE_STRING "$PACKAGE_STRING"
2358 cat >>confdefs.h
<<_ACEOF
2359 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2362 cat >>confdefs.h
<<_ACEOF
2363 #define PACKAGE_URL "$PACKAGE_URL"
2367 # Let the site file select an alternate cache file if it wants to.
2368 # Prefer an explicitly selected file to automatically selected ones.
2371 if test -n "$CONFIG_SITE"; then
2372 # We do not want a PATH search for config.site.
2373 case $CONFIG_SITE in #((
2374 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2375 */*) ac_site_file1
=$CONFIG_SITE;;
2376 *) ac_site_file1
=.
/$CONFIG_SITE;;
2378 elif test "x$prefix" != xNONE
; then
2379 ac_site_file1
=$prefix/share
/config.site
2380 ac_site_file2
=$prefix/etc
/config.site
2382 ac_site_file1
=$ac_default_prefix/share
/config.site
2383 ac_site_file2
=$ac_default_prefix/etc
/config.site
2385 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2387 test "x$ac_site_file" = xNONE
&& continue
2388 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2389 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2390 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2391 sed 's/^/| /' "$ac_site_file" >&5
2393 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2395 as_fn_error $?
"failed to load site script $ac_site_file
2396 See \`config.log' for more details" "$LINENO" 5; }
2400 if test -r "$cache_file"; then
2401 # Some versions of bash will fail to source /dev/null (special files
2402 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2403 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2405 $as_echo "$as_me: loading cache $cache_file" >&6;}
2407 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2408 *) .
"./$cache_file";;
2412 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2413 $as_echo "$as_me: creating cache $cache_file" >&6;}
2417 # Check that the precious variables saved in the cache have kept the same
2419 ac_cache_corrupted
=false
2420 for ac_var
in $ac_precious_vars; do
2421 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2422 eval ac_new_set
=\
$ac_env_${ac_var}_set
2423 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2424 eval ac_new_val
=\
$ac_env_${ac_var}_value
2425 case $ac_old_set,$ac_new_set in
2427 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2428 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2429 ac_cache_corrupted
=: ;;
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2432 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2433 ac_cache_corrupted
=: ;;
2436 if test "x$ac_old_val" != "x$ac_new_val"; then
2437 # differences in whitespace do not lead to failure.
2438 ac_old_val_w
=`echo x $ac_old_val`
2439 ac_new_val_w
=`echo x $ac_new_val`
2440 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2442 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2443 ac_cache_corrupted
=:
2445 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2446 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2447 eval $ac_var=\
$ac_old_val
2449 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2450 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2452 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2455 # Pass precious variables to config.status.
2456 if test "$ac_new_set" = set; then
2458 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2459 *) ac_arg
=$ac_var=$ac_new_val ;;
2461 case " $ac_configure_args " in
2462 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2463 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2467 if $ac_cache_corrupted; then
2468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2469 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2471 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2472 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2474 ## -------------------- ##
2475 ## Main body of script. ##
2476 ## -------------------- ##
2479 ac_cpp
='$CPP $CPPFLAGS'
2480 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2481 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2482 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2486 ac_config_headers
="$ac_config_headers include/config.h"
2489 for ac_dir
in tools
"$srcdir"/tools
; do
2490 if test -f "$ac_dir/install-sh"; then
2492 ac_install_sh
="$ac_aux_dir/install-sh -c"
2494 elif test -f "$ac_dir/install.sh"; then
2496 ac_install_sh
="$ac_aux_dir/install.sh -c"
2498 elif test -f "$ac_dir/shtool"; then
2500 ac_install_sh
="$ac_aux_dir/shtool install -c"
2504 if test -z "$ac_aux_dir"; then
2505 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2508 # These three variables are undocumented and unsupported,
2509 # and are intended to be withdrawn in a future Autoconf release.
2510 # They can cause serious problems if a builder's source tree is in a directory
2511 # whose full name contains unusual characters.
2512 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2513 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2514 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2520 # Check whether --enable-win16 was given.
2521 if test "${enable_win16+set}" = set; then :
2522 enableval
=$enable_win16;
2525 # Check whether --enable-win64 was given.
2526 if test "${enable_win64+set}" = set; then :
2527 enableval
=$enable_win64;
2530 # Check whether --enable-tests was given.
2531 if test "${enable_tests+set}" = set; then :
2532 enableval
=$enable_tests;
2535 # Check whether --enable-maintainer-mode was given.
2536 if test "${enable_maintainer_mode+set}" = set; then :
2537 enableval
=$enable_maintainer_mode;
2542 # Check whether --with-alsa was given.
2543 if test "${with_alsa+set}" = set; then :
2544 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2548 # Check whether --with-capi was given.
2549 if test "${with_capi+set}" = set; then :
2550 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2554 # Check whether --with-cms was given.
2555 if test "${with_cms+set}" = set; then :
2556 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2560 # Check whether --with-coreaudio was given.
2561 if test "${with_coreaudio+set}" = set; then :
2562 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2566 # Check whether --with-cups was given.
2567 if test "${with_cups+set}" = set; then :
2572 # Check whether --with-curses was given.
2573 if test "${with_curses+set}" = set; then :
2574 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2578 # Check whether --with-dbus was given.
2579 if test "${with_dbus+set}" = set; then :
2584 # Check whether --with-fontconfig was given.
2585 if test "${with_fontconfig+set}" = set; then :
2586 withval
=$with_fontconfig;
2590 # Check whether --with-freetype was given.
2591 if test "${with_freetype+set}" = set; then :
2592 withval
=$with_freetype;
2596 # Check whether --with-gettext was given.
2597 if test "${with_gettext+set}" = set; then :
2598 withval
=$with_gettext;
2602 # Check whether --with-gettextpo was given.
2603 if test "${with_gettextpo+set}" = set; then :
2604 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2608 # Check whether --with-gphoto was given.
2609 if test "${with_gphoto+set}" = set; then :
2610 withval
=$with_gphoto;
2614 # Check whether --with-glu was given.
2615 if test "${with_glu+set}" = set; then :
2616 withval
=$with_glu; if test "x$withval" = "xno"; then ac_cv_header_GL_glu_h
=no
; fi
2620 # Check whether --with-gnutls was given.
2621 if test "${with_gnutls+set}" = set; then :
2622 withval
=$with_gnutls;
2626 # Check whether --with-gsm was given.
2627 if test "${with_gsm+set}" = set; then :
2628 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2632 # Check whether --with-gstreamer was given.
2633 if test "${with_gstreamer+set}" = set; then :
2634 withval
=$with_gstreamer;
2638 # Check whether --with-hal was given.
2639 if test "${with_hal+set}" = set; then :
2644 # Check whether --with-jpeg was given.
2645 if test "${with_jpeg+set}" = set; then :
2646 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2650 # Check whether --with-ldap was given.
2651 if test "${with_ldap+set}" = set; then :
2652 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2656 # Check whether --with-mpg123 was given.
2657 if test "${with_mpg123+set}" = set; then :
2658 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2662 # Check whether --with-openal was given.
2663 if test "${with_openal+set}" = set; then :
2664 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2668 # Check whether --with-opencl was given.
2669 if test "${with_opencl+set}" = set; then :
2670 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2674 # Check whether --with-opengl was given.
2675 if test "${with_opengl+set}" = set; then :
2676 withval
=$with_opengl;
2680 # Check whether --with-openssl was given.
2681 if test "${with_openssl+set}" = set; then :
2682 withval
=$with_openssl; if test "x$withval" = "xno"; then ac_cv_header_openssl_err_h
=no
; ac_cv_header_openssl_ssl_h
=no
; fi
2686 # Check whether --with-oss was given.
2687 if test "${with_oss+set}" = set; then :
2692 # Check whether --with-png was given.
2693 if test "${with_png+set}" = set; then :
2694 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2698 # Check whether --with-pthread was given.
2699 if test "${with_pthread+set}" = set; then :
2700 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2704 # Check whether --with-pulse was given.
2705 if test "${with_pulse+set}" = set; then :
2706 withval
=$with_pulse;
2710 # Check whether --with-sane was given.
2711 if test "${with_sane+set}" = set; then :
2716 # Check whether --with-tiff was given.
2717 if test "${with_tiff+set}" = set; then :
2718 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2722 # Check whether --with-v4l was given.
2723 if test "${with_v4l+set}" = set; then :
2728 # Check whether --with-xcomposite was given.
2729 if test "${with_xcomposite+set}" = set; then :
2730 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2734 # Check whether --with-xcursor was given.
2735 if test "${with_xcursor+set}" = set; then :
2736 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2740 # Check whether --with-xinerama was given.
2741 if test "${with_xinerama+set}" = set; then :
2742 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2746 # Check whether --with-xinput was given.
2747 if test "${with_xinput+set}" = set; then :
2748 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2752 # Check whether --with-xinput2 was given.
2753 if test "${with_xinput2+set}" = set; then :
2754 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2758 # Check whether --with-xml was given.
2759 if test "${with_xml+set}" = set; then :
2764 # Check whether --with-xrandr was given.
2765 if test "${with_xrandr+set}" = set; then :
2766 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2770 # Check whether --with-xrender was given.
2771 if test "${with_xrender+set}" = set; then :
2772 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2776 # Check whether --with-xshape was given.
2777 if test "${with_xshape+set}" = set; then :
2778 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2782 # Check whether --with-xslt was given.
2783 if test "${with_xslt+set}" = set; then :
2788 # Check whether --with-xxf86vm was given.
2789 if test "${with_xxf86vm+set}" = set; then :
2790 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
2794 # Check whether --with-zlib was given.
2795 if test "${with_zlib+set}" = set; then :
2796 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2801 # Check whether --with-wine-tools was given.
2802 if test "${with_wine_tools+set}" = set; then :
2803 withval
=$with_wine_tools;
2807 # Check whether --with-wine64 was given.
2808 if test "${with_wine64+set}" = set; then :
2809 withval
=$with_wine64;
2813 # Make sure we can run config.sub.
2814 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2815 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2818 $as_echo_n "checking build system type... " >&6; }
2819 if ${ac_cv_build+:} false
; then :
2820 $as_echo_n "(cached) " >&6
2822 ac_build_alias
=$build_alias
2823 test "x$ac_build_alias" = x
&&
2824 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2825 test "x$ac_build_alias" = x
&&
2826 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2827 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2828 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2832 $as_echo "$ac_cv_build" >&6; }
2833 case $ac_cv_build in
2835 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2838 ac_save_IFS
=$IFS; IFS
='-'
2844 # Remember, the first character of IFS is used to create $*,
2845 # except with old shells:
2848 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2852 $as_echo_n "checking host system type... " >&6; }
2853 if ${ac_cv_host+:} false
; then :
2854 $as_echo_n "(cached) " >&6
2856 if test "x$host_alias" = x
; then
2857 ac_cv_host
=$ac_cv_build
2859 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2860 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2865 $as_echo "$ac_cv_host" >&6; }
2868 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2871 ac_save_IFS
=$IFS; IFS
='-'
2877 # Remember, the first character of IFS is used to create $*,
2878 # except with old shells:
2881 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2887 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2888 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2889 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2895 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2897 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2898 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2899 $as_echo_n "(cached) " >&6
2901 cat >conftest.
make <<\_ACEOF
2904 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2906 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2907 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2909 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2911 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2915 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2917 $as_echo "yes" >&6; }
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2921 $as_echo "no" >&6; }
2922 SET_MAKE
="MAKE=${MAKE-make}"
2926 ac_cpp
='$CPP $CPPFLAGS'
2927 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2928 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2929 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2930 if test -n "$ac_tool_prefix"; then
2931 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2932 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2934 $as_echo_n "checking for $ac_word... " >&6; }
2935 if ${ac_cv_prog_CC+:} false
; then :
2936 $as_echo_n "(cached) " >&6
2938 if test -n "$CC"; then
2939 ac_cv_prog_CC
="$CC" # Let the user override the test.
2941 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2945 test -z "$as_dir" && as_dir
=.
2946 for ac_exec_ext
in '' $ac_executable_extensions; do
2947 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2948 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2949 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2959 if test -n "$CC"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2961 $as_echo "$CC" >&6; }
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2964 $as_echo "no" >&6; }
2969 if test -z "$ac_cv_prog_CC"; then
2971 # Extract the first word of "gcc", so it can be a program name with args.
2972 set dummy gcc
; ac_word
=$2
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2974 $as_echo_n "checking for $ac_word... " >&6; }
2975 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2976 $as_echo_n "(cached) " >&6
2978 if test -n "$ac_ct_CC"; then
2979 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2985 test -z "$as_dir" && as_dir
=.
2986 for ac_exec_ext
in '' $ac_executable_extensions; do
2987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2988 ac_cv_prog_ac_ct_CC
="gcc"
2989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2998 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2999 if test -n "$ac_ct_CC"; then
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3001 $as_echo "$ac_ct_CC" >&6; }
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3004 $as_echo "no" >&6; }
3007 if test "x$ac_ct_CC" = x
; then
3010 case $cross_compiling:$ac_tool_warned in
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3013 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3014 ac_tool_warned
=yes ;;
3022 if test -z "$CC"; then
3023 if test -n "$ac_tool_prefix"; then
3024 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3025 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3027 $as_echo_n "checking for $ac_word... " >&6; }
3028 if ${ac_cv_prog_CC+:} false
; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -n "$CC"; then
3032 ac_cv_prog_CC
="$CC" # Let the user override the test.
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3041 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3042 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3052 if test -n "$CC"; then
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3054 $as_echo "$CC" >&6; }
3056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 $as_echo "no" >&6; }
3063 if test -z "$CC"; then
3064 # Extract the first word of "cc", so it can be a program name with args.
3065 set dummy cc
; ac_word
=$2
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3067 $as_echo_n "checking for $ac_word... " >&6; }
3068 if ${ac_cv_prog_CC+:} false
; then :
3069 $as_echo_n "(cached) " >&6
3071 if test -n "$CC"; then
3072 ac_cv_prog_CC
="$CC" # Let the user override the test.
3075 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3079 test -z "$as_dir" && as_dir
=.
3080 for ac_exec_ext
in '' $ac_executable_extensions; do
3081 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3082 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3083 ac_prog_rejected
=yes
3087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3094 if test $ac_prog_rejected = yes; then
3095 # We found a bogon in the path, so make sure we never use it.
3096 set dummy
$ac_cv_prog_CC
3098 if test $# != 0; then
3099 # We chose a different compiler from the bogus one.
3100 # However, it has the same basename, so the bogon will be chosen
3101 # first if we set CC to just the basename; use the full file name.
3103 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3109 if test -n "$CC"; then
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3111 $as_echo "$CC" >&6; }
3113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3114 $as_echo "no" >&6; }
3119 if test -z "$CC"; then
3120 if test -n "$ac_tool_prefix"; then
3121 for ac_prog
in cl.exe
3123 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3124 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3126 $as_echo_n "checking for $ac_word... " >&6; }
3127 if ${ac_cv_prog_CC+:} false
; then :
3128 $as_echo_n "(cached) " >&6
3130 if test -n "$CC"; then
3131 ac_cv_prog_CC
="$CC" # Let the user override the test.
3133 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3137 test -z "$as_dir" && as_dir
=.
3138 for ac_exec_ext
in '' $ac_executable_extensions; do
3139 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3140 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3151 if test -n "$CC"; then
3152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3153 $as_echo "$CC" >&6; }
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3156 $as_echo "no" >&6; }
3160 test -n "$CC" && break
3163 if test -z "$CC"; then
3165 for ac_prog
in cl.exe
3167 # Extract the first word of "$ac_prog", so it can be a program name with args.
3168 set dummy
$ac_prog; ac_word
=$2
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3170 $as_echo_n "checking for $ac_word... " >&6; }
3171 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3172 $as_echo_n "(cached) " >&6
3174 if test -n "$ac_ct_CC"; then
3175 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3181 test -z "$as_dir" && as_dir
=.
3182 for ac_exec_ext
in '' $ac_executable_extensions; do
3183 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3184 ac_cv_prog_ac_ct_CC
="$ac_prog"
3185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3194 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3195 if test -n "$ac_ct_CC"; then
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3197 $as_echo "$ac_ct_CC" >&6; }
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3200 $as_echo "no" >&6; }
3204 test -n "$ac_ct_CC" && break
3207 if test "x$ac_ct_CC" = x
; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3213 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3214 ac_tool_warned
=yes ;;
3223 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3224 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3225 as_fn_error $?
"no acceptable C compiler found in \$PATH
3226 See \`config.log' for more details" "$LINENO" 5; }
3228 # Provide some information about the compiler.
3229 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3232 for ac_option
in --version -v -V -qversion; do
3233 { { ac_try
="$ac_compiler $ac_option >&5"
3235 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3236 *) ac_try_echo=$ac_try;;
3238 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3239 $as_echo "$ac_try_echo"; } >&5
3240 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3242 if test -s conftest.err; then
3244 ... rest of stderr output deleted ...
3245 10q' conftest.err >conftest.er1
3246 cat conftest.er1 >&5
3248 rm -f conftest.er1 conftest.err
3249 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3250 test $ac_status = 0; }
3253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3254 /* end confdefs.h. */
3264 ac_clean_files_save=$ac_clean_files
3265 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3266 # Try to create an executable without -o first, disregard a.out.
3267 # It will help us diagnose broken compilers, and finding out an intuition
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3270 $as_echo_n "checking whether the C compiler works... " >&6; }
3271 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3273 # The possible output files:
3274 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3277 for ac_file in $ac_files
3280 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3281 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3286 if { { ac_try="$ac_link_default"
3288 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3289 *) ac_try_echo
=$ac_try;;
3291 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3292 $as_echo "$ac_try_echo"; } >&5
3293 (eval "$ac_link_default") 2>&5
3295 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3296 test $ac_status = 0; }; then :
3297 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3298 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3299 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3300 # so that the user can short-circuit this test for compilers unknown to
3302 for ac_file
in $ac_files ''
3304 test -f "$ac_file" ||
continue
3306 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3309 # We found the default executable, but exeext='' is most
3313 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3315 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3317 # We set ac_cv_exeext here because the later test for it is not
3318 # safe: cross compilers may not add the suffix if given an `-o'
3319 # argument, so we may need to know it at that point already.
3320 # Even if this section looks crufty: it has the advantage of
3327 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3332 if test -z "$ac_file"; then :
3333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3334 $as_echo "no" >&6; }
3335 $as_echo "$as_me: failed program was:" >&5
3336 sed 's/^/| /' conftest.
$ac_ext >&5
3338 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3339 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3340 as_fn_error
77 "C compiler cannot create executables
3341 See \`config.log' for more details" "$LINENO" 5; }
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3344 $as_echo "yes" >&6; }
3346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3347 $as_echo_n "checking for C compiler default output file name... " >&6; }
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3349 $as_echo "$ac_file" >&6; }
3350 ac_exeext
=$ac_cv_exeext
3352 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3353 ac_clean_files
=$ac_clean_files_save
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3355 $as_echo_n "checking for suffix of executables... " >&6; }
3356 if { { ac_try
="$ac_link"
3358 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3359 *) ac_try_echo=$ac_try;;
3361 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3362 $as_echo "$ac_try_echo"; } >&5
3363 (eval "$ac_link") 2>&5
3365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3366 test $ac_status = 0; }; then :
3367 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3368 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3369 # work properly (i.e., refer to `conftest.exe'), while it won't with
3371 for ac_file
in conftest.exe conftest conftest.
*; do
3372 test -f "$ac_file" ||
continue
3374 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3375 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3381 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3382 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3383 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3384 See \`config.log' for more details" "$LINENO" 5; }
3386 rm -f conftest conftest
$ac_cv_exeext
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3388 $as_echo "$ac_cv_exeext" >&6; }
3390 rm -f conftest.
$ac_ext
3391 EXEEXT
=$ac_cv_exeext
3393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3394 /* end confdefs.h. */
3399 FILE *f = fopen ("conftest.out", "w");
3400 return ferror (f) || fclose (f) != 0;
3406 ac_clean_files
="$ac_clean_files conftest.out"
3407 # Check that the compiler produces executables we can run. If not, either
3408 # the compiler is broken, or we cross compile.
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3410 $as_echo_n "checking whether we are cross compiling... " >&6; }
3411 if test "$cross_compiling" != yes; then
3412 { { ac_try
="$ac_link"
3414 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3415 *) ac_try_echo=$ac_try;;
3417 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3418 $as_echo "$ac_try_echo"; } >&5
3419 (eval "$ac_link") 2>&5
3421 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3422 test $ac_status = 0; }
3423 if { ac_try='./conftest$ac_cv_exeext'
3424 { { case "(($ac_try" in
3425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3426 *) ac_try_echo
=$ac_try;;
3428 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3429 $as_echo "$ac_try_echo"; } >&5
3430 (eval "$ac_try") 2>&5
3432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3433 test $ac_status = 0; }; }; then
3436 if test "$cross_compiling" = maybe
; then
3439 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3440 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3441 as_fn_error $?
"cannot run C compiled programs.
3442 If you meant to cross compile, use \`--host'.
3443 See \`config.log' for more details" "$LINENO" 5; }
3447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3448 $as_echo "$cross_compiling" >&6; }
3450 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3451 ac_clean_files
=$ac_clean_files_save
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3453 $as_echo_n "checking for suffix of object files... " >&6; }
3454 if ${ac_cv_objext+:} false
; then :
3455 $as_echo_n "(cached) " >&6
3457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3458 /* end confdefs.h. */
3468 rm -f conftest.o conftest.obj
3469 if { { ac_try
="$ac_compile"
3471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3475 $as_echo "$ac_try_echo"; } >&5
3476 (eval "$ac_compile") 2>&5
3478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3479 test $ac_status = 0; }; then :
3480 for ac_file in conftest.o conftest.obj conftest.*; do
3481 test -f "$ac_file" || continue;
3483 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3484 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3489 $as_echo "$as_me: failed program was:" >&5
3490 sed 's/^/| /' conftest.$ac_ext >&5
3492 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3493 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3494 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3495 See \
`config.log' for more details" "$LINENO" 5; }
3497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3500 $as_echo "$ac_cv_objext" >&6; }
3501 OBJEXT=$ac_cv_objext
3503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3504 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3505 if ${ac_cv_c_compiler_gnu+:} false; then :
3506 $as_echo_n "(cached) " >&6
3508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3509 /* end confdefs.h. */
3522 if ac_fn_c_try_compile "$LINENO"; then :
3527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3528 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3532 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3533 if test $ac_compiler_gnu = yes; then
3538 ac_test_CFLAGS=${CFLAGS+set}
3539 ac_save_CFLAGS=$CFLAGS
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3541 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3542 if ${ac_cv_prog_cc_g+:} false; then :
3543 $as_echo_n "(cached) " >&6
3545 ac_save_c_werror_flag=$ac_c_werror_flag
3546 ac_c_werror_flag=yes
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3560 if ac_fn_c_try_compile "$LINENO"; then :
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3575 if ac_fn_c_try_compile "$LINENO"; then :
3578 ac_c_werror_flag=$ac_save_c_werror_flag
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3591 if ac_fn_c_try_compile "$LINENO"; then :
3594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3599 ac_c_werror_flag=$ac_save_c_werror_flag
3601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3602 $as_echo "$ac_cv_prog_cc_g" >&6; }
3603 if test "$ac_test_CFLAGS" = set; then
3604 CFLAGS=$ac_save_CFLAGS
3605 elif test $ac_cv_prog_cc_g = yes; then
3606 if test "$GCC" = yes; then
3612 if test "$GCC" = yes; then
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3619 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3620 if ${ac_cv_prog_cc_c89+:} false; then :
3621 $as_echo_n "(cached) " >&6
3623 ac_cv_prog_cc_c89=no
3625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3626 /* end confdefs.h. */
3630 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3631 struct buf { int x; };
3632 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3633 static char *e (p, i)
3639 static char *f (char * (*g) (char **, int), char **p, ...)
3644 s = g (p, va_arg (v,int));
3649 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3650 function prototypes and stuff, but not '\xHH' hex character constants.
3651 These don't provoke an error unfortunately, instead are silently treated
3652 as 'x'. The following induces an error, until -std is added to get
3653 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3654 array size at least. It's necessary to write '\x00'==0 to get something
3655 that's true only with -std. */
3656 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3658 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3659 inside strings and character constants. */
3661 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3663 int test (int i, double x);
3664 struct s1 {int (*f) (int a);};
3665 struct s2 {int (*f) (double a);};
3666 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3672 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3677 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3678 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3680 CC="$ac_save_CC $ac_arg"
3681 if ac_fn_c_try_compile "$LINENO"; then :
3682 ac_cv_prog_cc_c89=$ac_arg
3684 rm -f core conftest.err conftest.$ac_objext
3685 test "x$ac_cv_prog_cc_c89" != "xno" && break
3687 rm -f conftest.$ac_ext
3692 case "x$ac_cv_prog_cc_c89" in
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3695 $as_echo "none needed" >&6; } ;;
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3698 $as_echo "unsupported" >&6; } ;;
3700 CC="$CC $ac_cv_prog_cc_c89"
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3702 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3704 if test "x$ac_cv_prog_cc_c89" != xno; then :
3709 ac_cpp='$CPP $CPPFLAGS'
3710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715 ac_cpp='$CXXCPP $CPPFLAGS'
3716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3719 if test -z "$CXX"; then
3720 if test -n "$CCC"; then
3723 if test -n "$ac_tool_prefix"; then
3724 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3726 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3727 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3729 $as_echo_n "checking for $ac_word... " >&6; }
3730 if ${ac_cv_prog_CXX+:} false; then :
3731 $as_echo_n "(cached) " >&6
3733 if test -n "$CXX"; then
3734 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3740 test -z "$as_dir" && as_dir=.
3741 for ac_exec_ext in '' $ac_executable_extensions; do
3742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3743 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3754 if test -n "$CXX"; then
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3756 $as_echo "$CXX" >&6; }
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3759 $as_echo "no" >&6; }
3763 test -n "$CXX" && break
3766 if test -z "$CXX"; then
3768 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3770 # Extract the first word of "$ac_prog", so it can be a program name with args.
3771 set dummy $ac_prog; ac_word=$2
3772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3773 $as_echo_n "checking for $ac_word... " >&6; }
3774 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3775 $as_echo_n "(cached) " >&6
3777 if test -n "$ac_ct_CXX"; then
3778 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3780 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3784 test -z "$as_dir" && as_dir=.
3785 for ac_exec_ext in '' $ac_executable_extensions; do
3786 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3787 ac_cv_prog_ac_ct_CXX="$ac_prog"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3797 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3798 if test -n "$ac_ct_CXX"; then
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3800 $as_echo "$ac_ct_CXX" >&6; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3803 $as_echo "no" >&6; }
3807 test -n "$ac_ct_CXX" && break
3810 if test "x$ac_ct_CXX" = x; then
3813 case $cross_compiling:$ac_tool_warned in
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3816 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3817 ac_tool_warned=yes ;;
3825 # Provide some information about the compiler.
3826 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3829 for ac_option in --version -v -V -qversion; do
3830 { { ac_try="$ac_compiler $ac_option >&5"
3832 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3833 *) ac_try_echo
=$ac_try;;
3835 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3836 $as_echo "$ac_try_echo"; } >&5
3837 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3839 if test -s conftest.err
; then
3841 ... rest of stderr output deleted ...
3842 10q' conftest.err
>conftest.er1
3843 cat conftest.er1
>&5
3845 rm -f conftest.er1 conftest.err
3846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3847 test $ac_status = 0; }
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3851 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3852 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3853 $as_echo_n "(cached) " >&6
3855 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3856 /* end confdefs.h. */
3869 if ac_fn_cxx_try_compile
"$LINENO"; then :
3874 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3875 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3879 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3880 if test $ac_compiler_gnu = yes; then
3885 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3886 ac_save_CXXFLAGS
=$CXXFLAGS
3887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3888 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3889 if ${ac_cv_prog_cxx_g+:} false
; then :
3890 $as_echo_n "(cached) " >&6
3892 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3893 ac_cxx_werror_flag
=yes
3896 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3897 /* end confdefs.h. */
3907 if ac_fn_cxx_try_compile
"$LINENO"; then :
3908 ac_cv_prog_cxx_g
=yes
3911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 if ac_fn_cxx_try_compile
"$LINENO"; then :
3925 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3927 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3928 /* end confdefs.h. */
3938 if ac_fn_cxx_try_compile
"$LINENO"; then :
3939 ac_cv_prog_cxx_g
=yes
3941 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3943 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3945 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3946 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3949 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3950 if test "$ac_test_CXXFLAGS" = set; then
3951 CXXFLAGS
=$ac_save_CXXFLAGS
3952 elif test $ac_cv_prog_cxx_g = yes; then
3953 if test "$GXX" = yes; then
3959 if test "$GXX" = yes; then
3966 ac_cpp
='$CPP $CPPFLAGS'
3967 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3968 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3969 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3971 if test -n "$ac_tool_prefix"; then
3972 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3973 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3975 $as_echo_n "checking for $ac_word... " >&6; }
3976 if ${ac_cv_prog_CPPBIN+:} false
; then :
3977 $as_echo_n "(cached) " >&6
3979 if test -n "$CPPBIN"; then
3980 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3982 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3986 test -z "$as_dir" && as_dir
=.
3987 for ac_exec_ext
in '' $ac_executable_extensions; do
3988 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3989 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 CPPBIN
=$ac_cv_prog_CPPBIN
4000 if test -n "$CPPBIN"; then
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4002 $as_echo "$CPPBIN" >&6; }
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4005 $as_echo "no" >&6; }
4010 if test -z "$ac_cv_prog_CPPBIN"; then
4011 ac_ct_CPPBIN
=$CPPBIN
4012 # Extract the first word of "cpp", so it can be a program name with args.
4013 set dummy cpp
; ac_word
=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4017 $as_echo_n "(cached) " >&6
4019 if test -n "$ac_ct_CPPBIN"; then
4020 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4022 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4026 test -z "$as_dir" && as_dir
=.
4027 for ac_exec_ext
in '' $ac_executable_extensions; do
4028 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4039 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4040 if test -n "$ac_ct_CPPBIN"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4042 $as_echo "$ac_ct_CPPBIN" >&6; }
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4048 if test "x$ac_ct_CPPBIN" = x
; then
4051 case $cross_compiling:$ac_tool_warned in
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4054 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4055 ac_tool_warned
=yes ;;
4057 CPPBIN
=$ac_ct_CPPBIN
4060 CPPBIN
="$ac_cv_prog_CPPBIN"
4064 cat >>confdefs.h
<<_ACEOF
4065 #define EXEEXT "$ac_exeext"
4071 if test "x$enable_win64" = "xyes"
4076 notice_platform
="64-bit "
4083 notice_platform
="32-bit "
4086 enable_win16
=${enable_win16:-yes}
4088 with_fontconfig
=${with_fontconfig:-no}
4091 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4096 $as_echo_n "checking whether $CC works... " >&6; }
4098 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4099 /* end confdefs.h. */
4109 if ac_fn_c_try_link
"$LINENO"; then :
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4111 $as_echo "yes" >&6; }
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4114 $as_echo "no" >&6; }
4115 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4117 rm -f core conftest.err conftest.
$ac_objext \
4118 conftest
$ac_exeext conftest.
$ac_ext
4120 notice_platform
="32-bit "
4123 enable_win16
=${enable_win16:-yes}
4125 if test "x${GCC}" = "xyes"
4127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4128 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4129 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4130 /* end confdefs.h. */
4135 void func(__builtin_ms_va_list *args);
4140 if ac_fn_c_try_compile
"$LINENO"; then :
4141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4142 $as_echo "yes" >&6; }
4144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4145 $as_echo "no" >&6; }
4146 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4148 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4154 *-mingw32*|
*-cygwin*)
4155 enable_win16
=${enable_win16:-no}
4156 CFLAGS
="$CFLAGS -D_WIN32"
4159 enable_win16
=${enable_win16:-yes}
4163 enable_win16
=${enable_win16:-no}
4164 enable_win64
=${enable_win64:-no}
4166 enable_winetest
=${enable_winetest:-$enable_tests}
4168 if test -n "$with_wine64"
4170 if test "x$enable_win64" = "xyes"
4172 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4173 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4177 enable_fonts
=${enable_fonts:-no}
4178 enable_server
=${enable_server:-no}
4179 enable_tools
=${enable_tools:-no}
4180 elif test "x$enable_win64" = "xyes"
4182 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4186 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4187 if ${wine_cv_toolsdir+:} false
; then :
4188 $as_echo_n "(cached) " >&6
4190 wine_cv_toolsdir
="$with_wine_tools"
4191 if test -z "$with_wine_tools"; then
4192 if test "$cross_compiling" = "yes"; then
4193 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4194 elif test -n "$with_wine64"; then
4195 wine_cv_toolsdir
="$with_wine64"
4198 if test -z "$wine_cv_toolsdir"; then
4199 wine_cv_toolsdir
="\$(top_builddir)"
4200 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4201 case "$wine_cv_toolsdir" in
4203 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4206 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4210 $as_echo "$wine_cv_toolsdir" >&6; }
4211 TOOLSDIR
=$wine_cv_toolsdir
4213 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4215 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4221 # Extract the first word of "$ac_prog", so it can be a program name with args.
4222 set dummy
$ac_prog; ac_word
=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_FLEX+:} false
; then :
4226 $as_echo_n "(cached) " >&6
4228 if test -n "$FLEX"; then
4229 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4231 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4235 test -z "$as_dir" && as_dir
=.
4236 for ac_exec_ext
in '' $ac_executable_extensions; do
4237 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_FLEX
="$ac_prog"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4248 FLEX
=$ac_cv_prog_FLEX
4249 if test -n "$FLEX"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4251 $as_echo "$FLEX" >&6; }
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4258 test -n "$FLEX" && break
4260 test -n "$FLEX" || FLEX
="none"
4262 if test "$FLEX" = "none"
4264 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4267 $as_echo_n "checking whether flex is recent enough... " >&6; }
4268 cat >conftest.l
<<EOF
4270 #include "prediluvian.h"
4274 if $FLEX -t conftest.l
>/dev
/null
2>&5
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4277 $as_echo "yes" >&6; }
4279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4280 $as_echo "no" >&6; }
4281 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4284 for ac_prog
in bison
4286 # Extract the first word of "$ac_prog", so it can be a program name with args.
4287 set dummy
$ac_prog; ac_word
=$2
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4289 $as_echo_n "checking for $ac_word... " >&6; }
4290 if ${ac_cv_prog_BISON+:} false
; then :
4291 $as_echo_n "(cached) " >&6
4293 if test -n "$BISON"; then
4294 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4296 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4300 test -z "$as_dir" && as_dir
=.
4301 for ac_exec_ext
in '' $ac_executable_extensions; do
4302 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4303 ac_cv_prog_BISON
="$ac_prog"
4304 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4313 BISON
=$ac_cv_prog_BISON
4314 if test -n "$BISON"; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4316 $as_echo "$BISON" >&6; }
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4323 test -n "$BISON" && break
4325 test -n "$BISON" || BISON
="none"
4327 if test "$BISON" = "none"
4329 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4332 if test -n "$ac_tool_prefix"; then
4333 for ac_prog
in ar gar
4335 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4336 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_prog_AR+:} false
; then :
4340 $as_echo_n "(cached) " >&6
4342 if test -n "$AR"; then
4343 ac_cv_prog_AR
="$AR" # Let the user override the test.
4345 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4349 test -z "$as_dir" && as_dir
=.
4350 for ac_exec_ext
in '' $ac_executable_extensions; do
4351 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4352 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4363 if test -n "$AR"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4365 $as_echo "$AR" >&6; }
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4372 test -n "$AR" && break
4375 if test -z "$AR"; then
4377 for ac_prog
in ar gar
4379 # Extract the first word of "$ac_prog", so it can be a program name with args.
4380 set dummy
$ac_prog; ac_word
=$2
4381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4382 $as_echo_n "checking for $ac_word... " >&6; }
4383 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4384 $as_echo_n "(cached) " >&6
4386 if test -n "$ac_ct_AR"; then
4387 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4393 test -z "$as_dir" && as_dir
=.
4394 for ac_exec_ext
in '' $ac_executable_extensions; do
4395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4396 ac_cv_prog_ac_ct_AR
="$ac_prog"
4397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4406 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4407 if test -n "$ac_ct_AR"; then
4408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4409 $as_echo "$ac_ct_AR" >&6; }
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4412 $as_echo "no" >&6; }
4416 test -n "$ac_ct_AR" && break
4419 if test "x$ac_ct_AR" = x
; then
4422 case $cross_compiling:$ac_tool_warned in
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4426 ac_tool_warned
=yes ;;
4434 if test -n "$ac_tool_prefix"; then
4435 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4436 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4438 $as_echo_n "checking for $ac_word... " >&6; }
4439 if ${ac_cv_prog_RANLIB+:} false
; then :
4440 $as_echo_n "(cached) " >&6
4442 if test -n "$RANLIB"; then
4443 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4445 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4449 test -z "$as_dir" && as_dir
=.
4450 for ac_exec_ext
in '' $ac_executable_extensions; do
4451 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4452 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4453 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4462 RANLIB
=$ac_cv_prog_RANLIB
4463 if test -n "$RANLIB"; then
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4465 $as_echo "$RANLIB" >&6; }
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4468 $as_echo "no" >&6; }
4473 if test -z "$ac_cv_prog_RANLIB"; then
4474 ac_ct_RANLIB
=$RANLIB
4475 # Extract the first word of "ranlib", so it can be a program name with args.
4476 set dummy ranlib
; ac_word
=$2
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4478 $as_echo_n "checking for $ac_word... " >&6; }
4479 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4480 $as_echo_n "(cached) " >&6
4482 if test -n "$ac_ct_RANLIB"; then
4483 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4485 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4489 test -z "$as_dir" && as_dir
=.
4490 for ac_exec_ext
in '' $ac_executable_extensions; do
4491 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4492 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4502 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4503 if test -n "$ac_ct_RANLIB"; then
4504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4505 $as_echo "$ac_ct_RANLIB" >&6; }
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4508 $as_echo "no" >&6; }
4511 if test "x$ac_ct_RANLIB" = x
; then
4514 case $cross_compiling:$ac_tool_warned in
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4517 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4518 ac_tool_warned
=yes ;;
4520 RANLIB
=$ac_ct_RANLIB
4523 RANLIB
="$ac_cv_prog_RANLIB"
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4527 $as_echo_n "checking whether ln -s works... " >&6; }
4529 if test "$LN_S" = "ln -s"; then
4530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4531 $as_echo "yes" >&6; }
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4534 $as_echo "no, using $LN_S" >&6; }
4537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4538 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4539 if ${ac_cv_path_GREP+:} false
; then :
4540 $as_echo_n "(cached) " >&6
4542 if test -z "$GREP"; then
4543 ac_path_GREP_found
=false
4544 # Loop through the user's path and test for each of PROGNAME-LIST
4545 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4546 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4549 test -z "$as_dir" && as_dir
=.
4550 for ac_prog
in grep ggrep
; do
4551 for ac_exec_ext
in '' $ac_executable_extensions; do
4552 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4553 as_fn_executable_p
"$ac_path_GREP" ||
continue
4554 # Check for GNU ac_path_GREP and select it if it is found.
4555 # Check for GNU $ac_path_GREP
4556 case `"$ac_path_GREP" --version 2>&1` in
4558 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4561 $as_echo_n 0123456789 >"conftest.in"
4564 cat "conftest.in" "conftest.in" >"conftest.tmp"
4565 mv "conftest.tmp" "conftest.in"
4566 cp "conftest.in" "conftest.nl"
4567 $as_echo 'GREP' >> "conftest.nl"
4568 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4569 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4570 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4571 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4572 # Best one so far, save it but keep looking for a better one
4573 ac_cv_path_GREP
="$ac_path_GREP"
4574 ac_path_GREP_max
=$ac_count
4576 # 10*(2^10) chars as input seems more than enough
4577 test $ac_count -gt 10 && break
4579 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4582 $ac_path_GREP_found && break 3
4587 if test -z "$ac_cv_path_GREP"; then
4588 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4591 ac_cv_path_GREP
=$GREP
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4596 $as_echo "$ac_cv_path_GREP" >&6; }
4597 GREP
="$ac_cv_path_GREP"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4601 $as_echo_n "checking for egrep... " >&6; }
4602 if ${ac_cv_path_EGREP+:} false
; then :
4603 $as_echo_n "(cached) " >&6
4605 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4606 then ac_cv_path_EGREP
="$GREP -E"
4608 if test -z "$EGREP"; then
4609 ac_path_EGREP_found
=false
4610 # Loop through the user's path and test for each of PROGNAME-LIST
4611 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4612 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4615 test -z "$as_dir" && as_dir
=.
4616 for ac_prog
in egrep; do
4617 for ac_exec_ext
in '' $ac_executable_extensions; do
4618 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4619 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4620 # Check for GNU ac_path_EGREP and select it if it is found.
4621 # Check for GNU $ac_path_EGREP
4622 case `"$ac_path_EGREP" --version 2>&1` in
4624 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4627 $as_echo_n 0123456789 >"conftest.in"
4630 cat "conftest.in" "conftest.in" >"conftest.tmp"
4631 mv "conftest.tmp" "conftest.in"
4632 cp "conftest.in" "conftest.nl"
4633 $as_echo 'EGREP' >> "conftest.nl"
4634 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4635 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4636 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4637 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4638 # Best one so far, save it but keep looking for a better one
4639 ac_cv_path_EGREP
="$ac_path_EGREP"
4640 ac_path_EGREP_max
=$ac_count
4642 # 10*(2^10) chars as input seems more than enough
4643 test $ac_count -gt 10 && break
4645 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4648 $ac_path_EGREP_found && break 3
4653 if test -z "$ac_cv_path_EGREP"; then
4654 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4657 ac_cv_path_EGREP
=$EGREP
4662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4663 $as_echo "$ac_cv_path_EGREP" >&6; }
4664 EGREP
="$ac_cv_path_EGREP"
4667 # Extract the first word of "ldconfig", so it can be a program name with args.
4668 set dummy ldconfig
; ac_word
=$2
4669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4670 $as_echo_n "checking for $ac_word... " >&6; }
4671 if ${ac_cv_path_LDCONFIG+:} false
; then :
4672 $as_echo_n "(cached) " >&6
4676 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4679 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4680 for as_dir
in /sbin
/usr
/sbin
$PATH
4683 test -z "$as_dir" && as_dir
=.
4684 for ac_exec_ext
in '' $ac_executable_extensions; do
4685 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4686 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4694 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4698 LDCONFIG
=$ac_cv_path_LDCONFIG
4699 if test -n "$LDCONFIG"; then
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4701 $as_echo "$LDCONFIG" >&6; }
4703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4704 $as_echo "no" >&6; }
4708 # Find a good install program. We prefer a C program (faster),
4709 # so one script is as good as another. But avoid the broken or
4710 # incompatible versions:
4711 # SysV /etc/install, /usr/sbin/install
4712 # SunOS /usr/etc/install
4713 # IRIX /sbin/install
4715 # AmigaOS /C/install, which installs bootblocks on floppy discs
4716 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4717 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4718 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4719 # OS/2's system install, which has a completely different semantic
4720 # ./install, which can be erroneously created by make from ./install.sh.
4721 # Reject install programs that cannot install multiple files.
4722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4723 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4724 if test -z "$INSTALL"; then
4725 if ${ac_cv_path_install+:} false
; then :
4726 $as_echo_n "(cached) " >&6
4728 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4732 test -z "$as_dir" && as_dir
=.
4733 # Account for people who put trailing slashes in PATH elements.
4734 case $as_dir/ in #((
4735 .
/ | .
// |
/[cC
]/* | \
4736 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4737 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4740 # OSF1 and SCO ODT 3.0 have their own names for install.
4741 # Don't use installbsd from OSF since it installs stuff as root
4743 for ac_prog
in ginstall scoinst
install; do
4744 for ac_exec_ext
in '' $ac_executable_extensions; do
4745 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4746 if test $ac_prog = install &&
4747 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4748 # AIX install. It has an incompatible calling convention.
4750 elif test $ac_prog = install &&
4751 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4752 # program-specific install script used by HP pwplus--don't use.
4755 rm -rf conftest.one conftest.two conftest.dir
4756 echo one
> conftest.one
4757 echo two
> conftest.two
4759 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4760 test -s conftest.one
&& test -s conftest.two
&&
4761 test -s conftest.dir
/conftest.one
&&
4762 test -s conftest.dir
/conftest.two
4764 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4777 rm -rf conftest.one conftest.two conftest.dir
4780 if test "${ac_cv_path_install+set}" = set; then
4781 INSTALL
=$ac_cv_path_install
4783 # As a last resort, use the slow shell script. Don't cache a
4784 # value for INSTALL within a source directory, because that will
4785 # break other packages using the cache if that directory is
4786 # removed, or if the value is a relative name.
4787 INSTALL
=$ac_install_sh
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4791 $as_echo "$INSTALL" >&6; }
4793 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4794 # It thinks the first close brace ends the variable substitution.
4795 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4797 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4799 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4802 [\\/$
]* | ?
:[\\/]* ) ;;
4803 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4806 for ac_prog
in lclint lint
4808 # Extract the first word of "$ac_prog", so it can be a program name with args.
4809 set dummy
$ac_prog; ac_word
=$2
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4811 $as_echo_n "checking for $ac_word... " >&6; }
4812 if ${ac_cv_prog_LINT+:} false
; then :
4813 $as_echo_n "(cached) " >&6
4815 if test -n "$LINT"; then
4816 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4818 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4822 test -z "$as_dir" && as_dir
=.
4823 for ac_exec_ext
in '' $ac_executable_extensions; do
4824 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4825 ac_cv_prog_LINT
="$ac_prog"
4826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4835 LINT
=$ac_cv_prog_LINT
4836 if test -n "$LINT"; then
4837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4838 $as_echo "$LINT" >&6; }
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4841 $as_echo "no" >&6; }
4845 test -n "$LINT" && break
4848 if test "$LINT" = "lint"
4850 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4854 for ac_prog
in fontforge
4856 # Extract the first word of "$ac_prog", so it can be a program name with args.
4857 set dummy
$ac_prog; ac_word
=$2
4858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4859 $as_echo_n "checking for $ac_word... " >&6; }
4860 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4861 $as_echo_n "(cached) " >&6
4863 if test -n "$FONTFORGE"; then
4864 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4866 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4870 test -z "$as_dir" && as_dir
=.
4871 for ac_exec_ext
in '' $ac_executable_extensions; do
4872 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4873 ac_cv_prog_FONTFORGE
="$ac_prog"
4874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4883 FONTFORGE
=$ac_cv_prog_FONTFORGE
4884 if test -n "$FONTFORGE"; then
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4886 $as_echo "$FONTFORGE" >&6; }
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4889 $as_echo "no" >&6; }
4893 test -n "$FONTFORGE" && break
4895 test -n "$FONTFORGE" || FONTFORGE
="false"
4897 for ac_prog
in pkg-config
4899 # Extract the first word of "$ac_prog", so it can be a program name with args.
4900 set dummy
$ac_prog; ac_word
=$2
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4902 $as_echo_n "checking for $ac_word... " >&6; }
4903 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4904 $as_echo_n "(cached) " >&6
4906 if test -n "$PKG_CONFIG"; then
4907 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4909 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4913 test -z "$as_dir" && as_dir
=.
4914 for ac_exec_ext
in '' $ac_executable_extensions; do
4915 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4916 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4926 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4927 if test -n "$PKG_CONFIG"; then
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4929 $as_echo "$PKG_CONFIG" >&6; }
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4932 $as_echo "no" >&6; }
4936 test -n "$PKG_CONFIG" && break
4938 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4942 # Extract the first word of "$ac_prog", so it can be a program name with args.
4943 set dummy
$ac_prog; ac_word
=$2
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4945 $as_echo_n "checking for $ac_word... " >&6; }
4946 if ${ac_cv_prog_RSVG+:} false
; then :
4947 $as_echo_n "(cached) " >&6
4949 if test -n "$RSVG"; then
4950 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4952 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir
=.
4957 for ac_exec_ext
in '' $ac_executable_extensions; do
4958 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4959 ac_cv_prog_RSVG
="$ac_prog"
4960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4969 RSVG
=$ac_cv_prog_RSVG
4970 if test -n "$RSVG"; then
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4972 $as_echo "$RSVG" >&6; }
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4975 $as_echo "no" >&6; }
4979 test -n "$RSVG" && break
4981 test -n "$RSVG" || RSVG
="false"
4983 for ac_prog
in convert
4985 # Extract the first word of "$ac_prog", so it can be a program name with args.
4986 set dummy
$ac_prog; ac_word
=$2
4987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4988 $as_echo_n "checking for $ac_word... " >&6; }
4989 if ${ac_cv_prog_CONVERT+:} false
; then :
4990 $as_echo_n "(cached) " >&6
4992 if test -n "$CONVERT"; then
4993 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
4995 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4999 test -z "$as_dir" && as_dir
=.
5000 for ac_exec_ext
in '' $ac_executable_extensions; do
5001 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5002 ac_cv_prog_CONVERT
="$ac_prog"
5003 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5012 CONVERT
=$ac_cv_prog_CONVERT
5013 if test -n "$CONVERT"; then
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5015 $as_echo "$CONVERT" >&6; }
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5018 $as_echo "no" >&6; }
5022 test -n "$CONVERT" && break
5024 test -n "$CONVERT" || CONVERT
="false"
5026 for ac_prog
in icotool
5028 # Extract the first word of "$ac_prog", so it can be a program name with args.
5029 set dummy
$ac_prog; ac_word
=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5033 $as_echo_n "(cached) " >&6
5035 if test -n "$ICOTOOL"; then
5036 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5038 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5042 test -z "$as_dir" && as_dir
=.
5043 for ac_exec_ext
in '' $ac_executable_extensions; do
5044 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5045 ac_cv_prog_ICOTOOL
="$ac_prog"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5055 ICOTOOL
=$ac_cv_prog_ICOTOOL
5056 if test -n "$ICOTOOL"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5058 $as_echo "$ICOTOOL" >&6; }
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5065 test -n "$ICOTOOL" && break
5067 test -n "$ICOTOOL" || ICOTOOL
="false"
5069 for ac_prog
in msgfmt
5071 # Extract the first word of "$ac_prog", so it can be a program name with args.
5072 set dummy
$ac_prog; ac_word
=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_MSGFMT+:} false
; then :
5076 $as_echo_n "(cached) " >&6
5078 if test -n "$MSGFMT"; then
5079 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5081 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5085 test -z "$as_dir" && as_dir
=.
5086 for ac_exec_ext
in '' $ac_executable_extensions; do
5087 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_MSGFMT
="$ac_prog"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 MSGFMT
=$ac_cv_prog_MSGFMT
5099 if test -n "$MSGFMT"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5101 $as_echo "$MSGFMT" >&6; }
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5108 test -n "$MSGFMT" && break
5110 test -n "$MSGFMT" || MSGFMT
="false"
5113 if test "x$enable_maintainer_mode" != "xyes"
5118 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5119 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5121 if test "$CONVERT" = false
5123 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5126 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5127 convert_version
=`convert --version | head -n1`
5128 if test "x$convert_version" != "x"
5130 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5131 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5132 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5137 if test "$CONVERT" = false
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5140 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5141 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5144 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5148 if test "$ICOTOOL" = false
5150 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5153 $as_echo_n "checking for recent enough icotool... " >&6; }
5154 icotool_version
=`icotool --version | head -n1`
5155 if test "x$icotool_version" != "x"
5157 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5158 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5159 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5162 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5165 if test "$ICOTOOL" = false
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5168 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5169 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5172 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5178 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5181 test "x$with_gettext" != xno || MSGFMT
=false
5182 if test "$MSGFMT" != "false"
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5185 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5186 cat >conftest.po
<<EOF
5192 if $MSGFMT -o /dev
/null conftest.po
2>&5
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5195 $as_echo "yes" >&6; }
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5198 $as_echo "no" >&6; }
5202 if test "$MSGFMT" = false
; then :
5203 case "x$with_gettext" in
5204 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5206 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5207 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5213 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5214 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5215 $as_echo_n "(cached) " >&6
5217 ac_check_lib_save_LIBS
=$LIBS
5219 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5220 /* end confdefs.h. */
5222 /* Override any GCC internal prototype to avoid an error.
5223 Use char because int might match the return type of a GCC
5224 builtin and then its argument prototype would still apply. */
5228 char i386_set_ldt ();
5232 return i386_set_ldt ();
5237 if ac_fn_c_try_link
"$LINENO"; then :
5238 ac_cv_lib_i386_i386_set_ldt
=yes
5240 ac_cv_lib_i386_i386_set_ldt
=no
5242 rm -f core conftest.err conftest.
$ac_objext \
5243 conftest
$ac_exeext conftest.
$ac_ext
5244 LIBS
=$ac_check_lib_save_LIBS
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5247 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5248 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5249 cat >>confdefs.h
<<_ACEOF
5250 #define HAVE_LIBI386 1
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5258 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5259 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5260 $as_echo_n "(cached) " >&6
5262 ac_check_lib_save_LIBS
=$LIBS
5263 LIBS
="-lossaudio $LIBS"
5264 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5267 /* Override any GCC internal prototype to avoid an error.
5268 Use char because int might match the return type of a GCC
5269 builtin and then its argument prototype would still apply. */
5277 return _oss_ioctl ();
5282 if ac_fn_c_try_link
"$LINENO"; then :
5283 ac_cv_lib_ossaudio__oss_ioctl
=yes
5285 ac_cv_lib_ossaudio__oss_ioctl
=no
5287 rm -f core conftest.err conftest.
$ac_objext \
5288 conftest
$ac_exeext conftest.
$ac_ext
5289 LIBS
=$ac_check_lib_save_LIBS
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5292 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5293 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5294 cat >>confdefs.h
<<_ACEOF
5295 #define HAVE_LIBOSSAUDIO 1
5298 LIBS
="-lossaudio $LIBS"
5309 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5311 # Check whether --enable-largefile was given.
5312 if test "${enable_largefile+set}" = set; then :
5313 enableval
=$enable_largefile;
5316 if test "$enable_largefile" != no
; then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5319 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5320 if ${ac_cv_sys_largefile_CC+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 ac_cv_sys_largefile_CC
=no
5324 if test "$GCC" != yes; then
5327 # IRIX 6.2 and later do not support large files by default,
5328 # so use the C compiler's -n32 option if that helps.
5329 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5331 #include <sys/types.h>
5332 /* Check that off_t can represent 2**63 - 1 correctly.
5333 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5334 since some C++ compilers masquerading as C compilers
5335 incorrectly reject 9223372036854775807. */
5336 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5337 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5338 && LARGE_OFF_T % 2147483647 == 1)
5348 if ac_fn_c_try_compile
"$LINENO"; then :
5351 rm -f core conftest.err conftest.
$ac_objext
5353 if ac_fn_c_try_compile
"$LINENO"; then :
5354 ac_cv_sys_largefile_CC
=' -n32'; break
5356 rm -f core conftest.err conftest.
$ac_objext
5360 rm -f conftest.
$ac_ext
5363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5364 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5365 if test "$ac_cv_sys_largefile_CC" != no
; then
5366 CC
=$CC$ac_cv_sys_largefile_CC
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5370 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5371 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5372 $as_echo_n "(cached) " >&6
5375 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5376 /* end confdefs.h. */
5377 #include <sys/types.h>
5378 /* Check that off_t can represent 2**63 - 1 correctly.
5379 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5380 since some C++ compilers masquerading as C compilers
5381 incorrectly reject 9223372036854775807. */
5382 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5383 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5384 && LARGE_OFF_T % 2147483647 == 1)
5394 if ac_fn_c_try_compile
"$LINENO"; then :
5395 ac_cv_sys_file_offset_bits
=no
; break
5397 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5398 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5399 /* end confdefs.h. */
5400 #define _FILE_OFFSET_BITS 64
5401 #include <sys/types.h>
5402 /* Check that off_t can represent 2**63 - 1 correctly.
5403 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5404 since some C++ compilers masquerading as C compilers
5405 incorrectly reject 9223372036854775807. */
5406 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5407 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5408 && LARGE_OFF_T % 2147483647 == 1)
5418 if ac_fn_c_try_compile
"$LINENO"; then :
5419 ac_cv_sys_file_offset_bits
=64; break
5421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5422 ac_cv_sys_file_offset_bits
=unknown
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5427 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5428 case $ac_cv_sys_file_offset_bits in #(
5431 cat >>confdefs.h
<<_ACEOF
5432 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5437 if test $ac_cv_sys_file_offset_bits = unknown
; then
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5439 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5440 if ${ac_cv_sys_large_files+:} false
; then :
5441 $as_echo_n "(cached) " >&6
5444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5446 #include <sys/types.h>
5447 /* Check that off_t can represent 2**63 - 1 correctly.
5448 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5449 since some C++ compilers masquerading as C compilers
5450 incorrectly reject 9223372036854775807. */
5451 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5452 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5453 && LARGE_OFF_T % 2147483647 == 1)
5463 if ac_fn_c_try_compile
"$LINENO"; then :
5464 ac_cv_sys_large_files
=no
; break
5466 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5467 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5468 /* end confdefs.h. */
5469 #define _LARGE_FILES 1
5470 #include <sys/types.h>
5471 /* Check that off_t can represent 2**63 - 1 correctly.
5472 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5473 since some C++ compilers masquerading as C compilers
5474 incorrectly reject 9223372036854775807. */
5475 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5476 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5477 && LARGE_OFF_T % 2147483647 == 1)
5487 if ac_fn_c_try_compile
"$LINENO"; then :
5488 ac_cv_sys_large_files
=1; break
5490 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5491 ac_cv_sys_large_files
=unknown
5495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5496 $as_echo "$ac_cv_sys_large_files" >&6; }
5497 case $ac_cv_sys_large_files in #(
5500 cat >>confdefs.h
<<_ACEOF
5501 #define _LARGE_FILES $ac_cv_sys_large_files
5513 ac_cpp
='$CPP $CPPFLAGS'
5514 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5515 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5516 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5518 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5519 # On Suns, sometimes $CPP names a directory.
5520 if test -n "$CPP" && test -d "$CPP"; then
5523 if test -z "$CPP"; then
5524 if ${ac_cv_prog_CPP+:} false
; then :
5525 $as_echo_n "(cached) " >&6
5527 # Double quotes because CPP needs to be expanded
5528 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5531 for ac_c_preproc_warn_flag
in '' yes
5533 # Use a header file that comes with gcc, so configuring glibc
5534 # with a fresh cross-compiler works.
5535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5536 # <limits.h> exists even on freestanding compilers.
5537 # On the NeXT, cc -E runs the code through the compiler's parser,
5538 # not just through cpp. "Syntax error" is here to catch this case.
5539 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5540 /* end confdefs.h. */
5542 # include <limits.h>
5544 # include <assert.h>
5548 if ac_fn_c_try_cpp
"$LINENO"; then :
5551 # Broken: fails on valid input.
5554 rm -f conftest.err conftest.i conftest.
$ac_ext
5556 # OK, works on sane cases. Now check whether nonexistent headers
5557 # can be detected and how.
5558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5559 /* end confdefs.h. */
5560 #include <ac_nonexistent.h>
5562 if ac_fn_c_try_cpp
"$LINENO"; then :
5563 # Broken: success on invalid input.
5566 # Passes both tests.
5570 rm -f conftest.err conftest.i conftest.
$ac_ext
5573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5574 rm -f conftest.i conftest.err conftest.
$ac_ext
5575 if $ac_preproc_ok; then :
5587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5588 $as_echo "$CPP" >&6; }
5590 for ac_c_preproc_warn_flag
in '' yes
5592 # Use a header file that comes with gcc, so configuring glibc
5593 # with a fresh cross-compiler works.
5594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5595 # <limits.h> exists even on freestanding compilers.
5596 # On the NeXT, cc -E runs the code through the compiler's parser,
5597 # not just through cpp. "Syntax error" is here to catch this case.
5598 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5599 /* end confdefs.h. */
5601 # include <limits.h>
5603 # include <assert.h>
5607 if ac_fn_c_try_cpp
"$LINENO"; then :
5610 # Broken: fails on valid input.
5613 rm -f conftest.err conftest.i conftest.
$ac_ext
5615 # OK, works on sane cases. Now check whether nonexistent headers
5616 # can be detected and how.
5617 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5618 /* end confdefs.h. */
5619 #include <ac_nonexistent.h>
5621 if ac_fn_c_try_cpp
"$LINENO"; then :
5622 # Broken: success on invalid input.
5625 # Passes both tests.
5629 rm -f conftest.err conftest.i conftest.
$ac_ext
5632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5633 rm -f conftest.i conftest.err conftest.
$ac_ext
5634 if $ac_preproc_ok; then :
5637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5639 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5640 See \`config.log' for more details" "$LINENO" 5; }
5644 ac_cpp
='$CPP $CPPFLAGS'
5645 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5646 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5647 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5651 $as_echo_n "checking for ANSI C header files... " >&6; }
5652 if ${ac_cv_header_stdc+:} false
; then :
5653 $as_echo_n "(cached) " >&6
5655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5656 /* end confdefs.h. */
5670 if ac_fn_c_try_compile
"$LINENO"; then :
5671 ac_cv_header_stdc
=yes
5673 ac_cv_header_stdc
=no
5675 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5677 if test $ac_cv_header_stdc = yes; then
5678 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5679 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5680 /* end confdefs.h. */
5684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5685 $EGREP "memchr" >/dev
/null
2>&1; then :
5688 ac_cv_header_stdc
=no
5694 if test $ac_cv_header_stdc = yes; then
5695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5696 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5702 $EGREP "free" >/dev
/null
2>&1; then :
5705 ac_cv_header_stdc
=no
5711 if test $ac_cv_header_stdc = yes; then
5712 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5713 if test "$cross_compiling" = yes; then :
5716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5717 /* end confdefs.h. */
5720 #if ((' ' & 0x0FF) == 0x020)
5721 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5722 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5724 # define ISLOWER(c) \
5725 (('a' <= (c) && (c) <= 'i') \
5726 || ('j' <= (c) && (c) <= 'r') \
5727 || ('s' <= (c) && (c) <= 'z'))
5728 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5731 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5736 for (i = 0; i < 256; i++)
5737 if (XOR (islower (i), ISLOWER (i))
5738 || toupper (i) != TOUPPER (i))
5743 if ac_fn_c_try_run
"$LINENO"; then :
5746 ac_cv_header_stdc
=no
5748 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5749 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5755 $as_echo "$ac_cv_header_stdc" >&6; }
5756 if test $ac_cv_header_stdc = yes; then
5758 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5762 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5763 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5764 inttypes.h stdint.h unistd.h
5766 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5767 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5769 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5770 cat >>confdefs.h
<<_ACEOF
5771 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5781 ApplicationServices
/ApplicationServices.h \
5782 AudioToolbox
/AudioConverter.h \
5783 AudioUnit
/AudioUnit.h \
5784 AudioUnit
/AudioComponent.h \
5787 CoreAudio
/CoreAudio.h \
5788 CoreServices
/CoreServices.h \
5789 DiskArbitration
/DiskArbitration.h \
5791 IOKit
/hid
/IOHIDLib.h \
5794 QuickTime
/ImageCompression.h \
5795 Security
/Security.h \
5809 fontconfig
/fontconfig.h \
5848 netinet
/in_systm.h \
5913 valgrind
/memcheck.h \
5914 valgrind
/valgrind.h \
5918 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5919 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5920 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5921 cat >>confdefs.h
<<_ACEOF
5922 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5930 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5931 if ${ac_cv_header_stat_broken+:} false
; then :
5932 $as_echo_n "(cached) " >&6
5934 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5935 /* end confdefs.h. */
5936 #include <sys/types.h>
5937 #include <sys/stat.h>
5939 #if defined S_ISBLK && defined S_IFDIR
5940 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5943 #if defined S_ISBLK && defined S_IFCHR
5944 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5947 #if defined S_ISLNK && defined S_IFREG
5948 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5951 #if defined S_ISSOCK && defined S_IFREG
5952 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5956 if ac_fn_c_try_compile
"$LINENO"; then :
5957 ac_cv_header_stat_broken
=no
5959 ac_cv_header_stat_broken
=yes
5961 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5964 $as_echo "$ac_cv_header_stat_broken" >&6; }
5965 if test $ac_cv_header_stat_broken = yes; then
5967 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5973 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5975 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5976 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
5977 #ifdef HAVE_SYS_PARAM_H
5978 # include <sys/param.h>
5981 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5982 cat >>confdefs.h
<<_ACEOF
5983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5998 netinet
/if_ether.h \
5999 netinet
/if_inarp.h \
6007 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6008 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6009 #ifdef HAVE_SYS_SOCKET_H
6010 # include <sys/socket.h>
6012 #ifdef HAVE_SYS_SOCKETVAR_H
6013 # include <sys/socketvar.h>
6015 #ifdef HAVE_NET_ROUTE_H
6016 # include <net/route.h>
6018 #ifdef HAVE_NETINET_IN_H
6019 # include <netinet/in.h>
6021 #ifdef HAVE_NETINET_IN_SYSTM_H
6022 # include <netinet/in_systm.h>
6024 #ifdef HAVE_NET_IF_H
6025 # include <net/if.h>
6027 #ifdef HAVE_NETINET_IP_H
6028 # include <netinet/ip.h>
6031 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6032 cat >>confdefs.h
<<_ACEOF
6033 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6041 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6043 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6044 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6048 #ifdef HAVE_SYS_SOCKET_H
6049 # include <sys/socket.h>
6051 #ifdef HAVE_SYS_SOCKETVAR_H
6052 # include <sys/socketvar.h>
6054 #ifdef HAVE_SYS_TIMEOUT_H
6055 # include <sys/timeout.h>
6057 #ifdef HAVE_NETINET_IN_H
6058 # include <netinet/in.h>
6060 #ifdef HAVE_NETINET_IN_SYSTM_H
6061 # include <netinet/in_systm.h>
6063 #ifdef HAVE_NETINET_IP_H
6064 # include <netinet/ip.h>
6066 #ifdef HAVE_NETINET_IP_VAR_H
6067 # include <netinet/ip_var.h>
6069 #ifdef HAVE_NETINET_IP_ICMP_H
6070 # include <netinet/ip_icmp.h>
6072 #ifdef HAVE_NETINET_UDP_H
6073 # include <netinet/udp.h>
6075 #ifdef HAVE_NETINET_TCP_H
6076 # include <netinet/tcp.h>
6078 #ifdef HAVE_NETINET_TCP_TIMER_H
6079 #include <netinet/tcp_timer.h>
6082 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6083 cat >>confdefs.h
<<_ACEOF
6084 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6092 for ac_header
in linux
/ipx.h linux
/irda.h
6094 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6095 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6096 #ifdef HAVE_ASM_TYPES_H
6097 # include <asm/types.h>
6099 #ifdef HAVE_SYS_SOCKET_H
6100 # include <sys/socket.h>
6102 #ifdef HAVE_LINUX_TYPES_H
6103 # include <linux/types.h>
6106 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6107 cat >>confdefs.h
<<_ACEOF
6108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6116 for ac_header
in mach-o
/dyld_images.h
6118 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6119 # include <stdbool.h>
6121 #ifdef HAVE_STDINT_H
6122 # include <stdint.h>
6125 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6126 cat >>confdefs.h
<<_ACEOF
6127 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6135 for ac_header
in resolv.h
6137 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6138 #ifdef HAVE_SYS_SOCKET_H
6139 # include <sys/socket.h>
6141 #ifdef HAVE_NETINET_IN_H
6142 # include <netinet/in.h>
6144 #ifdef HAVE_ARPA_NAMESER_H
6145 # include <arpa/nameser.h>
6148 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6149 cat >>confdefs.h
<<_ACEOF
6150 #define HAVE_RESOLV_H 1
6158 for ac_header
in ifaddrs.h
6160 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6162 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6163 cat >>confdefs.h
<<_ACEOF
6164 #define HAVE_IFADDRS_H 1
6172 for ac_header
in ucontext.h
6174 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6176 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6177 cat >>confdefs.h
<<_ACEOF
6178 #define HAVE_UCONTEXT_H 1
6186 for ac_header
in sys
/thr.h
6188 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6189 #ifdef HAVE_UCONTEXT_H
6190 #include <ucontext.h>
6193 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6194 cat >>confdefs.h
<<_ACEOF
6195 #define HAVE_SYS_THR_H 1
6203 for ac_header
in pthread_np.h
6205 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6206 #include <pthread.h>
6209 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6210 cat >>confdefs.h
<<_ACEOF
6211 #define HAVE_PTHREAD_NP_H 1
6219 for ac_header
in linux
/videodev.h linux
/videodev2.h
6221 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6222 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6223 #include <sys/time.h>
6225 #include <sys/types.h>
6226 #ifdef HAVE_ASM_TYPES_H
6227 #include <asm/types.h>
6230 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6231 cat >>confdefs.h
<<_ACEOF
6232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6240 for ac_header
in linux
/capi.h
6242 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6244 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6245 cat >>confdefs.h
<<_ACEOF
6246 #define HAVE_LINUX_CAPI_H 1
6257 DLLFLAGS
="-D_REENTRANT"
6271 STATIC_IMPLIBEXT
="def.a"
6272 # Extract the first word of "ldd", so it can be a program name with args.
6273 set dummy ldd
; ac_word
=$2
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6275 $as_echo_n "checking for $ac_word... " >&6; }
6276 if ${ac_cv_path_LDD+:} false
; then :
6277 $as_echo_n "(cached) " >&6
6281 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6284 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6285 as_dummy
="/sbin:/usr/sbin:$PATH"
6286 for as_dir
in $as_dummy
6289 test -z "$as_dir" && as_dir
=.
6290 for ac_exec_ext
in '' $ac_executable_extensions; do
6291 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6292 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6305 if test -n "$LDD"; then
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6307 $as_echo "$LDD" >&6; }
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6310 $as_echo "no" >&6; }
6317 if test -n "$ac_tool_prefix"; then
6318 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6319 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6321 $as_echo_n "checking for $ac_word... " >&6; }
6322 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6323 $as_echo_n "(cached) " >&6
6325 if test -n "$DLLTOOL"; then
6326 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6328 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6332 test -z "$as_dir" && as_dir
=.
6333 for ac_exec_ext
in '' $ac_executable_extensions; do
6334 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6335 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6336 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6345 DLLTOOL
=$ac_cv_prog_DLLTOOL
6346 if test -n "$DLLTOOL"; then
6347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6348 $as_echo "$DLLTOOL" >&6; }
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6351 $as_echo "no" >&6; }
6356 if test -z "$ac_cv_prog_DLLTOOL"; then
6357 ac_ct_DLLTOOL
=$DLLTOOL
6358 # Extract the first word of "dlltool", so it can be a program name with args.
6359 set dummy dlltool
; ac_word
=$2
6360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6361 $as_echo_n "checking for $ac_word... " >&6; }
6362 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6363 $as_echo_n "(cached) " >&6
6365 if test -n "$ac_ct_DLLTOOL"; then
6366 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6368 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6372 test -z "$as_dir" && as_dir
=.
6373 for ac_exec_ext
in '' $ac_executable_extensions; do
6374 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6375 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6386 if test -n "$ac_ct_DLLTOOL"; then
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6388 $as_echo "$ac_ct_DLLTOOL" >&6; }
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6391 $as_echo "no" >&6; }
6394 if test "x$ac_ct_DLLTOOL" = x
; then
6397 case $cross_compiling:$ac_tool_warned in
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6400 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6401 ac_tool_warned
=yes ;;
6403 DLLTOOL
=$ac_ct_DLLTOOL
6406 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6409 if test -n "$ac_tool_prefix"; then
6410 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6411 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6413 $as_echo_n "checking for $ac_word... " >&6; }
6414 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6415 $as_echo_n "(cached) " >&6
6417 if test -n "$DLLWRAP"; then
6418 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6420 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6424 test -z "$as_dir" && as_dir
=.
6425 for ac_exec_ext
in '' $ac_executable_extensions; do
6426 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6427 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6428 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6437 DLLWRAP
=$ac_cv_prog_DLLWRAP
6438 if test -n "$DLLWRAP"; then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6440 $as_echo "$DLLWRAP" >&6; }
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6443 $as_echo "no" >&6; }
6448 if test -z "$ac_cv_prog_DLLWRAP"; then
6449 ac_ct_DLLWRAP
=$DLLWRAP
6450 # Extract the first word of "dllwrap", so it can be a program name with args.
6451 set dummy dllwrap
; ac_word
=$2
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6453 $as_echo_n "checking for $ac_word... " >&6; }
6454 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6455 $as_echo_n "(cached) " >&6
6457 if test -n "$ac_ct_DLLWRAP"; then
6458 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6460 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6464 test -z "$as_dir" && as_dir
=.
6465 for ac_exec_ext
in '' $ac_executable_extensions; do
6466 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6467 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6477 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6478 if test -n "$ac_ct_DLLWRAP"; then
6479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6480 $as_echo "$ac_ct_DLLWRAP" >&6; }
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6483 $as_echo "no" >&6; }
6486 if test "x$ac_ct_DLLWRAP" = x
; then
6489 case $cross_compiling:$ac_tool_warned in
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6492 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6493 ac_tool_warned
=yes ;;
6495 DLLWRAP
=$ac_ct_DLLWRAP
6498 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6501 if test "$DLLWRAP" = "false"; then
6507 STATIC_IMPLIBEXT
="a"
6508 enable_iphlpapi
=${enable_iphlpapi:-no}
6509 enable_kernel32
=${enable_kernel32:-no}
6510 enable_msvcrt
=${enable_msvcrt:-no}
6511 enable_ntdll
=${enable_ntdll:-no}
6512 enable_ws2_32
=${enable_ws2_32:-no}
6513 enable_loader
=${enable_loader:-no}
6514 enable_server
=${enable_server:-no}
6515 with_x
=${with_x:-no}
6516 with_pthread
=${with_pthread:-no}
6521 DLLFLAGS
="$DLLFLAGS -fPIC"
6522 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6523 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6524 LDSHARED
="\$(CC) -dynamiclib"
6525 LDRPATH_LOCAL
="&& install_name_tool -change @executable_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`/libwine.1.dylib @executable_path/\$(top_builddir)/libs/wine/libwine.1.dylib \$@ || \$(RM) \$@"
6526 COREFOUNDATIONLIB
="-framework CoreFoundation"
6528 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6530 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6532 CORESERVICESLIB
="-framework CoreServices"
6536 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6539 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000"
6542 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6544 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6547 if test "$ac_cv_header_Security_Security_h" = "yes"
6549 SECURITYLIB
="-framework Security -framework CoreFoundation"
6551 ac_save_LIBS
="$LIBS"
6552 LIBS
="$LIBS $SECURITYLIB"
6553 for ac_func
in SSLCopyPeerCertificates
6555 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6556 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6557 cat >>confdefs.h
<<_ACEOF
6558 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6564 LIBS
="$ac_save_LIBS"
6565 with_gnutls
=${with_gnutls:-no}
6567 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6569 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6571 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6574 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6577 ac_save_LIBS
="$LIBS"
6578 LIBS
="$LIBS $COREAUDIO"
6579 for ac_func
in AUGraphAddNode
6581 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6582 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6583 cat >>confdefs.h
<<_ACEOF
6584 #define HAVE_AUGRAPHADDNODE 1
6590 LIBS
="$ac_save_LIBS"
6592 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6594 FRAMEWORK_OPENAL
="-framework OpenAL"
6597 cat >>confdefs.h
<<_ACEOF
6598 #define HAVE_OPENAL 1
6601 ac_cv_lib_openal
=yes
6603 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6605 LIBOPENCL
="-framework OpenCL"
6607 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6609 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6611 ac_save_LIBS
="$LIBS"
6612 LIBS
="$LIBS $IOKITLIB"
6613 for ac_func
in IOHIDManagerCreate
6615 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6616 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6617 cat >>confdefs.h
<<_ACEOF
6618 #define HAVE_IOHIDMANAGERCREATE 1
6624 LIBS
="$ac_save_LIBS"
6628 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6630 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6632 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6634 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6636 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6638 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6640 CARBONLIB
="-framework Carbon"
6642 enable_winequartz_drv
=${enable_winequartz_drv:-yes}
6644 if test "x$enable_win16" = "xyes"
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6647 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6648 if test "$cross_compiling" = yes; then :
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6650 $as_echo "cross-compiling, assuming yes" >&6; }
6652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6653 /* end confdefs.h. */
6656 "good:\tnop;nop\n\t"
6657 ".globl _testfunc\n"
6658 "_testfunc:\tcallw good");
6659 extern void testfunc();
6663 unsigned short *p = (unsigned short *)testfunc;
6664 return p[0] != 0xe866 || p[1] != 0xfffa
6669 if ac_fn_c_try_run
"$LINENO"; then :
6670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6671 $as_echo "yes" >&6; }
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 $as_echo "no" >&6; }
6675 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
6677 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6678 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6684 DLLFLAGS
="$DLLFLAGS -fPIC"
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
6687 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
6688 if ${ac_cv_c_dll_gnuelf+:} false
; then :
6689 $as_echo_n "(cached) " >&6
6691 ac_wine_try_cflags_saved
=$CFLAGS
6692 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
6693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6694 /* end confdefs.h. */
6697 if ac_fn_c_try_link
"$LINENO"; then :
6698 ac_cv_c_dll_gnuelf
="yes"
6700 ac_cv_c_dll_gnuelf
="no"
6702 rm -f core conftest.err conftest.
$ac_objext \
6703 conftest
$ac_exeext conftest.
$ac_ext
6704 CFLAGS
=$ac_wine_try_cflags_saved
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
6707 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
6708 if test "$ac_cv_c_dll_gnuelf" = "yes"
6710 LDSHARED
="\$(CC) -shared"
6711 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
6713 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
6714 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
6715 $as_echo_n "(cached) " >&6
6717 ac_wine_try_cflags_saved
=$CFLAGS
6718 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
6719 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 int main(int argc, char **argv) { return 0; }
6723 if ac_fn_c_try_link
"$LINENO"; then :
6724 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
6726 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
6728 rm -f core conftest.err conftest.
$ac_objext \
6729 conftest
$ac_exeext conftest.
$ac_ext
6730 CFLAGS
=$ac_wine_try_cflags_saved
6732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
6733 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
6734 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
6735 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-soname,%)"
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
6738 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
6739 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
6740 $as_echo_n "(cached) " >&6
6742 ac_wine_try_cflags_saved
=$CFLAGS
6743 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
6744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6745 /* end confdefs.h. */
6746 int main(int argc, char **argv) { return 0; }
6748 if ac_fn_c_try_link
"$LINENO"; then :
6749 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
6751 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
6753 rm -f core conftest.err conftest.
$ac_objext \
6754 conftest
$ac_exeext conftest.
$ac_ext
6755 CFLAGS
=$ac_wine_try_cflags_saved
6757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
6758 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
6759 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
6760 LDSHARED
="\$(CC) -shared \$(SONAME:%=-Wl,-h,%)"
6764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6765 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6766 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6767 $as_echo_n "(cached) " >&6
6769 ac_wine_try_cflags_saved
=$CFLAGS
6770 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6771 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6772 /* end confdefs.h. */
6773 int main(int argc, char **argv) { return 0; }
6775 if ac_fn_c_try_link
"$LINENO"; then :
6776 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6778 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6780 rm -f core conftest.err conftest.
$ac_objext \
6781 conftest
$ac_exeext conftest.
$ac_ext
6782 CFLAGS
=$ac_wine_try_cflags_saved
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6785 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6786 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6787 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6790 { $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
6791 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6792 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6793 $as_echo_n "(cached) " >&6
6795 ac_wine_try_cflags_saved
=$CFLAGS
6796 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6797 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6799 int main(int argc, char **argv) { return 0; }
6801 if ac_fn_c_try_link
"$LINENO"; then :
6802 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6804 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6806 rm -f core conftest.err conftest.
$ac_objext \
6807 conftest
$ac_exeext conftest.
$ac_ext
6808 CFLAGS
=$ac_wine_try_cflags_saved
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6811 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6812 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6813 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6816 echo '{ global: *; };' >conftest.map
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
6818 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
6819 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
6820 $as_echo_n "(cached) " >&6
6822 ac_wine_try_cflags_saved
=$CFLAGS
6823 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
6824 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6825 /* end confdefs.h. */
6826 int main(int argc, char **argv) { return 0; }
6828 if ac_fn_c_try_link
"$LINENO"; then :
6829 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
6831 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
6833 rm -f core conftest.err conftest.
$ac_objext \
6834 conftest
$ac_exeext conftest.
$ac_ext
6835 CFLAGS
=$ac_wine_try_cflags_saved
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
6838 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
6839 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
6840 LDSHARED
="$LDSHARED \$(VERSCRIPT:%=-Wl,--version-script=%)"
6844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6845 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6846 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6847 $as_echo_n "(cached) " >&6
6849 ac_wine_try_cflags_saved
=$CFLAGS
6850 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
6851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6852 /* end confdefs.h. */
6853 int main(int argc, char **argv) { return 0; }
6855 if ac_fn_c_try_link
"$LINENO"; then :
6856 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
6858 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
6860 rm -f core conftest.err conftest.
$ac_objext \
6861 conftest
$ac_exeext conftest.
$ac_ext
6862 CFLAGS
=$ac_wine_try_cflags_saved
6864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
6865 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6866 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6867 LDEXECFLAGS
="-Wl,--export-dynamic"
6871 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6873 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6874 if eval \
${$as_ac_var+:} false
; then :
6875 $as_echo_n "(cached) " >&6
6877 ac_wine_try_cflags_saved
=$CFLAGS
6878 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6880 /* end confdefs.h. */
6881 int main(int argc, char **argv) { return 0; }
6883 if ac_fn_c_try_link
"$LINENO"; then :
6884 eval "$as_ac_var=yes"
6886 eval "$as_ac_var=no"
6888 rm -f core conftest.err conftest.
$ac_objext \
6889 conftest
$ac_exeext conftest.
$ac_ext
6890 CFLAGS
=$ac_wine_try_cflags_saved
6892 eval ac_res
=\$
$as_ac_var
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6894 $as_echo "$ac_res" >&6; }
6895 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6896 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6897 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6899 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6901 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6902 if eval \
${$as_ac_var+:} false
; then :
6903 $as_echo_n "(cached) " >&6
6905 ac_wine_try_cflags_saved
=$CFLAGS
6906 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6907 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6908 /* end confdefs.h. */
6909 int main(int argc, char **argv) { return 0; }
6911 if ac_fn_c_try_link
"$LINENO"; then :
6912 eval "$as_ac_var=yes"
6914 eval "$as_ac_var=no"
6916 rm -f core conftest.err conftest.
$ac_objext \
6917 conftest
$ac_exeext conftest.
$ac_ext
6918 CFLAGS
=$ac_wine_try_cflags_saved
6920 eval ac_res
=\$
$as_ac_var
6921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6922 $as_echo "$ac_res" >&6; }
6923 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6924 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6925 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
6930 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
6931 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
6932 $as_echo_n "(cached) " >&6
6934 ac_wine_try_cflags_saved
=$CFLAGS
6935 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
6936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 int main(int argc, char **argv) { return 0; }
6940 if ac_fn_c_try_link
"$LINENO"; then :
6941 ac_cv_cflags__Wl___enable_new_dtags
=yes
6943 ac_cv_cflags__Wl___enable_new_dtags
=no
6945 rm -f core conftest.err conftest.
$ac_objext \
6946 conftest
$ac_exeext conftest.
$ac_ext
6947 CFLAGS
=$ac_wine_try_cflags_saved
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
6950 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
6951 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
6952 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
6956 *i
[3456789]86* | x86_64
)
6957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
6958 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
6959 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
6960 $as_echo_n "(cached) " >&6
6962 ac_wine_try_cflags_saved
=$CFLAGS
6963 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
6964 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6965 /* end confdefs.h. */
6966 int main(int argc, char **argv) { return 0; }
6968 if ac_fn_c_try_link
"$LINENO"; then :
6969 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
6971 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
6973 rm -f core conftest.err conftest.
$ac_objext \
6974 conftest
$ac_exeext conftest.
$ac_ext
6975 CFLAGS
=$ac_wine_try_cflags_saved
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
6978 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
6979 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
6981 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
6982 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
6986 # Extract the first word of "prelink", so it can be a program name with args.
6987 set dummy prelink
; ac_word
=$2
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6989 $as_echo_n "checking for $ac_word... " >&6; }
6990 if ${ac_cv_path_PRELINK+:} false
; then :
6991 $as_echo_n "(cached) " >&6
6995 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
6998 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6999 for as_dir
in /sbin
/usr
/sbin
$PATH
7002 test -z "$as_dir" && as_dir
=.
7003 for ac_exec_ext
in '' $ac_executable_extensions; do
7004 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7005 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7013 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7017 PRELINK
=$ac_cv_path_PRELINK
7018 if test -n "$PRELINK"; then
7019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7020 $as_echo "$PRELINK" >&6; }
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7023 $as_echo "no" >&6; }
7027 if test "x$PRELINK" = xfalse
7029 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7036 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7037 if ${ac_cv_c_dll_unixware+:} false
; then :
7038 $as_echo_n "(cached) " >&6
7040 ac_wine_try_cflags_saved
=$CFLAGS
7041 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7042 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7043 /* end confdefs.h. */
7046 if ac_fn_c_try_link
"$LINENO"; then :
7047 ac_cv_c_dll_unixware
="yes"
7049 ac_cv_c_dll_unixware
="no"
7051 rm -f core conftest.err conftest.
$ac_objext \
7052 conftest
$ac_exeext conftest.
$ac_ext
7053 CFLAGS
=$ac_wine_try_cflags_saved
7055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7056 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7057 if test "$ac_cv_c_dll_unixware" = "yes"
7059 LDSHARED
="\$(CC) -Wl,-G \$(SONAME:%=-Wl,-h,%)"
7060 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build an HP-UX dll" >&5
7064 $as_echo_n "checking whether we can build an HP-UX dll... " >&6; }
7065 if ${ac_cv_c_dll_hpux+:} false
; then :
7066 $as_echo_n "(cached) " >&6
7068 ac_wine_try_cflags_saved
=$CFLAGS
7069 CFLAGS
="$CFLAGS -shared"
7070 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7071 /* end confdefs.h. */
7074 if ac_fn_c_try_link
"$LINENO"; then :
7075 ac_cv_c_dll_hpux
="yes"
7077 ac_cv_c_dll_hpux
="no"
7079 rm -f core conftest.err conftest.
$ac_objext \
7080 conftest
$ac_exeext conftest.
$ac_ext
7081 CFLAGS
=$ac_wine_try_cflags_saved
7083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_hpux" >&5
7084 $as_echo "$ac_cv_c_dll_hpux" >&6; }
7085 if test "$ac_cv_c_dll_hpux" = "yes"
7089 LDDLLFLAGS
="-shared -fPIC"
7090 LDSHARED
="\$(CC) -shared"
7097 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7098 enable_winequartz_drv
=${enable_winequartz_drv:-no}
7100 if test "$LIBEXT" = "a"; then
7101 as_fn_error $?
"could not find a way to build shared libraries.
7102 It is currently not possible to build Wine without shared library
7103 (.so) support to allow transparent switch between .so and .dll files.
7104 If you are using Linux, you will need a newer binutils.
7108 CROSSTEST_DISABLE
=\
#
7110 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7114 ac_prefix_list
="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc " ;;
7116 ac_prefix_list
="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc " ;;
7118 ac_prefix_list
="" ;;
7120 for ac_prog
in $ac_prefix_list
7122 # Extract the first word of "$ac_prog", so it can be a program name with args.
7123 set dummy
$ac_prog; ac_word
=$2
7124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7125 $as_echo_n "checking for $ac_word... " >&6; }
7126 if ${ac_cv_prog_CROSSCC+:} false
; then :
7127 $as_echo_n "(cached) " >&6
7129 if test -n "$CROSSCC"; then
7130 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7136 test -z "$as_dir" && as_dir
=.
7137 for ac_exec_ext
in '' $ac_executable_extensions; do
7138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7139 ac_cv_prog_CROSSCC
="$ac_prog"
7140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7149 CROSSCC
=$ac_cv_prog_CROSSCC
7150 if test -n "$CROSSCC"; then
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7152 $as_echo "$CROSSCC" >&6; }
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7155 $as_echo "no" >&6; }
7159 test -n "$CROSSCC" && break
7161 test -n "$CROSSCC" || CROSSCC
="false"
7163 if test "$CROSSCC" != "false"
7167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7168 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7169 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7170 /* end confdefs.h. */
7180 if ac_fn_c_try_compile
"$LINENO"; then :
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7182 $as_echo "yes" >&6; }
7189 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7193 if test -n "$target"
7195 CROSSTEST_DISABLE
=""
7196 CROSSTARGET
="$target"
7200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7201 $as_echo "no" >&6; }
7203 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7209 if test "$ac_cv_header_pthread_h" = "yes"
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7212 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7213 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7214 $as_echo_n "(cached) " >&6
7216 ac_check_lib_save_LIBS
=$LIBS
7217 LIBS
="-lpthread $LIBS"
7218 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7219 /* end confdefs.h. */
7221 /* Override any GCC internal prototype to avoid an error.
7222 Use char because int might match the return type of a GCC
7223 builtin and then its argument prototype would still apply. */
7227 char pthread_create ();
7231 return pthread_create ();
7236 if ac_fn_c_try_link
"$LINENO"; then :
7237 ac_cv_lib_pthread_pthread_create
=yes
7239 ac_cv_lib_pthread_pthread_create
=no
7241 rm -f core conftest.err conftest.
$ac_objext \
7242 conftest
$ac_exeext conftest.
$ac_ext
7243 LIBS
=$ac_check_lib_save_LIBS
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7246 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7247 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7248 LIBPTHREAD
="-lpthread"
7253 if test "x$LIBPTHREAD" = "x"; then :
7254 case "x$with_pthread" in
7256 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7257 Wine cannot support threads without libpthread.
7258 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7264 $as_echo_n "checking for X... " >&6; }
7267 # Check whether --with-x was given.
7268 if test "${with_x+set}" = set; then :
7272 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7273 if test "x$with_x" = xno
; then
7274 # The user explicitly disabled X.
7277 case $x_includes,$x_libraries in #(
7278 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7279 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7280 $as_echo_n "(cached) " >&6
7282 # One or both of the vars are not set, and there is no cached value.
7283 ac_x_includes
=no ac_x_libraries
=no
7284 rm -f -r conftest.dir
7285 if mkdir conftest.dir
; then
7287 cat >Imakefile
<<'_ACEOF'
7289 @echo incroot='${INCROOT}'
7291 @echo usrlibdir='${USRLIBDIR}'
7293 @echo libdir='${LIBDIR}'
7295 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7296 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7297 for ac_var
in incroot usrlibdir libdir
; do
7298 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7300 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7301 for ac_extension
in a so sl dylib la dll
; do
7302 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7303 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7304 ac_im_usrlibdir
=$ac_im_libdir; break
7307 # Screen out bogus values from the imake configuration. They are
7308 # bogus both because they are the default anyway, and because
7309 # using them would break gcc on systems where it needs fixed includes.
7310 case $ac_im_incroot in
7311 /usr
/include
) ac_x_includes
= ;;
7312 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7314 case $ac_im_usrlibdir in
7315 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7316 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7320 rm -f -r conftest.dir
7323 # Standard set of common directories for X headers.
7324 # Check X11 before X11Rn because it is often a symlink to the current release.
7338 /usr/local/X11/include
7339 /usr/local/X11R7/include
7340 /usr/local/X11R6/include
7341 /usr/local/X11R5/include
7342 /usr/local/X11R4/include
7344 /usr/local/include/X11
7345 /usr/local/include/X11R7
7346 /usr/local/include/X11R6
7347 /usr/local/include/X11R5
7348 /usr/local/include/X11R4
7352 /usr/XFree86/include/X11
7356 /usr/unsupported/include
7358 /usr/local/x11r5/include
7359 /usr/lpp/Xamples/include
7361 /usr/openwin/include
7362 /usr/openwin/share/include'
7364 if test "$ac_x_includes" = no
; then
7365 # Guess where to find include files, by looking for Xlib.h.
7366 # First, try using that file with no special directory specified.
7367 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7368 /* end confdefs.h. */
7369 #include <X11/Xlib.h>
7371 if ac_fn_c_try_cpp
"$LINENO"; then :
7372 # We can compile using X headers with no special include directory.
7375 for ac_dir
in $ac_x_header_dirs; do
7376 if test -r "$ac_dir/X11/Xlib.h"; then
7377 ac_x_includes
=$ac_dir
7382 rm -f conftest.err conftest.i conftest.
$ac_ext
7383 fi # $ac_x_includes = no
7385 if test "$ac_x_libraries" = no
; then
7386 # Check for the libraries.
7387 # See if we find them without any special options.
7388 # Don't add to $LIBS permanently.
7391 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7392 /* end confdefs.h. */
7393 #include <X11/Xlib.h>
7402 if ac_fn_c_try_link
"$LINENO"; then :
7404 # We can link X programs with no special library path.
7408 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7410 # Don't even attempt the hair of trying to link an X program!
7411 for ac_extension
in a so sl dylib la dll
; do
7412 if test -r "$ac_dir/libX11.$ac_extension"; then
7413 ac_x_libraries
=$ac_dir
7419 rm -f core conftest.err conftest.
$ac_objext \
7420 conftest
$ac_exeext conftest.
$ac_ext
7421 fi # $ac_x_libraries = no
7423 case $ac_x_includes,$ac_x_libraries in #(
7425 # Didn't find X, or a directory has "'" in its name.
7426 ac_cv_have_x
="have_x=no";; #(
7428 # Record where we found X for the cache.
7429 ac_cv_have_x
="have_x=yes\
7430 ac_x_includes='$ac_x_includes'\
7431 ac_x_libraries='$ac_x_libraries'"
7437 eval "$ac_cv_have_x"
7440 if test "$have_x" != yes; then
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7442 $as_echo "$have_x" >&6; }
7445 # If each of the values was on the command line, it overrides each guess.
7446 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7447 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7448 # Update the cache value to reflect the command line values.
7449 ac_cv_have_x
="have_x=yes\
7450 ac_x_includes='$x_includes'\
7451 ac_x_libraries='$x_libraries'"
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7453 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7456 if test "$no_x" = yes; then
7457 # Not all programs may use this symbol, but it does not hurt to define it.
7459 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7461 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7463 if test -n "$x_includes"; then
7464 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7467 # It would also be nice to do this for all -L options, not just this one.
7468 if test -n "$x_libraries"; then
7469 X_LIBS
="$X_LIBS -L$x_libraries"
7470 # For Solaris; some versions of Sun CC require a space after -R and
7471 # others require no space. Words are not sufficient . . . .
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7473 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7474 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7475 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7476 ac_c_werror_flag
=yes
7477 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7478 /* end confdefs.h. */
7488 if ac_fn_c_try_link
"$LINENO"; then :
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7490 $as_echo "no" >&6; }
7491 X_LIBS
="$X_LIBS -R$x_libraries"
7493 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7494 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7495 /* end confdefs.h. */
7505 if ac_fn_c_try_link
"$LINENO"; then :
7506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7507 $as_echo "yes" >&6; }
7508 X_LIBS
="$X_LIBS -R $x_libraries"
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7511 $as_echo "neither works" >&6; }
7513 rm -f core conftest.err conftest.
$ac_objext \
7514 conftest
$ac_exeext conftest.
$ac_ext
7516 rm -f core conftest.err conftest.
$ac_objext \
7517 conftest
$ac_exeext conftest.
$ac_ext
7518 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7522 # Check for system-dependent libraries X programs must link with.
7523 # Do this before checking for the system-independent R6 libraries
7524 # (-lICE), since we may need -lsocket or whatever for X linking.
7526 if test "$ISC" = yes; then
7527 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7529 # Martyn Johnson says this is needed for Ultrix, if the X
7530 # libraries were built with DECnet support. And Karl Berry says
7531 # the Alpha needs dnet_stub (dnet does not exist).
7532 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7534 /* end confdefs.h. */
7536 /* Override any GCC internal prototype to avoid an error.
7537 Use char because int might match the return type of a GCC
7538 builtin and then its argument prototype would still apply. */
7542 char XOpenDisplay ();
7546 return XOpenDisplay ();
7551 if ac_fn_c_try_link
"$LINENO"; then :
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7555 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7556 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7557 $as_echo_n "(cached) " >&6
7559 ac_check_lib_save_LIBS
=$LIBS
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7564 /* Override any GCC internal prototype to avoid an error.
7565 Use char because int might match the return type of a GCC
7566 builtin and then its argument prototype would still apply. */
7574 return dnet_ntoa ();
7579 if ac_fn_c_try_link
"$LINENO"; then :
7580 ac_cv_lib_dnet_dnet_ntoa
=yes
7582 ac_cv_lib_dnet_dnet_ntoa
=no
7584 rm -f core conftest.err conftest.
$ac_objext \
7585 conftest
$ac_exeext conftest.
$ac_ext
7586 LIBS
=$ac_check_lib_save_LIBS
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7589 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7590 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7591 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7594 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7596 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7597 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7598 $as_echo_n "(cached) " >&6
7600 ac_check_lib_save_LIBS
=$LIBS
7601 LIBS
="-ldnet_stub $LIBS"
7602 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7603 /* end confdefs.h. */
7605 /* Override any GCC internal prototype to avoid an error.
7606 Use char because int might match the return type of a GCC
7607 builtin and then its argument prototype would still apply. */
7615 return dnet_ntoa ();
7620 if ac_fn_c_try_link
"$LINENO"; then :
7621 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
7623 ac_cv_lib_dnet_stub_dnet_ntoa
=no
7625 rm -f core conftest.err conftest.
$ac_objext \
7626 conftest
$ac_exeext conftest.
$ac_ext
7627 LIBS
=$ac_check_lib_save_LIBS
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
7630 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
7631 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
7632 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7637 rm -f core conftest.err conftest.
$ac_objext \
7638 conftest
$ac_exeext conftest.
$ac_ext
7639 LIBS
="$ac_xsave_LIBS"
7641 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7642 # to get the SysV transport functions.
7643 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
7645 # The nsl library prevents programs from opening the X display
7646 # on Irix 5.2, according to T.E. Dickey.
7647 # The functions gethostbyname, getservbyname, and inet_addr are
7648 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
7649 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
7650 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
7654 if test $ac_cv_func_gethostbyname = no
; then
7655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
7656 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
7657 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
7658 $as_echo_n "(cached) " >&6
7660 ac_check_lib_save_LIBS
=$LIBS
7662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7663 /* end confdefs.h. */
7665 /* Override any GCC internal prototype to avoid an error.
7666 Use char because int might match the return type of a GCC
7667 builtin and then its argument prototype would still apply. */
7671 char gethostbyname ();
7675 return gethostbyname ();
7680 if ac_fn_c_try_link
"$LINENO"; then :
7681 ac_cv_lib_nsl_gethostbyname
=yes
7683 ac_cv_lib_nsl_gethostbyname
=no
7685 rm -f core conftest.err conftest.
$ac_objext \
7686 conftest
$ac_exeext conftest.
$ac_ext
7687 LIBS
=$ac_check_lib_save_LIBS
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
7690 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
7691 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
7692 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7695 if test $ac_cv_lib_nsl_gethostbyname = no
; then
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
7697 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
7698 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
7699 $as_echo_n "(cached) " >&6
7701 ac_check_lib_save_LIBS
=$LIBS
7703 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7704 /* end confdefs.h. */
7706 /* Override any GCC internal prototype to avoid an error.
7707 Use char because int might match the return type of a GCC
7708 builtin and then its argument prototype would still apply. */
7712 char gethostbyname ();
7716 return gethostbyname ();
7721 if ac_fn_c_try_link
"$LINENO"; then :
7722 ac_cv_lib_bsd_gethostbyname
=yes
7724 ac_cv_lib_bsd_gethostbyname
=no
7726 rm -f core conftest.err conftest.
$ac_objext \
7727 conftest
$ac_exeext conftest.
$ac_ext
7728 LIBS
=$ac_check_lib_save_LIBS
7730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
7731 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
7732 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
7733 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
7739 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7740 # socket/setsockopt and other routines are undefined under SCO ODT
7741 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7742 # on later versions), says Simon Leinen: it contains gethostby*
7743 # variants that don't use the name server (or something). -lsocket
7744 # must be given before -lnsl if both are needed. We assume that
7745 # if connect needs -lnsl, so does gethostbyname.
7746 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
7747 if test "x$ac_cv_func_connect" = xyes
; then :
7751 if test $ac_cv_func_connect = no
; then
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
7753 $as_echo_n "checking for connect in -lsocket... " >&6; }
7754 if ${ac_cv_lib_socket_connect+:} false
; then :
7755 $as_echo_n "(cached) " >&6
7757 ac_check_lib_save_LIBS
=$LIBS
7758 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7759 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7760 /* end confdefs.h. */
7762 /* Override any GCC internal prototype to avoid an error.
7763 Use char because int might match the return type of a GCC
7764 builtin and then its argument prototype would still apply. */
7777 if ac_fn_c_try_link
"$LINENO"; then :
7778 ac_cv_lib_socket_connect
=yes
7780 ac_cv_lib_socket_connect
=no
7782 rm -f core conftest.err conftest.
$ac_objext \
7783 conftest
$ac_exeext conftest.
$ac_ext
7784 LIBS
=$ac_check_lib_save_LIBS
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
7787 $as_echo "$ac_cv_lib_socket_connect" >&6; }
7788 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
7789 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7794 # Guillermo Gomez says -lposix is necessary on A/UX.
7795 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
7796 if test "x$ac_cv_func_remove" = xyes
; then :
7800 if test $ac_cv_func_remove = no
; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
7802 $as_echo_n "checking for remove in -lposix... " >&6; }
7803 if ${ac_cv_lib_posix_remove+:} false
; then :
7804 $as_echo_n "(cached) " >&6
7806 ac_check_lib_save_LIBS
=$LIBS
7807 LIBS
="-lposix $LIBS"
7808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7811 /* Override any GCC internal prototype to avoid an error.
7812 Use char because int might match the return type of a GCC
7813 builtin and then its argument prototype would still apply. */
7826 if ac_fn_c_try_link
"$LINENO"; then :
7827 ac_cv_lib_posix_remove
=yes
7829 ac_cv_lib_posix_remove
=no
7831 rm -f core conftest.err conftest.
$ac_objext \
7832 conftest
$ac_exeext conftest.
$ac_ext
7833 LIBS
=$ac_check_lib_save_LIBS
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
7836 $as_echo "$ac_cv_lib_posix_remove" >&6; }
7837 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
7838 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7843 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7844 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
7845 if test "x$ac_cv_func_shmat" = xyes
; then :
7849 if test $ac_cv_func_shmat = no
; then
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
7851 $as_echo_n "checking for shmat in -lipc... " >&6; }
7852 if ${ac_cv_lib_ipc_shmat+:} false
; then :
7853 $as_echo_n "(cached) " >&6
7855 ac_check_lib_save_LIBS
=$LIBS
7857 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7858 /* end confdefs.h. */
7860 /* Override any GCC internal prototype to avoid an error.
7861 Use char because int might match the return type of a GCC
7862 builtin and then its argument prototype would still apply. */
7875 if ac_fn_c_try_link
"$LINENO"; then :
7876 ac_cv_lib_ipc_shmat
=yes
7878 ac_cv_lib_ipc_shmat
=no
7880 rm -f core conftest.err conftest.
$ac_objext \
7881 conftest
$ac_exeext conftest.
$ac_ext
7882 LIBS
=$ac_check_lib_save_LIBS
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
7885 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
7886 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
7887 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7893 # Check for libraries that X11R6 Xt/Xaw programs need.
7894 ac_save_LDFLAGS
=$LDFLAGS
7895 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7896 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7897 # check for ICE first), but we must link in the order -lSM -lICE or
7898 # we get undefined symbols. So assume we have SM if we have ICE.
7899 # These have to be linked with before -lX11, unlike the other
7900 # libraries we check for below, so use a different variable.
7901 # John Interrante, Karl Berry
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
7903 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
7904 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
7905 $as_echo_n "(cached) " >&6
7907 ac_check_lib_save_LIBS
=$LIBS
7908 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7909 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7910 /* end confdefs.h. */
7912 /* Override any GCC internal prototype to avoid an error.
7913 Use char because int might match the return type of a GCC
7914 builtin and then its argument prototype would still apply. */
7918 char IceConnectionNumber ();
7922 return IceConnectionNumber ();
7927 if ac_fn_c_try_link
"$LINENO"; then :
7928 ac_cv_lib_ICE_IceConnectionNumber
=yes
7930 ac_cv_lib_ICE_IceConnectionNumber
=no
7932 rm -f core conftest.err conftest.
$ac_objext \
7933 conftest
$ac_exeext conftest.
$ac_ext
7934 LIBS
=$ac_check_lib_save_LIBS
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
7937 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
7938 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
7939 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7942 LDFLAGS
=$ac_save_LDFLAGS
7947 if test "$have_x" = "yes"
7950 ac_save_CPPFLAGS
="$CPPFLAGS"
7951 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
7954 $as_echo_n "checking for -lX11... " >&6; }
7955 if ${ac_cv_lib_soname_X11+:} false
; then :
7956 $as_echo_n "(cached) " >&6
7958 ac_check_soname_save_LIBS
=$LIBS
7959 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
7960 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7961 /* end confdefs.h. */
7963 /* Override any GCC internal prototype to avoid an error.
7964 Use char because int might match the return type of a GCC
7965 builtin and then its argument prototype would still apply. */
7969 char XCreateWindow ();
7973 return XCreateWindow ();
7978 if ac_fn_c_try_link
"$LINENO"; then :
7980 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
7981 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'` ;;
7982 *) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
7985 rm -f core conftest.err conftest.
$ac_objext \
7986 conftest
$ac_exeext conftest.
$ac_ext
7987 LIBS
=$ac_check_soname_save_LIBS
7989 if test "x$ac_cv_lib_soname_X11" = "x"; then :
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
7991 $as_echo "not found" >&6; }
7994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
7995 $as_echo "$ac_cv_lib_soname_X11" >&6; }
7997 cat >>confdefs.h
<<_ACEOF
7998 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8004 $as_echo_n "checking for -lXext... " >&6; }
8005 if ${ac_cv_lib_soname_Xext+:} false
; then :
8006 $as_echo_n "(cached) " >&6
8008 ac_check_soname_save_LIBS
=$LIBS
8009 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8010 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8011 /* end confdefs.h. */
8013 /* Override any GCC internal prototype to avoid an error.
8014 Use char because int might match the return type of a GCC
8015 builtin and then its argument prototype would still apply. */
8019 char XextCreateExtension ();
8023 return XextCreateExtension ();
8028 if ac_fn_c_try_link
"$LINENO"; then :
8030 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8031 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'` ;;
8032 *) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8035 rm -f core conftest.err conftest.
$ac_objext \
8036 conftest
$ac_exeext conftest.
$ac_ext
8037 LIBS
=$ac_check_soname_save_LIBS
8039 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8041 $as_echo "not found" >&6; }
8044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8045 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8047 cat >>confdefs.h
<<_ACEOF
8048 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8054 for ac_header
in X11
/Xlib.h \
8057 X11
/Xcursor
/Xcursor.h \
8058 X11
/extensions
/shape.h \
8059 X11
/extensions
/XInput.h \
8060 X11
/extensions
/XInput2.h \
8061 X11
/extensions
/Xcomposite.h \
8062 X11
/extensions
/Xinerama.h \
8063 X11
/extensions
/Xrandr.h \
8064 X11
/extensions
/Xrender.h \
8065 X11
/extensions
/xf86vmode.h \
8066 X11
/extensions
/xf86vmproto.h
8068 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8070 # include <X11/Xlib.h>
8072 #ifdef HAVE_X11_XUTIL_H
8073 # include <X11/Xutil.h>
8076 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8077 cat >>confdefs.h
<<_ACEOF
8078 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8086 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8089 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8090 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8091 $as_echo_n "(cached) " >&6
8093 ac_check_lib_save_LIBS
=$LIBS
8094 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8095 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8096 /* end confdefs.h. */
8098 /* Override any GCC internal prototype to avoid an error.
8099 Use char because int might match the return type of a GCC
8100 builtin and then its argument prototype would still apply. */
8104 char XkbQueryExtension ();
8108 return XkbQueryExtension ();
8113 if ac_fn_c_try_link
"$LINENO"; then :
8114 ac_cv_lib_X11_XkbQueryExtension
=yes
8116 ac_cv_lib_X11_XkbQueryExtension
=no
8118 rm -f core conftest.err conftest.
$ac_objext \
8119 conftest
$ac_exeext conftest.
$ac_ext
8120 LIBS
=$ac_check_lib_save_LIBS
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8123 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8124 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8126 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8132 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8135 $as_echo_n "checking for -lXcursor... " >&6; }
8136 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8137 $as_echo_n "(cached) " >&6
8139 ac_check_soname_save_LIBS
=$LIBS
8140 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8142 /* end confdefs.h. */
8144 /* Override any GCC internal prototype to avoid an error.
8145 Use char because int might match the return type of a GCC
8146 builtin and then its argument prototype would still apply. */
8150 char XcursorImageLoadCursor ();
8154 return XcursorImageLoadCursor ();
8159 if ac_fn_c_try_link
"$LINENO"; then :
8161 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8162 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'` ;;
8163 *) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8166 rm -f core conftest.err conftest.
$ac_objext \
8167 conftest
$ac_exeext conftest.
$ac_ext
8168 LIBS
=$ac_check_soname_save_LIBS
8170 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8172 $as_echo "not found" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8176 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8178 cat >>confdefs.h
<<_ACEOF
8179 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8185 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8186 case "x$with_xcursor" in
8187 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8189 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8190 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8194 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8197 $as_echo_n "checking for -lXi... " >&6; }
8198 if ${ac_cv_lib_soname_Xi+:} false
; then :
8199 $as_echo_n "(cached) " >&6
8201 ac_check_soname_save_LIBS
=$LIBS
8202 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8204 /* end confdefs.h. */
8206 /* Override any GCC internal prototype to avoid an error.
8207 Use char because int might match the return type of a GCC
8208 builtin and then its argument prototype would still apply. */
8212 char XOpenDevice ();
8216 return XOpenDevice ();
8221 if ac_fn_c_try_link
"$LINENO"; then :
8223 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8224 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'` ;;
8225 *) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8228 rm -f core conftest.err conftest.
$ac_objext \
8229 conftest
$ac_exeext conftest.
$ac_ext
8230 LIBS
=$ac_check_soname_save_LIBS
8232 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8234 $as_echo "not found" >&6; }
8237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8238 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8240 cat >>confdefs.h
<<_ACEOF
8241 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8247 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8248 case "x$with_xinput" in
8249 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8251 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8252 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8256 if test "x$ac_cv_lib_soname_Xi" != x
8258 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8259 case "x$with_xinput2" in
8260 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8262 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8263 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8268 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8271 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8272 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8273 $as_echo_n "(cached) " >&6
8275 ac_check_lib_save_LIBS
=$LIBS
8276 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8277 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8278 /* end confdefs.h. */
8280 /* Override any GCC internal prototype to avoid an error.
8281 Use char because int might match the return type of a GCC
8282 builtin and then its argument prototype would still apply. */
8286 char XShapeQueryExtension ();
8290 return XShapeQueryExtension ();
8295 if ac_fn_c_try_link
"$LINENO"; then :
8296 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8298 ac_cv_lib_Xext_XShapeQueryExtension
=no
8300 rm -f core conftest.err conftest.
$ac_objext \
8301 conftest
$ac_exeext conftest.
$ac_ext
8302 LIBS
=$ac_check_lib_save_LIBS
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8305 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8306 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8308 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8313 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8314 case "x$with_xshape" in
8315 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8317 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8318 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8322 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8325 $as_echo_n "checking for -lXxf86vm... " >&6; }
8326 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8327 $as_echo_n "(cached) " >&6
8329 ac_check_soname_save_LIBS
=$LIBS
8330 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8332 /* end confdefs.h. */
8334 /* Override any GCC internal prototype to avoid an error.
8335 Use char because int might match the return type of a GCC
8336 builtin and then its argument prototype would still apply. */
8340 char XF86VidModeQueryExtension ();
8344 return XF86VidModeQueryExtension ();
8349 if ac_fn_c_try_link
"$LINENO"; then :
8351 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8352 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'` ;;
8353 *) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8356 rm -f core conftest.err conftest.
$ac_objext \
8357 conftest
$ac_exeext conftest.
$ac_ext
8358 LIBS
=$ac_check_soname_save_LIBS
8360 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8362 $as_echo "not found" >&6; }
8365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8366 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8368 cat >>confdefs.h
<<_ACEOF
8369 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8375 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8376 case "x$with_xxf86vm" in
8377 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8379 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8380 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8384 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"
8386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8387 $as_echo_n "checking for -lXrender... " >&6; }
8388 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8389 $as_echo_n "(cached) " >&6
8391 ac_check_soname_save_LIBS
=$LIBS
8392 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8394 /* end confdefs.h. */
8396 /* Override any GCC internal prototype to avoid an error.
8397 Use char because int might match the return type of a GCC
8398 builtin and then its argument prototype would still apply. */
8402 char XRenderQueryExtension ();
8406 return XRenderQueryExtension ();
8411 if ac_fn_c_try_link
"$LINENO"; then :
8413 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8414 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'` ;;
8415 *) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8418 rm -f core conftest.err conftest.
$ac_objext \
8419 conftest
$ac_exeext conftest.
$ac_ext
8420 LIBS
=$ac_check_soname_save_LIBS
8422 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8424 $as_echo "not found" >&6; }
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8428 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8430 cat >>confdefs.h
<<_ACEOF
8431 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8435 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8436 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8437 $as_echo_n "(cached) " >&6
8439 ac_check_lib_save_LIBS
=$LIBS
8440 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8442 /* end confdefs.h. */
8444 /* Override any GCC internal prototype to avoid an error.
8445 Use char because int might match the return type of a GCC
8446 builtin and then its argument prototype would still apply. */
8450 char XRenderSetPictureTransform ();
8454 return XRenderSetPictureTransform ();
8459 if ac_fn_c_try_link
"$LINENO"; then :
8460 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8462 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8464 rm -f core conftest.err conftest.
$ac_objext \
8465 conftest
$ac_exeext conftest.
$ac_ext
8466 LIBS
=$ac_check_lib_save_LIBS
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8469 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8470 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8472 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8477 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8478 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8479 $as_echo_n "(cached) " >&6
8481 ac_check_lib_save_LIBS
=$LIBS
8482 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8483 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8484 /* end confdefs.h. */
8486 /* Override any GCC internal prototype to avoid an error.
8487 Use char because int might match the return type of a GCC
8488 builtin and then its argument prototype would still apply. */
8492 char XRenderCreateLinearGradient ();
8496 return XRenderCreateLinearGradient ();
8501 if ac_fn_c_try_link
"$LINENO"; then :
8502 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8504 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8506 rm -f core conftest.err conftest.
$ac_objext \
8507 conftest
$ac_exeext conftest.
$ac_ext
8508 LIBS
=$ac_check_lib_save_LIBS
8510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8511 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8512 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8514 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8521 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8522 case "x$with_xrender" in
8523 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8525 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8526 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
8530 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
8532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8533 /* end confdefs.h. */
8534 #include <X11/Xlib.h>
8535 #include <X11/extensions/Xrandr.h>
8539 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
8544 if ac_fn_c_try_compile
"$LINENO"; then :
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
8546 $as_echo_n "checking for -lXrandr... " >&6; }
8547 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
8548 $as_echo_n "(cached) " >&6
8550 ac_check_soname_save_LIBS
=$LIBS
8551 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8552 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8555 /* Override any GCC internal prototype to avoid an error.
8556 Use char because int might match the return type of a GCC
8557 builtin and then its argument prototype would still apply. */
8561 char XRRQueryExtension ();
8565 return XRRQueryExtension ();
8570 if ac_fn_c_try_link
"$LINENO"; then :
8572 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8573 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'` ;;
8574 *) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8577 rm -f core conftest.err conftest.
$ac_objext \
8578 conftest
$ac_exeext conftest.
$ac_ext
8579 LIBS
=$ac_check_soname_save_LIBS
8581 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8583 $as_echo "not found" >&6; }
8586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
8587 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
8589 cat >>confdefs.h
<<_ACEOF
8590 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
8596 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8598 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
8599 case "x$with_xrandr" in
8600 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
8602 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
8603 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
8607 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
8609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8610 /* end confdefs.h. */
8611 #include <X11/Xlib.h>
8612 #include <X11/extensions/Xinerama.h>
8616 static typeof(XineramaQueryScreens) * func; if (func) return 0;
8621 if ac_fn_c_try_compile
"$LINENO"; then :
8622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
8623 $as_echo_n "checking for -lXinerama... " >&6; }
8624 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
8625 $as_echo_n "(cached) " >&6
8627 ac_check_soname_save_LIBS
=$LIBS
8628 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8629 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8630 /* end confdefs.h. */
8632 /* Override any GCC internal prototype to avoid an error.
8633 Use char because int might match the return type of a GCC
8634 builtin and then its argument prototype would still apply. */
8638 char XineramaQueryScreens ();
8642 return XineramaQueryScreens ();
8647 if ac_fn_c_try_link
"$LINENO"; then :
8649 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8650 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'` ;;
8651 *) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8654 rm -f core conftest.err conftest.
$ac_objext \
8655 conftest
$ac_exeext conftest.
$ac_ext
8656 LIBS
=$ac_check_soname_save_LIBS
8658 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8660 $as_echo "not found" >&6; }
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
8664 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
8666 cat >>confdefs.h
<<_ACEOF
8667 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
8673 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8675 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
8676 case "x$with_xinerama" in
8677 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
8679 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
8680 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
8684 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
8687 $as_echo_n "checking for -lXcomposite... " >&6; }
8688 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
8689 $as_echo_n "(cached) " >&6
8691 ac_check_soname_save_LIBS
=$LIBS
8692 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8693 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8694 /* end confdefs.h. */
8696 /* Override any GCC internal prototype to avoid an error.
8697 Use char because int might match the return type of a GCC
8698 builtin and then its argument prototype would still apply. */
8702 char XCompositeRedirectWindow ();
8706 return XCompositeRedirectWindow ();
8711 if ac_fn_c_try_link
"$LINENO"; then :
8713 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8714 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'` ;;
8715 *) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8718 rm -f core conftest.err conftest.
$ac_objext \
8719 conftest
$ac_exeext conftest.
$ac_ext
8720 LIBS
=$ac_check_soname_save_LIBS
8722 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8724 $as_echo "not found" >&6; }
8727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
8728 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
8730 cat >>confdefs.h
<<_ACEOF
8731 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
8737 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
8738 case "x$with_xcomposite" in
8739 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
8741 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
8742 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
8746 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
8747 #include <X11/Xlib.h>
8750 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
8752 cat >>confdefs.h
<<_ACEOF
8753 #define HAVE_XICCALLBACK_CALLBACK 1
8758 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
8759 #include <X11/Xlib.h>
8762 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
8764 cat >>confdefs.h
<<_ACEOF
8765 #define HAVE_XEVENT_XCOOKIE 1
8774 if test "x$with_opengl" != "xno"
8776 for ac_header
in GL
/gl.h GL
/glx.h GL
/glu.h
8778 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8779 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_GL_GLX_H
8780 # include <GL/glx.h>
8783 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8784 cat >>confdefs.h
<<_ACEOF
8785 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8792 if test "$ac_cv_header_GL_gl_h" = "yes" -a "$ac_cv_header_GL_glx_h" = "yes"
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for up-to-date OpenGL version" >&5
8795 $as_echo_n "checking for up-to-date OpenGL version... " >&6; }
8796 if ${wine_cv_opengl_header_version_OK+:} false
; then :
8797 $as_echo_n "(cached) " >&6
8799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8800 /* end confdefs.h. */
8805 GLenum test = GL_UNSIGNED_SHORT_5_6_5; return (test == GL_UNSIGNED_SHORT_5_6_5);
8810 if ac_fn_c_try_compile
"$LINENO"; then :
8811 wine_cv_opengl_header_version_OK
="yes"
8813 wine_cv_opengl_header_version_OK
="no"
8815 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_opengl_header_version_OK" >&5
8818 $as_echo "$wine_cv_opengl_header_version_OK" >&6; }
8820 if test "$wine_cv_opengl_header_version_OK" = "yes"
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8823 $as_echo_n "checking for -lGL... " >&6; }
8824 if ${ac_cv_lib_soname_GL+:} false
; then :
8825 $as_echo_n "(cached) " >&6
8827 ac_check_soname_save_LIBS
=$LIBS
8828 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8830 /* end confdefs.h. */
8832 /* Override any GCC internal prototype to avoid an error.
8833 Use char because int might match the return type of a GCC
8834 builtin and then its argument prototype would still apply. */
8838 char glXCreateContext ();
8842 return glXCreateContext ();
8847 if ac_fn_c_try_link
"$LINENO"; then :
8849 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8850 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'` ;;
8851 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8854 rm -f core conftest.err conftest.
$ac_objext \
8855 conftest
$ac_exeext conftest.
$ac_ext
8856 LIBS
=$ac_check_soname_save_LIBS
8858 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8860 $as_echo "not found" >&6; }
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
8862 $as_echo_n "checking for -lGL... " >&6; }
8863 if ${ac_cv_lib_soname_GL+:} false
; then :
8864 $as_echo_n "(cached) " >&6
8866 ac_check_soname_save_LIBS
=$LIBS
8867 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"
8868 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8871 /* Override any GCC internal prototype to avoid an error.
8872 Use char because int might match the return type of a GCC
8873 builtin and then its argument prototype would still apply. */
8877 char glXCreateContext ();
8881 return glXCreateContext ();
8886 if ac_fn_c_try_link
"$LINENO"; then :
8888 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8889 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'` ;;
8890 *) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8893 rm -f core conftest.err conftest.
$ac_objext \
8894 conftest
$ac_exeext conftest.
$ac_ext
8895 LIBS
=$ac_check_soname_save_LIBS
8897 if test "x$ac_cv_lib_soname_GL" = "x"; then :
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8899 $as_echo "not found" >&6; }
8900 if test -f /usr
/X11R
6/lib
/libGL.a
8902 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
8903 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
8905 opengl_msg
="No OpenGL library found on this system."
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8909 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8911 cat >>confdefs.h
<<_ACEOF
8912 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8915 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"
8917 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
8922 $as_echo "$ac_cv_lib_soname_GL" >&6; }
8924 cat >>confdefs.h
<<_ACEOF
8925 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
8930 $as_echo "#define HAVE_OPENGL 1" >>confdefs.h
8933 if test "$ac_cv_header_GL_glu_h" = "yes"
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
8936 $as_echo_n "checking for -lGLU... " >&6; }
8937 if ${ac_cv_lib_soname_GLU+:} false
; then :
8938 $as_echo_n "(cached) " >&6
8940 ac_check_soname_save_LIBS
=$LIBS
8941 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
8942 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8943 /* end confdefs.h. */
8945 /* Override any GCC internal prototype to avoid an error.
8946 Use char because int might match the return type of a GCC
8947 builtin and then its argument prototype would still apply. */
8955 return gluLookAt ();
8960 if ac_fn_c_try_link
"$LINENO"; then :
8962 dll
) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8963 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'` ;;
8964 *) ac_cv_lib_soname_GLU
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
8967 rm -f core conftest.err conftest.
$ac_objext \
8968 conftest
$ac_exeext conftest.
$ac_ext
8969 LIBS
=$ac_check_soname_save_LIBS
8971 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8973 $as_echo "not found" >&6; }
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
8977 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
8979 cat >>confdefs.h
<<_ACEOF
8980 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
8986 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
8987 case "x$with_glu" in
8988 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
8990 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
8991 This is an error since --with-glu was requested." "$LINENO" 5 ;;
8995 opengl_msg
="Old Mesa headers detected. Consider upgrading your Mesa libraries."
8998 opengl_msg
="OpenGL development headers not found."
9000 test -n "$opengl_msg" && enable_opengl32
=${enable_opengl32:-no}
9001 test "x$ac_cv_lib_soname_GLU" = "x" && enable_glu32
=${enable_glu32:-no}
9003 enable_opengl32
=${enable_opengl32:-no}
9004 enable_glu32
=${enable_glu32:-no}
9006 if test -n "$opengl_msg"; then :
9007 case "x$with_opengl" in
9008 x
) as_fn_append wine_warnings
"|$opengl_msg
9009 OpenGL and Direct3D won't be supported." ;;
9011 *) as_fn_error $?
"$opengl_msg
9012 OpenGL and Direct3D won't be supported.
9013 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9017 CPPFLAGS
="$ac_save_CPPFLAGS"
9022 enable_winex11_drv
=${enable_winex11_drv:-no}
9023 enable_opengl32
=${enable_opengl32:-no}
9024 enable_glu32
=${enable_glu32:-no}
9026 if test "x$XLIB" = "x"; then :
9029 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9030 without X support, which probably isn't what you want. You will need
9031 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9032 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9036 if test "$ac_cv_header_CL_cl_h" = "yes"
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9039 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9040 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9041 $as_echo_n "(cached) " >&6
9043 ac_check_lib_save_LIBS
=$LIBS
9044 LIBS
="-lOpenCL $LIBS"
9045 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9046 /* end confdefs.h. */
9048 /* Override any GCC internal prototype to avoid an error.
9049 Use char because int might match the return type of a GCC
9050 builtin and then its argument prototype would still apply. */
9054 char clGetPlatformInfo ();
9058 return clGetPlatformInfo ();
9063 if ac_fn_c_try_link
"$LINENO"; then :
9064 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9066 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9068 rm -f core conftest.err conftest.
$ac_objext \
9069 conftest
$ac_exeext conftest.
$ac_ext
9070 LIBS
=$ac_check_lib_save_LIBS
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9073 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9074 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9075 LIBOPENCL
="-lOpenCL"
9080 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9081 case "x$with_opencl" in
9082 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9084 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9085 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9088 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9097 if test "x$with_xml" != "xno"
9099 ac_save_CPPFLAGS
="$CPPFLAGS"
9100 if test "$PKG_CONFIG" != "false"
9102 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9103 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9105 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9106 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9108 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9109 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9111 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9112 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9113 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9114 cat >>confdefs.h
<<_ACEOF
9115 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9122 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9125 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9126 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9127 $as_echo_n "(cached) " >&6
9129 ac_check_lib_save_LIBS
=$LIBS
9130 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9131 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9132 /* end confdefs.h. */
9134 /* Override any GCC internal prototype to avoid an error.
9135 Use char because int might match the return type of a GCC
9136 builtin and then its argument prototype would still apply. */
9140 char xmlParseMemory ();
9144 return xmlParseMemory ();
9149 if ac_fn_c_try_link
"$LINENO"; then :
9150 ac_cv_lib_xml2_xmlParseMemory
=yes
9152 ac_cv_lib_xml2_xmlParseMemory
=no
9154 rm -f core conftest.err conftest.
$ac_objext \
9155 conftest
$ac_exeext conftest.
$ac_ext
9156 LIBS
=$ac_check_lib_save_LIBS
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9159 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9160 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9162 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9164 XML2LIBS
="$ac_xml_libs"
9165 XML2INCL
="$ac_xml_cflags"
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9169 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9170 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9171 $as_echo_n "(cached) " >&6
9173 ac_check_lib_save_LIBS
=$LIBS
9174 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9176 /* end confdefs.h. */
9178 /* Override any GCC internal prototype to avoid an error.
9179 Use char because int might match the return type of a GCC
9180 builtin and then its argument prototype would still apply. */
9184 char xmlReadMemory ();
9188 return xmlReadMemory ();
9193 if ac_fn_c_try_link
"$LINENO"; then :
9194 ac_cv_lib_xml2_xmlReadMemory
=yes
9196 ac_cv_lib_xml2_xmlReadMemory
=no
9198 rm -f core conftest.err conftest.
$ac_objext \
9199 conftest
$ac_exeext conftest.
$ac_ext
9200 LIBS
=$ac_check_lib_save_LIBS
9202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9203 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9204 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9206 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9211 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9212 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9213 $as_echo_n "(cached) " >&6
9215 ac_check_lib_save_LIBS
=$LIBS
9216 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9217 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9218 /* end confdefs.h. */
9220 /* Override any GCC internal prototype to avoid an error.
9221 Use char because int might match the return type of a GCC
9222 builtin and then its argument prototype would still apply. */
9226 char xmlNewDocPI ();
9230 return xmlNewDocPI ();
9235 if ac_fn_c_try_link
"$LINENO"; then :
9236 ac_cv_lib_xml2_xmlNewDocPI
=yes
9238 ac_cv_lib_xml2_xmlNewDocPI
=no
9240 rm -f core conftest.err conftest.
$ac_objext \
9241 conftest
$ac_exeext conftest.
$ac_ext
9242 LIBS
=$ac_check_lib_save_LIBS
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9245 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9246 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9248 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9253 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9254 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9255 $as_echo_n "(cached) " >&6
9257 ac_check_lib_save_LIBS
=$LIBS
9258 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9259 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9260 /* end confdefs.h. */
9262 /* Override any GCC internal prototype to avoid an error.
9263 Use char because int might match the return type of a GCC
9264 builtin and then its argument prototype would still apply. */
9268 char xmlSchemaSetParserStructuredErrors ();
9272 return xmlSchemaSetParserStructuredErrors ();
9277 if ac_fn_c_try_link
"$LINENO"; then :
9278 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9280 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9282 rm -f core conftest.err conftest.
$ac_objext \
9283 conftest
$ac_exeext conftest.
$ac_ext
9284 LIBS
=$ac_check_lib_save_LIBS
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9287 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9288 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9290 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9295 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9296 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9297 $as_echo_n "(cached) " >&6
9299 ac_check_lib_save_LIBS
=$LIBS
9300 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9301 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9304 /* Override any GCC internal prototype to avoid an error.
9305 Use char because int might match the return type of a GCC
9306 builtin and then its argument prototype would still apply. */
9310 char xmlSchemaSetValidStructuredErrors ();
9314 return xmlSchemaSetValidStructuredErrors ();
9319 if ac_fn_c_try_link
"$LINENO"; then :
9320 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9322 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9324 rm -f core conftest.err conftest.
$ac_objext \
9325 conftest
$ac_exeext conftest.
$ac_ext
9326 LIBS
=$ac_check_lib_save_LIBS
9328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9329 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9330 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9332 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9337 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9338 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9339 $as_echo_n "(cached) " >&6
9341 ac_check_lib_save_LIBS
=$LIBS
9342 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9343 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9344 /* end confdefs.h. */
9346 /* Override any GCC internal prototype to avoid an error.
9347 Use char because int might match the return type of a GCC
9348 builtin and then its argument prototype would still apply. */
9352 char xmlFirstElementChild ();
9356 return xmlFirstElementChild ();
9361 if ac_fn_c_try_link
"$LINENO"; then :
9362 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9364 ac_cv_lib_xml2_xmlFirstElementChild
=no
9366 rm -f core conftest.err conftest.
$ac_objext \
9367 conftest
$ac_exeext conftest.
$ac_ext
9368 LIBS
=$ac_check_lib_save_LIBS
9370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9371 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9372 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9374 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9378 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9380 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9382 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9387 CPPFLAGS
="$ac_save_CPPFLAGS"
9389 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9390 case "x$with_xml" in
9391 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9393 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9394 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9398 if test "x$with_xslt" != "xno"
9400 if test "$PKG_CONFIG" != "false"
9402 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9403 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9405 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9406 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9408 ac_save_CPPFLAGS
="$CPPFLAGS"
9409 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9410 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9412 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9413 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9414 # include <libxslt/pattern.h>
9417 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9418 cat >>confdefs.h
<<_ACEOF
9419 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9426 CPPFLAGS
="$ac_save_CPPFLAGS"
9427 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9430 $as_echo_n "checking for -lxslt... " >&6; }
9431 if ${ac_cv_lib_soname_xslt+:} false
; then :
9432 $as_echo_n "(cached) " >&6
9434 ac_check_soname_save_LIBS
=$LIBS
9435 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9437 /* end confdefs.h. */
9439 /* Override any GCC internal prototype to avoid an error.
9440 Use char because int might match the return type of a GCC
9441 builtin and then its argument prototype would still apply. */
9445 char xsltCompilePattern ();
9449 return xsltCompilePattern ();
9454 if ac_fn_c_try_link
"$LINENO"; then :
9456 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9457 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'` ;;
9458 *) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9461 rm -f core conftest.err conftest.
$ac_objext \
9462 conftest
$ac_exeext conftest.
$ac_ext
9463 LIBS
=$ac_check_soname_save_LIBS
9465 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9467 $as_echo "not found" >&6; }
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9471 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9473 cat >>confdefs.h
<<_ACEOF
9474 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9477 XSLTINCL
="$ac_xslt_cflags"
9481 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9482 case "x$with_xslt" in
9483 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9485 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9486 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9490 if test "x$with_dbus" != "xno"
9492 ac_save_CPPFLAGS
="$CPPFLAGS"
9493 if test "$PKG_CONFIG" != "false"
9495 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9496 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9497 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9499 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9500 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
9502 $as_echo_n "checking for -ldbus-1... " >&6; }
9503 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
9504 $as_echo_n "(cached) " >&6
9506 ac_check_soname_save_LIBS
=$LIBS
9507 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
9508 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9509 /* end confdefs.h. */
9511 /* Override any GCC internal prototype to avoid an error.
9512 Use char because int might match the return type of a GCC
9513 builtin and then its argument prototype would still apply. */
9517 char dbus_connection_close ();
9521 return dbus_connection_close ();
9526 if ac_fn_c_try_link
"$LINENO"; then :
9528 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9529 dylib
) ac_cv_lib_soname_dbus_1
=`otool -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9530 *) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9533 rm -f core conftest.err conftest.
$ac_objext \
9534 conftest
$ac_exeext conftest.
$ac_ext
9535 LIBS
=$ac_check_soname_save_LIBS
9537 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
9538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9539 $as_echo "not found" >&6; }
9542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
9543 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
9545 cat >>confdefs.h
<<_ACEOF
9546 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
9549 DBUSINCL
="$ac_dbus_cflags"
9555 CPPFLAGS
="$ac_save_CPPFLAGS"
9557 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
9558 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9559 case "x$with_dbus" in
9560 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
9562 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
9563 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
9567 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
9569 ac_save_CPPFLAGS
="$CPPFLAGS"
9570 if test "$PKG_CONFIG" != "false"
9572 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
9573 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
9574 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
9576 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
9577 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
9579 $as_echo_n "checking for -lhal... " >&6; }
9580 if ${ac_cv_lib_soname_hal+:} false
; then :
9581 $as_echo_n "(cached) " >&6
9583 ac_check_soname_save_LIBS
=$LIBS
9584 LIBS
="-lhal $ac_hal_libs $LIBS"
9585 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9586 /* end confdefs.h. */
9588 /* Override any GCC internal prototype to avoid an error.
9589 Use char because int might match the return type of a GCC
9590 builtin and then its argument prototype would still apply. */
9594 char libhal_ctx_new ();
9598 return libhal_ctx_new ();
9603 if ac_fn_c_try_link
"$LINENO"; then :
9605 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9606 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'` ;;
9607 *) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9610 rm -f core conftest.err conftest.
$ac_objext \
9611 conftest
$ac_exeext conftest.
$ac_ext
9612 LIBS
=$ac_check_soname_save_LIBS
9614 if test "x$ac_cv_lib_soname_hal" = "x"; then :
9615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9616 $as_echo "not found" >&6; }
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
9620 $as_echo "$ac_cv_lib_soname_hal" >&6; }
9622 cat >>confdefs.h
<<_ACEOF
9623 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
9626 HALINCL
="$ac_hal_cflags"
9632 CPPFLAGS
="$ac_save_CPPFLAGS"
9633 if test "x$ac_cv_lib_soname_hal" = "x" -a \
9634 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
9635 case "x$with_hal" in
9636 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
9638 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
9639 This is an error since --with-hal was requested." "$LINENO" 5 ;;
9644 if test "x$with_gnutls" != "xno"
9646 ac_save_CPPFLAGS
="$CPPFLAGS"
9647 if test "$PKG_CONFIG" != "false"
9649 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
9650 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
9651 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
9653 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
9654 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
9655 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9657 #include <gnutls/gnutls.h>
9661 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
9666 if ac_fn_c_try_compile
"$LINENO"; then :
9667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
9668 $as_echo_n "checking for -lgnutls... " >&6; }
9669 if ${ac_cv_lib_soname_gnutls+:} false
; then :
9670 $as_echo_n "(cached) " >&6
9672 ac_check_soname_save_LIBS
=$LIBS
9673 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
9674 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9675 /* end confdefs.h. */
9677 /* Override any GCC internal prototype to avoid an error.
9678 Use char because int might match the return type of a GCC
9679 builtin and then its argument prototype would still apply. */
9683 char gnutls_global_init ();
9687 return gnutls_global_init ();
9692 if ac_fn_c_try_link
"$LINENO"; then :
9694 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9695 dylib
) ac_cv_lib_soname_gnutls
=`otool -L conftest$ac_exeext | grep "libgnutls\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9696 *) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9699 rm -f core conftest.err conftest.
$ac_objext \
9700 conftest
$ac_exeext conftest.
$ac_ext
9701 LIBS
=$ac_check_soname_save_LIBS
9703 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9705 $as_echo "not found" >&6; }
9708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
9709 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
9711 cat >>confdefs.h
<<_ACEOF
9712 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
9715 GNUTLSINCL
="$ac_gnutls_cflags"
9719 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9723 CPPFLAGS
="$ac_save_CPPFLAGS"
9725 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
9726 case "x$with_gnutls" in
9727 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
9729 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
9730 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
9735 if test "$ac_cv_header_ncurses_h" = "yes"
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
9738 $as_echo_n "checking for -lncurses... " >&6; }
9739 if ${ac_cv_lib_soname_ncurses+:} false
; then :
9740 $as_echo_n "(cached) " >&6
9742 ac_check_soname_save_LIBS
=$LIBS
9743 LIBS
="-lncurses $LIBS"
9744 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9745 /* end confdefs.h. */
9747 /* Override any GCC internal prototype to avoid an error.
9748 Use char because int might match the return type of a GCC
9749 builtin and then its argument prototype would still apply. */
9762 if ac_fn_c_try_link
"$LINENO"; then :
9764 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9765 dylib
) ac_cv_lib_soname_ncurses
=`otool -L conftest$ac_exeext | grep "libncurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9766 *) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9769 rm -f core conftest.err conftest.
$ac_objext \
9770 conftest
$ac_exeext conftest.
$ac_ext
9771 LIBS
=$ac_check_soname_save_LIBS
9773 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9775 $as_echo "not found" >&6; }
9778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
9779 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
9781 cat >>confdefs.h
<<_ACEOF
9782 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
9785 CURSESLIBS
="-lncurses"
9787 elif test "$ac_cv_header_curses_h" = "yes"
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
9790 $as_echo_n "checking for -lcurses... " >&6; }
9791 if ${ac_cv_lib_soname_curses+:} false
; then :
9792 $as_echo_n "(cached) " >&6
9794 ac_check_soname_save_LIBS
=$LIBS
9795 LIBS
="-lcurses $LIBS"
9796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9797 /* end confdefs.h. */
9799 /* Override any GCC internal prototype to avoid an error.
9800 Use char because int might match the return type of a GCC
9801 builtin and then its argument prototype would still apply. */
9814 if ac_fn_c_try_link
"$LINENO"; then :
9816 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9817 dylib
) ac_cv_lib_soname_curses
=`otool -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9818 *) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9821 rm -f core conftest.err conftest.
$ac_objext \
9822 conftest
$ac_exeext conftest.
$ac_ext
9823 LIBS
=$ac_check_soname_save_LIBS
9825 if test "x$ac_cv_lib_soname_curses" = "x"; then :
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9827 $as_echo "not found" >&6; }
9830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
9831 $as_echo "$ac_cv_lib_soname_curses" >&6; }
9833 cat >>confdefs.h
<<_ACEOF
9834 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
9837 CURSESLIBS
="-lcurses"
9840 ac_save_LIBS
="$LIBS"
9841 LIBS
="$LIBS $CURSESLIBS"
9842 for ac_func
in mousemask
9844 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
9845 if test "x$ac_cv_func_mousemask" = xyes
; then :
9846 cat >>confdefs.h
<<_ACEOF
9847 #define HAVE_MOUSEMASK 1
9853 LIBS
="$ac_save_LIBS"
9854 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
9855 case "x$with_curses" in
9856 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
9858 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
9859 This is an error since --with-curses was requested." "$LINENO" 5 ;;
9863 if test "x$with_sane" != "xno"
9865 ac_save_CPPFLAGS
="$CPPFLAGS"
9866 # Extract the first word of "sane-config", so it can be a program name with args.
9867 set dummy sane-config
; ac_word
=$2
9868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9869 $as_echo_n "checking for $ac_word... " >&6; }
9870 if ${ac_cv_prog_sane_devel+:} false
; then :
9871 $as_echo_n "(cached) " >&6
9873 if test -n "$sane_devel"; then
9874 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
9876 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9880 test -z "$as_dir" && as_dir
=.
9881 for ac_exec_ext
in '' $ac_executable_extensions; do
9882 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
9883 ac_cv_prog_sane_devel
="sane-config"
9884 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9891 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
9894 sane_devel
=$ac_cv_prog_sane_devel
9895 if test -n "$sane_devel"; then
9896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
9897 $as_echo "$sane_devel" >&6; }
9899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9900 $as_echo "no" >&6; }
9904 if test "$sane_devel" != "no"
9906 ac_sane_incl
="`$sane_devel --cflags`"
9907 ac_sane_libs
="`$sane_devel --ldflags`"
9908 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
9910 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
9911 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
9913 $as_echo_n "checking for -lsane... " >&6; }
9914 if ${ac_cv_lib_soname_sane+:} false
; then :
9915 $as_echo_n "(cached) " >&6
9917 ac_check_soname_save_LIBS
=$LIBS
9918 LIBS
="-lsane $ac_sane_libs $LIBS"
9919 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9920 /* end confdefs.h. */
9922 /* Override any GCC internal prototype to avoid an error.
9923 Use char because int might match the return type of a GCC
9924 builtin and then its argument prototype would still apply. */
9932 return sane_init ();
9937 if ac_fn_c_try_link
"$LINENO"; then :
9939 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9940 dylib
) ac_cv_lib_soname_sane
=`otool -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9941 *) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
9944 rm -f core conftest.err conftest.
$ac_objext \
9945 conftest
$ac_exeext conftest.
$ac_ext
9946 LIBS
=$ac_check_soname_save_LIBS
9948 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9950 $as_echo "not found" >&6; }
9953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
9954 $as_echo "$ac_cv_lib_soname_sane" >&6; }
9956 cat >>confdefs.h
<<_ACEOF
9957 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
9960 SANEINCL
="$ac_sane_incl"
9966 CPPFLAGS
="$ac_save_CPPFLAGS"
9968 if test "x$ac_cv_lib_soname_sane" = "x"; then :
9969 case "x$with_sane" in
9970 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
9972 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
9973 This is an error since --with-sane was requested." "$LINENO" 5 ;;
9977 if test "x$with_v4l" != "xno"
9979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
9980 $as_echo_n "checking for -lv4l1... " >&6; }
9981 if ${ac_cv_lib_soname_v4l1+:} false
; then :
9982 $as_echo_n "(cached) " >&6
9984 ac_check_soname_save_LIBS
=$LIBS
9986 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9987 /* end confdefs.h. */
9989 /* Override any GCC internal prototype to avoid an error.
9990 Use char because int might match the return type of a GCC
9991 builtin and then its argument prototype would still apply. */
9999 return v4l1_open ();
10004 if ac_fn_c_try_link
"$LINENO"; then :
10006 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10007 dylib
) ac_cv_lib_soname_v4l1
=`otool -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10008 *) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10011 rm -f core conftest.err conftest.
$ac_objext \
10012 conftest
$ac_exeext conftest.
$ac_ext
10013 LIBS
=$ac_check_soname_save_LIBS
10015 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10017 $as_echo "not found" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10021 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10023 cat >>confdefs.h
<<_ACEOF
10024 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10030 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10031 case "x$with_v4l" in
10032 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10034 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10035 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10039 if test "x$with_gphoto" != "xno"
10041 ac_save_CPPFLAGS
="$CPPFLAGS"
10042 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10043 set dummy gphoto2-config
; ac_word
=$2
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10045 $as_echo_n "checking for $ac_word... " >&6; }
10046 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10047 $as_echo_n "(cached) " >&6
10049 if test -n "$gphoto2_devel"; then
10050 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10052 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10053 for as_dir
in $PATH
10056 test -z "$as_dir" && as_dir
=.
10057 for ac_exec_ext
in '' $ac_executable_extensions; do
10058 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10059 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10067 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10070 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10071 if test -n "$gphoto2_devel"; then
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10073 $as_echo "$gphoto2_devel" >&6; }
10075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10076 $as_echo "no" >&6; }
10080 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10081 set dummy gphoto2-port-config
; ac_word
=$2
10082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10083 $as_echo_n "checking for $ac_word... " >&6; }
10084 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10085 $as_echo_n "(cached) " >&6
10087 if test -n "$gphoto2port_devel"; then
10088 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10090 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10091 for as_dir
in $PATH
10094 test -z "$as_dir" && as_dir
=.
10095 for ac_exec_ext
in '' $ac_executable_extensions; do
10096 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10097 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10105 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10108 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10109 if test -n "$gphoto2port_devel"; then
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10111 $as_echo "$gphoto2port_devel" >&6; }
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10114 $as_echo "no" >&6; }
10118 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10120 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10122 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10125 -L/usr
/lib|
-L/usr
/lib64
) ;;
10126 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10129 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10131 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10132 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10133 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10135 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10136 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10137 $as_echo_n "(cached) " >&6
10139 ac_check_lib_save_LIBS
=$LIBS
10140 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10141 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10142 /* end confdefs.h. */
10144 /* Override any GCC internal prototype to avoid an error.
10145 Use char because int might match the return type of a GCC
10146 builtin and then its argument prototype would still apply. */
10150 char gp_camera_new ();
10154 return gp_camera_new ();
10159 if ac_fn_c_try_link
"$LINENO"; then :
10160 ac_cv_lib_gphoto2_gp_camera_new
=yes
10162 ac_cv_lib_gphoto2_gp_camera_new
=no
10164 rm -f core conftest.err conftest.
$ac_objext \
10165 conftest
$ac_exeext conftest.
$ac_ext
10166 LIBS
=$ac_check_lib_save_LIBS
10168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10169 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10170 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10172 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10174 GPHOTO2LIBS
="$ac_gphoto2_libs"
10176 GPHOTO2INCL
="$ac_gphoto2_incl"
10183 CPPFLAGS
="$ac_save_CPPFLAGS"
10185 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10186 case "x$with_gphoto" in
10187 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10189 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10190 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10195 if test "$ac_cv_header_resolv_h" = "yes"
10197 ac_save_LIBS
="$LIBS"
10198 for lib
in '' -lresolv
10200 LIBS
="$lib $ac_save_LIBS"
10201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10202 /* end confdefs.h. */
10203 #ifdef HAVE_NETINET_IN_H
10204 #include <netinet/in.h>
10206 #include <resolv.h>
10210 res_query("foo",ns_c_in,0,0,0);
10215 if ac_fn_c_try_link
"$LINENO"; then :
10217 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10222 rm -f core conftest.err conftest.
$ac_objext \
10223 conftest
$ac_exeext conftest.
$ac_ext
10224 if test "${RESOLVLIBS+set}" = set; then
10228 LIBS
="$ac_save_LIBS"
10233 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10236 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10237 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10238 $as_echo_n "(cached) " >&6
10240 ac_check_lib_save_LIBS
=$LIBS
10241 LIBS
="-llcms $LIBS"
10242 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10243 /* end confdefs.h. */
10245 /* Override any GCC internal prototype to avoid an error.
10246 Use char because int might match the return type of a GCC
10247 builtin and then its argument prototype would still apply. */
10251 char cmsOpenProfileFromFile ();
10255 return cmsOpenProfileFromFile ();
10260 if ac_fn_c_try_link
"$LINENO"; then :
10261 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10263 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10265 rm -f core conftest.err conftest.
$ac_objext \
10266 conftest
$ac_exeext conftest.
$ac_ext
10267 LIBS
=$ac_check_lib_save_LIBS
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10270 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10271 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10273 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10279 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10280 case "x$with_cms" in
10281 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10283 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10284 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10288 if test "x$with_freetype" != "xno"
10290 if test "$PKG_CONFIG" != "false"
10292 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10293 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10295 for ac_prog
in freetype-config freetype2-config
10297 # Extract the first word of "$ac_prog", so it can be a program name with args.
10298 set dummy
$ac_prog; ac_word
=$2
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10300 $as_echo_n "checking for $ac_word... " >&6; }
10301 if ${ac_cv_prog_ft_devel+:} false
; then :
10302 $as_echo_n "(cached) " >&6
10304 if test -n "$ft_devel"; then
10305 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10307 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10308 for as_dir
in $PATH
10311 test -z "$as_dir" && as_dir
=.
10312 for ac_exec_ext
in '' $ac_executable_extensions; do
10313 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10314 ac_cv_prog_ft_devel
="$ac_prog"
10315 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10324 ft_devel
=$ac_cv_prog_ft_devel
10325 if test -n "$ft_devel"; then
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10327 $as_echo "$ft_devel" >&6; }
10329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10330 $as_echo "no" >&6; }
10334 test -n "$ft_devel" && break
10336 test -n "$ft_devel" || ft_devel
="no"
10338 if test "$ft_devel" != "no"
10340 ac_freetype_incl
=`$ft_devel --cflags`
10341 ac_freetype_libs
=`$ft_devel --libs`
10344 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10346 $as_echo_n "checking for -lfreetype... " >&6; }
10347 if ${ac_cv_lib_soname_freetype+:} false
; then :
10348 $as_echo_n "(cached) " >&6
10350 ac_check_soname_save_LIBS
=$LIBS
10351 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10352 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10355 /* Override any GCC internal prototype to avoid an error.
10356 Use char because int might match the return type of a GCC
10357 builtin and then its argument prototype would still apply. */
10361 char FT_Init_FreeType ();
10365 return FT_Init_FreeType ();
10370 if ac_fn_c_try_link
"$LINENO"; then :
10372 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10373 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'` ;;
10374 *) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10377 rm -f core conftest.err conftest.
$ac_objext \
10378 conftest
$ac_exeext conftest.
$ac_ext
10379 LIBS
=$ac_check_soname_save_LIBS
10381 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10383 $as_echo "not found" >&6; }
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10387 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10389 cat >>confdefs.h
<<_ACEOF
10390 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10395 if test "$ft_lib" = "yes"
10397 ac_save_CPPFLAGS
="$CPPFLAGS"
10398 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10399 for ac_header
in ft2build.h \
10400 freetype
/freetype.h \
10401 freetype
/ftglyph.h \
10402 freetype
/fttypes.h \
10403 freetype
/tttables.h \
10404 freetype
/ftsnames.h \
10405 freetype
/ttnameid.h \
10406 freetype
/ftoutln.h \
10407 freetype
/ftwinfnt.h \
10408 freetype
/ftmodapi.h \
10409 freetype
/ftlcdfil.h
10411 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10412 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10413 # include <ft2build.h>
10416 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10417 cat >>confdefs.h
<<_ACEOF
10418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10425 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10426 /* end confdefs.h. */
10427 #include <ft2build.h>
10428 #include <freetype/fttrigon.h>
10430 if ac_fn_c_try_cpp
"$LINENO"; then :
10432 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10434 wine_cv_fttrigon
=yes
10436 wine_cv_fttrigon
=no
10438 rm -f conftest.err conftest.i conftest.
$ac_ext
10439 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10441 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10443 cat >>confdefs.h
<<_ACEOF
10444 #define HAVE_FT_TRUETYPEENGINETYPE 1
10450 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10453 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10455 FREETYPELIBS
="$ac_freetype_libs"
10457 FREETYPEINCL
="$ac_freetype_incl"
10462 if test "x$FREETYPELIBS" = "x"; then :
10463 case "x$with_freetype" in
10465 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10466 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10469 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10472 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10473 if ${ac_cv_c_ppdev+:} false
; then :
10474 $as_echo_n "(cached) " >&6
10476 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10477 /* end confdefs.h. */
10478 #ifdef HAVE_SYS_IOCTL_H
10479 # include <sys/ioctl.h>
10481 #include <linux/ppdev.h>
10485 ioctl (1,PPCLAIM,0)
10490 if ac_fn_c_try_compile
"$LINENO"; then :
10491 ac_cv_c_ppdev
="yes"
10495 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
10498 $as_echo "$ac_cv_c_ppdev" >&6; }
10499 if test "$ac_cv_c_ppdev" = "yes"
10502 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
10506 ac_wine_check_funcs_save_LIBS
="$LIBS"
10507 LIBS
="$LIBS $LIBPTHREAD"
10509 pthread_attr_get_np \
10510 pthread_getattr_np \
10511 pthread_get_stackaddr_np \
10512 pthread_get_stacksize_np
10514 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
10515 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
10516 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
10517 cat >>confdefs.h
<<_ACEOF
10518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
10524 LIBS
="$ac_wine_check_funcs_save_LIBS"
10526 if test "$ac_cv_header_zlib_h" = "yes"
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
10529 $as_echo_n "checking for inflate in -lz... " >&6; }
10530 if ${ac_cv_lib_z_inflate+:} false
; then :
10531 $as_echo_n "(cached) " >&6
10533 ac_check_lib_save_LIBS
=$LIBS
10535 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10538 /* Override any GCC internal prototype to avoid an error.
10539 Use char because int might match the return type of a GCC
10540 builtin and then its argument prototype would still apply. */
10553 if ac_fn_c_try_link
"$LINENO"; then :
10554 ac_cv_lib_z_inflate
=yes
10556 ac_cv_lib_z_inflate
=no
10558 rm -f core conftest.err conftest.
$ac_objext \
10559 conftest
$ac_exeext conftest.
$ac_ext
10560 LIBS
=$ac_check_lib_save_LIBS
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
10563 $as_echo "$ac_cv_lib_z_inflate" >&6; }
10564 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
10566 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
10573 if test "x$ZLIB" = "x"; then :
10574 case "x$with_zlib" in
10575 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
10577 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
10578 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
10582 if test "x$enable_tools" != xno
10584 if test "$ac_cv_header_gettext_po_h" = "yes"
10586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
10587 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
10588 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
10589 $as_echo_n "(cached) " >&6
10591 ac_check_lib_save_LIBS
=$LIBS
10592 LIBS
="-lgettextpo $LIBS"
10593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10594 /* end confdefs.h. */
10596 /* Override any GCC internal prototype to avoid an error.
10597 Use char because int might match the return type of a GCC
10598 builtin and then its argument prototype would still apply. */
10602 char po_message_msgctxt ();
10606 return po_message_msgctxt ();
10611 if ac_fn_c_try_link
"$LINENO"; then :
10612 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
10614 ac_cv_lib_gettextpo_po_message_msgctxt
=no
10616 rm -f core conftest.err conftest.
$ac_objext \
10617 conftest
$ac_exeext conftest.
$ac_ext
10618 LIBS
=$ac_check_lib_save_LIBS
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
10621 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
10622 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
10624 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
10626 LIBGETTEXTPO
="-lgettextpo"
10631 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
10632 case "x$with_gettextpo" in
10633 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
10635 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
10636 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
10645 if test "x$with_pulse" != "xno";
10647 ac_save_CPPFLAGS
="$CPPFLAGS"
10648 if test "$PKG_CONFIG" != "false";
10650 ac_pulse_libs
="`$PKG_CONFIG --libs libpulse 2>/dev/null`"
10651 ac_pulse_cflags
="`$PKG_CONFIG --cflags-only-I libpulse 2>/dev/null`"
10653 CPPFLAGS
="$CPPFLAGS $ac_pulse_cflags"
10654 for ac_header
in pulse
/pulseaudio.h
10656 ac_fn_c_check_header_mongrel
"$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
10657 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
; then :
10658 cat >>confdefs.h
<<_ACEOF
10659 #define HAVE_PULSE_PULSEAUDIO_H 1
10661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
10662 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
10663 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false
; then :
10664 $as_echo_n "(cached) " >&6
10666 ac_check_lib_save_LIBS
=$LIBS
10667 LIBS
="-lpulse $ac_pulse_libs $LIBS"
10668 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10669 /* end confdefs.h. */
10671 /* Override any GCC internal prototype to avoid an error.
10672 Use char because int might match the return type of a GCC
10673 builtin and then its argument prototype would still apply. */
10677 char pa_stream_is_corked ();
10681 return pa_stream_is_corked ();
10686 if ac_fn_c_try_link
"$LINENO"; then :
10687 ac_cv_lib_pulse_pa_stream_is_corked
=yes
10689 ac_cv_lib_pulse_pa_stream_is_corked
=no
10691 rm -f core conftest.err conftest.
$ac_objext \
10692 conftest
$ac_exeext conftest.
$ac_ext
10693 LIBS
=$ac_check_lib_save_LIBS
10695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
10696 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
10697 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
; then :
10699 $as_echo "#define HAVE_PULSEAUDIO 1" >>confdefs.h
10701 PULSELIBS
="$ac_pulse_libs"
10702 PULSEINCL
="$ac_pulse_cflags"
10711 CPPFLAGS
="$ac_save_CPPFLAGS"
10713 if test "$ac_cv_lib_pulse_pa_stream_is_corked" != "yes"; then :
10714 case "x$with_pulse" in
10715 x
) as_fn_append wine_warnings
"|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
10717 *) as_fn_error $?
"libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
10718 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
10722 if test "x$with_gstreamer" != "xno"
10724 ac_save_CPPFLAGS
="$CPPFLAGS"
10725 if test "$PKG_CONFIG" != "false"; then
10727 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
10730 -I*) ac_gst_incl
="$ac_gst_incl $i";;
10733 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
10734 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
10735 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
10736 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
10737 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
10738 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
10739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
10740 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
10741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10742 /* end confdefs.h. */
10743 #include <gst/app/gstappsink.h>
10747 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
10752 if ac_fn_c_try_compile
"$LINENO"; then :
10753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10754 $as_echo "yes" >&6; }
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
10756 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
10757 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
10758 $as_echo_n "(cached) " >&6
10760 ac_check_lib_save_LIBS
=$LIBS
10761 LIBS
="-lgstreamer-0.10 $LIBS"
10762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10763 /* end confdefs.h. */
10765 /* Override any GCC internal prototype to avoid an error.
10766 Use char because int might match the return type of a GCC
10767 builtin and then its argument prototype would still apply. */
10771 char gst_pad_get_caps_reffed ();
10775 return gst_pad_get_caps_reffed ();
10780 if ac_fn_c_try_link
"$LINENO"; then :
10781 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
10783 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
10785 rm -f core conftest.err conftest.
$ac_objext \
10786 conftest
$ac_exeext conftest.
$ac_ext
10787 LIBS
=$ac_check_lib_save_LIBS
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
10790 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
10791 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
10793 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
10794 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
10795 $as_echo_n "(cached) " >&6
10797 ac_check_lib_save_LIBS
=$LIBS
10798 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
10799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10800 /* end confdefs.h. */
10802 /* Override any GCC internal prototype to avoid an error.
10803 Use char because int might match the return type of a GCC
10804 builtin and then its argument prototype would still apply. */
10808 char gst_app_buffer_new ();
10812 return gst_app_buffer_new ();
10817 if ac_fn_c_try_link
"$LINENO"; then :
10818 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
10820 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
10822 rm -f core conftest.err conftest.
$ac_objext \
10823 conftest
$ac_exeext conftest.
$ac_ext
10824 LIBS
=$ac_check_lib_save_LIBS
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
10827 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
10828 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
10829 GSTREAMER_LIBS
="$ac_gst_libs"
10831 GSTREAMER_INCL
="$ac_gst_incl"
10838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10839 $as_echo "no" >&6; }
10841 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10849 CPPFLAGS
="$ac_save_CPPFLAGS"
10851 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
10852 case "x$with_gstreamer" in
10853 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
10855 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
10856 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
10859 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
10863 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
10865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
10866 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
10867 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
10868 $as_echo_n "(cached) " >&6
10870 ac_check_lib_save_LIBS
=$LIBS
10871 LIBS
="-lasound $LIBS"
10872 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10873 /* end confdefs.h. */
10875 /* Override any GCC internal prototype to avoid an error.
10876 Use char because int might match the return type of a GCC
10877 builtin and then its argument prototype would still apply. */
10881 char snd_pcm_hw_params_get_access_mask ();
10885 return snd_pcm_hw_params_get_access_mask ();
10890 if ac_fn_c_try_link
"$LINENO"; then :
10891 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
10893 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
10895 rm -f core conftest.err conftest.
$ac_objext \
10896 conftest
$ac_exeext conftest.
$ac_ext
10897 LIBS
=$ac_check_lib_save_LIBS
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
10900 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
10901 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
10902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10903 /* end confdefs.h. */
10904 #ifdef HAVE_ALSA_ASOUNDLIB_H
10905 #include <alsa/asoundlib.h>
10906 #elif defined(HAVE_SYS_ASOUNDLIB_H)
10907 #include <sys/asoundlib.h>
10912 snd_pcm_hw_params_get_access_mask(NULL, NULL)
10917 if ac_fn_c_try_compile
"$LINENO"; then :
10918 ALSALIBS
="-lasound"
10920 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10925 if test "x$with_oss" != xno
10927 ac_save_CPPFLAGS
="$CPPFLAGS"
10928 if test -f /etc
/oss.conf
10932 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
10933 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
10934 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
10935 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
10936 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
10938 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
10940 cat >>confdefs.h
<<_ACEOF
10941 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
10944 OSS4INCL
="$ac_oss_incl"
10951 CPPFLAGS
="$ac_save_CPPFLAGS"
10952 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
10954 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
10959 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
10962 $as_echo_n "checking for -lcapi20... " >&6; }
10963 if ${ac_cv_lib_soname_capi20+:} false
; then :
10964 $as_echo_n "(cached) " >&6
10966 ac_check_soname_save_LIBS
=$LIBS
10967 LIBS
="-lcapi20 $LIBS"
10968 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10977 char capi20_register ();
10981 return capi20_register ();
10986 if ac_fn_c_try_link
"$LINENO"; then :
10988 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10989 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'` ;;
10990 *) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
10993 rm -f core conftest.err conftest.
$ac_objext \
10994 conftest
$ac_exeext conftest.
$ac_ext
10995 LIBS
=$ac_check_soname_save_LIBS
10997 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
10998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10999 $as_echo "not found" >&6; }
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11003 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11005 cat >>confdefs.h
<<_ACEOF
11006 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11012 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11013 case "x$with_capi" in
11014 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11016 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11017 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11023 if test "x$with_cups" != "xno"
11025 ac_save_CPPFLAGS
="$CPPFLAGS"
11026 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11027 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11028 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11029 for ac_header
in cups
/cups.h
11031 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11032 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11033 cat >>confdefs.h
<<_ACEOF
11034 #define HAVE_CUPS_CUPS_H 1
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11037 $as_echo_n "checking for -lcups... " >&6; }
11038 if ${ac_cv_lib_soname_cups+:} false
; then :
11039 $as_echo_n "(cached) " >&6
11041 ac_check_soname_save_LIBS
=$LIBS
11042 LIBS
="-lcups $ac_cups_libs $LIBS"
11043 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11044 /* end confdefs.h. */
11046 /* Override any GCC internal prototype to avoid an error.
11047 Use char because int might match the return type of a GCC
11048 builtin and then its argument prototype would still apply. */
11052 char cupsGetDefault ();
11056 return cupsGetDefault ();
11061 if ac_fn_c_try_link
"$LINENO"; then :
11063 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11064 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'` ;;
11065 *) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11068 rm -f core conftest.err conftest.
$ac_objext \
11069 conftest
$ac_exeext conftest.
$ac_ext
11070 LIBS
=$ac_check_soname_save_LIBS
11072 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11074 $as_echo "not found" >&6; }
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11078 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11080 cat >>confdefs.h
<<_ACEOF
11081 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11084 CUPSINCL
="$ac_cups_cflags"
11090 CPPFLAGS
="$ac_save_CPPFLAGS"
11092 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11093 case "x$with_cups" in
11094 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11096 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11097 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11101 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11104 $as_echo_n "checking for -lfontconfig... " >&6; }
11105 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11106 $as_echo_n "(cached) " >&6
11108 ac_check_soname_save_LIBS
=$LIBS
11109 LIBS
="-lfontconfig $LIBS"
11110 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11128 if ac_fn_c_try_link
"$LINENO"; then :
11130 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11131 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'` ;;
11132 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11135 rm -f core conftest.err conftest.
$ac_objext \
11136 conftest
$ac_exeext conftest.
$ac_ext
11137 LIBS
=$ac_check_soname_save_LIBS
11139 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11141 $as_echo "not found" >&6; }
11144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11145 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11147 cat >>confdefs.h
<<_ACEOF
11148 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11153 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11155 ac_save_CPPFLAGS
="$CPPFLAGS"
11156 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11157 $as_unset ac_cv_header_fontconfig_fontconfig_h
11158 for ac_header
in fontconfig
/fontconfig.h
11160 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11161 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11162 cat >>confdefs.h
<<_ACEOF
11163 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11170 CPPFLAGS
="$ac_save_CPPFLAGS"
11171 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11173 FONTCONFIGINCL
="$X_CFLAGS"
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11176 $as_echo_n "checking for -lfontconfig... " >&6; }
11177 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11178 $as_echo_n "(cached) " >&6
11180 ac_check_soname_save_LIBS
=$LIBS
11181 LIBS
="-lfontconfig $X_LIBS $LIBS"
11182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11185 /* Override any GCC internal prototype to avoid an error.
11186 Use char because int might match the return type of a GCC
11187 builtin and then its argument prototype would still apply. */
11200 if ac_fn_c_try_link
"$LINENO"; then :
11202 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11203 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'` ;;
11204 *) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11207 rm -f core conftest.err conftest.
$ac_objext \
11208 conftest
$ac_exeext conftest.
$ac_ext
11209 LIBS
=$ac_check_soname_save_LIBS
11211 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11213 $as_echo "not found" >&6; }
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11217 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11219 cat >>confdefs.h
<<_ACEOF
11220 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11227 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11228 case "x$with_fontconfig" in
11229 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11231 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11232 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11236 if test "$ac_cv_header_openssl_err_h" = "yes" -a "$ac_cv_header_openssl_ssl_h" = "yes"
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lssl" >&5
11239 $as_echo_n "checking for -lssl... " >&6; }
11240 if ${ac_cv_lib_soname_ssl+:} false
; then :
11241 $as_echo_n "(cached) " >&6
11243 ac_check_soname_save_LIBS
=$LIBS
11245 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11246 /* end confdefs.h. */
11248 /* Override any GCC internal prototype to avoid an error.
11249 Use char because int might match the return type of a GCC
11250 builtin and then its argument prototype would still apply. */
11254 char SSL_library_init ();
11258 return SSL_library_init ();
11263 if ac_fn_c_try_link
"$LINENO"; then :
11265 dll
) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest.exe | grep "ssl" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11266 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'` ;;
11267 *) ac_cv_lib_soname_ssl
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libssl\\.$LIBEXT" | sed -e "s/^.*\(libssl\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11270 rm -f core conftest.err conftest.
$ac_objext \
11271 conftest
$ac_exeext conftest.
$ac_ext
11272 LIBS
=$ac_check_soname_save_LIBS
11274 if test "x$ac_cv_lib_soname_ssl" = "x"; then :
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11276 $as_echo "not found" >&6; }
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ssl" >&5
11280 $as_echo "$ac_cv_lib_soname_ssl" >&6; }
11282 cat >>confdefs.h
<<_ACEOF
11283 #define SONAME_LIBSSL "$ac_cv_lib_soname_ssl"
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcrypto" >&5
11289 $as_echo_n "checking for -lcrypto... " >&6; }
11290 if ${ac_cv_lib_soname_crypto+:} false
; then :
11291 $as_echo_n "(cached) " >&6
11293 ac_check_soname_save_LIBS
=$LIBS
11294 LIBS
="-lcrypto $LIBS"
11295 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11296 /* end confdefs.h. */
11298 /* Override any GCC internal prototype to avoid an error.
11299 Use char because int might match the return type of a GCC
11300 builtin and then its argument prototype would still apply. */
11304 char BIO_new_socket ();
11308 return BIO_new_socket ();
11313 if ac_fn_c_try_link
"$LINENO"; then :
11315 dll
) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest.exe | grep "crypto" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11316 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'` ;;
11317 *) ac_cv_lib_soname_crypto
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libcrypto\\.$LIBEXT" | sed -e "s/^.*\(libcrypto\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11320 rm -f core conftest.err conftest.
$ac_objext \
11321 conftest
$ac_exeext conftest.
$ac_ext
11322 LIBS
=$ac_check_soname_save_LIBS
11324 if test "x$ac_cv_lib_soname_crypto" = "x"; then :
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11326 $as_echo "not found" >&6; }
11329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_crypto" >&5
11330 $as_echo "$ac_cv_lib_soname_crypto" >&6; }
11332 cat >>confdefs.h
<<_ACEOF
11333 #define SONAME_LIBCRYPTO "$ac_cv_lib_soname_crypto"
11339 if test "x$ac_cv_lib_soname_ssl" = "x" -o "x$ac_cv_lib_soname_crypto" = "x"; then :
11340 case "x$with_openssl" in
11341 x
) as_fn_append wine_warnings
"|OpenSSL ${notice_platform}development files not found, SSL won't be supported." ;;
11343 *) as_fn_error $?
"OpenSSL ${notice_platform}development files not found, SSL won't be supported.
11344 This is an error since --with-openssl was requested." "$LINENO" 5 ;;
11348 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11351 $as_echo_n "checking for -lgsm... " >&6; }
11352 if ${ac_cv_lib_soname_gsm+:} false
; then :
11353 $as_echo_n "(cached) " >&6
11355 ac_check_soname_save_LIBS
=$LIBS
11357 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11366 char gsm_create ();
11370 return gsm_create ();
11375 if ac_fn_c_try_link
"$LINENO"; then :
11377 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11378 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'` ;;
11379 *) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11382 rm -f core conftest.err conftest.
$ac_objext \
11383 conftest
$ac_exeext conftest.
$ac_ext
11384 LIBS
=$ac_check_soname_save_LIBS
11386 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11388 $as_echo "not found" >&6; }
11391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11392 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11394 cat >>confdefs.h
<<_ACEOF
11395 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11401 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11402 case "x$with_gsm" in
11403 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11405 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11406 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11410 if test "$ac_cv_header_jpeglib_h" = "yes"
11412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11413 $as_echo_n "checking for -ljpeg... " >&6; }
11414 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11415 $as_echo_n "(cached) " >&6
11417 ac_check_soname_save_LIBS
=$LIBS
11418 LIBS
="-ljpeg $LIBS"
11419 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11428 char jpeg_start_decompress ();
11432 return jpeg_start_decompress ();
11437 if ac_fn_c_try_link
"$LINENO"; then :
11439 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11440 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'` ;;
11441 *) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11444 rm -f core conftest.err conftest.
$ac_objext \
11445 conftest
$ac_exeext conftest.
$ac_ext
11446 LIBS
=$ac_check_soname_save_LIBS
11448 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11450 $as_echo "not found" >&6; }
11453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11454 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11456 cat >>confdefs.h
<<_ACEOF
11457 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11463 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11464 case "x$with_jpeg" in
11465 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11467 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11468 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11472 if test "$ac_cv_header_png_h" = "yes"
11474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11475 $as_echo_n "checking for -lpng... " >&6; }
11476 if ${ac_cv_lib_soname_png+:} false
; then :
11477 $as_echo_n "(cached) " >&6
11479 ac_check_soname_save_LIBS
=$LIBS
11480 LIBS
="-lpng -lm -lz $LIBS"
11481 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11484 /* Override any GCC internal prototype to avoid an error.
11485 Use char because int might match the return type of a GCC
11486 builtin and then its argument prototype would still apply. */
11490 char png_create_read_struct ();
11494 return png_create_read_struct ();
11499 if ac_fn_c_try_link
"$LINENO"; then :
11501 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11502 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'` ;;
11503 *) 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'` ;;
11506 rm -f core conftest.err conftest.
$ac_objext \
11507 conftest
$ac_exeext conftest.
$ac_ext
11508 LIBS
=$ac_check_soname_save_LIBS
11510 if test "x$ac_cv_lib_soname_png" = "x"; then :
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11512 $as_echo "not found" >&6; }
11515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11516 $as_echo "$ac_cv_lib_soname_png" >&6; }
11518 cat >>confdefs.h
<<_ACEOF
11519 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11525 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11526 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11527 $as_echo_n "(cached) " >&6
11529 ac_check_lib_save_LIBS
=$LIBS
11530 LIBS
="-lpng -lm -lz $LIBS"
11531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11532 /* end confdefs.h. */
11534 /* Override any GCC internal prototype to avoid an error.
11535 Use char because int might match the return type of a GCC
11536 builtin and then its argument prototype would still apply. */
11540 char png_set_expand_gray_1_2_4_to_8 ();
11544 return png_set_expand_gray_1_2_4_to_8 ();
11549 if ac_fn_c_try_link
"$LINENO"; then :
11550 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11552 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11554 rm -f core conftest.err conftest.
$ac_objext \
11555 conftest
$ac_exeext conftest.
$ac_ext
11556 LIBS
=$ac_check_lib_save_LIBS
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11559 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11560 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11562 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11567 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11569 ac_save_CPPFLAGS
="$CPPFLAGS"
11570 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11571 $as_unset ac_cv_header_png_h
11572 for ac_header
in png.h
11574 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11575 if test "x$ac_cv_header_png_h" = xyes
; then :
11576 cat >>confdefs.h
<<_ACEOF
11577 #define HAVE_PNG_H 1
11584 CPPFLAGS
="$ac_save_CPPFLAGS"
11585 if test "$ac_cv_header_png_h" = "yes"
11587 PNGINCL
="$X_CFLAGS"
11589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11590 $as_echo_n "checking for -lpng... " >&6; }
11591 if ${ac_cv_lib_soname_png+:} false
; then :
11592 $as_echo_n "(cached) " >&6
11594 ac_check_soname_save_LIBS
=$LIBS
11595 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11597 /* end confdefs.h. */
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11605 char png_create_read_struct ();
11609 return png_create_read_struct ();
11614 if ac_fn_c_try_link
"$LINENO"; then :
11616 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11617 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'` ;;
11618 *) 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'` ;;
11621 rm -f core conftest.err conftest.
$ac_objext \
11622 conftest
$ac_exeext conftest.
$ac_ext
11623 LIBS
=$ac_check_soname_save_LIBS
11625 if test "x$ac_cv_lib_soname_png" = "x"; then :
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11627 $as_echo "not found" >&6; }
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11631 $as_echo "$ac_cv_lib_soname_png" >&6; }
11633 cat >>confdefs.h
<<_ACEOF
11634 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11640 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11641 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11642 $as_echo_n "(cached) " >&6
11644 ac_check_lib_save_LIBS
=$LIBS
11645 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11646 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11647 /* end confdefs.h. */
11649 /* Override any GCC internal prototype to avoid an error.
11650 Use char because int might match the return type of a GCC
11651 builtin and then its argument prototype would still apply. */
11655 char png_set_expand_gray_1_2_4_to_8 ();
11659 return png_set_expand_gray_1_2_4_to_8 ();
11664 if ac_fn_c_try_link
"$LINENO"; then :
11665 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11667 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11669 rm -f core conftest.err conftest.
$ac_objext \
11670 conftest
$ac_exeext conftest.
$ac_ext
11671 LIBS
=$ac_check_lib_save_LIBS
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11674 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11675 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11676 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11682 if test "x$ac_cv_lib_soname_png" = "x"; then :
11683 case "x$with_png" in
11684 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
11686 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
11687 This is an error since --with-png was requested." "$LINENO" 5 ;;
11691 if test "$ac_cv_header_tiffio_h" = "yes"
11693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
11694 $as_echo_n "checking for -ltiff... " >&6; }
11695 if ${ac_cv_lib_soname_tiff+:} false
; then :
11696 $as_echo_n "(cached) " >&6
11698 ac_check_soname_save_LIBS
=$LIBS
11699 LIBS
="-ltiff $LIBS"
11700 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11701 /* end confdefs.h. */
11703 /* Override any GCC internal prototype to avoid an error.
11704 Use char because int might match the return type of a GCC
11705 builtin and then its argument prototype would still apply. */
11709 char TIFFClientOpen ();
11713 return TIFFClientOpen ();
11718 if ac_fn_c_try_link
"$LINENO"; then :
11720 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11721 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'` ;;
11722 *) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11725 rm -f core conftest.err conftest.
$ac_objext \
11726 conftest
$ac_exeext conftest.
$ac_ext
11727 LIBS
=$ac_check_soname_save_LIBS
11729 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11731 $as_echo "not found" >&6; }
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
11735 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
11737 cat >>confdefs.h
<<_ACEOF
11738 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
11744 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
11745 case "x$with_tiff" in
11746 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
11748 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
11749 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
11753 if test "$ac_cv_header_mpg123_h" = "yes"
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
11756 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
11757 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
11758 $as_echo_n "(cached) " >&6
11760 ac_check_lib_save_LIBS
=$LIBS
11761 LIBS
="-lmpg123 $LIBS"
11762 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11763 /* end confdefs.h. */
11765 /* Override any GCC internal prototype to avoid an error.
11766 Use char because int might match the return type of a GCC
11767 builtin and then its argument prototype would still apply. */
11771 char mpg123_feed ();
11775 return mpg123_feed ();
11780 if ac_fn_c_try_link
"$LINENO"; then :
11781 ac_cv_lib_mpg123_mpg123_feed
=yes
11783 ac_cv_lib_mpg123_mpg123_feed
=no
11785 rm -f core conftest.err conftest.
$ac_objext \
11786 conftest
$ac_exeext conftest.
$ac_ext
11787 LIBS
=$ac_check_lib_save_LIBS
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
11790 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
11791 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
11792 LIBMPG123
="-lmpg123"
11797 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
11798 case "x$with_mpg123" in
11799 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
11801 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
11802 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
11805 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
-o "x$ac_cv_header_AudioToolbox_AudioConverter_h" = xyes || enable_winemp3_acm
=${enable_winemp3_acm:-no}
11807 if test "$ac_cv_header_AL_al_h" = "yes"
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
11810 $as_echo_n "checking for -lopenal... " >&6; }
11811 if ${ac_cv_lib_soname_openal+:} false
; then :
11812 $as_echo_n "(cached) " >&6
11814 ac_check_soname_save_LIBS
=$LIBS
11815 LIBS
="-lopenal $LIBS"
11816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11817 /* end confdefs.h. */
11819 /* Override any GCC internal prototype to avoid an error.
11820 Use char because int might match the return type of a GCC
11821 builtin and then its argument prototype would still apply. */
11825 char alGetSource3i ();
11829 return alGetSource3i ();
11834 if ac_fn_c_try_link
"$LINENO"; then :
11836 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11837 dylib
) ac_cv_lib_soname_openal
=`otool -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11838 *) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11841 rm -f core conftest.err conftest.
$ac_objext \
11842 conftest
$ac_exeext conftest.
$ac_ext
11843 LIBS
=$ac_check_soname_save_LIBS
11845 if test "x$ac_cv_lib_soname_openal" = "x"; then :
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11847 $as_echo "not found" >&6; }
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
11851 $as_echo "$ac_cv_lib_soname_openal" >&6; }
11853 cat >>confdefs.h
<<_ACEOF
11854 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
11857 LIBOPENAL
="-lopenal"
11859 ac_cv_lib_openal
=yes
11861 cat >>confdefs.h
<<_ACEOF
11862 #define HAVE_OPENAL 1
11867 if test "x$ac_cv_lib_openal" != xyes
; then :
11868 case "x$with_openal" in
11869 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
11871 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
11872 This is an error since --with-openal was requested." "$LINENO" 5 ;;
11875 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
11877 if test "$ac_cv_header_kstat_h" = "yes"
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
11880 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
11881 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
11882 $as_echo_n "(cached) " >&6
11884 ac_check_lib_save_LIBS
=$LIBS
11885 LIBS
="-lkstat $LIBS"
11886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11887 /* end confdefs.h. */
11889 /* Override any GCC internal prototype to avoid an error.
11890 Use char because int might match the return type of a GCC
11891 builtin and then its argument prototype would still apply. */
11895 char kstat_open ();
11899 return kstat_open ();
11904 if ac_fn_c_try_link
"$LINENO"; then :
11905 ac_cv_lib_kstat_kstat_open
=yes
11907 ac_cv_lib_kstat_kstat_open
=no
11909 rm -f core conftest.err conftest.
$ac_objext \
11910 conftest
$ac_exeext conftest.
$ac_ext
11911 LIBS
=$ac_check_lib_save_LIBS
11913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
11914 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
11915 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
11917 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
11925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
11926 $as_echo_n "checking for -lodbc... " >&6; }
11927 if ${ac_cv_lib_soname_odbc+:} false
; then :
11928 $as_echo_n "(cached) " >&6
11930 ac_check_soname_save_LIBS
=$LIBS
11931 LIBS
="-lodbc $LIBS"
11932 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11933 /* end confdefs.h. */
11935 /* Override any GCC internal prototype to avoid an error.
11936 Use char because int might match the return type of a GCC
11937 builtin and then its argument prototype would still apply. */
11941 char SQLConnect ();
11945 return SQLConnect ();
11950 if ac_fn_c_try_link
"$LINENO"; then :
11952 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11953 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'` ;;
11954 *) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'` ;;
11957 rm -f core conftest.err conftest.
$ac_objext \
11958 conftest
$ac_exeext conftest.
$ac_ext
11959 LIBS
=$ac_check_soname_save_LIBS
11961 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
11962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11963 $as_echo "not found" >&6; }
11964 cat >>confdefs.h
<<_ACEOF
11965 #define SONAME_LIBODBC "libodbc.$LIBEXT"
11969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
11970 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
11972 cat >>confdefs.h
<<_ACEOF
11973 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
11979 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
11980 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
11981 test -n "$PULSELIBS" || enable_winepulse_drv
=${enable_winepulse_drv:-no}
11982 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
11983 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
11985 if test "x$ALSALIBS$COREAUDIO$PULSELIBS" = "x" -a \
11986 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
11987 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
11989 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
11995 if test "x${GCC}" = "xyes"
11997 EXTRACFLAGS
="-Wall -pipe"
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12000 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12001 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12002 $as_echo_n "(cached) " >&6
12004 if test "$cross_compiling" = yes; then :
12005 ac_cv_c_gcc_strength_bug
="yes"
12007 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 int L[4] = {0,1,2,3};
12013 static int Array[3];
12014 unsigned int B = 3;
12016 for(i=0; i<B; i++) Array[i] = i - 3;
12017 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12019 return (Array[1] != -2 || L[2] != 3)
12024 if ac_fn_c_try_run
"$LINENO"; then :
12025 ac_cv_c_gcc_strength_bug
="no"
12027 ac_cv_c_gcc_strength_bug
="yes"
12029 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12030 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12035 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12036 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12038 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12042 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12043 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12044 $as_echo_n "(cached) " >&6
12046 ac_wine_try_cflags_saved
=$CFLAGS
12047 CFLAGS
="$CFLAGS -fno-builtin"
12048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12049 /* end confdefs.h. */
12050 int main(int argc, char **argv) { return 0; }
12052 if ac_fn_c_try_link
"$LINENO"; then :
12053 ac_cv_cflags__fno_builtin
=yes
12055 ac_cv_cflags__fno_builtin
=no
12057 rm -f core conftest.err conftest.
$ac_objext \
12058 conftest
$ac_exeext conftest.
$ac_ext
12059 CFLAGS
=$ac_wine_try_cflags_saved
12061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12062 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12063 if test $ac_cv_cflags__fno_builtin = yes; then :
12064 BUILTINFLAG
="-fno-builtin"
12067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12068 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12069 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12070 $as_echo_n "(cached) " >&6
12072 ac_wine_try_cflags_saved
=$CFLAGS
12073 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12074 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12075 /* end confdefs.h. */
12076 int main(int argc, char **argv) { return 0; }
12078 if ac_fn_c_try_link
"$LINENO"; then :
12079 ac_cv_cflags__fno_strict_aliasing
=yes
12081 ac_cv_cflags__fno_strict_aliasing
=no
12083 rm -f core conftest.err conftest.
$ac_objext \
12084 conftest
$ac_exeext conftest.
$ac_ext
12085 CFLAGS
=$ac_wine_try_cflags_saved
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12088 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12089 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12090 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12093 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12094 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12095 $as_echo_n "(cached) " >&6
12097 ac_wine_try_cflags_saved
=$CFLAGS
12098 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12099 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12100 /* end confdefs.h. */
12101 int main(int argc, char **argv) { return 0; }
12103 if ac_fn_c_try_link
"$LINENO"; then :
12104 ac_cv_cflags__Wdeclaration_after_statement
=yes
12106 ac_cv_cflags__Wdeclaration_after_statement
=no
12108 rm -f core conftest.err conftest.
$ac_objext \
12109 conftest
$ac_exeext conftest.
$ac_ext
12110 CFLAGS
=$ac_wine_try_cflags_saved
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12113 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12114 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12115 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12118 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12119 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12120 $as_echo_n "(cached) " >&6
12122 ac_wine_try_cflags_saved
=$CFLAGS
12123 CFLAGS
="$CFLAGS -Wempty-body"
12124 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12125 /* end confdefs.h. */
12126 int main(int argc, char **argv) { return 0; }
12128 if ac_fn_c_try_link
"$LINENO"; then :
12129 ac_cv_cflags__Wempty_body
=yes
12131 ac_cv_cflags__Wempty_body
=no
12133 rm -f core conftest.err conftest.
$ac_objext \
12134 conftest
$ac_exeext conftest.
$ac_ext
12135 CFLAGS
=$ac_wine_try_cflags_saved
12137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12138 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12139 if test $ac_cv_cflags__Wempty_body = yes; then :
12140 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12143 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12144 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12145 $as_echo_n "(cached) " >&6
12147 ac_wine_try_cflags_saved
=$CFLAGS
12148 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12150 /* end confdefs.h. */
12151 int main(int argc, char **argv) { return 0; }
12153 if ac_fn_c_try_link
"$LINENO"; then :
12154 ac_cv_cflags__Wignored_qualifiers
=yes
12156 ac_cv_cflags__Wignored_qualifiers
=no
12158 rm -f core conftest.err conftest.
$ac_objext \
12159 conftest
$ac_exeext conftest.
$ac_ext
12160 CFLAGS
=$ac_wine_try_cflags_saved
12162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12163 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12164 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12165 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12168 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12169 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12170 $as_echo_n "(cached) " >&6
12172 ac_wine_try_cflags_saved
=$CFLAGS
12173 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12174 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12175 /* end confdefs.h. */
12176 int main(int argc, char **argv) { return 0; }
12178 if ac_fn_c_try_link
"$LINENO"; then :
12179 ac_cv_cflags__Wstrict_prototypes
=yes
12181 ac_cv_cflags__Wstrict_prototypes
=no
12183 rm -f core conftest.err conftest.
$ac_objext \
12184 conftest
$ac_exeext conftest.
$ac_ext
12185 CFLAGS
=$ac_wine_try_cflags_saved
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12188 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12189 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12190 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12193 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12194 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12195 $as_echo_n "(cached) " >&6
12197 ac_wine_try_cflags_saved
=$CFLAGS
12198 CFLAGS
="$CFLAGS -Wtype-limits"
12199 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12200 /* end confdefs.h. */
12201 int main(int argc, char **argv) { return 0; }
12203 if ac_fn_c_try_link
"$LINENO"; then :
12204 ac_cv_cflags__Wtype_limits
=yes
12206 ac_cv_cflags__Wtype_limits
=no
12208 rm -f core conftest.err conftest.
$ac_objext \
12209 conftest
$ac_exeext conftest.
$ac_ext
12210 CFLAGS
=$ac_wine_try_cflags_saved
12212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12213 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12214 if test $ac_cv_cflags__Wtype_limits = yes; then :
12215 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12218 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12219 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12220 $as_echo_n "(cached) " >&6
12222 ac_wine_try_cflags_saved
=$CFLAGS
12223 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12224 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12226 int main(int argc, char **argv) { return 0; }
12228 if ac_fn_c_try_link
"$LINENO"; then :
12229 ac_cv_cflags__Wunused_but_set_parameter
=yes
12231 ac_cv_cflags__Wunused_but_set_parameter
=no
12233 rm -f core conftest.err conftest.
$ac_objext \
12234 conftest
$ac_exeext conftest.
$ac_ext
12235 CFLAGS
=$ac_wine_try_cflags_saved
12237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12238 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12239 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12240 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12243 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12244 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12245 $as_echo_n "(cached) " >&6
12247 ac_wine_try_cflags_saved
=$CFLAGS
12248 CFLAGS
="$CFLAGS -Wwrite-strings"
12249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12250 /* end confdefs.h. */
12251 int main(int argc, char **argv) { return 0; }
12253 if ac_fn_c_try_link
"$LINENO"; then :
12254 ac_cv_cflags__Wwrite_strings
=yes
12256 ac_cv_cflags__Wwrite_strings
=no
12258 rm -f core conftest.err conftest.
$ac_objext \
12259 conftest
$ac_exeext conftest.
$ac_ext
12260 CFLAGS
=$ac_wine_try_cflags_saved
12262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12263 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12264 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12265 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12269 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12270 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12271 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12272 $as_echo_n "(cached) " >&6
12274 ac_wine_try_cflags_saved
=$CFLAGS
12275 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12276 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12277 /* end confdefs.h. */
12278 int main(int argc, char **argv) { return 0; }
12280 if ac_fn_c_try_link
"$LINENO"; then :
12281 ac_cv_cflags__fno_omit_frame_pointer
=yes
12283 ac_cv_cflags__fno_omit_frame_pointer
=no
12285 rm -f core conftest.err conftest.
$ac_objext \
12286 conftest
$ac_exeext conftest.
$ac_ext
12287 CFLAGS
=$ac_wine_try_cflags_saved
12289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12290 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12291 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12292 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12297 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12298 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12299 if ${ac_cv_cflags__Wno_format+:} false
; then :
12300 $as_echo_n "(cached) " >&6
12302 ac_wine_try_cflags_saved
=$CFLAGS
12303 CFLAGS
="$CFLAGS -Wno-format"
12304 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12306 int main(int argc, char **argv) { return 0; }
12308 if ac_fn_c_try_link
"$LINENO"; then :
12309 ac_cv_cflags__Wno_format
=yes
12311 ac_cv_cflags__Wno_format
=no
12313 rm -f core conftest.err conftest.
$ac_objext \
12314 conftest
$ac_exeext conftest.
$ac_ext
12315 CFLAGS
=$ac_wine_try_cflags_saved
12317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12318 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12319 if test $ac_cv_cflags__Wno_format = yes; then :
12320 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12324 saved_CFLAGS
="$CFLAGS"
12325 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12327 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12328 if ${ac_cv_c_string_h_warnings+:} false
; then :
12329 $as_echo_n "(cached) " >&6
12331 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12332 /* end confdefs.h. */
12333 #include <string.h>
12342 if ac_fn_c_try_compile
"$LINENO"; then :
12343 ac_cv_c_string_h_warnings
=no
12345 ac_cv_c_string_h_warnings
=yes
12347 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12350 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12351 CFLAGS
="$saved_CFLAGS"
12352 if test "$ac_cv_c_string_h_warnings" = "no"
12354 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12357 saved_CFLAGS
="$CFLAGS"
12358 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12360 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12361 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12362 $as_echo_n "(cached) " >&6
12364 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366 #include <string.h>
12370 char*f(const char *h,char n) {return strchr(h,n);}
12375 if ac_fn_c_try_compile
"$LINENO"; then :
12376 ac_cv_c_logicalop_noisy
=no
12378 ac_cv_c_logicalop_noisy
=yes
12380 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12383 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12384 CFLAGS
="$saved_CFLAGS"
12385 if test "$ac_cv_c_logicalop_noisy" = "no"
12387 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12390 if test "x$enable_maintainer_mode" = "xyes"
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12393 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12394 if ${ac_cv_cflags__Werror+:} false
; then :
12395 $as_echo_n "(cached) " >&6
12397 ac_wine_try_cflags_saved
=$CFLAGS
12398 CFLAGS
="$CFLAGS -Werror"
12399 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12400 /* end confdefs.h. */
12401 int main(int argc, char **argv) { return 0; }
12403 if ac_fn_c_try_link
"$LINENO"; then :
12404 ac_cv_cflags__Werror
=yes
12406 ac_cv_cflags__Werror
=no
12408 rm -f core conftest.err conftest.
$ac_objext \
12409 conftest
$ac_exeext conftest.
$ac_ext
12410 CFLAGS
=$ac_wine_try_cflags_saved
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12413 $as_echo "$ac_cv_cflags__Werror" >&6; }
12414 if test $ac_cv_cflags__Werror = yes; then :
12415 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12419 saved_CFLAGS
="$CFLAGS"
12420 CFLAGS
="$CFLAGS -Werror"
12421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12422 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12423 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12424 $as_echo_n "(cached) " >&6
12426 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12427 /* end confdefs.h. */
12428 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12437 if ac_fn_c_try_compile
"$LINENO"; then :
12438 ac_cv_have_ms_hook_prologue
="yes"
12440 ac_cv_have_ms_hook_prologue
="no"
12442 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12445 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12446 CFLAGS
="$saved_CFLAGS"
12447 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12450 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12453 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12460 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12461 if ${ac_cv_c_fortify_enabled+:} false
; then :
12462 $as_echo_n "(cached) " >&6
12464 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12465 /* end confdefs.h. */
12466 #include <string.h>
12470 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12471 #error Fortify enabled
12477 if ac_fn_c_try_compile
"$LINENO"; then :
12478 ac_cv_c_fortify_enabled
=no
12480 ac_cv_c_fortify_enabled
=yes
12482 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12485 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12486 if test "$ac_cv_c_fortify_enabled" = yes
12488 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12493 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12494 if ${ac_cv_c_extern_prefix+:} false
; then :
12495 $as_echo_n "(cached) " >&6
12497 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12498 /* end confdefs.h. */
12499 extern int ac_test;
12503 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12508 if ac_fn_c_try_link
"$LINENO"; then :
12509 ac_cv_c_extern_prefix
="yes"
12511 ac_cv_c_extern_prefix
="no"
12513 rm -f core conftest.err conftest.
$ac_objext \
12514 conftest
$ac_exeext conftest.
$ac_ext
12516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12517 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12522 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12523 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12524 $as_echo_n "(cached) " >&6
12526 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12527 /* end confdefs.h. */
12529 #define __stdcall __attribute__((__stdcall__))
12531 int __stdcall ac_test(int i) { return i; }
12535 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12540 if ac_fn_c_try_link
"$LINENO"; then :
12541 ac_cv_c_stdcall_suffix
="yes"
12543 ac_cv_c_stdcall_suffix
="no"
12545 rm -f core conftest.err conftest.
$ac_objext \
12546 conftest
$ac_exeext conftest.
$ac_ext
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12549 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12550 *) ac_cv_c_stdcall_suffix
="no" ;;
12554 if test "$ac_cv_c_extern_prefix" = "yes"
12556 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
12558 asm_name_prefix
="_"
12560 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
12566 if test "$ac_cv_c_stdcall_suffix" = "yes"
12568 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
12571 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
12576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
12577 $as_echo_n "checking how to define a function in assembly code... " >&6; }
12578 if ${ac_cv_asm_func_def+:} false
; then :
12579 $as_echo_n "(cached) " >&6
12581 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12587 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
12592 if ac_fn_c_try_link
"$LINENO"; then :
12593 ac_cv_asm_func_def
=".def"
12595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12596 /* end confdefs.h. */
12601 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
12606 if ac_fn_c_try_link
"$LINENO"; then :
12607 ac_cv_asm_func_def
=".type @function"
12609 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12610 /* end confdefs.h. */
12615 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
12620 if ac_fn_c_try_link
"$LINENO"; then :
12621 ac_cv_asm_func_def
=".type 2"
12623 ac_cv_asm_func_def
="unknown"
12625 rm -f core conftest.err conftest.
$ac_objext \
12626 conftest
$ac_exeext conftest.
$ac_ext
12628 rm -f core conftest.err conftest.
$ac_objext \
12629 conftest
$ac_exeext conftest.
$ac_ext
12631 rm -f core conftest.err conftest.
$ac_objext \
12632 conftest
$ac_exeext conftest.
$ac_ext
12634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
12635 $as_echo "$ac_cv_asm_func_def" >&6; }
12638 case "$ac_cv_asm_func_def" in
12640 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
12642 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
12644 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
12646 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
12648 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
12650 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
12652 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
12654 asm_func_header
="" ;;
12657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
12658 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
12659 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
12660 $as_echo_n "(cached) " >&6
12662 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12664 asm(".text\n\t.long 0");
12673 if ac_fn_c_try_compile
"$LINENO"; then :
12674 ac_cv_c_asm_outside_funcs
="yes"
12676 ac_cv_c_asm_outside_funcs
="no"
12678 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
12681 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
12684 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
12685 if ${ac_cv_c_dot_previous+:} false
; then :
12686 $as_echo_n "(cached) " >&6
12688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12689 /* end confdefs.h. */
12694 asm(".text\nac_test:\t.long 0\n\t.previous");
12699 if ac_fn_c_try_link
"$LINENO"; then :
12700 ac_cv_c_dot_previous
="yes"
12702 ac_cv_c_dot_previous
="no"
12704 rm -f core conftest.err conftest.
$ac_objext \
12705 conftest
$ac_exeext conftest.
$ac_ext
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
12708 $as_echo "$ac_cv_c_dot_previous" >&6; }
12710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
12711 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
12712 if ${ac_cv_c_cfi_support+:} false
; then :
12713 $as_echo_n "(cached) " >&6
12715 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12716 /* end confdefs.h. */
12717 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
12726 if ac_fn_c_try_compile
"$LINENO"; then :
12727 ac_cv_c_cfi_support
="yes"
12729 ac_cv_c_cfi_support
="no"
12731 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
12734 $as_echo "$ac_cv_c_cfi_support" >&6; }
12736 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
12737 asm_func_trailer
=""
12738 if test "$ac_cv_c_dot_previous" = "yes"
12740 asm_func_trailer
="\\n\\t.previous"
12742 if test "$ac_cv_c_cfi_support" = "yes"
12744 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
12745 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
12747 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
12749 UNWINDFLAGS
=-fasynchronous-unwind-tables
12752 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
12756 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
12759 if test "$ac_cv_c_asm_outside_funcs" = "yes"
12761 cat >>confdefs.h
<<_ACEOF
12762 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
12766 cat >>confdefs.h
<<_ACEOF
12767 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
12772 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
12775 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
12785 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
12790 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
12798 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
12805 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
12810 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
12812 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
12819 ac_save_CFLAGS
="$CFLAGS"
12820 CFLAGS
="$CFLAGS $BUILTINFLAG"
12897 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12898 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
12899 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
12900 cat >>confdefs.h
<<_ACEOF
12901 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12907 CFLAGS
="$ac_save_CFLAGS"
12909 if test "$ac_cv_func_dlopen" = no
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12912 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12913 if ${ac_cv_lib_dl_dlopen+:} false
; then :
12914 $as_echo_n "(cached) " >&6
12916 ac_check_lib_save_LIBS
=$LIBS
12918 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12919 /* end confdefs.h. */
12921 /* Override any GCC internal prototype to avoid an error.
12922 Use char because int might match the return type of a GCC
12923 builtin and then its argument prototype would still apply. */
12936 if ac_fn_c_try_link
"$LINENO"; then :
12937 ac_cv_lib_dl_dlopen
=yes
12939 ac_cv_lib_dl_dlopen
=no
12941 rm -f core conftest.err conftest.
$ac_objext \
12942 conftest
$ac_exeext conftest.
$ac_ext
12943 LIBS
=$ac_check_lib_save_LIBS
12945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12946 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12947 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
12948 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
12954 ac_wine_check_funcs_save_LIBS
="$LIBS"
12955 LIBS
="$LIBS $LIBDL"
12956 for ac_func
in dladdr
12958 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
12959 if test "x$ac_cv_func_dladdr" = xyes
; then :
12960 cat >>confdefs.h
<<_ACEOF
12961 #define HAVE_DLADDR 1
12967 LIBS
="$ac_wine_check_funcs_save_LIBS"
12969 if test "$ac_cv_func_poll" = no
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
12972 $as_echo_n "checking for poll in -lpoll... " >&6; }
12973 if ${ac_cv_lib_poll_poll+:} false
; then :
12974 $as_echo_n "(cached) " >&6
12976 ac_check_lib_save_LIBS
=$LIBS
12977 LIBS
="-lpoll $LIBS"
12978 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 /* Override any GCC internal prototype to avoid an error.
12982 Use char because int might match the return type of a GCC
12983 builtin and then its argument prototype would still apply. */
12996 if ac_fn_c_try_link
"$LINENO"; then :
12997 ac_cv_lib_poll_poll
=yes
12999 ac_cv_lib_poll_poll
=no
13001 rm -f core conftest.err conftest.
$ac_objext \
13002 conftest
$ac_exeext conftest.
$ac_ext
13003 LIBS
=$ac_check_lib_save_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13006 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13007 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13008 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13016 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13017 if ${ac_cv_search_gethostbyname+:} false
; then :
13018 $as_echo_n "(cached) " >&6
13020 ac_func_search_save_LIBS
=$LIBS
13021 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13022 /* end confdefs.h. */
13024 /* Override any GCC internal prototype to avoid an error.
13025 Use char because int might match the return type of a GCC
13026 builtin and then its argument prototype would still apply. */
13030 char gethostbyname ();
13034 return gethostbyname ();
13039 for ac_lib
in '' nsl
; do
13040 if test -z "$ac_lib"; then
13041 ac_res
="none required"
13044 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13046 if ac_fn_c_try_link
"$LINENO"; then :
13047 ac_cv_search_gethostbyname
=$ac_res
13049 rm -f core conftest.err conftest.
$ac_objext \
13051 if ${ac_cv_search_gethostbyname+:} false
; then :
13055 if ${ac_cv_search_gethostbyname+:} false
; then :
13058 ac_cv_search_gethostbyname
=no
13060 rm conftest.
$ac_ext
13061 LIBS
=$ac_func_search_save_LIBS
13063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13064 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13065 ac_res
=$ac_cv_search_gethostbyname
13066 if test "$ac_res" != no
; then :
13067 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13073 $as_echo_n "checking for library containing connect... " >&6; }
13074 if ${ac_cv_search_connect+:} false
; then :
13075 $as_echo_n "(cached) " >&6
13077 ac_func_search_save_LIBS
=$LIBS
13078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13079 /* end confdefs.h. */
13081 /* Override any GCC internal prototype to avoid an error.
13082 Use char because int might match the return type of a GCC
13083 builtin and then its argument prototype would still apply. */
13096 for ac_lib
in '' socket
; do
13097 if test -z "$ac_lib"; then
13098 ac_res
="none required"
13101 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13103 if ac_fn_c_try_link
"$LINENO"; then :
13104 ac_cv_search_connect
=$ac_res
13106 rm -f core conftest.err conftest.
$ac_objext \
13108 if ${ac_cv_search_connect+:} false
; then :
13112 if ${ac_cv_search_connect+:} false
; then :
13115 ac_cv_search_connect
=no
13117 rm conftest.
$ac_ext
13118 LIBS
=$ac_func_search_save_LIBS
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13121 $as_echo "$ac_cv_search_connect" >&6; }
13122 ac_res
=$ac_cv_search_connect
13123 if test "$ac_res" != no
; then :
13124 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13130 $as_echo_n "checking for library containing inet_aton... " >&6; }
13131 if ${ac_cv_search_inet_aton+:} false
; then :
13132 $as_echo_n "(cached) " >&6
13134 ac_func_search_save_LIBS
=$LIBS
13135 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13136 /* end confdefs.h. */
13138 /* Override any GCC internal prototype to avoid an error.
13139 Use char because int might match the return type of a GCC
13140 builtin and then its argument prototype would still apply. */
13148 return inet_aton ();
13153 for ac_lib
in '' resolv
; do
13154 if test -z "$ac_lib"; then
13155 ac_res
="none required"
13158 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13160 if ac_fn_c_try_link
"$LINENO"; then :
13161 ac_cv_search_inet_aton
=$ac_res
13163 rm -f core conftest.err conftest.
$ac_objext \
13165 if ${ac_cv_search_inet_aton+:} false
; then :
13169 if ${ac_cv_search_inet_aton+:} false
; then :
13172 ac_cv_search_inet_aton
=no
13174 rm conftest.
$ac_ext
13175 LIBS
=$ac_func_search_save_LIBS
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13178 $as_echo "$ac_cv_search_inet_aton" >&6; }
13179 ac_res
=$ac_cv_search_inet_aton
13180 if test "$ac_res" != no
; then :
13181 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13200 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13201 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13202 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13203 cat >>confdefs.h
<<_ACEOF
13204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13213 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13215 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13217 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13219 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13220 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13221 $as_echo_n "(cached) " >&6
13223 ac_check_lib_save_LIBS
=$LIBS
13224 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13225 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13226 /* end confdefs.h. */
13228 /* Override any GCC internal prototype to avoid an error.
13229 Use char because int might match the return type of a GCC
13230 builtin and then its argument prototype would still apply. */
13234 char ldap_initialize ();
13238 return ldap_initialize ();
13243 if ac_fn_c_try_link
"$LINENO"; then :
13244 ac_cv_lib_ldap_r_ldap_initialize
=yes
13246 ac_cv_lib_ldap_r_ldap_initialize
=no
13248 rm -f core conftest.err conftest.
$ac_objext \
13249 conftest
$ac_exeext conftest.
$ac_ext
13250 LIBS
=$ac_check_lib_save_LIBS
13252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13253 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13254 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13256 $as_echo_n "checking for ber_init in -llber... " >&6; }
13257 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13258 $as_echo_n "(cached) " >&6
13260 ac_check_lib_save_LIBS
=$LIBS
13261 LIBS
="-llber $LIBPTHREAD $LIBS"
13262 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13263 /* end confdefs.h. */
13265 /* Override any GCC internal prototype to avoid an error.
13266 Use char because int might match the return type of a GCC
13267 builtin and then its argument prototype would still apply. */
13275 return ber_init ();
13280 if ac_fn_c_try_link
"$LINENO"; then :
13281 ac_cv_lib_lber_ber_init
=yes
13283 ac_cv_lib_lber_ber_init
=no
13285 rm -f core conftest.err conftest.
$ac_objext \
13286 conftest
$ac_exeext conftest.
$ac_ext
13287 LIBS
=$ac_check_lib_save_LIBS
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13290 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13291 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13293 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13295 LDAPLIBS
="-lldap_r -llber"
13302 ac_wine_check_funcs_save_LIBS
="$LIBS"
13303 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13305 ldap_count_references \
13306 ldap_first_reference \
13307 ldap_next_reference \
13308 ldap_parse_reference \
13309 ldap_parse_sort_control \
13310 ldap_parse_sortresponse_control \
13311 ldap_parse_vlv_control \
13312 ldap_parse_vlvresponse_control
13314 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13315 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13316 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13317 cat >>confdefs.h
<<_ACEOF
13318 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13324 LIBS
="$ac_wine_check_funcs_save_LIBS"
13326 if test "x$LDAPLIBS" = "x"; then :
13327 case "x$with_ldap" in
13328 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13330 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13331 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13336 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13337 if ${wine_cv_one_arg_mkdir+:} false
; then :
13338 $as_echo_n "(cached) " >&6
13340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13342 #include <sys/stat.h>
13351 if ac_fn_c_try_compile
"$LINENO"; then :
13352 wine_cv_one_arg_mkdir
=yes
13354 wine_cv_one_arg_mkdir
=no
13356 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13359 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13360 if test "$wine_cv_one_arg_mkdir" = "yes"
13363 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13368 $as_echo_n "checking for sched_setaffinity... " >&6; }
13369 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13370 $as_echo_n "(cached) " >&6
13372 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13373 /* end confdefs.h. */
13374 #define _GNU_SOURCE
13379 sched_setaffinity(0, 0, 0);
13384 if ac_fn_c_try_link
"$LINENO"; then :
13385 wine_cv_have_sched_setaffinity
=yes
13387 wine_cv_have_sched_setaffinity
=no
13389 rm -f core conftest.err conftest.
$ac_objext \
13390 conftest
$ac_exeext conftest.
$ac_ext
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13393 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13394 if test "$wine_cv_have_sched_setaffinity" = "yes"
13397 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13403 $as_echo_n "checking for inline... " >&6; }
13404 if ${ac_cv_c_inline+:} false
; then :
13405 $as_echo_n "(cached) " >&6
13408 for ac_kw
in inline __inline__ __inline
; do
13409 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13410 /* end confdefs.h. */
13411 #ifndef __cplusplus
13413 static $ac_kw foo_t static_foo () {return 0; }
13414 $ac_kw foo_t foo () {return 0; }
13418 if ac_fn_c_try_compile
"$LINENO"; then :
13419 ac_cv_c_inline
=$ac_kw
13421 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13422 test "$ac_cv_c_inline" != no
&& break
13426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13427 $as_echo "$ac_cv_c_inline" >&6; }
13429 case $ac_cv_c_inline in
13432 case $ac_cv_c_inline in
13434 *) ac_val
=$ac_cv_c_inline;;
13436 cat >>confdefs.h
<<_ACEOF
13437 #ifndef __cplusplus
13438 #define inline $ac_val
13444 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13445 if test "x$ac_cv_type_mode_t" = xyes
; then :
13447 cat >>confdefs.h
<<_ACEOF
13448 #define HAVE_MODE_T 1
13453 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13454 if test "x$ac_cv_type_off_t" = xyes
; then :
13456 cat >>confdefs.h
<<_ACEOF
13457 #define HAVE_OFF_T 1
13462 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13463 if test "x$ac_cv_type_pid_t" = xyes
; then :
13465 cat >>confdefs.h
<<_ACEOF
13466 #define HAVE_PID_T 1
13471 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
13472 if test "x$ac_cv_type_size_t" = xyes
; then :
13474 cat >>confdefs.h
<<_ACEOF
13475 #define HAVE_SIZE_T 1
13480 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
13481 if test "x$ac_cv_type_ssize_t" = xyes
; then :
13483 cat >>confdefs.h
<<_ACEOF
13484 #define HAVE_SSIZE_T 1
13489 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
13490 if test "x$ac_cv_type_long_long" = xyes
; then :
13492 cat >>confdefs.h
<<_ACEOF
13493 #define HAVE_LONG_LONG 1
13498 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
13499 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
13501 cat >>confdefs.h
<<_ACEOF
13502 #define HAVE_FSBLKCNT_T 1
13507 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
13508 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
13510 cat >>confdefs.h
<<_ACEOF
13511 #define HAVE_FSFILCNT_T 1
13517 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
13518 #include <signal.h>
13520 if test "x$ac_cv_type_sigset_t" = xyes
; then :
13522 cat >>confdefs.h
<<_ACEOF
13523 #define HAVE_SIGSET_T 1
13529 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
13531 if test "x$ac_cv_type_request_sense" = xyes
; then :
13533 cat >>confdefs.h
<<_ACEOF
13534 #define HAVE_REQUEST_SENSE 1
13541 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
13542 #ifdef HAVE_SYS_SOCKET_H
13543 #include <sys/socket.h>
13545 #ifdef HAVE_SYS_SOCKETVAR_H
13546 #include <sys/socketvar.h>
13548 #ifdef HAVE_NET_ROUTE_H
13549 #include <net/route.h>
13551 #ifdef HAVE_NETINET_IN_H
13552 #include <netinet/in.h>
13554 #ifdef HAVE_NETINET_IN_SYSTM_H
13555 #include <netinet/in_systm.h>
13557 #ifdef HAVE_NETINET_IP_H
13558 #include <netinet/ip.h>
13560 #ifdef HAVE_NETINET_IN_PCB_H
13561 #include <netinet/in_pcb.h>
13564 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
13566 cat >>confdefs.h
<<_ACEOF
13567 #define HAVE_STRUCT_XINPGEN 1
13574 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
13575 #include <linux/input.h>
13578 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
13580 cat >>confdefs.h
<<_ACEOF
13581 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
13588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
13589 $as_echo_n "checking for sigaddset... " >&6; }
13590 if ${wine_cv_have_sigaddset+:} false
; then :
13591 $as_echo_n "(cached) " >&6
13593 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13594 /* end confdefs.h. */
13595 #include <signal.h>
13599 sigset_t set; sigaddset(&set,SIGTERM);
13604 if ac_fn_c_try_link
"$LINENO"; then :
13605 wine_cv_have_sigaddset
=yes
13607 wine_cv_have_sigaddset
=no
13609 rm -f core conftest.err conftest.
$ac_objext \
13610 conftest
$ac_exeext conftest.
$ac_ext
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
13613 $as_echo "$wine_cv_have_sigaddset" >&6; }
13614 if test "$wine_cv_have_sigaddset" = "yes"
13617 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
13622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
13623 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
13624 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
13625 $as_echo_n "(cached) " >&6
13627 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13628 /* end confdefs.h. */
13636 struct hostent *result;
13643 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
13644 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
13650 if ac_fn_c_try_link
"$LINENO"; then :
13651 wine_cv_linux_gethostbyname_r_6
=yes
13653 wine_cv_linux_gethostbyname_r_6
=no
13656 rm -f core conftest.err conftest.
$ac_objext \
13657 conftest
$ac_exeext conftest.
$ac_ext
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
13661 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
13662 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
13665 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
13669 if test "$ac_cv_header_linux_joystick_h" = "yes"
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
13672 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
13673 if ${wine_cv_linux_joystick_22_api+:} false
; then :
13674 $as_echo_n "(cached) " >&6
13676 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13677 /* end confdefs.h. */
13679 #include <sys/ioctl.h>
13680 #include <sys/types.h>
13681 #include <linux/joystick.h>
13683 struct js_event blub;
13684 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
13685 #error "no 2.2 header"
13696 if ac_fn_c_try_compile
"$LINENO"; then :
13697 wine_cv_linux_joystick_22_api
=yes
13699 wine_cv_linux_joystick_22_api
=no
13701 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
13705 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
13706 if test "$wine_cv_linux_joystick_22_api" = "yes"
13709 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
13715 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
13716 #ifdef HAVE_SYS_PARAM_H
13717 # include <sys/param.h>
13719 #ifdef HAVE_SYS_MOUNT_H
13720 # include <sys/mount.h>
13722 #ifdef HAVE_SYS_VFS_H
13723 # include <sys/vfs.h>
13725 #ifdef HAVE_SYS_STATFS_H
13726 # include <sys/statfs.h>
13729 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
13731 cat >>confdefs.h
<<_ACEOF
13732 #define HAVE_STRUCT_STATFS_F_BFREE 1
13737 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
13738 #ifdef HAVE_SYS_PARAM_H
13739 # include <sys/param.h>
13741 #ifdef HAVE_SYS_MOUNT_H
13742 # include <sys/mount.h>
13744 #ifdef HAVE_SYS_VFS_H
13745 # include <sys/vfs.h>
13747 #ifdef HAVE_SYS_STATFS_H
13748 # include <sys/statfs.h>
13751 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
13753 cat >>confdefs.h
<<_ACEOF
13754 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
13759 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
13760 #ifdef HAVE_SYS_PARAM_H
13761 # include <sys/param.h>
13763 #ifdef HAVE_SYS_MOUNT_H
13764 # include <sys/mount.h>
13766 #ifdef HAVE_SYS_VFS_H
13767 # include <sys/vfs.h>
13769 #ifdef HAVE_SYS_STATFS_H
13770 # include <sys/statfs.h>
13773 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
13775 cat >>confdefs.h
<<_ACEOF
13776 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
13781 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
13782 #ifdef HAVE_SYS_PARAM_H
13783 # include <sys/param.h>
13785 #ifdef HAVE_SYS_MOUNT_H
13786 # include <sys/mount.h>
13788 #ifdef HAVE_SYS_VFS_H
13789 # include <sys/vfs.h>
13791 #ifdef HAVE_SYS_STATFS_H
13792 # include <sys/statfs.h>
13795 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
13797 cat >>confdefs.h
<<_ACEOF
13798 #define HAVE_STRUCT_STATFS_F_FFREE 1
13803 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
13804 #ifdef HAVE_SYS_PARAM_H
13805 # include <sys/param.h>
13807 #ifdef HAVE_SYS_MOUNT_H
13808 # include <sys/mount.h>
13810 #ifdef HAVE_SYS_VFS_H
13811 # include <sys/vfs.h>
13813 #ifdef HAVE_SYS_STATFS_H
13814 # include <sys/statfs.h>
13817 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
13819 cat >>confdefs.h
<<_ACEOF
13820 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
13825 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
13826 #ifdef HAVE_SYS_PARAM_H
13827 # include <sys/param.h>
13829 #ifdef HAVE_SYS_MOUNT_H
13830 # include <sys/mount.h>
13832 #ifdef HAVE_SYS_VFS_H
13833 # include <sys/vfs.h>
13835 #ifdef HAVE_SYS_STATFS_H
13836 # include <sys/statfs.h>
13839 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
13841 cat >>confdefs.h
<<_ACEOF
13842 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
13849 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
13850 #include <sys/statvfs.h>
13853 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
13855 cat >>confdefs.h
<<_ACEOF
13856 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
13863 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
13864 #ifdef HAVE_SYS_SOCKET_H
13865 # include <sys/socket.h>
13867 #ifdef HAVE_SYS_UN_H
13868 # include <sys/un.h>
13871 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
13873 cat >>confdefs.h
<<_ACEOF
13874 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
13879 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
13880 #ifdef HAVE_SYS_SOCKET_H
13881 # include <sys/socket.h>
13883 #ifdef HAVE_SYS_UN_H
13884 # include <sys/un.h>
13887 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
13889 cat >>confdefs.h
<<_ACEOF
13890 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
13895 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
13896 #ifdef HAVE_SYS_SOCKET_H
13897 # include <sys/socket.h>
13899 #ifdef HAVE_SYS_UN_H
13900 # include <sys/un.h>
13903 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
13905 cat >>confdefs.h
<<_ACEOF
13906 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
13913 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
13914 #ifdef HAVE_SCSI_SG_H
13915 #include <scsi/sg.h>
13918 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
13920 cat >>confdefs.h
<<_ACEOF
13921 #define HAVE_SCSIREQ_T_CMD 1
13926 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>
13927 #ifdef HAVE_SCSI_SG_H
13928 #include <scsi/sg.h>
13931 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
13933 cat >>confdefs.h
<<_ACEOF
13934 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
13941 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
13943 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
13945 cat >>confdefs.h
<<_ACEOF
13946 #define HAVE_SIGINFO_T_SI_FD 1
13953 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
13954 #ifdef HAVE_SYS_MTIO_H
13955 #include <sys/mtio.h>
13958 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
13960 cat >>confdefs.h
<<_ACEOF
13961 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
13966 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
13967 #ifdef HAVE_SYS_MTIO_H
13968 #include <sys/mtio.h>
13971 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
13973 cat >>confdefs.h
<<_ACEOF
13974 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
13979 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
13980 #ifdef HAVE_SYS_MTIO_H
13981 #include <sys/mtio.h>
13984 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
13986 cat >>confdefs.h
<<_ACEOF
13987 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
13994 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
13995 #include <getopt.h>
13998 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14000 cat >>confdefs.h
<<_ACEOF
14001 #define HAVE_STRUCT_OPTION_NAME 1
14008 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14009 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14011 cat >>confdefs.h
<<_ACEOF
14012 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14017 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14018 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14020 cat >>confdefs.h
<<_ACEOF
14021 #define HAVE_STRUCT_STAT_ST_MTIM 1
14026 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14027 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14029 cat >>confdefs.h
<<_ACEOF
14030 #define HAVE_STRUCT_STAT_ST_CTIM 1
14035 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14036 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14038 cat >>confdefs.h
<<_ACEOF
14039 #define HAVE_STRUCT_STAT_ST_ATIM 1
14046 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
14047 #include <sys/types.h>
14049 #ifdef HAVE_NETINET_IN_H
14050 #include <netinet/in.h>
14053 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14055 cat >>confdefs.h
<<_ACEOF
14056 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14063 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14064 #include <sys/types.h>
14066 #ifdef HAVE_NETINET_IN_H
14067 # include <netinet/in.h>
14069 #ifdef HAVE_ARPA_NAMESER_H
14070 # include <arpa/nameser.h>
14073 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14075 cat >>confdefs.h
<<_ACEOF
14076 #define HAVE_NS_MSG__MSG_PTR 1
14083 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14084 #include <sys/types.h>
14086 #ifdef HAVE_ALIAS_H
14089 #ifdef HAVE_SYS_SOCKET_H
14090 #include <sys/socket.h>
14092 #ifdef HAVE_SYS_SOCKETVAR_H
14093 #include <sys/socketvar.h>
14095 #ifdef HAVE_SYS_TIMEOUT_H
14096 #include <sys/timeout.h>
14098 #ifdef HAVE_NETINET_IN_H
14099 #include <netinet/in.h>
14101 #ifdef HAVE_NETINET_IN_SYSTM_H
14102 #include <netinet/in_systm.h>
14104 #ifdef HAVE_NETINET_IP_H
14105 #include <netinet/ip.h>
14107 #ifdef HAVE_NETINET_IP_VAR_H
14108 #include <netinet/ip_var.h>
14110 #ifdef HAVE_NETINET_IP_ICMP_H
14111 #include <netinet/ip_icmp.h>
14113 #ifdef HAVE_NETINET_ICMP_VAR
14114 #include <netinet/icmp_var.h>
14117 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14119 cat >>confdefs.h
<<_ACEOF
14120 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14127 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14128 #include <sys/types.h>
14130 #ifdef HAVE_NET_IF_H
14131 # include <net/if.h>
14134 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14136 cat >>confdefs.h
<<_ACEOF
14137 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14145 $as_echo_n "checking for timezone variable... " >&6; }
14146 if ${ac_cv_have_timezone+:} false
; then :
14147 $as_echo_n "(cached) " >&6
14149 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14150 /* end confdefs.h. */
14160 if ac_fn_c_try_link
"$LINENO"; then :
14161 ac_cv_have_timezone
="yes"
14163 ac_cv_have_timezone
="no"
14165 rm -f core conftest.err conftest.
$ac_objext \
14166 conftest
$ac_exeext conftest.
$ac_ext
14168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14169 $as_echo "$ac_cv_have_timezone" >&6; }
14170 if test "$ac_cv_have_timezone" = "yes"
14173 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14177 $as_echo_n "checking for daylight variable... " >&6; }
14178 if ${ac_cv_have_daylight+:} false
; then :
14179 $as_echo_n "(cached) " >&6
14181 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14182 /* end confdefs.h. */
14192 if ac_fn_c_try_link
"$LINENO"; then :
14193 ac_cv_have_daylight
="yes"
14195 ac_cv_have_daylight
="no"
14197 rm -f core conftest.err conftest.
$ac_objext \
14198 conftest
$ac_exeext conftest.
$ac_ext
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14201 $as_echo "$ac_cv_have_daylight" >&6; }
14202 if test "$ac_cv_have_daylight" = "yes"
14205 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14209 ac_save_LIBS
="$LIBS"
14211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14212 $as_echo_n "checking for isinf... " >&6; }
14213 if ${ac_cv_have_isinf+:} false
; then :
14214 $as_echo_n "(cached) " >&6
14216 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14222 float f = 0.0; return isinf(f)
14227 if ac_fn_c_try_link
"$LINENO"; then :
14228 ac_cv_have_isinf
="yes"
14230 ac_cv_have_isinf
="no"
14232 rm -f core conftest.err conftest.
$ac_objext \
14233 conftest
$ac_exeext conftest.
$ac_ext
14235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14236 $as_echo "$ac_cv_have_isinf" >&6; }
14237 if test "$ac_cv_have_isinf" = "yes"
14240 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14245 $as_echo_n "checking for isnan... " >&6; }
14246 if ${ac_cv_have_isnan+:} false
; then :
14247 $as_echo_n "(cached) " >&6
14249 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14250 /* end confdefs.h. */
14255 float f = 0.0; return isnan(f)
14260 if ac_fn_c_try_link
"$LINENO"; then :
14261 ac_cv_have_isnan
="yes"
14263 ac_cv_have_isnan
="no"
14265 rm -f core conftest.err conftest.
$ac_objext \
14266 conftest
$ac_exeext conftest.
$ac_ext
14268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
14269 $as_echo "$ac_cv_have_isnan" >&6; }
14270 if test "$ac_cv_have_isnan" = "yes"
14273 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
14276 LIBS
="$ac_save_LIBS"
14280 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
14281 $as_echo_n "checking whether we need to define __i386__... " >&6; }
14282 if ${ac_cv_cpp_def___i386__+:} false
; then :
14283 $as_echo_n "(cached) " >&6
14285 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14286 /* end confdefs.h. */
14291 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14292 $EGREP "yes" >/dev
/null
2>&1; then :
14293 ac_cv_cpp_def___i386__
=yes
14295 ac_cv_cpp_def___i386__
=no
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
14301 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
14302 if test $ac_cv_cpp_def___i386__ = yes; then :
14303 CFLAGS
="$CFLAGS -D__i386__"
14304 LINTFLAGS
="$LINTFLAGS -D__i386__"
14306 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
14307 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
14308 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
14309 $as_echo_n "(cached) " >&6
14311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14312 /* end confdefs.h. */
14317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14318 $EGREP "yes" >/dev
/null
2>&1; then :
14319 ac_cv_cpp_def___x86_64__
=yes
14321 ac_cv_cpp_def___x86_64__
=no
14326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
14327 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
14328 if test $ac_cv_cpp_def___x86_64__ = yes; then :
14329 CFLAGS
="$CFLAGS -D__x86_64__"
14330 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
14332 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
14333 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
14334 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
14335 $as_echo_n "(cached) " >&6
14337 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14338 /* end confdefs.h. */
14339 #ifndef __sparc64__
14343 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14344 $EGREP "yes" >/dev
/null
2>&1; then :
14345 ac_cv_cpp_def___sparc64__
=yes
14347 ac_cv_cpp_def___sparc64__
=no
14352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
14353 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
14354 if test $ac_cv_cpp_def___sparc64__ = yes; then :
14355 CFLAGS
="$CFLAGS -D__sparc64__"
14356 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
14358 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
14359 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
14360 if ${ac_cv_cpp_def___sparc__+:} false
; then :
14361 $as_echo_n "(cached) " >&6
14363 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14364 /* end confdefs.h. */
14369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14370 $EGREP "yes" >/dev
/null
2>&1; then :
14371 ac_cv_cpp_def___sparc__
=yes
14373 ac_cv_cpp_def___sparc__
=no
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
14379 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
14380 if test $ac_cv_cpp_def___sparc__ = yes; then :
14381 CFLAGS
="$CFLAGS -D__sparc__"
14382 LINTFLAGS
="$LINTFLAGS -D__sparc__"
14384 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
14385 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
14386 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
14387 $as_echo_n "(cached) " >&6
14389 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14390 /* end confdefs.h. */
14391 #ifndef __powerpc64__
14395 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14396 $EGREP "yes" >/dev
/null
2>&1; then :
14397 ac_cv_cpp_def___powerpc64__
=yes
14399 ac_cv_cpp_def___powerpc64__
=no
14404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
14405 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
14406 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
14407 CFLAGS
="$CFLAGS -D__powerpc64__"
14408 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
14410 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
14411 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
14412 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
14413 $as_echo_n "(cached) " >&6
14415 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14416 /* end confdefs.h. */
14417 #ifndef __powerpc__
14421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14422 $EGREP "yes" >/dev
/null
2>&1; then :
14423 ac_cv_cpp_def___powerpc__
=yes
14425 ac_cv_cpp_def___powerpc__
=no
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
14431 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
14432 if test $ac_cv_cpp_def___powerpc__ = yes; then :
14433 CFLAGS
="$CFLAGS -D__powerpc__"
14434 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
14436 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
14437 $as_echo_n "checking whether we need to define __arm__... " >&6; }
14438 if ${ac_cv_cpp_def___arm__+:} false
; then :
14439 $as_echo_n "(cached) " >&6
14441 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14447 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14448 $EGREP "yes" >/dev
/null
2>&1; then :
14449 ac_cv_cpp_def___arm__
=yes
14451 ac_cv_cpp_def___arm__
=no
14456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
14457 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
14458 if test $ac_cv_cpp_def___arm__ = yes; then :
14459 CFLAGS
="$CFLAGS -D__arm__"
14460 LINTFLAGS
="$LINTFLAGS -D__arm__"
14464 case $host_vendor in
14465 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
14466 $as_echo_n "checking whether we need to define __sun__... " >&6; }
14467 if ${ac_cv_cpp_def___sun__+:} false
; then :
14468 $as_echo_n "(cached) " >&6
14470 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14471 /* end confdefs.h. */
14476 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14477 $EGREP "yes" >/dev
/null
2>&1; then :
14478 ac_cv_cpp_def___sun__
=yes
14480 ac_cv_cpp_def___sun__
=no
14485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
14486 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
14487 if test $ac_cv_cpp_def___sun__ = yes; then :
14488 CFLAGS
="$CFLAGS -D__sun__"
14489 LINTFLAGS
="$LINTFLAGS -D__sun__"
14497 ac_config_commands
="$ac_config_commands include/stamp-h"
14500 ALL_MAKEFILE_DEPENDS
="
14501 # Rules automatically generated by configure
14506 Makefile: Makefile.in Make.vars.in Make.rules config.status
14507 @./config.status Make.tmp Makefile"
14510 ALL_TEST_RESOURCES
=""
14513 wine_fn_append_file
()
14515 as_fn_append
$1 " \\$as_nl $2"
14518 wine_fn_append_rule
()
14520 as_fn_append
$1 "$as_nl$2"
14523 wine_fn_has_flag
()
14525 expr ",$2," : ".*,$1,.*" >/dev
/null
14528 wine_fn_all_dir_rules
()
14532 ac_makedep
="\$(MAKEDEP)"
14533 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
14534 if test $ac_dir != tools
14536 ac_alldeps
="$2 $ac_makedep"
14539 *.
in) ac_input
=$ac_input:$2 ;;
14540 *) ac_makedep
="$2 $ac_makedep" ;;
14543 wine_fn_append_file ALL_DIRS
$ac_dir
14544 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14545 "__clean__: $ac_dir/__clean__
14546 .PHONY: $ac_dir/__clean__
14547 $ac_dir/__clean__: $ac_dir/Makefile
14548 @cd $ac_dir && \$(MAKE) clean
14549 \$(RM) $ac_dir/Makefile
14550 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
14551 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
14552 depend: $ac_dir/__depend__
14553 .PHONY: $ac_dir/__depend__
14554 $ac_dir/__depend__: $ac_makedep dummy
14555 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
14558 wine_fn_pot_rules
()
14563 test "x$with_gettextpo" = xyes ||
return
14565 if wine_fn_has_flag mc
$ac_flags
14567 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
14568 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14569 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
14570 @cd $ac_dir && \$(MAKE) msg.pot
14571 $ac_dir/msg.pot: tools/wmc include"
14573 if wine_fn_has_flag po
$ac_flags
14575 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
14576 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14577 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
14578 @cd $ac_dir && \$(MAKE) rsrc.pot
14579 $ac_dir/rsrc.pot: tools/wrc include"
14583 wine_fn_config_makefile
()
14589 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14593 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
14594 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14597 $ac_dir: $ac_dir/Makefile dummy
14598 @cd $ac_dir && \$(MAKE)"
14600 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
14602 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14603 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14604 $ac_dir/__install__:: $ac_dir
14605 @cd $ac_dir && \$(MAKE) install
14606 $ac_dir/__uninstall__:: $ac_dir/Makefile
14607 @cd $ac_dir && \$(MAKE) uninstall
14608 install:: $ac_dir/__install__
14609 __uninstall__: $ac_dir/__uninstall__"
14611 if wine_fn_has_flag install-lib
$ac_flags
14613 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14614 ".PHONY: $ac_dir/__install-lib__
14615 $ac_dir/__install-lib__:: $ac_dir
14616 @cd $ac_dir && \$(MAKE) install-lib
14617 install-lib:: $ac_dir/__install-lib__"
14620 if wine_fn_has_flag install-dev
$ac_flags
14622 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14623 ".PHONY: $ac_dir/__install-dev
14624 $ac_dir/__install-dev__:: $ac_dir
14625 @cd $ac_dir && \$(MAKE) install-dev
14626 install-dev:: $ac_dir/__install-dev__"
14630 wine_fn_config_lib
()
14634 ac_dir
=dlls
/$ac_name
14635 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
14637 if wine_fn_has_flag install-dev
$ac_flags
14640 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14641 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14642 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
14643 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14644 $ac_dir/__uninstall__::
14645 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
14646 install install-dev:: $ac_dir/__install__
14647 __uninstall__: $ac_dir/__uninstall__"
14650 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
14651 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
14654 wine_fn_config_dll
()
14657 ac_dir
=dlls
/$ac_name
14660 ac_implib
=${4:-$ac_name}
14661 ac_file
=$ac_dir/lib
$ac_implib
14663 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
14667 *16) ac_implibflags
=" -m16" ;;
14669 *) ac_dll
=$ac_dll.dll
;;
14672 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
14674 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14675 test "$ac_enable" != enable_win16 ||
return 0
14676 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
14678 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14679 "$ac_dir: __builddeps__
14680 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
14681 @cd $ac_dir && \$(MAKE) \$@"
14683 if wine_fn_has_flag install-lib
$ac_flags
14686 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14687 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
14688 install install-lib:: $ac_dir/__install-lib__
14689 __uninstall__: $ac_dir/__uninstall__"
14690 if test -n "$DLLEXT"
14692 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14693 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14694 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
14695 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
14696 $ac_dir/__uninstall__::
14697 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
14699 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14700 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14701 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
14702 $ac_dir/__uninstall__::
14703 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
14707 wine_fn_pot_rules
$ac_dir $ac_flags
14710 if wine_fn_has_flag staticimplib
$ac_flags
14712 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14713 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
14714 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
14715 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
14716 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
14717 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
14718 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
14719 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14720 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14721 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14722 $ac_dir/__uninstall__::
14723 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14724 install install-dev:: $ac_dir/__install-dev__
14725 __uninstall__: $ac_dir/__uninstall__"
14727 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
14729 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14730 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
14731 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
14732 $ac_dir/__uninstall__::
14733 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
14736 if test "x$CROSSTEST_DISABLE" = x
14738 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14739 "__builddeps__: $ac_file.cross.a
14740 $ac_file.cross.a: $ac_dir/Makefile dummy
14741 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
14744 elif wine_fn_has_flag implib
$ac_flags
14746 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14747 "__builddeps__: $ac_file.$IMPLIBEXT
14748 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14749 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14750 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14751 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
14752 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
14753 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
14754 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14755 $ac_dir/__uninstall__::
14756 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
14757 install install-dev:: $ac_dir/__install-dev__
14758 __uninstall__: $ac_dir/__uninstall__"
14759 if test "x$CROSSTEST_DISABLE" = x
14761 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14762 "__builddeps__: $ac_file.cross.a
14763 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
14764 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
14767 if test "$ac_name" != "$ac_implib"
14769 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14770 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
14771 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
14772 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
14774 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
14775 if test "x$CROSSTEST_DISABLE" = x
14777 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14778 "__builddeps__: dlls/lib$ac_implib.cross.a
14779 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
14780 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
14786 wine_fn_config_program
()
14789 ac_dir
=programs
/$ac_name
14792 ac_program
=$ac_name
14796 *) ac_program
=$ac_program.exe
;;
14799 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
14801 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
14804 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14805 "$ac_dir: __builddeps__"
14807 wine_fn_pot_rules
$ac_dir $ac_flags
14809 wine_fn_has_flag
install $ac_flags ||
return
14810 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14811 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
14812 install install-lib:: $ac_dir/__install__
14813 __uninstall__: $ac_dir/__uninstall__"
14815 if test -n "$DLLEXT"
14817 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14818 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
14819 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
14820 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
14821 $ac_dir/__uninstall__::
14822 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
14824 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
14826 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14827 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
14828 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
14829 $ac_dir/__uninstall__::
14830 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
14833 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14834 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
14835 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
14836 $ac_dir/__uninstall__::
14837 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
14840 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
14842 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14843 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
14844 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
14845 $ac_dir/__uninstall__::
14846 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
14851 wine_fn_config_test
()
14856 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
14857 wine_fn_all_dir_rules
$ac_dir Maketest.rules
14859 if test "x$enable_tests" = xno
; then :
14862 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14865 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
14866 @cd $ac_dir && \$(MAKE)
14867 programs/winetest: $ac_dir
14868 check test: $ac_dir/__test__
14869 .PHONY: $ac_dir/__test__
14870 $ac_dir/__test__: dummy
14871 @cd $ac_dir && \$(MAKE) test
14873 \$(RM) $ac_dir/*.ok"
14875 if test "x$CROSSTEST_DISABLE" = x
14877 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14878 "crosstest: $ac_dir/__crosstest__
14879 .PHONY: $ac_dir/__crosstest__
14880 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
14881 @cd $ac_dir && \$(MAKE) crosstest"
14886 wine_fn_config_tool
()
14890 if test "x$enable_tools" = xno
; then :
14894 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
14896 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
14897 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
14899 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
14903 wine_fn_config_makerules
()
14907 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14908 "$ac_rules: $ac_rules.in $ac_deps config.status
14909 @./config.status $ac_rules
14914 wine_fn_config_symlink
()
14917 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14919 @./config.status $ac_link
14924 if test "x$CROSSTEST_DISABLE" != x
14926 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
14928 @echo \"crosstest is not supported (mingw not installed?)\" && false"
14930 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
14931 wine_fn_config_symlink dlls
/shell32
/AUTHORS
14932 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
14933 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
14934 if test "x$enable_fonts" != xno
; then
14935 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
14936 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
14938 if test "x$enable_fonts" != xno
; then
14939 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
14940 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
14942 if test "x$enable_fonts" != xno
; then
14943 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
14944 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
14946 if test "x$enable_fonts" != xno
; then
14947 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
14948 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
14950 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
14951 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
14952 if test "x$enable_tools" != xno
; then
14953 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
14954 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
14956 ac_config_links
="$ac_config_links wine:tools/winewrapper"
14957 wine_fn_config_symlink wine
14958 if test "x$enable_win64" != xno
; then
14959 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
14960 wine_fn_config_symlink wine64
14963 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
14965 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
14967 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
14969 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
14971 ac_config_commands
="$ac_config_commands dlls/user32/resources"
14973 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
14975 ac_config_commands
="$ac_config_commands include/wine"
14978 wine_fn_config_makerules Make.rules
14979 MAKE_RULES
=Make.rules
14980 ac_config_files
="$ac_config_files Make.rules"
14982 wine_fn_config_makerules Maketest.rules Make.rules
14983 MAKE_TEST_RULES
=Maketest.rules
14984 ac_config_files
="$ac_config_files Maketest.rules"
14986 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
14987 MAKE_DLL_RULES
=dlls
/Makedll.rules
14988 ac_config_files
="$ac_config_files dlls/Makedll.rules"
14990 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
14991 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
14992 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
14994 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
14995 MAKE_PROG_RULES
=programs
/Makeprog.rules
14996 ac_config_files
="$ac_config_files programs/Makeprog.rules"
14999 wine_fn_config_dll acledit enable_acledit
15000 wine_fn_config_dll aclui enable_aclui implib
15001 wine_fn_config_dll activeds enable_activeds implib
15002 wine_fn_config_dll actxprxy enable_actxprxy
15003 wine_fn_config_lib adsiid
15004 wine_fn_config_dll advapi32 enable_advapi32 implib
15005 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15006 wine_fn_config_dll advpack enable_advpack implib
15007 wine_fn_config_test dlls
/advpack
/tests advpack_test
15008 wine_fn_config_dll amstream enable_amstream
15009 wine_fn_config_test dlls
/amstream
/tests amstream_test
15010 wine_fn_config_dll apphelp enable_apphelp
15011 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15012 wine_fn_config_dll atl enable_atl implib
15013 wine_fn_config_test dlls
/atl
/tests atl_test
15014 wine_fn_config_dll authz enable_authz
15015 wine_fn_config_dll avicap32 enable_avicap32 implib
15016 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15017 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15018 wine_fn_config_dll avifile.dll16 enable_win16
15019 wine_fn_config_dll avrt enable_avrt implib
15020 wine_fn_config_dll bcrypt enable_bcrypt
15021 wine_fn_config_dll browseui enable_browseui po
15022 wine_fn_config_test dlls
/browseui
/tests browseui_test
15023 wine_fn_config_dll cabinet enable_cabinet implib
15024 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15025 wine_fn_config_dll capi2032 enable_capi2032 implib
15026 wine_fn_config_dll cards enable_cards implib
15027 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15028 wine_fn_config_dll clusapi enable_clusapi implib
15029 wine_fn_config_dll comcat enable_comcat
15030 wine_fn_config_test dlls
/comcat
/tests comcat_test
15031 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15032 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15033 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15034 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15035 wine_fn_config_dll
comm.drv16 enable_win16
15036 wine_fn_config_dll commdlg.dll16 enable_win16
15037 wine_fn_config_dll compobj.dll16 enable_win16
15038 wine_fn_config_dll compstui enable_compstui implib
15039 wine_fn_config_dll credui enable_credui implib
,po
15040 wine_fn_config_test dlls
/credui
/tests credui_test
15041 wine_fn_config_dll crtdll enable_crtdll implib
15042 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15043 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15044 wine_fn_config_dll cryptdlg enable_cryptdlg po
15045 wine_fn_config_dll cryptdll enable_cryptdll implib
15046 wine_fn_config_dll cryptnet enable_cryptnet implib
15047 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15048 wine_fn_config_dll cryptui enable_cryptui implib
,po
15049 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15050 wine_fn_config_dll ctapi32 enable_ctapi32
15051 wine_fn_config_dll ctl3d.dll16 enable_win16
15052 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15053 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15054 wine_fn_config_dll d3d10 enable_d3d10 implib
15055 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15056 wine_fn_config_dll d3d10core enable_d3d10core implib
15057 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15058 wine_fn_config_dll d3d8 enable_d3d8 implib
15059 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15060 wine_fn_config_dll d3d9 enable_d3d9 implib
15061 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15062 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15063 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15064 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15065 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15066 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15067 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15068 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15069 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15070 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15071 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15072 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15073 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15074 wine_fn_config_dll d3dim enable_d3dim implib
15075 wine_fn_config_dll d3drm enable_d3drm implib
15076 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15077 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15078 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15079 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15080 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15081 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15082 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15083 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15084 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15085 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15086 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15087 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15088 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15089 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15090 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15091 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15092 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15093 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15094 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15095 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15096 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15097 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15098 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15099 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15100 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15101 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15102 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15103 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15104 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15105 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15106 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15107 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15108 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15109 wine_fn_config_dll d3dxof enable_d3dxof implib
15110 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15111 wine_fn_config_dll dbgeng enable_dbgeng implib
15112 wine_fn_config_dll dbghelp enable_dbghelp implib
15113 wine_fn_config_dll dciman32 enable_dciman32 implib
15114 wine_fn_config_dll ddeml.dll16 enable_win16
15115 wine_fn_config_dll ddraw enable_ddraw implib
15116 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15117 wine_fn_config_dll ddrawex enable_ddrawex
15118 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15119 wine_fn_config_dll devenum enable_devenum po
15120 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15121 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15122 wine_fn_config_test dlls
/dinput
/tests dinput_test
15123 wine_fn_config_dll dinput8 enable_dinput8 implib
15124 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15125 wine_fn_config_dll dispdib.dll16 enable_win16
15126 wine_fn_config_dll dispex enable_dispex
15127 wine_fn_config_test dlls
/dispex
/tests dispex_test
15128 wine_fn_config_dll display.drv16 enable_win16
15129 wine_fn_config_dll dmband enable_dmband
15130 wine_fn_config_dll dmcompos enable_dmcompos
15131 wine_fn_config_dll dmime enable_dmime
15132 wine_fn_config_test dlls
/dmime
/tests dmime_test
15133 wine_fn_config_dll dmloader enable_dmloader
15134 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15135 wine_fn_config_dll dmscript enable_dmscript
15136 wine_fn_config_dll dmstyle enable_dmstyle
15137 wine_fn_config_dll dmsynth enable_dmsynth
15138 wine_fn_config_dll dmusic enable_dmusic
15139 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15140 wine_fn_config_dll dnsapi enable_dnsapi implib
15141 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15142 wine_fn_config_dll dplay enable_dplay implib
15143 wine_fn_config_dll dplayx enable_dplayx implib
15144 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15145 wine_fn_config_dll dpnaddr enable_dpnaddr
15146 wine_fn_config_dll dpnet enable_dpnet implib
15147 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15148 wine_fn_config_dll dpnhpast enable_dpnhpast
15149 wine_fn_config_dll dpnlobby enable_dpnlobby
15150 wine_fn_config_dll dpwsockx enable_dpwsockx
15151 wine_fn_config_dll drmclien enable_drmclien
15152 wine_fn_config_dll dsound enable_dsound implib
15153 wine_fn_config_test dlls
/dsound
/tests dsound_test
15154 wine_fn_config_dll dssenh enable_dssenh
15155 wine_fn_config_dll dswave enable_dswave
15156 wine_fn_config_dll dwmapi enable_dwmapi implib
15157 wine_fn_config_dll dxdiagn enable_dxdiagn po
15158 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15159 wine_fn_config_lib dxerr8
15160 wine_fn_config_lib dxerr9
15161 wine_fn_config_dll dxgi enable_dxgi implib
15162 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15163 wine_fn_config_lib dxguid
15164 wine_fn_config_dll explorerframe enable_explorerframe
15165 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15166 wine_fn_config_dll faultrep enable_faultrep implib
15167 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15168 wine_fn_config_dll fltlib enable_fltlib
15169 wine_fn_config_dll fusion enable_fusion
15170 wine_fn_config_test dlls
/fusion
/tests fusion_test
15171 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15172 wine_fn_config_dll gameux enable_gameux
15173 wine_fn_config_test dlls
/gameux
/tests gameux_test
15174 wine_fn_config_dll gdi.exe16 enable_win16
15175 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15176 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15177 wine_fn_config_dll gdiplus enable_gdiplus implib
15178 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15179 wine_fn_config_dll glu32 enable_glu32 implib
15180 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15181 wine_fn_config_dll gpkcsp enable_gpkcsp
15182 wine_fn_config_dll hal enable_hal
15183 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx po
15184 wine_fn_config_dll hid enable_hid implib
15185 wine_fn_config_dll hlink enable_hlink implib
15186 wine_fn_config_test dlls
/hlink
/tests hlink_test
15187 wine_fn_config_dll hnetcfg enable_hnetcfg
15188 wine_fn_config_dll httpapi enable_httpapi
15189 wine_fn_config_dll iccvid enable_iccvid po
15190 wine_fn_config_dll icmp enable_icmp
15191 wine_fn_config_dll ieframe enable_ieframe implib
,po
15192 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15193 wine_fn_config_dll ifsmgr.vxd enable_win16
15194 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15195 wine_fn_config_dll imagehlp enable_imagehlp implib
15196 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15197 wine_fn_config_dll imm.dll16 enable_win16
15198 wine_fn_config_dll imm32 enable_imm32 implib
15199 wine_fn_config_test dlls
/imm32
/tests imm32_test
15200 wine_fn_config_dll inetcomm enable_inetcomm implib
15201 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15202 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15203 wine_fn_config_dll inetmib1 enable_inetmib1
15204 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15205 wine_fn_config_dll infosoft enable_infosoft
15206 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
15207 wine_fn_config_dll initpki enable_initpki
15208 wine_fn_config_dll inkobj enable_inkobj
15209 wine_fn_config_dll inseng enable_inseng
15210 wine_fn_config_dll iphlpapi enable_iphlpapi implib
15211 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
15212 wine_fn_config_dll itircl enable_itircl
15213 wine_fn_config_dll itss enable_itss
15214 wine_fn_config_test dlls
/itss
/tests itss_test
15215 wine_fn_config_dll jscript enable_jscript po
15216 wine_fn_config_test dlls
/jscript
/tests jscript_test
15217 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
15218 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
15219 wine_fn_config_dll keyboard.drv16 enable_win16
15220 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
15221 wine_fn_config_dll ktmw32 enable_ktmw32
15222 wine_fn_config_dll loadperf enable_loadperf implib
15223 wine_fn_config_dll localspl enable_localspl po
15224 wine_fn_config_test dlls
/localspl
/tests localspl_test
15225 wine_fn_config_dll localui enable_localui po
15226 wine_fn_config_test dlls
/localui
/tests localui_test
15227 wine_fn_config_dll lz32 enable_lz32 implib
15228 wine_fn_config_test dlls
/lz32
/tests lz32_test
15229 wine_fn_config_dll lzexpand.dll16 enable_win16
15230 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
15231 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
15232 wine_fn_config_dll mapistub enable_mapistub
15233 wine_fn_config_dll mciavi32 enable_mciavi32
15234 wine_fn_config_dll mcicda enable_mcicda
15235 wine_fn_config_dll mciqtz32 enable_mciqtz32
15236 wine_fn_config_dll mciseq enable_mciseq
15237 wine_fn_config_dll mciwave enable_mciwave
15238 wine_fn_config_dll midimap enable_midimap
15239 wine_fn_config_dll mlang enable_mlang implib
15240 wine_fn_config_test dlls
/mlang
/tests mlang_test
15241 wine_fn_config_dll mmcndmgr enable_mmcndmgr
15242 wine_fn_config_dll mmdevapi enable_mmdevapi
15243 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
15244 wine_fn_config_dll mmdevldr.vxd enable_win16
15245 wine_fn_config_dll mmsystem.dll16 enable_win16
15246 wine_fn_config_dll monodebg.vxd enable_win16
15247 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
15248 wine_fn_config_dll mouse.drv16 enable_win16
15249 wine_fn_config_dll mpr enable_mpr implib
,po
15250 wine_fn_config_dll mprapi enable_mprapi implib
15251 wine_fn_config_dll msacm.dll16 enable_win16
15252 wine_fn_config_dll msacm32.drv enable_msacm32_drv
15253 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
15254 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
15255 wine_fn_config_dll msadp32.acm enable_msadp32_acm
15256 wine_fn_config_dll mscat32 enable_mscat32
15257 wine_fn_config_dll mscms enable_mscms implib
15258 wine_fn_config_test dlls
/mscms
/tests mscms_test
15259 wine_fn_config_dll mscoree enable_mscoree
15260 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
15261 wine_fn_config_dll msctf enable_msctf
15262 wine_fn_config_test dlls
/msctf
/tests msctf_test
15263 wine_fn_config_dll msdaps enable_msdaps
15264 wine_fn_config_dll msdmo enable_msdmo implib
15265 wine_fn_config_dll msftedit enable_msftedit
15266 wine_fn_config_dll msg711.acm enable_msg711_acm
15267 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
15268 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
15269 wine_fn_config_dll mshtml enable_mshtml implib
,po
15270 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
15271 wine_fn_config_dll msi enable_msi implib
,po
15272 wine_fn_config_test dlls
/msi
/tests msi_test
15273 wine_fn_config_dll msimg32 enable_msimg32 implib
15274 wine_fn_config_dll msimsg enable_msimsg
15275 wine_fn_config_dll msimtf enable_msimtf
15276 wine_fn_config_dll msisip enable_msisip
15277 wine_fn_config_dll msisys.ocx enable_msisys_ocx
15278 wine_fn_config_dll msnet32 enable_msnet32
15279 wine_fn_config_dll mspatcha enable_mspatcha
15280 wine_fn_config_dll msrle32 enable_msrle32 po
15281 wine_fn_config_dll mssign32 enable_mssign32
15282 wine_fn_config_dll mssip32 enable_mssip32
15283 wine_fn_config_dll mstask enable_mstask
15284 wine_fn_config_test dlls
/mstask
/tests mstask_test
15285 wine_fn_config_dll msvcirt enable_msvcirt
15286 wine_fn_config_dll msvcp100 enable_msvcp100
15287 wine_fn_config_dll msvcp60 enable_msvcp60
15288 wine_fn_config_dll msvcp70 enable_msvcp70
15289 wine_fn_config_dll msvcp71 enable_msvcp71
15290 wine_fn_config_dll msvcp80 enable_msvcp80
15291 wine_fn_config_dll msvcp90 enable_msvcp90
15292 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
15293 wine_fn_config_dll msvcr100 enable_msvcr100
15294 wine_fn_config_dll msvcr70 enable_msvcr70 implib
15295 wine_fn_config_dll msvcr71 enable_msvcr71 implib
15296 wine_fn_config_dll msvcr80 enable_msvcr80
15297 wine_fn_config_dll msvcr90 enable_msvcr90
15298 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
15299 wine_fn_config_dll msvcrt enable_msvcrt implib
15300 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
15301 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
15302 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
15303 wine_fn_config_dll msvcrtd enable_msvcrtd implib
15304 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
15305 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
15306 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
15307 wine_fn_config_dll msvidc32 enable_msvidc32 po
15308 wine_fn_config_dll msvideo.dll16 enable_win16
15309 wine_fn_config_dll mswsock enable_mswsock implib
15310 wine_fn_config_dll msxml enable_msxml
15311 wine_fn_config_dll msxml2 enable_msxml2
15312 wine_fn_config_dll msxml3 enable_msxml3
15313 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
15314 wine_fn_config_dll msxml4 enable_msxml4
15315 wine_fn_config_dll msxml6 enable_msxml6
15316 wine_fn_config_dll nddeapi enable_nddeapi implib
15317 wine_fn_config_dll netapi32 enable_netapi32 implib
15318 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
15319 wine_fn_config_dll newdev enable_newdev implib
15320 wine_fn_config_dll normaliz enable_normaliz implib
15321 wine_fn_config_dll npmshtml enable_npmshtml
15322 wine_fn_config_dll ntdll enable_ntdll implib
15323 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
15324 wine_fn_config_dll ntdsapi enable_ntdsapi implib
15325 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
15326 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
15327 wine_fn_config_dll ntprint enable_ntprint
15328 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
15329 wine_fn_config_dll objsel enable_objsel
15330 wine_fn_config_dll odbc32 enable_odbc32 implib
15331 wine_fn_config_dll odbccp32 enable_odbccp32 implib
15332 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
15333 wine_fn_config_dll ole2.dll16 enable_win16
15334 wine_fn_config_dll ole2conv.dll16 enable_win16
15335 wine_fn_config_dll ole2disp.dll16 enable_win16
15336 wine_fn_config_dll ole2nls.dll16 enable_win16
15337 wine_fn_config_dll ole2prox.dll16 enable_win16
15338 wine_fn_config_dll ole2thk.dll16 enable_win16
15339 wine_fn_config_dll ole32 enable_ole32 implib
15340 wine_fn_config_test dlls
/ole32
/tests ole32_test
15341 wine_fn_config_dll oleacc enable_oleacc implib
,po
15342 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
15343 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
15344 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
15345 wine_fn_config_dll olecli.dll16 enable_win16
15346 wine_fn_config_dll olecli32 enable_olecli32 implib
15347 wine_fn_config_dll oledb32 enable_oledb32
15348 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
15349 wine_fn_config_dll oledlg enable_oledlg implib
,po
15350 wine_fn_config_dll olepro32 enable_olepro32 implib
15351 wine_fn_config_dll olesvr.dll16 enable_win16
15352 wine_fn_config_dll olesvr32 enable_olesvr32 implib
15353 wine_fn_config_dll olethk32 enable_olethk32
15354 wine_fn_config_dll openal32 enable_openal32
15355 wine_fn_config_dll opencl enable_opencl
15356 wine_fn_config_dll opengl32 enable_opengl32 implib
15357 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
15358 wine_fn_config_dll pdh enable_pdh implib
15359 wine_fn_config_test dlls
/pdh
/tests pdh_test
15360 wine_fn_config_dll photometadatahandler enable_photometadatahandler
15361 wine_fn_config_dll pidgen enable_pidgen
15362 wine_fn_config_dll powrprof enable_powrprof implib
15363 wine_fn_config_dll printui enable_printui
15364 wine_fn_config_dll propsys enable_propsys implib
15365 wine_fn_config_test dlls
/propsys
/tests propsys_test
15366 wine_fn_config_dll psapi enable_psapi implib
15367 wine_fn_config_test dlls
/psapi
/tests psapi_test
15368 wine_fn_config_dll pstorec enable_pstorec
15369 wine_fn_config_dll qcap enable_qcap
15370 wine_fn_config_dll qedit enable_qedit
15371 wine_fn_config_test dlls
/qedit
/tests qedit_test
15372 wine_fn_config_dll qmgr enable_qmgr
15373 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
15374 wine_fn_config_dll qmgrprxy enable_qmgrprxy
15375 wine_fn_config_dll quartz enable_quartz implib
15376 wine_fn_config_test dlls
/quartz
/tests quartz_test
15377 wine_fn_config_dll query enable_query
15378 wine_fn_config_dll rasapi16.dll16 enable_win16
15379 wine_fn_config_dll rasapi32 enable_rasapi32 implib
15380 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
15381 wine_fn_config_dll rasdlg enable_rasdlg implib
15382 wine_fn_config_dll regapi enable_regapi
15383 wine_fn_config_dll resutils enable_resutils implib
15384 wine_fn_config_dll riched20 enable_riched20 implib
15385 wine_fn_config_test dlls
/riched20
/tests riched20_test
15386 wine_fn_config_dll riched32 enable_riched32
15387 wine_fn_config_test dlls
/riched32
/tests riched32_test
15388 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
15389 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
15390 wine_fn_config_dll rsabase enable_rsabase
15391 wine_fn_config_dll rsaenh enable_rsaenh implib
15392 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
15393 wine_fn_config_dll rstrtmgr enable_rstrtmgr
15394 wine_fn_config_dll rtutils enable_rtutils implib
15395 wine_fn_config_dll samlib enable_samlib
15396 wine_fn_config_dll sane.ds enable_sane_ds po
15397 wine_fn_config_dll scarddlg enable_scarddlg
15398 wine_fn_config_dll sccbase enable_sccbase
15399 wine_fn_config_dll schannel enable_schannel
15400 wine_fn_config_test dlls
/schannel
/tests schannel_test
15401 wine_fn_config_dll scrrun enable_scrrun
15402 wine_fn_config_dll secur32 enable_secur32 implib
15403 wine_fn_config_test dlls
/secur32
/tests secur32_test
15404 wine_fn_config_dll security enable_security
15405 wine_fn_config_dll sensapi enable_sensapi implib
15406 wine_fn_config_dll serialui enable_serialui implib
,po
15407 wine_fn_config_test dlls
/serialui
/tests serialui_test
15408 wine_fn_config_dll setupapi enable_setupapi implib
,po
15409 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
15410 wine_fn_config_dll setupx.dll16 enable_win16
15411 wine_fn_config_dll sfc enable_sfc implib
15412 wine_fn_config_dll sfc_os enable_sfc_os implib
15413 wine_fn_config_dll shdoclc enable_shdoclc po
15414 wine_fn_config_dll shdocvw enable_shdocvw implib
15415 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
15416 wine_fn_config_dll shell.dll16 enable_win16
15417 wine_fn_config_dll shell32 enable_shell32 implib
,po
15418 wine_fn_config_test dlls
/shell32
/tests shell32_test
15419 wine_fn_config_dll shfolder enable_shfolder implib
15420 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
15421 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
15422 wine_fn_config_dll slbcsp enable_slbcsp
15423 wine_fn_config_dll slc enable_slc implib
15424 wine_fn_config_dll snmpapi enable_snmpapi implib
15425 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
15426 wine_fn_config_dll softpub enable_softpub
15427 wine_fn_config_dll sound.drv16 enable_win16
15428 wine_fn_config_dll spoolss enable_spoolss implib
15429 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
15430 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
15431 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
15432 wine_fn_config_dll sti enable_sti implib
15433 wine_fn_config_test dlls
/sti
/tests sti_test
15434 wine_fn_config_dll storage.dll16 enable_win16
15435 wine_fn_config_dll stress.dll16 enable_win16
15436 wine_fn_config_lib strmbase
15437 wine_fn_config_lib strmiids
15438 wine_fn_config_dll svrapi enable_svrapi
15439 wine_fn_config_dll sxs enable_sxs
15440 wine_fn_config_dll system.drv16 enable_win16
15441 wine_fn_config_dll t2embed enable_t2embed
15442 wine_fn_config_dll tapi32 enable_tapi32 implib
15443 wine_fn_config_dll toolhelp.dll16 enable_win16
15444 wine_fn_config_dll traffic enable_traffic
15445 wine_fn_config_dll twain.dll16 enable_win16
15446 wine_fn_config_dll twain_32 enable_twain_32
15447 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
15448 wine_fn_config_dll typelib.dll16 enable_win16
15449 wine_fn_config_dll unicows enable_unicows implib
15450 wine_fn_config_dll updspapi enable_updspapi
15451 wine_fn_config_dll url enable_url implib
15452 wine_fn_config_dll urlmon enable_urlmon implib
15453 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
15454 wine_fn_config_dll usbd.sys enable_usbd_sys implib
15455 wine_fn_config_dll user.exe16 enable_win16
15456 wine_fn_config_dll user32 enable_user32 implib
,po
15457 wine_fn_config_test dlls
/user32
/tests user32_test
15458 wine_fn_config_dll userenv enable_userenv implib
15459 wine_fn_config_test dlls
/userenv
/tests userenv_test
15460 wine_fn_config_dll usp10 enable_usp10 implib
15461 wine_fn_config_test dlls
/usp10
/tests usp10_test
15462 wine_fn_config_lib uuid
15463 wine_fn_config_dll uxtheme enable_uxtheme implib
15464 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
15465 wine_fn_config_dll vbscript enable_vbscript
15466 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
15467 wine_fn_config_dll vcomp enable_vcomp
15468 wine_fn_config_dll vdhcp.vxd enable_win16
15469 wine_fn_config_dll vdmdbg enable_vdmdbg implib
15470 wine_fn_config_dll ver.dll16 enable_win16
15471 wine_fn_config_dll version enable_version implib
15472 wine_fn_config_test dlls
/version
/tests version_test
15473 wine_fn_config_dll vmm.vxd enable_win16
15474 wine_fn_config_dll vnbt.vxd enable_win16
15475 wine_fn_config_dll vnetbios.vxd enable_win16
15476 wine_fn_config_dll vtdapi.vxd enable_win16
15477 wine_fn_config_dll vwin32.vxd enable_win16
15478 wine_fn_config_dll w32skrnl enable_win16
15479 wine_fn_config_dll w32sys.dll16 enable_win16
15480 wine_fn_config_dll wbemprox enable_wbemprox
15481 wine_fn_config_dll wer enable_wer implib
15482 wine_fn_config_test dlls
/wer
/tests wer_test
15483 wine_fn_config_dll wiaservc enable_wiaservc
15484 wine_fn_config_dll win32s16.dll16 enable_win16
15485 wine_fn_config_dll win87em.dll16 enable_win16
15486 wine_fn_config_dll winaspi.dll16 enable_win16
15487 wine_fn_config_dll windebug.dll16 enable_win16
15488 wine_fn_config_dll windowscodecs enable_windowscodecs implib
15489 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
15490 wine_fn_config_dll winealsa.drv enable_winealsa_drv
15491 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
15492 wine_fn_config_lib winecrt0
15493 wine_fn_config_dll wined3d enable_wined3d implib
15494 wine_fn_config_dll winegstreamer enable_winegstreamer
15495 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
15496 wine_fn_config_dll winemapi enable_winemapi
15497 wine_fn_config_dll winemp3.acm enable_winemp3_acm
15498 wine_fn_config_dll wineoss.drv enable_wineoss_drv
15499 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
15500 wine_fn_config_dll wineps16.drv16 enable_win16
15501 wine_fn_config_dll winepulse.drv enable_winepulse_drv
15502 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
15503 wine_fn_config_dll winequartz.drv enable_winequartz_drv
15504 wine_fn_config_dll winex11.drv enable_winex11_drv
15505 wine_fn_config_dll wing.dll16 enable_win16
15506 wine_fn_config_dll wing32 enable_wing32
15507 wine_fn_config_dll winhttp enable_winhttp implib
15508 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
15509 wine_fn_config_dll wininet enable_wininet implib
,po
15510 wine_fn_config_test dlls
/wininet
/tests wininet_test
15511 wine_fn_config_dll winmm enable_winmm implib
,po
15512 wine_fn_config_test dlls
/winmm
/tests winmm_test
15513 wine_fn_config_dll winnls.dll16 enable_win16
15514 wine_fn_config_dll winnls32 enable_winnls32 implib
15515 wine_fn_config_dll winscard enable_winscard implib
15516 wine_fn_config_dll winsock.dll16 enable_win16
15517 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
15518 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
15519 wine_fn_config_dll winsta enable_winsta
15520 wine_fn_config_dll wintab.dll16 enable_win16
15521 wine_fn_config_dll wintab32 enable_wintab32 implib
15522 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
15523 wine_fn_config_dll wintrust enable_wintrust implib
15524 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
15525 wine_fn_config_dll wlanapi enable_wlanapi
15526 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
15527 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
15528 wine_fn_config_dll wmi enable_wmi
15529 wine_fn_config_dll wmiutils enable_wmiutils
15530 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
15531 wine_fn_config_dll wow32 enable_win16 implib
15532 wine_fn_config_dll ws2_32 enable_ws2_32 implib
15533 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
15534 wine_fn_config_dll wshom.ocx enable_wshom_ocx
15535 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
15536 wine_fn_config_dll wsock32 enable_wsock32 implib
15537 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
15538 wine_fn_config_dll wuapi enable_wuapi
15539 wine_fn_config_dll wuaueng enable_wuaueng
15540 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
15541 wine_fn_config_dll xinput1_1 enable_xinput1_1
15542 wine_fn_config_dll xinput1_2 enable_xinput1_2
15543 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
15544 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
15545 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
15546 wine_fn_config_dll xmllite enable_xmllite
15547 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
15548 wine_fn_config_dll xolehlp enable_xolehlp
15549 wine_fn_config_dll xpsprint enable_xpsprint
15550 wine_fn_config_makefile documentation enable_documentation
15551 wine_fn_config_makefile fonts enable_fonts install-lib
15552 wine_fn_config_makefile include enable_include install-dev
15553 wine_fn_config_makefile libs
/port enable_libs_port
15554 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
15555 wine_fn_config_makefile libs
/wpp enable_libs_wpp
15556 wine_fn_config_makefile loader enable_loader install-lib
,manpage
15557 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
15558 wine_fn_config_program attrib enable_attrib
install,po
15559 wine_fn_config_program cabarc enable_cabarc
install
15560 wine_fn_config_program cacls enable_cacls
install
15561 wine_fn_config_program
clock enable_clock
install,po
15562 wine_fn_config_program cmd enable_cmd
install,po
15563 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
15564 wine_fn_config_program control enable_control
install
15565 wine_fn_config_program cscript enable_cscript
install
15566 wine_fn_config_program dxdiag enable_dxdiag
install,po
15567 wine_fn_config_program eject enable_eject
install
15568 wine_fn_config_program
expand enable_expand
install
15569 wine_fn_config_program explorer enable_explorer
install,po
15570 wine_fn_config_program extrac32 enable_extrac32
install
15571 wine_fn_config_program hh enable_hh
install
15572 wine_fn_config_program hostname enable_hostname
install,po
15573 wine_fn_config_program icinfo enable_icinfo
install
15574 wine_fn_config_program iexplore enable_iexplore
install
15575 wine_fn_config_program ipconfig enable_ipconfig
install,po
15576 wine_fn_config_program lodctr enable_lodctr
install
15577 wine_fn_config_program mofcomp enable_mofcomp
install
15578 wine_fn_config_program mshta enable_mshta
install
15579 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
15580 wine_fn_config_program net enable_net
install,po
15581 wine_fn_config_program netsh enable_netsh
install
15582 wine_fn_config_program ngen enable_ngen
install
15583 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
15584 wine_fn_config_program oleview enable_oleview
install,po
15585 wine_fn_config_program
ping enable_ping
install
15586 wine_fn_config_program plugplay enable_plugplay
install
15587 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
15588 wine_fn_config_program progman enable_progman
install,po
15589 wine_fn_config_program reg enable_reg
install,po
15590 wine_fn_config_program regasm enable_regasm
install
15591 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
15592 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
15593 wine_fn_config_program regsvcs enable_regsvcs
install
15594 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
15595 wine_fn_config_program rpcss enable_rpcss
install
15596 wine_fn_config_program rundll.exe16 enable_win16
install
15597 wine_fn_config_program rundll32 enable_rundll32
install
15598 wine_fn_config_program sc enable_sc
install
15599 wine_fn_config_program secedit enable_secedit
install
15600 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
15601 wine_fn_config_program services enable_services
install
15602 wine_fn_config_program spoolsv enable_spoolsv
install
15603 wine_fn_config_program start enable_start
install,po
15604 wine_fn_config_program svchost enable_svchost
install
15605 wine_fn_config_program taskkill enable_taskkill
install,po
15606 wine_fn_config_program taskmgr enable_taskmgr
install,po
15607 wine_fn_config_program termsv enable_termsv
install
15608 wine_fn_config_program uninstaller enable_uninstaller
install,po
15609 wine_fn_config_program unlodctr enable_unlodctr
install
15610 wine_fn_config_program view enable_view
install,po
15611 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
15612 wine_fn_config_program winebrowser enable_winebrowser
install
15613 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
15614 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
15615 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
15616 wine_fn_config_program winedevice enable_winedevice
install
15617 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
15618 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
15619 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
15620 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
15621 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
15622 wine_fn_config_program winetest enable_winetest
15623 wine_fn_config_program winevdm enable_win16
install
15624 wine_fn_config_program winhelp.exe16 enable_win16
install
15625 wine_fn_config_program winhlp32 enable_winhlp32
install,po
15626 wine_fn_config_program winoldap.mod16 enable_win16
install
15627 wine_fn_config_program winver enable_winver
install
15628 wine_fn_config_program wmic enable_wmic
install
15629 wine_fn_config_program wordpad enable_wordpad
install,po
15630 wine_fn_config_program
write enable_write
install,po
15631 wine_fn_config_program wscript enable_wscript
install
15632 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
15633 wine_fn_config_program xcopy enable_xcopy
install,po
15634 wine_fn_config_makefile server enable_server install-lib
,manpage
15635 wine_fn_config_tool tools install-dev
,install-lib
,manpage
15636 wine_fn_config_tool tools
/widl install-dev
,manpage
15637 wine_fn_config_tool tools
/winebuild install-dev
,manpage
15638 wine_fn_config_tool tools
/winedump install-dev
,manpage
15639 wine_fn_config_tool tools
/winegcc install-dev
,manpage
15640 wine_fn_config_tool tools
/wmc install-dev
,manpage
15641 wine_fn_config_tool tools
/wrc install-dev
,manpage
15691 ac_config_commands
="$ac_config_commands Makefile"
15694 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
15698 if test "x$enable_maintainer_mode" = xyes
15700 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
15701 cd \$(srcdir) && autoconf --warnings=all
15702 \$(srcdir)/include/config.h.in: include/stamp-h.in
15703 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
15704 cd \$(srcdir) && autoheader --warnings=all
15705 @echo timestamp > \$@"
15708 if test "x$with_gettextpo" = xyes
15710 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
15711 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
15712 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
15713 msgmerge -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
15714 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
15715 msgcat -o \$@ \$(ALL_POT_FILES)"
15718 if test "$MSGFMT" != false
15720 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
15722 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
15727 if test "x$enable_tools" != xno
15729 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
15731 \$(RM) tools/makedep\$(EXEEXT)"
15734 if test -n "$with_wine64"
15736 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
15737 fonts server tools:
15738 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
15739 $with_wine64/loader/wine:
15740 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
15741 $with_wine64/loader/wine-preloader:
15742 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
15744 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
15747 cat >confcache
<<\_ACEOF
15748 # This file is a shell script that caches the results of configure
15749 # tests run on this system so they can be shared between configure
15750 # scripts and configure runs, see configure's option --config-cache.
15751 # It is not useful on other systems. If it contains results you don't
15752 # want to keep, you may remove or edit it.
15754 # config.status only pays attention to the cache file if you give it
15755 # the --recheck option to rerun configure.
15757 # `ac_cv_env_foo' variables (set or unset) will be overridden when
15758 # loading this file, other *unset* `ac_cv_foo' will be assigned the
15759 # following values.
15763 # The following way of writing the cache mishandles newlines in values,
15764 # but we know of no workaround that is simple, portable, and efficient.
15765 # So, we kill variables containing newlines.
15766 # Ultrix sh set writes to stderr and can't be redirected directly,
15767 # and sets the high bit in the cache file unless we assign to the vars.
15769 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
15770 eval ac_val
=\$
$ac_var
15774 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
15775 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
15778 _ | IFS | as_nl
) ;; #(
15779 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
15780 *) { eval $ac_var=; unset $ac_var;} ;;
15786 case $as_nl`(ac_space=' '; set) 2>&1` in #(
15787 *${as_nl}ac_space
=\
*)
15788 # `set' does not quote correctly, so add quotes: double-quote
15789 # substitution turns \\\\ into \\, and sed turns \\ into \.
15792 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
15795 # `set' quotes correctly as required by POSIX, so do not add quotes.
15796 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
15805 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
15807 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
15809 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
15810 if test -w "$cache_file"; then
15811 if test "x$cache_file" != "x/dev/null"; then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
15813 $as_echo "$as_me: updating cache $cache_file" >&6;}
15814 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
15815 cat confcache
>"$cache_file"
15817 case $cache_file in #(
15819 mv -f confcache
"$cache_file"$$
&&
15820 mv -f "$cache_file"$$
"$cache_file" ;; #(
15822 mv -f confcache
"$cache_file" ;;
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
15828 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
15833 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15834 # Let make expand exec_prefix.
15835 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15837 DEFS
=-DHAVE_CONFIG_H
15842 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
15843 # 1. Remove the extension, and $U if already installed.
15844 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
15845 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
15846 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
15847 # will be set to the directory where LIBOBJS objects are built.
15848 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15849 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
15851 LIBOBJS
=$ac_libobjs
15853 LTLIBOBJS
=$ac_ltlibobjs
15857 : "${CONFIG_STATUS=./config.status}"
15859 ac_clean_files_save
=$ac_clean_files
15860 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
15861 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
15862 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
15864 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
15866 # Generated by $as_me.
15867 # Run this file to recreate the current configuration.
15868 # Compiler output produced by configure, useful for debugging
15869 # configure, is in config.log if it exists.
15872 ac_cs_recheck=false
15875 SHELL=\${CONFIG_SHELL-$SHELL}
15878 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
15879 ## -------------------- ##
15880 ## M4sh Initialization. ##
15881 ## -------------------- ##
15883 # Be more Bourne compatible
15884 DUALCASE
=1; export DUALCASE
# for MKS sh
15885 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
15888 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
15889 # is contrary to our usage. Disable this feature.
15890 alias -g '${1+"$@"}'='"$@"'
15891 setopt NO_GLOB_SUBST
15893 case `(set -o) 2>/dev/null` in #(
15905 # Printing a long string crashes Solaris 7 /usr/bin/printf.
15906 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
15907 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
15908 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
15909 # Prefer a ksh shell builtin over an external printf program on Solaris,
15910 # but without wasting forks for bash or zsh.
15911 if test -z "$BASH_VERSION$ZSH_VERSION" \
15912 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15913 as_echo='print
-r --'
15914 as_echo_n='print
-rn --'
15915 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15916 as_echo='printf %s
\n'
15917 as_echo_n='printf %s
'
15919 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
15920 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
15921 as_echo_n='/usr
/ucb
/echo -n'
15923 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
15924 as_echo_n_body='eval
15928 expr "X$arg" : "X\\(.*\\)$as_nl";
15929 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
15931 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
15933 export as_echo_n_body
15934 as_echo_n='sh
-c $as_echo_n_body as_echo
'
15936 export as_echo_body
15937 as_echo='sh
-c $as_echo_body as_echo
'
15940 # The user is always right.
15941 if test "${PATH_SEPARATOR+set}" != set; then
15943 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
15944 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
15951 # We need space, tab and new line, in precisely that order. Quoting is
15952 # there to prevent editors from complaining about space-tab.
15953 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
15954 # splitting by setting IFS to empty value.)
15957 # Find who we are. Look in the path if we contain no directory separator.
15960 *[\\/]* ) as_myself=$0 ;;
15961 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15962 for as_dir in $PATH
15965 test -z "$as_dir" && as_dir=.
15966 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15972 # We did not find ourselves, most probably we were run as `sh COMMAND'
15973 # in which case we are not to be found in the path.
15974 if test "x$as_myself" = x
; then
15977 if test ! -f "$as_myself"; then
15978 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
15982 # Unset variables that we do not need and which cause bugs (e.g. in
15983 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
15984 # suppresses any "Segmentation fault" message there. '((' could
15985 # trigger a bug in pdksh 5.2.14.
15986 for as_var
in BASH_ENV ENV MAIL MAILPATH
15987 do eval test x\
${$as_var+set} = xset \
15988 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16001 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16004 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16005 # ----------------------------------------
16006 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16007 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16008 # script with STATUS, using 1 if that was 0.
16011 as_status
=$1; test $as_status -eq 0 && as_status
=1
16013 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16014 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16016 $as_echo "$as_me: error: $2" >&2
16017 as_fn_exit
$as_status
16021 # as_fn_set_status STATUS
16022 # -----------------------
16023 # Set $? to STATUS, without forking.
16024 as_fn_set_status
()
16027 } # as_fn_set_status
16029 # as_fn_exit STATUS
16030 # -----------------
16031 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16035 as_fn_set_status
$1
16041 # Portably unset VAR.
16044 { eval $1=; unset $1;}
16046 as_unset
=as_fn_unset
16047 # as_fn_append VAR VALUE
16048 # ----------------------
16049 # Append the text in VALUE to the end of the definition contained in VAR. Take
16050 # advantage of any shell optimizations that allow amortized linear growth over
16051 # repeated appends, instead of the typical quadratic growth present in naive
16053 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16054 eval 'as_fn_append ()
16065 # as_fn_arith ARG...
16066 # ------------------
16067 # Perform arithmetic evaluation on the ARGs, and store the result in the
16068 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16069 # must be portable across $(()) and expr.
16070 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16071 eval 'as_fn_arith ()
16078 as_val
=`expr "$@" || test $? -eq 1`
16083 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16084 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16090 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16091 as_basename
=basename
16096 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16102 as_me
=`$as_basename -- "$0" ||
16103 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16104 X"$0" : 'X\(//\)$' \| \
16105 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16107 sed '/^.*\/\([^/][^/]*\)\/*$/{
16121 # Avoid depending upon Character Ranges.
16122 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16123 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16124 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16125 as_cr_digits
='0123456789'
16126 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16128 ECHO_C
= ECHO_N
= ECHO_T
=
16129 case `echo -n x` in #(((((
16131 case `echo 'xy\c'` in
16132 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16134 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16141 rm -f conf$$ conf$$.exe conf$$.
file
16142 if test -d conf$$.dir
; then
16143 rm -f conf$$.dir
/conf$$.
file
16146 mkdir conf$$.dir
2>/dev
/null
16148 if (echo >conf$$.
file) 2>/dev
/null
; then
16149 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16151 # ... but there are two gotchas:
16152 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16153 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16154 # In both cases, we have to default to `cp -pR'.
16155 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16157 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16165 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16166 rmdir conf$$.dir
2>/dev
/null
16171 # Create "$as_dir" as a directory, including parents if necessary.
16176 -*) as_dir
=.
/$as_dir;;
16178 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
16182 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16183 *) as_qdir
=$as_dir;;
16185 as_dirs
="'$as_qdir' $as_dirs"
16186 as_dir
=`$as_dirname -- "$as_dir" ||
16187 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16188 X"$as_dir" : 'X\(//\)[^/]' \| \
16189 X"$as_dir" : 'X\(//\)$' \| \
16190 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16191 $as_echo X"$as_dir" |
16192 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16196 /^X\(\/\/\)[^/].*/{
16209 test -d "$as_dir" && break
16211 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
16212 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
16216 if mkdir
-p .
2>/dev
/null
; then
16217 as_mkdir_p
='mkdir -p "$as_dir"'
16219 test -d .
/-p && rmdir .
/-p
16224 # as_fn_executable_p FILE
16225 # -----------------------
16226 # Test if FILE is an executable regular file.
16227 as_fn_executable_p
()
16229 test -f "$1" && test -x "$1"
16230 } # as_fn_executable_p
16231 as_test_x
='test -x'
16232 as_executable_p
=as_fn_executable_p
16234 # Sed expression to map a string onto a valid CPP name.
16235 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
16237 # Sed expression to map a string onto a valid variable name.
16238 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
16242 ## ----------------------------------- ##
16243 ## Main body of $CONFIG_STATUS script. ##
16244 ## ----------------------------------- ##
16246 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
16248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16249 # Save the log message, to keep $0 and so on meaningful, and to
16250 # report actual input values of CONFIG_FILES etc. instead of their
16251 # values after options handling.
16253 This file was extended by Wine $as_me 1.4.1, which was
16254 generated by GNU Autoconf 2.69. Invocation command line was
16256 CONFIG_FILES = $CONFIG_FILES
16257 CONFIG_HEADERS = $CONFIG_HEADERS
16258 CONFIG_LINKS = $CONFIG_LINKS
16259 CONFIG_COMMANDS = $CONFIG_COMMANDS
16262 on `(hostname || uname -n) 2>/dev/null | sed 1q`
16267 case $ac_config_files in *"
16268 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
16271 case $ac_config_headers in *"
16272 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
16276 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16277 # Files that config.status was made for.
16278 config_files="$ac_config_files"
16279 config_headers="$ac_config_headers"
16280 config_links="$ac_config_links"
16281 config_commands="$ac_config_commands"
16285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16287 \`$as_me' instantiates files and other configuration actions
16288 from templates according to the current configuration. Unless the files
16289 and actions are specified as TAGs, all are instantiated by default.
16291 Usage: $0 [OPTION]... [TAG]...
16293 -h, --help print this help, then exit
16294 -V, --version print version number and configuration settings, then exit
16295 --config print configuration, then exit
16296 -q, --quiet, --silent
16297 do not print progress messages
16298 -d, --debug don't remove temporary files
16299 --recheck update $as_me by reconfiguring in the same conditions
16300 --file=FILE[:TEMPLATE]
16301 instantiate the configuration file FILE
16302 --header=FILE[:TEMPLATE]
16303 instantiate the configuration header FILE
16305 Configuration files:
16308 Configuration headers:
16311 Configuration links:
16314 Configuration commands:
16317 Report bugs to <wine-devel@winehq.org>.
16318 Wine home page: <http://www.winehq.org>."
16321 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16322 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
16324 Wine config.status 1.4.1
16325 configured by $0, generated by GNU Autoconf 2.69,
16326 with options \\"\$ac_cs_config\\"
16328 Copyright (C) 2012 Free Software Foundation, Inc.
16329 This config.status script is free software; the Free Software Foundation
16330 gives unlimited permission to copy, distribute and modify it."
16335 test -n "\$AWK" || AWK=awk
16338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16339 # The default lists apply if the user does not specify any file.
16345 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16346 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
16350 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
16362 # Handling of the options.
16363 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
16365 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
16366 $as_echo "$ac_cs_version"; exit ;;
16367 --config |
--confi |
--conf |
--con |
--co |
--c )
16368 $as_echo "$ac_cs_config"; exit ;;
16369 --debug |
--debu |
--deb |
--de |
--d |
-d )
16371 --file |
--fil |
--fi |
--f )
16374 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16375 '') as_fn_error $?
"missing file argument" ;;
16377 as_fn_append CONFIG_FILES
" '$ac_optarg'"
16378 ac_need_defaults
=false
;;
16379 --header |
--heade |
--head |
--hea )
16382 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
16384 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
16385 ac_need_defaults
=false
;;
16387 # Conflict between --help and --header
16388 as_fn_error $?
"ambiguous option: \`$1'
16389 Try \`$0 --help' for more information.";;
16390 --help |
--hel |
-h )
16391 $as_echo "$ac_cs_usage"; exit ;;
16392 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
16393 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
16396 # This is an error.
16397 -*) as_fn_error $?
"unrecognized option: \`$1'
16398 Try \`$0 --help' for more information." ;;
16400 *) as_fn_append ac_config_targets
" $1"
16401 ac_need_defaults
=false
;;
16407 ac_configure_extra_args
=
16409 if $ac_cs_silent; then
16411 ac_configure_extra_args
="$ac_configure_extra_args --silent"
16415 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16416 if \$ac_cs_recheck; then
16417 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
16419 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
16420 CONFIG_SHELL='$SHELL'
16421 export CONFIG_SHELL
16426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16430 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
16431 ## Running $as_me. ##
16437 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16441 wine_fn_output_makefile ()
16443 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
16444 $ALL_MAKEFILE_DEPENDS
16446 as_fn_error $? "could not create Makefile" "$LINENO" 5
16451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16453 # Handling of arguments.
16454 for ac_config_target
in $ac_config_targets
16456 case $ac_config_target in
16457 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
16458 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
16459 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
16460 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
16461 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
16462 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
16463 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
16464 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
16465 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
16466 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
16467 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
16468 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
16469 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
16470 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
16471 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
16472 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
16473 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
16474 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
16475 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
16476 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
16477 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
16478 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
16479 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
16480 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
16481 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
16482 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
16484 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
16489 # If the user did not use the arguments to specify the items to instantiate,
16490 # then the envvar interface is used. Set only those that are not.
16491 # We use the long form for the default assignment because of an extremely
16492 # bizarre bug on SunOS 4.1.3.
16493 if $ac_need_defaults; then
16494 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
16495 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
16496 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
16497 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
16500 # Have a temporary directory for convenience. Make it in the build tree
16501 # simply because there is no reason against having it here, and in addition,
16502 # creating and moving files from /tmp can sometimes cause problems.
16503 # Hook for its removal unless debugging.
16504 # Note that there is a small window in which the directory will not be cleaned:
16505 # after its creation but before its name has been assigned to `$tmp'.
16509 trap 'exit_status=$?
16510 : "${ac_tmp:=$tmp}"
16511 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
16513 trap 'as_fn_exit 1' 1 2 13 15
16515 # Create a (secure) tmp directory for tmp files.
16518 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
16522 tmp
=.
/conf$$
-$RANDOM
16523 (umask 077 && mkdir
"$tmp")
16524 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
16527 # Set up the scripts for CONFIG_FILES section.
16528 # No need to generate them if there are no CONFIG_FILES.
16529 # This happens for instance with `./config.status config.h'.
16530 if test -n "$CONFIG_FILES"; then
16532 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
16533 ac_cs_awk_getline
=:
16534 ac_cs_awk_pipe_init
=
16535 ac_cs_awk_read_file
='
16536 while ((getline aline < (F[key])) > 0)
16539 ac_cs_awk_pipe_fini
=
16541 ac_cs_awk_getline
=false
16542 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
16543 ac_cs_awk_read_file
='
16545 print "cat " F[key] " &&"
16546 '$ac_cs_awk_pipe_init
16547 # The final `:' finishes the AND list.
16548 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
16550 ac_cr
=`echo X | tr X '\015'`
16551 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16552 # But we know of no other shell where ac_cr would be empty at this
16553 # point, so we can use a bashism as a fallback.
16554 if test "x$ac_cr" = x
; then
16555 eval ac_cr
=\$
\'\\r
\'
16557 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
16558 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
16561 ac_cs_awk_cr
=$ac_cr
16564 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
16567 # Create commands to substitute file output variables.
16569 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
16570 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
16571 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
16574 } >conf$
$files.sh
&&
16575 . .
/conf$
$files.sh ||
16576 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
16577 rm -f conf$
$files.sh
16580 echo "cat >conf$$subs.awk <<_ACEOF" &&
16581 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
16583 } >conf$$subs.sh ||
16584 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16585 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
16587 for ac_last_try in false false false false false :; do
16588 . ./conf$$subs.sh ||
16589 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16591 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
16592 if test $ac_delim_n = $ac_delim_num; then
16594 elif $ac_last_try; then
16595 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
16597 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16600 rm -f conf$$subs.sh
16602 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16603 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
16607 s/^/S["/; s
/!.
*/"]=/
16617 s/\(.\{148\}\)..*/\1/
16619 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
16624 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16631 s/\(.\{148\}\)..*/\1/
16633 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
16637 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
16642 ' <conf$$subs.awk | sed '
16647 ' >>$CONFIG_STATUS || ac_write_fail=1
16648 rm -f conf$$subs.awk
16649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16651 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
16652 for (key in S) S_is_set[key] = 1
16654 \$ac_cs_awk_pipe_init
16658 nfields = split(line, field, "@
")
16660 len = length(field[1])
16661 for (i = 2; i < nfields; i++) {
16663 keylen = length(key)
16664 if (S_is_set[key]) {
16666 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
16667 len += length(value) + length(field[++i])
16672 if (nfields == 3 && !substed) {
16674 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
16675 \$ac_cs_awk_read_file
16681 \$ac_cs_awk_pipe_fini
16684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16685 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
16686 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
16689 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
16690 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
16693 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
16694 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
16695 # trailing colons and then remove the whole line if VPATH becomes empty
16696 # (actually we leave an empty line to preserve line numbers).
16697 if test "x
$srcdir" = x.; then
16698 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
16716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16717 fi # test -n "$CONFIG_FILES"
16719 # Set up the scripts for CONFIG_HEADERS section.
16720 # No need to generate them if there are no CONFIG_HEADERS.
16721 # This happens for instance with `./config.status Makefile'.
16722 if test -n "$CONFIG_HEADERS"; then
16723 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
16727 # Transform confdefs.h into an awk script `defines.awk', embedded as
16728 # here-document in config.status, that substitutes the proper values into
16729 # config.h.in to produce config.h.
16731 # Create a delimiter string that does not exist in confdefs.h, to ease
16732 # handling of long lines.
16734 for ac_last_try in false false :; do
16735 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
16736 if test -z "$ac_tt"; then
16738 elif $ac_last_try; then
16739 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
16741 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
16745 # For the awk script, D is an array of macro values keyed by name,
16746 # likewise P contains macro parameters if any. Preserve backslash
16747 # newline sequences.
16749 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
16751 s/.\{148\}/&'"$ac_delim"'/g
16754 s/^[ ]*#[ ]*define[ ][ ]*/ /
16761 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
16763 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
16767 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
16768 D["\
1"]=" \
3\\\\\\n
"\\/p
16770 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
16775 s/.\{148\}/&'"$ac_delim"'/g
16780 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
16783 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
16785 ' <confdefs.h | sed '
16786 s/'"$ac_delim"'/"\\\
16787 "/g' >>$CONFIG_STATUS || ac_write_fail=1
16789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16790 for (key in D) D_is_set[key] = 1
16793 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
16795 split(line, arg, " ")
16796 if (arg[1] == "#") {
16800 defundef
= substr
(arg
[1], 2)
16803 split(mac1
, mac2
, "(") #)
16805 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
16806 if (D_is_set
[macro
]) {
16807 # Preserve the white space surrounding the "#".
16808 print prefix
"define", macro P
[macro
] D
[macro
]
16811 # Replace #undef with comments. This is necessary, for example,
16812 # in the case of _POSIX_SOURCE, which is predefined and required
16813 # on some systems where configure will not decide to define it.
16814 if (defundef
== "undef") {
16815 print
"/*", prefix defundef
, macro
, "*/"
16823 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16824 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
16825 fi # test -n "$CONFIG_HEADERS"
16828 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
16833 :[FHLC
]) ac_mode
=$ac_tag; continue;;
16835 case $ac_mode$ac_tag in
16837 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
16838 :[FH
]-) ac_tag
=-:-;;
16839 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
16856 -) ac_f
="$ac_tmp/stdin";;
16857 *) # Look for the file first in the build tree, then in the source tree
16858 # (if the path is not absolute). The absolute path cannot be DOS-style,
16859 # because $ac_f cannot contain `:'.
16863 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
16865 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
16867 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
16868 as_fn_append ac_file_inputs
" '$ac_f'"
16871 # Let's still pretend it is `configure' which instantiates (i.e., don't
16872 # use $as_me), people would be surprised to read:
16873 # /* config.h. Generated by config.status. */
16874 configure_input
='Generated from '`
16875 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
16877 if test x
"$ac_file" != x-
; then
16878 configure_input
="$ac_file. $configure_input"
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
16880 $as_echo "$as_me: creating $ac_file" >&6;}
16882 # Neutralize special characters interpreted by sed in replacement strings.
16883 case $configure_input in #(
16884 *\
&* |
*\|
* |
*\\* )
16885 ac_sed_conf_input
=`$as_echo "$configure_input" |
16886 sed 's/[\\\\&|]/\\\\&/g'`;; #(
16887 *) ac_sed_conf_input
=$configure_input;;
16891 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
16892 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
16897 ac_dir
=`$as_dirname -- "$ac_file" ||
16898 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16899 X"$ac_file" : 'X\(//\)[^/]' \| \
16900 X"$ac_file" : 'X\(//\)$' \| \
16901 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
16902 $as_echo X"$ac_file" |
16903 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16907 /^X\(\/\/\)[^/].*/{
16920 as_dir
="$ac_dir"; as_fn_mkdir_p
16924 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16926 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
16927 # A ".." for each directory in $ac_dir_suffix.
16928 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
16929 case $ac_top_builddir_sub in
16930 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
16931 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
16934 ac_abs_top_builddir
=$ac_pwd
16935 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
16936 # for backward compatibility:
16937 ac_top_builddir
=$ac_top_build_prefix
16940 .
) # We are building in place.
16942 ac_top_srcdir
=$ac_top_builddir_sub
16943 ac_abs_top_srcdir
=$ac_pwd ;;
16944 [\\/]* | ?
:[\\/]* ) # Absolute name.
16945 ac_srcdir
=$srcdir$ac_dir_suffix;
16946 ac_top_srcdir
=$srcdir
16947 ac_abs_top_srcdir
=$srcdir ;;
16948 *) # Relative name.
16949 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
16950 ac_top_srcdir
=$ac_top_build_prefix$srcdir
16951 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
16953 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
16963 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
16964 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
16968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
16969 # If the template does not know about datarootdir, expand it.
16970 # FIXME: This hack should be removed a few years after 2.60.
16971 ac_datarootdir_hack
=; ac_datarootdir_seen
=
16982 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
16983 *datarootdir
*) ac_datarootdir_seen
=yes;;
16984 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
16985 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
16986 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
16988 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16989 ac_datarootdir_hack='
16990 s&@datadir@&$datadir&g
16991 s&@docdir@&$docdir&g
16992 s&@infodir@&$infodir&g
16993 s&@localedir@&$localedir&g
16994 s&@mandir@&$mandir&g
16995 s&\\\${datarootdir}&$datarootdir&g' ;;
16999 # Neutralize VPATH when `$srcdir' = `.'.
17000 # Shell code in configure.ac might set extrasub.
17001 # FIXME: do we really want to maintain this feature?
17002 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17003 ac_sed_extra="$ac_vpsub
17006 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17008 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17009 s|@configure_input@|
$ac_sed_conf_input|
;t t
17010 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17011 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17012 s
&@srcdir@
&$ac_srcdir&;t t
17013 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17014 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17015 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17016 s
&@builddir@
&$ac_builddir&;t t
17017 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17018 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17019 s
&@INSTALL@
&$ac_INSTALL&;t t
17020 $ac_datarootdir_hack
17022 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17023 if $ac_cs_awk_getline; then
17024 $AWK -f "$ac_tmp/subs.
awk"
17026 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17028 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17030 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17031 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17032 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17033 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17035 which seems to be undefined. Please make sure it is defined" >&5
17036 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17037 which seems to be undefined. Please make sure it is defined" >&2;}
17039 rm -f "$ac_tmp/stdin"
17041 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17042 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17044 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17050 if test x"$ac_file" != x-; then
17052 $as_echo "/* $configure_input */" \
17053 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17054 } >"$ac_tmp/config.h" \
17055 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17056 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17058 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17061 mv "$ac_tmp/config.h" "$ac_file" \
17062 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17065 $as_echo "/* $configure_input */" \
17066 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17067 || as_fn_error $? "could not create -" "$LINENO" 5
17075 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17078 # Prefer the file from the source tree if names are identical.
17079 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17080 ac_source=$srcdir/$ac_source
17083 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17084 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17086 if test ! -r "$ac_source"; then
17087 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17091 # Try a relative symlink, then a hard link, then a copy.
17093 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17094 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17096 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17097 ln "$ac_source" "$ac_file" 2>/dev/null ||
17098 cp -p "$ac_source" "$ac_file" ||
17099 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17102 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17103 $as_echo "$as_me: executing $ac_file commands" >&6;}
17108 case $ac_file$ac_mode in
17109 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17110 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17111 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17112 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17113 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17114 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17115 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17116 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17117 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17118 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17119 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17120 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17121 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17122 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17123 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17124 "Makefile":C) wine_fn_output_makefile Makefile ;;
17132 ac_clean_files=$ac_clean_files_save
17134 test $ac_write_fail = 0 ||
17135 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17138 # configure is writing to config.log, and then calls config.status.
17139 # config.status does its own redirection, appending to config.log.
17140 # Unfortunately, on DOS this fails, as config.log is still kept open
17141 # by configure, so config.status won't be able to
write to it
; its
17142 # output is simply discarded. So we exec the FD to /dev/null,
17143 # effectively closing config.log, so it can be properly (re)opened and
17144 # appended to by config.status. When coming back to configure, we
17145 # need to make the FD available again.
17146 if test "$no_create" != yes; then
17148 ac_config_status_args
=
17149 test "$silent" = yes &&
17150 ac_config_status_args
="$ac_config_status_args --quiet"
17152 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17154 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17155 # would make configure fail if this is the last instruction.
17156 $ac_cs_success || as_fn_exit
1
17158 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17160 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17164 if test "$no_create" = "yes"
17170 if test "x$wine_notices != "x
; then
17173 for msg
in $wine_notices; do
17175 if test -n "$msg"; then
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
17177 $as_echo "$as_me: $msg" >&6;}
17182 for msg
in $wine_warnings; do
17184 if test -n "$msg"; then
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
17187 $as_echo "$as_me: WARNING: $msg" >&2;}
17193 $as_me: Finished. Do '${ac_make}' to compile Wine.