2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 1.5.29.
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.5.29'
584 PACKAGE_STRING
='Wine 1.5.29'
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
689 APPLICATIONSERVICESLIB
780 program_transform_name
791 ac_subst_files
='MAKE_RULES
797 enable_option_checking
801 enable_maintainer_mode
850 ac_precious_vars
='build_alias
865 # Initialize some variables set by options.
867 ac_init_version
=false
868 ac_unrecognized_opts
=
870 # The variables have the same names as the options, with
871 # dashes changed to underlines.
879 program_transform_name
=s
,x
,x
,
887 # Installation directory options.
888 # These are left unexpanded so users can "make install exec_prefix=/foo"
889 # and all the variables that are supposed to be based on exec_prefix
890 # by default will actually change.
891 # Use braces instead of parens because sh, perl, etc. also accept them.
892 # (The list follows the same order as the GNU Coding Standards.)
893 bindir
='${exec_prefix}/bin'
894 sbindir
='${exec_prefix}/sbin'
895 libexecdir
='${exec_prefix}/libexec'
896 datarootdir
='${prefix}/share'
897 datadir
='${datarootdir}'
898 sysconfdir
='${prefix}/etc'
899 sharedstatedir
='${prefix}/com'
900 localstatedir
='${prefix}/var'
901 includedir
='${prefix}/include'
902 oldincludedir
='/usr/include'
903 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
904 infodir
='${datarootdir}/info'
909 libdir
='${exec_prefix}/lib'
910 localedir
='${datarootdir}/locale'
911 mandir
='${datarootdir}/man'
917 # If the previous option needs an argument, assign it.
918 if test -n "$ac_prev"; then
919 eval $ac_prev=\
$ac_option
925 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
930 # Accept the important Cygnus configure options, so we can diagnose typos.
932 case $ac_dashdash$ac_option in
936 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
938 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
941 -build |
--build |
--buil |
--bui |
--bu)
942 ac_prev
=build_alias
;;
943 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
944 build_alias
=$ac_optarg ;;
946 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
947 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
948 ac_prev
=cache_file
;;
949 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
950 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
951 cache_file
=$ac_optarg ;;
954 cache_file
=config.cache
;;
956 -datadir |
--datadir |
--datadi |
--datad)
958 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
959 datadir
=$ac_optarg ;;
961 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
962 |
--dataroo |
--dataro |
--datar)
963 ac_prev
=datarootdir
;;
964 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
965 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
966 datarootdir
=$ac_optarg ;;
968 -disable-* |
--disable-*)
969 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
972 as_fn_error $?
"invalid feature name: $ac_useropt"
973 ac_useropt_orig
=$ac_useropt
974 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
975 case $ac_user_opts in
979 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
980 ac_unrecognized_sep
=', ';;
982 eval enable_
$ac_useropt=no
;;
984 -docdir |
--docdir |
--docdi |
--doc |
--do)
986 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
989 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
991 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
994 -enable-* |
--enable-*)
995 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
998 as_fn_error $?
"invalid feature name: $ac_useropt"
999 ac_useropt_orig
=$ac_useropt
1000 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1003 "enable_
$ac_useropt"
1005 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1006 ac_unrecognized_sep
=', ';;
1008 eval enable_
$ac_useropt=\
$ac_optarg ;;
1010 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1011 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1012 |
--exec |
--exe |
--ex)
1013 ac_prev
=exec_prefix
;;
1014 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1015 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1016 |
--exec=* |
--exe=* |
--ex=*)
1017 exec_prefix
=$ac_optarg ;;
1019 -gas |
--gas |
--ga |
--g)
1020 # Obsolete; use --with-gas.
1023 -help |
--help |
--hel |
--he |
-h)
1024 ac_init_help
=long
;;
1025 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1026 ac_init_help
=recursive
;;
1027 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1028 ac_init_help
=short
;;
1030 -host |
--host |
--hos |
--ho)
1031 ac_prev
=host_alias
;;
1032 -host=* |
--host=* |
--hos=* |
--ho=*)
1033 host_alias
=$ac_optarg ;;
1035 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1037 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1039 htmldir
=$ac_optarg ;;
1041 -includedir |
--includedir |
--includedi |
--included |
--include \
1042 |
--includ |
--inclu |
--incl |
--inc)
1043 ac_prev
=includedir
;;
1044 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1045 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1046 includedir
=$ac_optarg ;;
1048 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1050 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1051 infodir
=$ac_optarg ;;
1053 -libdir |
--libdir |
--libdi |
--libd)
1055 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1056 libdir
=$ac_optarg ;;
1058 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1059 |
--libexe |
--libex |
--libe)
1060 ac_prev
=libexecdir
;;
1061 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1062 |
--libexe=* |
--libex=* |
--libe=*)
1063 libexecdir
=$ac_optarg ;;
1065 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1066 ac_prev
=localedir
;;
1067 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1068 localedir
=$ac_optarg ;;
1070 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1071 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1072 ac_prev
=localstatedir
;;
1073 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1074 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1075 localstatedir
=$ac_optarg ;;
1077 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1079 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1080 mandir
=$ac_optarg ;;
1082 -nfp |
--nfp |
--nf)
1083 # Obsolete; use --without-fp.
1086 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1087 |
--no-cr |
--no-c |
-n)
1090 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1091 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1094 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1095 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1096 |
--oldin |
--oldi |
--old |
--ol |
--o)
1097 ac_prev
=oldincludedir
;;
1098 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1099 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1100 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1101 oldincludedir
=$ac_optarg ;;
1103 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1105 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1106 prefix
=$ac_optarg ;;
1108 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1109 |
--program-pre |
--program-pr |
--program-p)
1110 ac_prev
=program_prefix
;;
1111 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1112 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1113 program_prefix
=$ac_optarg ;;
1115 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1116 |
--program-suf |
--program-su |
--program-s)
1117 ac_prev
=program_suffix
;;
1118 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1119 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1120 program_suffix
=$ac_optarg ;;
1122 -program-transform-name |
--program-transform-name \
1123 |
--program-transform-nam |
--program-transform-na \
1124 |
--program-transform-n |
--program-transform- \
1125 |
--program-transform |
--program-transfor \
1126 |
--program-transfo |
--program-transf \
1127 |
--program-trans |
--program-tran \
1128 |
--progr-tra |
--program-tr |
--program-t)
1129 ac_prev
=program_transform_name
;;
1130 -program-transform-name=* |
--program-transform-name=* \
1131 |
--program-transform-nam=* |
--program-transform-na=* \
1132 |
--program-transform-n=* |
--program-transform-=* \
1133 |
--program-transform=* |
--program-transfor=* \
1134 |
--program-transfo=* |
--program-transf=* \
1135 |
--program-trans=* |
--program-tran=* \
1136 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1137 program_transform_name
=$ac_optarg ;;
1139 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1141 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1142 pdfdir
=$ac_optarg ;;
1144 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1146 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1149 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1150 |
-silent |
--silent |
--silen |
--sile |
--sil)
1153 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1155 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1157 sbindir
=$ac_optarg ;;
1159 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1160 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1161 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1163 ac_prev
=sharedstatedir
;;
1164 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1165 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1166 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1168 sharedstatedir
=$ac_optarg ;;
1170 -site |
--site |
--sit)
1172 -site=* |
--site=* |
--sit=*)
1175 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1177 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1178 srcdir
=$ac_optarg ;;
1180 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1181 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1182 ac_prev
=sysconfdir
;;
1183 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1184 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1185 sysconfdir
=$ac_optarg ;;
1187 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1188 ac_prev
=target_alias
;;
1189 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1190 target_alias
=$ac_optarg ;;
1192 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1195 -version |
--version |
--versio |
--versi |
--vers |
-V)
1196 ac_init_version
=: ;;
1199 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1200 # Reject names that are not valid shell variable names.
1201 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1202 as_fn_error $?
"invalid package name: $ac_useropt"
1203 ac_useropt_orig
=$ac_useropt
1204 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1205 case $ac_user_opts in
1209 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1210 ac_unrecognized_sep
=', ';;
1212 eval with_
$ac_useropt=\
$ac_optarg ;;
1214 -without-* |
--without-*)
1215 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1216 # Reject names that are not valid shell variable names.
1217 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1218 as_fn_error $?
"invalid package name: $ac_useropt"
1219 ac_useropt_orig
=$ac_useropt
1220 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1221 case $ac_user_opts in
1225 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1226 ac_unrecognized_sep
=', ';;
1228 eval with_
$ac_useropt=no
;;
1231 # Obsolete; use --with-x.
1234 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1235 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1236 ac_prev
=x_includes
;;
1237 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1238 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1239 x_includes
=$ac_optarg ;;
1241 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1242 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1243 ac_prev
=x_libraries
;;
1244 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1245 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1246 x_libraries
=$ac_optarg ;;
1248 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1249 Try \`$0 --help' for more information"
1253 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1254 # Reject names that are not valid shell variable names.
1255 case $ac_envvar in #(
1256 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1257 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1259 eval $ac_envvar=\
$ac_optarg
1260 export $ac_envvar ;;
1263 # FIXME: should be removed in autoconf 3.0.
1264 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1265 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1266 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1267 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1273 if test -n "$ac_prev"; then
1274 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1275 as_fn_error $?
"missing argument to $ac_option"
1278 if test -n "$ac_unrecognized_opts"; then
1279 case $enable_option_checking in
1281 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1282 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1286 # Check all directory arguments for consistency.
1287 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1288 datadir sysconfdir sharedstatedir localstatedir includedir \
1289 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1290 libdir localedir mandir
1292 eval ac_val
=\$
$ac_var
1293 # Remove trailing slashes.
1296 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1297 eval $ac_var=\
$ac_val;;
1299 # Be sure to have absolute directory names.
1301 [\\/$
]* | ?
:[\\/]* ) continue;;
1302 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1304 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1307 # There might be people who depend on the old broken behavior: `$host'
1308 # used to hold the argument of --host etc.
1309 # FIXME: To remove some day.
1312 target
=$target_alias
1314 # FIXME: To remove some day.
1315 if test "x$host_alias" != x
; then
1316 if test "x$build_alias" = x
; then
1317 cross_compiling
=maybe
1318 elif test "x$build_alias" != "x$host_alias"; then
1324 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1326 test "$silent" = yes && exec 6>/dev
/null
1329 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1330 ac_ls_di
=`ls -di .` &&
1331 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1332 as_fn_error $?
"working directory cannot be determined"
1333 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1334 as_fn_error $?
"pwd does not report name of working directory"
1337 # Find the source files, if location was not specified.
1338 if test -z "$srcdir"; then
1339 ac_srcdir_defaulted
=yes
1340 # Try the directory containing this script, then the parent directory.
1341 ac_confdir
=`$as_dirname -- "$as_myself" ||
1342 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1343 X"$as_myself" : 'X\(//\)[^/]' \| \
1344 X"$as_myself" : 'X\(//\)$' \| \
1345 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1346 $as_echo X"$as_myself" |
1347 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1365 if test ! -r "$srcdir/$ac_unique_file"; then
1369 ac_srcdir_defaulted
=no
1371 if test ! -r "$srcdir/$ac_unique_file"; then
1372 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1373 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1375 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1377 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1379 # When building in place, set srcdir=.
1380 if test "$ac_abs_confdir" = "$ac_pwd"; then
1383 # Remove unnecessary trailing slashes from srcdir.
1384 # Double slashes in file names in object file debugging info
1385 # mess up M-x gdb in Emacs.
1387 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1389 for ac_var
in $ac_precious_vars; do
1390 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1391 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1392 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1393 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1397 # Report the --help message.
1399 if test "$ac_init_help" = "long"; then
1400 # Omit some internal or obsolete options to make the list less imposing.
1401 # This message is too long to be a string in the A/UX 3.1 sh.
1403 \`configure' configures Wine 1.5.29 to adapt to many kinds of systems.
1405 Usage: $0 [OPTION]... [VAR=VALUE]...
1407 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1408 VAR=VALUE. See below for descriptions of some of the useful variables.
1410 Defaults for the options are specified in brackets.
1413 -h, --help display this help and exit
1414 --help=short display options specific to this package
1415 --help=recursive display the short help of all the included packages
1416 -V, --version display version information and exit
1417 -q, --quiet, --silent do not print \`checking ...' messages
1418 --cache-file=FILE cache test results in FILE [disabled]
1419 -C, --config-cache alias for \`--cache-file=config.cache'
1420 -n, --no-create do not create output files
1421 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1423 Installation directories:
1424 --prefix=PREFIX install architecture-independent files in PREFIX
1425 [$ac_default_prefix]
1426 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1429 By default, \`make install' will install all the files in
1430 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1431 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1432 for instance \`--prefix=\$HOME'.
1434 For better control, use the options below.
1436 Fine tuning of the installation directories:
1437 --bindir=DIR user executables [EPREFIX/bin]
1438 --sbindir=DIR system admin executables [EPREFIX/sbin]
1439 --libexecdir=DIR program executables [EPREFIX/libexec]
1440 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1441 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1442 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1443 --libdir=DIR object code libraries [EPREFIX/lib]
1444 --includedir=DIR C header files [PREFIX/include]
1445 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1446 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1447 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1448 --infodir=DIR info documentation [DATAROOTDIR/info]
1449 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1450 --mandir=DIR man documentation [DATAROOTDIR/man]
1451 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
1452 --htmldir=DIR html documentation [DOCDIR]
1453 --dvidir=DIR dvi documentation [DOCDIR]
1454 --pdfdir=DIR pdf documentation [DOCDIR]
1455 --psdir=DIR ps documentation [DOCDIR]
1461 --x-includes=DIR X include files are
in DIR
1462 --x-libraries=DIR X library files are
in DIR
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of Wine 1.5.29:";;
1477 --disable-option-checking ignore unrecognized
--enable/--with options
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --disable-win16 do not include Win16 support
1481 --enable-win64 build a Win64 emulator on AMD64
(won
't run Win32
1483 --disable-tests do not build the regression tests
1484 --enable-maintainer-mode
1485 enable maintainer-specific build rules
1486 --disable-largefile omit support for large files
1489 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1490 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1491 --without-alsa do not use the Alsa sound support
1492 --without-capi do not use CAPI (ISDN support)
1493 --without-cms do not use CMS (color management support)
1494 --without-coreaudio do not use the CoreAudio sound support
1495 --without-cups do not use CUPS
1496 --without-curses do not use (n)curses
1497 --without-dbus do not use DBus (dynamic device support)
1498 --without-fontconfig do not use fontconfig
1499 --without-freetype do not use the FreeType library
1500 --without-gettext do not use gettext
1501 --with-gettextpo use the GetTextPO library to rebuild po files
1502 --without-gphoto do not use gphoto (Digital Camera support)
1503 --without-glu do not use the GLU library
1504 --without-gnutls do not use GnuTLS (schannel support)
1505 --without-gsm do not use libgsm (GSM 06.10 codec support)
1506 --without-gstreamer do not use GStreamer (codecs support)
1507 --without-hal do not use HAL (dynamic device support)
1508 --without-jpeg do not use JPEG
1509 --without-ldap do not use LDAP
1510 --without-mpg123 do not use the mpg123 library
1511 --without-openal do not use OpenAL
1512 --without-opencl do not use OpenCL
1513 --without-opengl do not use OpenGL
1514 --without-osmesa do not use the OSMesa library
1515 --without-oss do not use the OSS sound support
1516 --without-png do not use PNG
1517 --without-pthread do not use the pthread library
1518 --without-sane do not use SANE (scanner support)
1519 --without-tiff do not use TIFF
1520 --without-v4l do not use v4l1 (v4l support)
1521 --without-xcomposite do not use the Xcomposite extension
1522 --without-xcursor do not use the Xcursor extension
1523 --without-xinerama do not use Xinerama (multi-monitor support)
1524 --without-xinput do not use the Xinput extension
1525 --without-xinput2 do not use the Xinput 2 extension
1526 --without-xml do not use XML
1527 --without-xrandr do not use Xrandr (resolution changes)
1528 --without-xrender do not use the Xrender extension
1529 --without-xshape do not use the Xshape extension
1530 --without-xshm do not use XShm (shared memory extension)
1531 --without-xslt do not use XSLT
1532 --without-xxf86vm do not use XFree video mode extension
1533 --without-zlib do not use Zlib (data compression)
1534 --with-wine-tools=DIR use Wine tools from directory DIR
1535 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
1536 --with-x use the X Window System
1538 Some influential environment variables:
1539 CC C compiler command
1540 CFLAGS C compiler flags
1541 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1542 nonstandard directory <lib dir>
1543 LIBS libraries to pass to the linker, e.g. -l<library>
1544 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1545 you have headers in a nonstandard directory <include dir>
1546 CXX C++ compiler command
1547 CXXFLAGS C++ compiler flags
1549 XMKMF Path to xmkmf, Makefile generator for X Window System
1551 Use these variables to override the choices made by `configure' or to
help
1552 it to
find libraries and programs with nonstandard names
/locations.
1554 Report bugs to
<wine-devel@winehq.org
>.
1555 Wine home page
: <http
://www.winehq.org
>.
1560 if test "$ac_init_help" = "recursive"; then
1561 # If there are subdirs, report their specific --help.
1562 for ac_dir
in : $ac_subdirs_all; do test "x$ac_dir" = x
: && continue
1563 test -d "$ac_dir" ||
1564 { cd "$srcdir" && ac_pwd
=`pwd` && srcdir
=.
&& test -d "$ac_dir"; } ||
1569 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1571 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1572 # A ".." for each directory in $ac_dir_suffix.
1573 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1574 case $ac_top_builddir_sub in
1575 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
1576 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
1579 ac_abs_top_builddir
=$ac_pwd
1580 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
1581 # for backward compatibility:
1582 ac_top_builddir
=$ac_top_build_prefix
1585 .
) # We are building in place.
1587 ac_top_srcdir
=$ac_top_builddir_sub
1588 ac_abs_top_srcdir
=$ac_pwd ;;
1589 [\\/]* | ?
:[\\/]* ) # Absolute name.
1590 ac_srcdir
=$srcdir$ac_dir_suffix;
1591 ac_top_srcdir
=$srcdir
1592 ac_abs_top_srcdir
=$srcdir ;;
1594 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
1595 ac_top_srcdir
=$ac_top_build_prefix$srcdir
1596 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
1598 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
1600 cd "$ac_dir" ||
{ ac_status
=$?
; continue; }
1601 # Check for guested configure.
1602 if test -f "$ac_srcdir/configure.gnu"; then
1604 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1605 elif test -f "$ac_srcdir/configure"; then
1607 $SHELL "$ac_srcdir/configure" --help=recursive
1609 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1611 cd "$ac_pwd" ||
{ ac_status
=$?
; break; }
1615 test -n "$ac_init_help" && exit $ac_status
1616 if $ac_init_version; then
1618 Wine configure
1.5.29
1619 generated by GNU Autoconf
2.69
1621 Copyright
(C
) 2012 Free Software Foundation
, Inc.
1622 This configure
script is free software
; the Free Software Foundation
1623 gives unlimited permission to copy
, distribute and modify it.
1628 ## ------------------------ ##
1629 ## Autoconf initialization. ##
1630 ## ------------------------ ##
1632 # ac_fn_c_try_compile LINENO
1633 # --------------------------
1634 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1635 ac_fn_c_try_compile
()
1637 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1638 rm -f conftest.
$ac_objext
1639 if { { ac_try
="$ac_compile"
1641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1642 *) ac_try_echo=$ac_try;;
1644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1645 $as_echo "$ac_try_echo"; } >&5
1646 (eval "$ac_compile") 2>conftest.err
1648 if test -s conftest.err; then
1649 grep -v '^ *+' conftest.err >conftest.er1
1650 cat conftest.er1 >&5
1651 mv -f conftest.er1 conftest.err
1653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1654 test $ac_status = 0; } && {
1655 test -z "$ac_c_werror_flag" ||
1656 test ! -s conftest.err
1657 } && test -s conftest.$ac_objext; then :
1660 $as_echo "$as_me: failed program was:" >&5
1661 sed 's/^/| /' conftest.$ac_ext >&5
1665 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1666 as_fn_set_status $ac_retval
1668 } # ac_fn_c_try_compile
1670 # ac_fn_cxx_try_compile LINENO
1671 # ----------------------------
1672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1673 ac_fn_cxx_try_compile ()
1675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1676 rm -f conftest.$ac_objext
1677 if { { ac_try="$ac_compile"
1679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1680 *) ac_try_echo
=$ac_try;;
1682 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1683 $as_echo "$ac_try_echo"; } >&5
1684 (eval "$ac_compile") 2>conftest.err
1686 if test -s conftest.err
; then
1687 grep -v '^ *+' conftest.err
>conftest.er1
1688 cat conftest.er1
>&5
1689 mv -f conftest.er1 conftest.err
1691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1692 test $ac_status = 0; } && {
1693 test -z "$ac_cxx_werror_flag" ||
1694 test ! -s conftest.err
1695 } && test -s conftest.
$ac_objext; then :
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.
$ac_ext >&5
1703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1704 as_fn_set_status
$ac_retval
1706 } # ac_fn_cxx_try_compile
1708 # ac_fn_c_try_link LINENO
1709 # -----------------------
1710 # Try to link conftest.$ac_ext, and return whether this succeeded.
1713 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1714 rm -f conftest.
$ac_objext conftest
$ac_exeext
1715 if { { ac_try
="$ac_link"
1717 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1718 *) ac_try_echo=$ac_try;;
1720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1721 $as_echo "$ac_try_echo"; } >&5
1722 (eval "$ac_link") 2>conftest.err
1724 if test -s conftest.err; then
1725 grep -v '^ *+' conftest.err >conftest.er1
1726 cat conftest.er1 >&5
1727 mv -f conftest.er1 conftest.err
1729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1730 test $ac_status = 0; } && {
1731 test -z "$ac_c_werror_flag" ||
1732 test ! -s conftest.err
1733 } && test -s conftest$ac_exeext && {
1734 test "$cross_compiling" = yes ||
1735 test -x conftest$ac_exeext
1739 $as_echo "$as_me: failed program was:" >&5
1740 sed 's/^/| /' conftest.$ac_ext >&5
1744 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1745 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1746 # interfere with the next link command; also delete a directory that is
1747 # left behind by Apple's compiler. We do this before executing the actions.
1748 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1750 as_fn_set_status $ac_retval
1752 } # ac_fn_c_try_link
1754 # ac_fn_c_try_cpp LINENO
1755 # ----------------------
1756 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 if { { ac_try="$ac_cpp conftest.$ac_ext"
1762 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1763 *) ac_try_echo
=$ac_try;;
1765 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1766 $as_echo "$ac_try_echo"; } >&5
1767 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1769 if test -s conftest.err
; then
1770 grep -v '^ *+' conftest.err
>conftest.er1
1771 cat conftest.er1
>&5
1772 mv -f conftest.er1 conftest.err
1774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1775 test $ac_status = 0; } > conftest.i
&& {
1776 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1777 test ! -s conftest.err
1781 $as_echo "$as_me: failed program was:" >&5
1782 sed 's/^/| /' conftest.
$ac_ext >&5
1786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 as_fn_set_status
$ac_retval
1791 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1792 # -------------------------------------------------------
1793 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1794 # the include files in INCLUDES and setting the cache variable VAR
1796 ac_fn_c_check_header_mongrel
()
1798 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1799 if eval \
${$3+:} false
; then :
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1801 $as_echo_n "checking for $2... " >&6; }
1802 if eval \
${$3+:} false
; then :
1803 $as_echo_n "(cached) " >&6
1806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1807 $as_echo "$ac_res" >&6; }
1809 # Is the header compilable?
1810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1811 $as_echo_n "checking $2 usability... " >&6; }
1812 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1813 /* end confdefs.h. */
1817 if ac_fn_c_try_compile
"$LINENO"; then :
1818 ac_header_compiler
=yes
1820 ac_header_compiler
=no
1822 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1824 $as_echo "$ac_header_compiler" >&6; }
1826 # Is the header present?
1827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1828 $as_echo_n "checking $2 presence... " >&6; }
1829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1830 /* end confdefs.h. */
1833 if ac_fn_c_try_cpp
"$LINENO"; then :
1834 ac_header_preproc
=yes
1836 ac_header_preproc
=no
1838 rm -f conftest.err conftest.i conftest.
$ac_ext
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1840 $as_echo "$ac_header_preproc" >&6; }
1842 # So? What about this header?
1843 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1846 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1848 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1852 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1854 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1856 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1857 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1858 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1860 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1861 ( $as_echo "## ------------------------------------ ##
1862 ## Report this to wine-devel@winehq.org ##
1863 ## ------------------------------------ ##"
1864 ) |
sed "s/^/$as_me: WARNING: /" >&2
1867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1868 $as_echo_n "checking for $2... " >&6; }
1869 if eval \
${$3+:} false
; then :
1870 $as_echo_n "(cached) " >&6
1872 eval "$3=\$ac_header_compiler"
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1876 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1880 } # ac_fn_c_check_header_mongrel
1882 # ac_fn_c_try_run LINENO
1883 # ----------------------
1884 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1885 # that executables *can* be run.
1888 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1889 if { { ac_try
="$ac_link"
1891 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_link") 2>&5
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1900 { { case "(($ac_try" in
1901 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1902 *) ac_try_echo
=$ac_try;;
1904 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_try") 2>&5
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; }; }; then :
1912 $as_echo "$as_me: program exited with status $ac_status" >&5
1913 $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.
$ac_ext >&5
1916 ac_retval
=$ac_status
1918 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1919 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1920 as_fn_set_status
$ac_retval
1924 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1925 # -------------------------------------------------------
1926 # Tests whether HEADER exists and can be compiled using the include files in
1927 # INCLUDES, setting the cache variable VAR accordingly.
1928 ac_fn_c_check_header_compile
()
1930 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1932 $as_echo_n "checking for $2... " >&6; }
1933 if eval \
${$3+:} false
; then :
1934 $as_echo_n "(cached) " >&6
1936 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1937 /* end confdefs.h. */
1941 if ac_fn_c_try_compile
"$LINENO"; then :
1946 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1950 $as_echo "$ac_res" >&6; }
1951 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1953 } # ac_fn_c_check_header_compile
1955 # ac_fn_c_check_func LINENO FUNC VAR
1956 # ----------------------------------
1957 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1958 ac_fn_c_check_func
()
1960 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1962 $as_echo_n "checking for $2... " >&6; }
1963 if eval \
${$3+:} false
; then :
1964 $as_echo_n "(cached) " >&6
1966 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1967 /* end confdefs.h. */
1968 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1969 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1970 #define $2 innocuous_$2
1972 /* System header to define __stub macros and hopefully few prototypes,
1973 which can conflict with char $2 (); below.
1974 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1975 <limits.h> exists even on freestanding compilers. */
1978 # include <limits.h>
1980 # include <assert.h>
1985 /* Override any GCC internal prototype to avoid an error.
1986 Use char because int might match the return type of a GCC
1987 builtin and then its argument prototype would still apply. */
1992 /* The GNU C library defines this for functions which it implements
1993 to always fail with ENOSYS. Some functions are actually named
1994 something starting with __ and the normal name is an alias. */
1995 #if defined __stub_$2 || defined __stub___$2
2007 if ac_fn_c_try_link
"$LINENO"; then :
2012 rm -f core conftest.err conftest.
$ac_objext \
2013 conftest
$ac_exeext conftest.
$ac_ext
2016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2017 $as_echo "$ac_res" >&6; }
2018 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2020 } # ac_fn_c_check_func
2022 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2023 # ----------------------------------------------------
2024 # Tries to find if the field MEMBER exists in type AGGR, after including
2025 # INCLUDES, setting cache variable VAR accordingly.
2026 ac_fn_c_check_member
()
2028 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2030 $as_echo_n "checking for $2.$3... " >&6; }
2031 if eval \
${$4+:} false
; then :
2032 $as_echo_n "(cached) " >&6
2034 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2035 /* end confdefs.h. */
2047 if ac_fn_c_try_compile
"$LINENO"; then :
2050 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2051 /* end confdefs.h. */
2057 if (sizeof ac_aggr.$3)
2063 if ac_fn_c_try_compile
"$LINENO"; then :
2068 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2070 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2074 $as_echo "$ac_res" >&6; }
2075 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2077 } # ac_fn_c_check_member
2079 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2080 # -------------------------------------------
2081 # Tests whether TYPE exists after having included INCLUDES, setting cache
2082 # variable VAR accordingly.
2083 ac_fn_c_check_type
()
2085 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2087 $as_echo_n "checking for $2... " >&6; }
2088 if eval \
${$3+:} false
; then :
2089 $as_echo_n "(cached) " >&6
2092 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2093 /* end confdefs.h. */
2104 if ac_fn_c_try_compile
"$LINENO"; then :
2105 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2106 /* end confdefs.h. */
2117 if ac_fn_c_try_compile
"$LINENO"; then :
2122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2124 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
2127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2128 $as_echo "$ac_res" >&6; }
2129 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2131 } # ac_fn_c_check_type
2132 cat >config.log
<<_ACEOF
2133 This file contains any messages produced by compilers while
2134 running configure, to aid debugging if configure makes a mistake.
2136 It was created by Wine $as_me 1.5.29, which was
2137 generated by GNU Autoconf 2.69. Invocation command line was
2149 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2150 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2151 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2152 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2153 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2155 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2156 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2158 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2159 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2160 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2161 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2162 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2163 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2164 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2168 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2172 test -z "$as_dir" && as_dir
=.
2173 $as_echo "PATH: $as_dir"
2189 # Keep a trace of the command line.
2190 # Strip out --no-create and --no-recursion so they do not pile up.
2191 # Strip out --silent because we don't want to record it for future runs.
2192 # Also quote any args containing shell meta-characters.
2193 # Make two passes to allow for proper duplicate-argument suppression.
2197 ac_must_keep_next
=false
2203 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2204 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2205 |
-silent |
--silent |
--silen |
--sile |
--sil)
2208 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2211 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2213 as_fn_append ac_configure_args1
" '$ac_arg'"
2214 if test $ac_must_keep_next = true
; then
2215 ac_must_keep_next
=false
# Got value, back to normal.
2218 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2219 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2220 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2221 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2222 case "$ac_configure_args0 " in
2223 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2226 -* ) ac_must_keep_next
=true
;;
2229 as_fn_append ac_configure_args
" '$ac_arg'"
2234 { ac_configure_args0
=; unset ac_configure_args0
;}
2235 { ac_configure_args1
=; unset ac_configure_args1
;}
2237 # When interrupted or exit'd, cleanup temporary files, and complete
2238 # config.log. We remove comments because anyway the quotes in there
2239 # would cause problems or look ugly.
2240 # WARNING: Use '\'' to represent an apostrophe within the trap.
2241 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2242 trap 'exit_status=$?
2243 # Save into config.log some information that might help in debugging.
2247 $as_echo "## ---------------- ##
2248 ## Cache variables. ##
2249 ## ---------------- ##"
2251 # The following way of writing the cache mishandles newlines in values,
2253 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2254 eval ac_val=\$$ac_var
2258 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2259 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2262 _ | IFS | as_nl) ;; #(
2263 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2264 *) { eval $ac_var=; unset $ac_var;} ;;
2269 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2270 *${as_nl}ac_space=\ *)
2272 "s/'\''/'\''\\\\'\'''\''/g;
2273 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2276 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2283 $as_echo "## ----------------- ##
2284 ## Output variables. ##
2285 ## ----------------- ##"
2287 for ac_var in $ac_subst_vars
2289 eval ac_val=\$$ac_var
2291 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2293 $as_echo "$ac_var='\''$ac_val'\''"
2297 if test -n "$ac_subst_files"; then
2298 $as_echo "## ------------------- ##
2299 ## File substitutions. ##
2300 ## ------------------- ##"
2302 for ac_var
in $ac_subst_files
2304 eval ac_val
=\$
$ac_var
2306 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2308 $as_echo "$ac_var='\''$ac_val'\''"
2313 if test -s confdefs.h; then
2314 $as_echo "## ----------- ##
2321 test "$ac_signal" != 0 &&
2322 $as_echo "$as_me: caught signal $ac_signal"
2323 $as_echo "$as_me: exit $exit_status"
2325 rm -f core *.core core.conftest.* &&
2326 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2329 for ac_signal
in 1 2 13 15; do
2330 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2334 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2335 rm -f -r conftest
* confdefs.h
2337 $as_echo "/* confdefs.h */" > confdefs.h
2339 # Predefined preprocessor variables.
2341 cat >>confdefs.h
<<_ACEOF
2342 #define PACKAGE_NAME "$PACKAGE_NAME"
2345 cat >>confdefs.h
<<_ACEOF
2346 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2349 cat >>confdefs.h
<<_ACEOF
2350 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2353 cat >>confdefs.h
<<_ACEOF
2354 #define PACKAGE_STRING "$PACKAGE_STRING"
2357 cat >>confdefs.h
<<_ACEOF
2358 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2361 cat >>confdefs.h
<<_ACEOF
2362 #define PACKAGE_URL "$PACKAGE_URL"
2366 # Let the site file select an alternate cache file if it wants to.
2367 # Prefer an explicitly selected file to automatically selected ones.
2370 if test -n "$CONFIG_SITE"; then
2371 # We do not want a PATH search for config.site.
2372 case $CONFIG_SITE in #((
2373 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2374 */*) ac_site_file1
=$CONFIG_SITE;;
2375 *) ac_site_file1
=.
/$CONFIG_SITE;;
2377 elif test "x$prefix" != xNONE
; then
2378 ac_site_file1
=$prefix/share
/config.site
2379 ac_site_file2
=$prefix/etc
/config.site
2381 ac_site_file1
=$ac_default_prefix/share
/config.site
2382 ac_site_file2
=$ac_default_prefix/etc
/config.site
2384 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2386 test "x$ac_site_file" = xNONE
&& continue
2387 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2388 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2389 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2390 sed 's/^/| /' "$ac_site_file" >&5
2392 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2393 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2394 as_fn_error $?
"failed to load site script $ac_site_file
2395 See \`config.log' for more details" "$LINENO" 5; }
2399 if test -r "$cache_file"; then
2400 # Some versions of bash will fail to source /dev/null (special files
2401 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2402 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2403 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2404 $as_echo "$as_me: loading cache $cache_file" >&6;}
2406 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2407 *) .
"./$cache_file";;
2411 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2412 $as_echo "$as_me: creating cache $cache_file" >&6;}
2416 # Check that the precious variables saved in the cache have kept the same
2418 ac_cache_corrupted
=false
2419 for ac_var
in $ac_precious_vars; do
2420 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2421 eval ac_new_set
=\
$ac_env_${ac_var}_set
2422 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2423 eval ac_new_val
=\
$ac_env_${ac_var}_value
2424 case $ac_old_set,$ac_new_set in
2426 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2427 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2428 ac_cache_corrupted
=: ;;
2430 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2431 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2432 ac_cache_corrupted
=: ;;
2435 if test "x$ac_old_val" != "x$ac_new_val"; then
2436 # differences in whitespace do not lead to failure.
2437 ac_old_val_w
=`echo x $ac_old_val`
2438 ac_new_val_w
=`echo x $ac_new_val`
2439 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2440 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2441 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2442 ac_cache_corrupted
=:
2444 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2445 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2446 eval $ac_var=\
$ac_old_val
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2449 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2451 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2454 # Pass precious variables to config.status.
2455 if test "$ac_new_set" = set; then
2457 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2458 *) ac_arg
=$ac_var=$ac_new_val ;;
2460 case " $ac_configure_args " in
2461 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2462 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2466 if $ac_cache_corrupted; then
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2470 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2471 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2473 ## -------------------- ##
2474 ## Main body of script. ##
2475 ## -------------------- ##
2478 ac_cpp
='$CPP $CPPFLAGS'
2479 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2480 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2481 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2485 ac_config_headers
="$ac_config_headers include/config.h"
2488 for ac_dir
in tools
"$srcdir"/tools
; do
2489 if test -f "$ac_dir/install-sh"; then
2491 ac_install_sh
="$ac_aux_dir/install-sh -c"
2493 elif test -f "$ac_dir/install.sh"; then
2495 ac_install_sh
="$ac_aux_dir/install.sh -c"
2497 elif test -f "$ac_dir/shtool"; then
2499 ac_install_sh
="$ac_aux_dir/shtool install -c"
2503 if test -z "$ac_aux_dir"; then
2504 as_fn_error $?
"cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
2507 # These three variables are undocumented and unsupported,
2508 # and are intended to be withdrawn in a future Autoconf release.
2509 # They can cause serious problems if a builder's source tree is in a directory
2510 # whose full name contains unusual characters.
2511 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2512 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2513 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2519 # Check whether --enable-win16 was given.
2520 if test "${enable_win16+set}" = set; then :
2521 enableval
=$enable_win16;
2524 # Check whether --enable-win64 was given.
2525 if test "${enable_win64+set}" = set; then :
2526 enableval
=$enable_win64;
2529 # Check whether --enable-tests was given.
2530 if test "${enable_tests+set}" = set; then :
2531 enableval
=$enable_tests;
2534 # Check whether --enable-maintainer-mode was given.
2535 if test "${enable_maintainer_mode+set}" = set; then :
2536 enableval
=$enable_maintainer_mode;
2541 # Check whether --with-alsa was given.
2542 if test "${with_alsa+set}" = set; then :
2543 withval
=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h
=no
; ac_cv_header_alsa_asoundlib_h
=no
; fi
2547 # Check whether --with-capi was given.
2548 if test "${with_capi+set}" = set; then :
2549 withval
=$with_capi; if test "x$withval" = "xno"; then ac_cv_header_capi20_h
=no
; ac_cv_header_linux_capi_h
=no
; fi
2553 # Check whether --with-cms was given.
2554 if test "${with_cms+set}" = set; then :
2555 withval
=$with_cms; if test "x$withval" = "xno"; then ac_cv_header_lcms_h
=no
; ac_cv_header_lcms_lcms_h
=no
; fi
2559 # Check whether --with-coreaudio was given.
2560 if test "${with_coreaudio+set}" = set; then :
2561 withval
=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h
=no
; fi
2565 # Check whether --with-cups was given.
2566 if test "${with_cups+set}" = set; then :
2571 # Check whether --with-curses was given.
2572 if test "${with_curses+set}" = set; then :
2573 withval
=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h
=no
; ac_cv_header_curses_h
=no
; fi
2577 # Check whether --with-dbus was given.
2578 if test "${with_dbus+set}" = set; then :
2583 # Check whether --with-fontconfig was given.
2584 if test "${with_fontconfig+set}" = set; then :
2585 withval
=$with_fontconfig;
2589 # Check whether --with-freetype was given.
2590 if test "${with_freetype+set}" = set; then :
2591 withval
=$with_freetype;
2595 # Check whether --with-gettext was given.
2596 if test "${with_gettext+set}" = set; then :
2597 withval
=$with_gettext;
2601 # Check whether --with-gettextpo was given.
2602 if test "${with_gettextpo+set}" = set; then :
2603 withval
=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h
=no
; fi
2607 # Check whether --with-gphoto was given.
2608 if test "${with_gphoto+set}" = set; then :
2609 withval
=$with_gphoto;
2613 # Check whether --with-glu was given.
2614 if test "${with_glu+set}" = set; then :
2619 # Check whether --with-gnutls was given.
2620 if test "${with_gnutls+set}" = set; then :
2621 withval
=$with_gnutls;
2625 # Check whether --with-gsm was given.
2626 if test "${with_gsm+set}" = set; then :
2627 withval
=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h
=no
; ac_cv_header_gsm_gsm_h
=no
; fi
2631 # Check whether --with-gstreamer was given.
2632 if test "${with_gstreamer+set}" = set; then :
2633 withval
=$with_gstreamer;
2637 # Check whether --with-hal was given.
2638 if test "${with_hal+set}" = set; then :
2643 # Check whether --with-jpeg was given.
2644 if test "${with_jpeg+set}" = set; then :
2645 withval
=$with_jpeg; if test "x$withval" = "xno"; then ac_cv_header_jpeglib_h
=no
; fi
2649 # Check whether --with-ldap was given.
2650 if test "${with_ldap+set}" = set; then :
2651 withval
=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h
=no
; ac_cv_header_lber_h
=no
; fi
2655 # Check whether --with-mpg123 was given.
2656 if test "${with_mpg123+set}" = set; then :
2657 withval
=$with_mpg123; if test "x$withval" = "xno"; then ac_cv_header_mpg123_h
=no
; fi
2661 # Check whether --with-openal was given.
2662 if test "${with_openal+set}" = set; then :
2663 withval
=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h
=no
; ac_cv_header_OpenAL_al_h
=no
; fi
2667 # Check whether --with-opencl was given.
2668 if test "${with_opencl+set}" = set; then :
2669 withval
=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h
=no
; ac_cv_header_OpenCL_opencl_h
=no
; fi
2673 # Check whether --with-opengl was given.
2674 if test "${with_opengl+set}" = set; then :
2675 withval
=$with_opengl;
2679 # Check whether --with-osmesa was given.
2680 if test "${with_osmesa+set}" = set; then :
2681 withval
=$with_osmesa;
2685 # Check whether --with-oss was given.
2686 if test "${with_oss+set}" = set; then :
2691 # Check whether --with-png was given.
2692 if test "${with_png+set}" = set; then :
2693 withval
=$with_png; if test "x$withval" = "xno"; then ac_cv_header_png_h
=no
; fi
2697 # Check whether --with-pthread was given.
2698 if test "${with_pthread+set}" = set; then :
2699 withval
=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h
=no
; fi
2703 # Check whether --with-sane was given.
2704 if test "${with_sane+set}" = set; then :
2709 # Check whether --with-tiff was given.
2710 if test "${with_tiff+set}" = set; then :
2711 withval
=$with_tiff; if test "x$withval" = "xno"; then ac_cv_header_tiffio_h
=no
; fi
2715 # Check whether --with-v4l was given.
2716 if test "${with_v4l+set}" = set; then :
2721 # Check whether --with-xcomposite was given.
2722 if test "${with_xcomposite+set}" = set; then :
2723 withval
=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h
=no
; fi
2727 # Check whether --with-xcursor was given.
2728 if test "${with_xcursor+set}" = set; then :
2729 withval
=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h
=no
; fi
2733 # Check whether --with-xinerama was given.
2734 if test "${with_xinerama+set}" = set; then :
2735 withval
=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h
=no
; fi
2739 # Check whether --with-xinput was given.
2740 if test "${with_xinput+set}" = set; then :
2741 withval
=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h
=no
; fi
2745 # Check whether --with-xinput2 was given.
2746 if test "${with_xinput2+set}" = set; then :
2747 withval
=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h
=no
; fi
2751 # Check whether --with-xml was given.
2752 if test "${with_xml+set}" = set; then :
2757 # Check whether --with-xrandr was given.
2758 if test "${with_xrandr+set}" = set; then :
2759 withval
=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h
=no
; fi
2763 # Check whether --with-xrender was given.
2764 if test "${with_xrender+set}" = set; then :
2765 withval
=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h
=no
; fi
2769 # Check whether --with-xshape was given.
2770 if test "${with_xshape+set}" = set; then :
2771 withval
=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h
=no
; fi
2775 # Check whether --with-xshm was given.
2776 if test "${with_xshm+set}" = set; then :
2777 withval
=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h
=no
; fi
2781 # Check whether --with-xslt was given.
2782 if test "${with_xslt+set}" = set; then :
2787 # Check whether --with-xxf86vm was given.
2788 if test "${with_xxf86vm+set}" = set; then :
2789 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
2793 # Check whether --with-zlib was given.
2794 if test "${with_zlib+set}" = set; then :
2795 withval
=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h
=no
; fi
2800 # Check whether --with-wine-tools was given.
2801 if test "${with_wine_tools+set}" = set; then :
2802 withval
=$with_wine_tools;
2806 # Check whether --with-wine64 was given.
2807 if test "${with_wine64+set}" = set; then :
2808 withval
=$with_wine64;
2812 # Make sure we can run config.sub.
2813 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
2814 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2817 $as_echo_n "checking build system type... " >&6; }
2818 if ${ac_cv_build+:} false
; then :
2819 $as_echo_n "(cached) " >&6
2821 ac_build_alias
=$build_alias
2822 test "x$ac_build_alias" = x
&&
2823 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
2824 test "x$ac_build_alias" = x
&&
2825 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
2826 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2827 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2831 $as_echo "$ac_cv_build" >&6; }
2832 case $ac_cv_build in
2834 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
2837 ac_save_IFS
=$IFS; IFS
='-'
2843 # Remember, the first character of IFS is used to create $*,
2844 # except with old shells:
2847 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
2850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2851 $as_echo_n "checking host system type... " >&6; }
2852 if ${ac_cv_host+:} false
; then :
2853 $as_echo_n "(cached) " >&6
2855 if test "x$host_alias" = x
; then
2856 ac_cv_host
=$ac_cv_build
2858 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2859 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2864 $as_echo "$ac_cv_host" >&6; }
2867 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
2870 ac_save_IFS
=$IFS; IFS
='-'
2876 # Remember, the first character of IFS is used to create $*,
2877 # except with old shells:
2880 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
2886 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
2887 as_fn_error $?
"you are building out of the source tree, but the source tree contains object files.
2888 You need to run 'make distclean' in the source tree first." "$LINENO" 5
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2894 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2896 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2897 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2898 $as_echo_n "(cached) " >&6
2900 cat >conftest.
make <<\_ACEOF
2903 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2905 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2906 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2908 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2910 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2914 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2916 $as_echo "yes" >&6; }
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2920 $as_echo "no" >&6; }
2921 SET_MAKE
="MAKE=${MAKE-make}"
2925 ac_cpp
='$CPP $CPPFLAGS'
2926 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2927 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2928 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2929 if test -n "$ac_tool_prefix"; then
2930 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2931 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_CC+:} false
; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$CC"; then
2938 ac_cv_prog_CC
="$CC" # Let the user override the test.
2940 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir
=.
2945 for ac_exec_ext
in '' $ac_executable_extensions; do
2946 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$CC"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2960 $as_echo "$CC" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2968 if test -z "$ac_cv_prog_CC"; then
2970 # Extract the first word of "gcc", so it can be a program name with args.
2971 set dummy gcc
; ac_word
=$2
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2973 $as_echo_n "checking for $ac_word... " >&6; }
2974 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2975 $as_echo_n "(cached) " >&6
2977 if test -n "$ac_ct_CC"; then
2978 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2980 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2984 test -z "$as_dir" && as_dir
=.
2985 for ac_exec_ext
in '' $ac_executable_extensions; do
2986 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2987 ac_cv_prog_ac_ct_CC
="gcc"
2988 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2997 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2998 if test -n "$ac_ct_CC"; then
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3000 $as_echo "$ac_ct_CC" >&6; }
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3003 $as_echo "no" >&6; }
3006 if test "x$ac_ct_CC" = x
; then
3009 case $cross_compiling:$ac_tool_warned in
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3012 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3013 ac_tool_warned
=yes ;;
3021 if test -z "$CC"; then
3022 if test -n "$ac_tool_prefix"; then
3023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3024 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3026 $as_echo_n "checking for $ac_word... " >&6; }
3027 if ${ac_cv_prog_CC+:} false
; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -n "$CC"; then
3031 ac_cv_prog_CC
="$CC" # Let the user override the test.
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_exec_ext
in '' $ac_executable_extensions; do
3039 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3040 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3051 if test -n "$CC"; then
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3053 $as_echo "$CC" >&6; }
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3056 $as_echo "no" >&6; }
3062 if test -z "$CC"; then
3063 # Extract the first word of "cc", so it can be a program name with args.
3064 set dummy cc
; ac_word
=$2
3065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3066 $as_echo_n "checking for $ac_word... " >&6; }
3067 if ${ac_cv_prog_CC+:} false
; then :
3068 $as_echo_n "(cached) " >&6
3070 if test -n "$CC"; then
3071 ac_cv_prog_CC
="$CC" # Let the user override the test.
3074 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3078 test -z "$as_dir" && as_dir
=.
3079 for ac_exec_ext
in '' $ac_executable_extensions; do
3080 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3082 ac_prog_rejected
=yes
3086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3093 if test $ac_prog_rejected = yes; then
3094 # We found a bogon in the path, so make sure we never use it.
3095 set dummy
$ac_cv_prog_CC
3097 if test $# != 0; then
3098 # We chose a different compiler from the bogus one.
3099 # However, it has the same basename, so the bogon will be chosen
3100 # first if we set CC to just the basename; use the full file name.
3102 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3108 if test -n "$CC"; then
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3110 $as_echo "$CC" >&6; }
3112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3113 $as_echo "no" >&6; }
3118 if test -z "$CC"; then
3119 if test -n "$ac_tool_prefix"; then
3120 for ac_prog
in cl.exe
3122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3123 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3125 $as_echo_n "checking for $ac_word... " >&6; }
3126 if ${ac_cv_prog_CC+:} false
; then :
3127 $as_echo_n "(cached) " >&6
3129 if test -n "$CC"; then
3130 ac_cv_prog_CC
="$CC" # Let the user override the test.
3132 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3136 test -z "$as_dir" && as_dir
=.
3137 for ac_exec_ext
in '' $ac_executable_extensions; do
3138 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3139 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3150 if test -n "$CC"; then
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3152 $as_echo "$CC" >&6; }
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3155 $as_echo "no" >&6; }
3159 test -n "$CC" && break
3162 if test -z "$CC"; then
3164 for ac_prog
in cl.exe
3166 # Extract the first word of "$ac_prog", so it can be a program name with args.
3167 set dummy
$ac_prog; ac_word
=$2
3168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3169 $as_echo_n "checking for $ac_word... " >&6; }
3170 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
3171 $as_echo_n "(cached) " >&6
3173 if test -n "$ac_ct_CC"; then
3174 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3176 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3180 test -z "$as_dir" && as_dir
=.
3181 for ac_exec_ext
in '' $ac_executable_extensions; do
3182 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3183 ac_cv_prog_ac_ct_CC
="$ac_prog"
3184 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3193 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3194 if test -n "$ac_ct_CC"; then
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3196 $as_echo "$ac_ct_CC" >&6; }
3198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3199 $as_echo "no" >&6; }
3203 test -n "$ac_ct_CC" && break
3206 if test "x$ac_ct_CC" = x
; then
3209 case $cross_compiling:$ac_tool_warned in
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3213 ac_tool_warned
=yes ;;
3222 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3223 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3224 as_fn_error $?
"no acceptable C compiler found in \$PATH
3225 See \`config.log' for more details" "$LINENO" 5; }
3227 # Provide some information about the compiler.
3228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3231 for ac_option
in --version -v -V -qversion; do
3232 { { ac_try
="$ac_compiler $ac_option >&5"
3234 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3235 *) ac_try_echo=$ac_try;;
3237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3238 $as_echo "$ac_try_echo"; } >&5
3239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3241 if test -s conftest.err; then
3243 ... rest of stderr output deleted ...
3244 10q' conftest.err >conftest.er1
3245 cat conftest.er1 >&5
3247 rm -f conftest.er1 conftest.err
3248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3249 test $ac_status = 0; }
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 ac_clean_files_save=$ac_clean_files
3264 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3265 # Try to create an executable without -o first, disregard a.out.
3266 # It will help us diagnose broken compilers, and finding out an intuition
3268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3269 $as_echo_n "checking whether the C compiler works... " >&6; }
3270 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3272 # The possible output files:
3273 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3276 for ac_file in $ac_files
3279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3280 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3285 if { { ac_try="$ac_link_default"
3287 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3288 *) ac_try_echo
=$ac_try;;
3290 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3291 $as_echo "$ac_try_echo"; } >&5
3292 (eval "$ac_link_default") 2>&5
3294 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3295 test $ac_status = 0; }; then :
3296 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3297 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3298 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3299 # so that the user can short-circuit this test for compilers unknown to
3301 for ac_file
in $ac_files ''
3303 test -f "$ac_file" ||
continue
3305 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3308 # We found the default executable, but exeext='' is most
3312 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3314 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3316 # We set ac_cv_exeext here because the later test for it is not
3317 # safe: cross compilers may not add the suffix if given an `-o'
3318 # argument, so we may need to know it at that point already.
3319 # Even if this section looks crufty: it has the advantage of
3326 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3331 if test -z "$ac_file"; then :
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3333 $as_echo "no" >&6; }
3334 $as_echo "$as_me: failed program was:" >&5
3335 sed 's/^/| /' conftest.
$ac_ext >&5
3337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3339 as_fn_error
77 "C compiler cannot create executables
3340 See \`config.log' for more details" "$LINENO" 5; }
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3343 $as_echo "yes" >&6; }
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3346 $as_echo_n "checking for C compiler default output file name... " >&6; }
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3348 $as_echo "$ac_file" >&6; }
3349 ac_exeext
=$ac_cv_exeext
3351 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3352 ac_clean_files
=$ac_clean_files_save
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3354 $as_echo_n "checking for suffix of executables... " >&6; }
3355 if { { ac_try
="$ac_link"
3357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3358 *) ac_try_echo=$ac_try;;
3360 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3361 $as_echo "$ac_try_echo"; } >&5
3362 (eval "$ac_link") 2>&5
3364 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3365 test $ac_status = 0; }; then :
3366 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3367 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3368 # work properly (i.e., refer to `conftest.exe'), while it won't with
3370 for ac_file
in conftest.exe conftest conftest.
*; do
3371 test -f "$ac_file" ||
continue
3373 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3374 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3380 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3381 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3382 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3383 See \`config.log' for more details" "$LINENO" 5; }
3385 rm -f conftest conftest
$ac_cv_exeext
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3387 $as_echo "$ac_cv_exeext" >&6; }
3389 rm -f conftest.
$ac_ext
3390 EXEEXT
=$ac_cv_exeext
3392 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3393 /* end confdefs.h. */
3398 FILE *f = fopen ("conftest.out", "w");
3399 return ferror (f) || fclose (f) != 0;
3405 ac_clean_files
="$ac_clean_files conftest.out"
3406 # Check that the compiler produces executables we can run. If not, either
3407 # the compiler is broken, or we cross compile.
3408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3409 $as_echo_n "checking whether we are cross compiling... " >&6; }
3410 if test "$cross_compiling" != yes; then
3411 { { ac_try
="$ac_link"
3413 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3414 *) ac_try_echo=$ac_try;;
3416 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3417 $as_echo "$ac_try_echo"; } >&5
3418 (eval "$ac_link") 2>&5
3420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3421 test $ac_status = 0; }
3422 if { ac_try='./conftest$ac_cv_exeext'
3423 { { case "(($ac_try" in
3424 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3425 *) ac_try_echo
=$ac_try;;
3427 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3428 $as_echo "$ac_try_echo"; } >&5
3429 (eval "$ac_try") 2>&5
3431 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3432 test $ac_status = 0; }; }; then
3435 if test "$cross_compiling" = maybe
; then
3438 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3439 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3440 as_fn_error $?
"cannot run C compiled programs.
3441 If you meant to cross compile, use \`--host'.
3442 See \`config.log' for more details" "$LINENO" 5; }
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3447 $as_echo "$cross_compiling" >&6; }
3449 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3450 ac_clean_files
=$ac_clean_files_save
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3452 $as_echo_n "checking for suffix of object files... " >&6; }
3453 if ${ac_cv_objext+:} false
; then :
3454 $as_echo_n "(cached) " >&6
3456 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3457 /* end confdefs.h. */
3467 rm -f conftest.o conftest.obj
3468 if { { ac_try
="$ac_compile"
3470 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3471 *) ac_try_echo=$ac_try;;
3473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3474 $as_echo "$ac_try_echo"; } >&5
3475 (eval "$ac_compile") 2>&5
3477 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3478 test $ac_status = 0; }; then :
3479 for ac_file in conftest.o conftest.obj conftest.*; do
3480 test -f "$ac_file" || continue;
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3483 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3488 $as_echo "$as_me: failed program was:" >&5
3489 sed 's/^/| /' conftest.$ac_ext >&5
3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3493 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3494 See \
`config.log' for more details" "$LINENO" 5; }
3496 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3499 $as_echo "$ac_cv_objext" >&6; }
3500 OBJEXT=$ac_cv_objext
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3503 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3504 if ${ac_cv_c_compiler_gnu+:} false; then :
3505 $as_echo_n "(cached) " >&6
3507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3508 /* end confdefs.h. */
3521 if ac_fn_c_try_compile "$LINENO"; then :
3526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3531 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3532 if test $ac_compiler_gnu = yes; then
3537 ac_test_CFLAGS=${CFLAGS+set}
3538 ac_save_CFLAGS=$CFLAGS
3539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3540 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3541 if ${ac_cv_prog_cc_g+:} false; then :
3542 $as_echo_n "(cached) " >&6
3544 ac_save_c_werror_flag=$ac_c_werror_flag
3545 ac_c_werror_flag=yes
3548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3549 /* end confdefs.h. */
3559 if ac_fn_c_try_compile "$LINENO"; then :
3563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3564 /* end confdefs.h. */
3574 if ac_fn_c_try_compile "$LINENO"; then :
3577 ac_c_werror_flag=$ac_save_c_werror_flag
3579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3580 /* end confdefs.h. */
3590 if ac_fn_c_try_compile "$LINENO"; then :
3593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3598 ac_c_werror_flag=$ac_save_c_werror_flag
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3601 $as_echo "$ac_cv_prog_cc_g" >&6; }
3602 if test "$ac_test_CFLAGS" = set; then
3603 CFLAGS=$ac_save_CFLAGS
3604 elif test $ac_cv_prog_cc_g = yes; then
3605 if test "$GCC" = yes; then
3611 if test "$GCC" = yes; then
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3618 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3619 if ${ac_cv_prog_cc_c89+:} false; then :
3620 $as_echo_n "(cached) " >&6
3622 ac_cv_prog_cc_c89=no
3624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3625 /* end confdefs.h. */
3629 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3630 struct buf { int x; };
3631 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3632 static char *e (p, i)
3638 static char *f (char * (*g) (char **, int), char **p, ...)
3643 s = g (p, va_arg (v,int));
3648 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3649 function prototypes and stuff, but not '\xHH' hex character constants.
3650 These don't provoke an error unfortunately, instead are silently treated
3651 as 'x'. The following induces an error, until -std is added to get
3652 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3653 array size at least. It's necessary to write '\x00'==0 to get something
3654 that's true only with -std. */
3655 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3657 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3658 inside strings and character constants. */
3660 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3662 int test (int i, double x);
3663 struct s1 {int (*f) (int a);};
3664 struct s2 {int (*f) (double a);};
3665 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3671 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3676 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3677 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3679 CC="$ac_save_CC $ac_arg"
3680 if ac_fn_c_try_compile "$LINENO"; then :
3681 ac_cv_prog_cc_c89=$ac_arg
3683 rm -f core conftest.err conftest.$ac_objext
3684 test "x$ac_cv_prog_cc_c89" != "xno" && break
3686 rm -f conftest.$ac_ext
3691 case "x$ac_cv_prog_cc_c89" in
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3694 $as_echo "none needed" >&6; } ;;
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3697 $as_echo "unsupported" >&6; } ;;
3699 CC="$CC $ac_cv_prog_cc_c89"
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3701 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3703 if test "x$ac_cv_prog_cc_c89" != xno; then :
3708 ac_cpp='$CPP $CPPFLAGS'
3709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3714 ac_cpp='$CXXCPP $CPPFLAGS'
3715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3718 if test -z "$CXX"; then
3719 if test -n "$CCC"; then
3722 if test -n "$ac_tool_prefix"; then
3723 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3725 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3726 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if ${ac_cv_prog_CXX+:} false; then :
3730 $as_echo_n "(cached) " >&6
3732 if test -n "$CXX"; then
3733 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3742 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3753 if test -n "$CXX"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3755 $as_echo "$CXX" >&6; }
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3762 test -n "$CXX" && break
3765 if test -z "$CXX"; then
3767 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3769 # Extract the first word of "$ac_prog", so it can be a program name with args.
3770 set dummy $ac_prog; ac_word=$2
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3772 $as_echo_n "checking for $ac_word... " >&6; }
3773 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3774 $as_echo_n "(cached) " >&6
3776 if test -n "$ac_ct_CXX"; then
3777 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3783 test -z "$as_dir" && as_dir=.
3784 for ac_exec_ext in '' $ac_executable_extensions; do
3785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3786 ac_cv_prog_ac_ct_CXX="$ac_prog"
3787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3797 if test -n "$ac_ct_CXX"; then
3798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3799 $as_echo "$ac_ct_CXX" >&6; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3802 $as_echo "no" >&6; }
3806 test -n "$ac_ct_CXX" && break
3809 if test "x$ac_ct_CXX" = x; then
3812 case $cross_compiling:$ac_tool_warned in
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3815 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3816 ac_tool_warned=yes ;;
3824 # Provide some information about the compiler.
3825 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3828 for ac_option in --version -v -V -qversion; do
3829 { { ac_try="$ac_compiler $ac_option >&5"
3831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3832 *) ac_try_echo
=$ac_try;;
3834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3835 $as_echo "$ac_try_echo"; } >&5
3836 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3838 if test -s conftest.err
; then
3840 ... rest of stderr output deleted ...
3841 10q' conftest.err
>conftest.er1
3842 cat conftest.er1
>&5
3844 rm -f conftest.er1 conftest.err
3845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3846 test $ac_status = 0; }
3849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3850 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3851 if ${ac_cv_cxx_compiler_gnu+:} false
; then :
3852 $as_echo_n "(cached) " >&6
3854 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3855 /* end confdefs.h. */
3868 if ac_fn_cxx_try_compile
"$LINENO"; then :
3873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3874 ac_cv_cxx_compiler_gnu
=$ac_compiler_gnu
3877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3878 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3879 if test $ac_compiler_gnu = yes; then
3884 ac_test_CXXFLAGS
=${CXXFLAGS+set}
3885 ac_save_CXXFLAGS
=$CXXFLAGS
3886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3887 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3888 if ${ac_cv_prog_cxx_g+:} false
; then :
3889 $as_echo_n "(cached) " >&6
3891 ac_save_cxx_werror_flag
=$ac_cxx_werror_flag
3892 ac_cxx_werror_flag
=yes
3895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3896 /* end confdefs.h. */
3906 if ac_fn_cxx_try_compile
"$LINENO"; then :
3907 ac_cv_prog_cxx_g
=yes
3910 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3911 /* end confdefs.h. */
3921 if ac_fn_cxx_try_compile
"$LINENO"; then :
3924 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3926 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3937 if ac_fn_cxx_try_compile
"$LINENO"; then :
3938 ac_cv_prog_cxx_g
=yes
3940 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3942 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3945 ac_cxx_werror_flag
=$ac_save_cxx_werror_flag
3947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3948 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3949 if test "$ac_test_CXXFLAGS" = set; then
3950 CXXFLAGS
=$ac_save_CXXFLAGS
3951 elif test $ac_cv_prog_cxx_g = yes; then
3952 if test "$GXX" = yes; then
3958 if test "$GXX" = yes; then
3965 ac_cpp
='$CPP $CPPFLAGS'
3966 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3967 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3968 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3970 if test -n "$ac_tool_prefix"; then
3971 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
3972 set dummy
${ac_tool_prefix}cpp
; ac_word
=$2
3973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3974 $as_echo_n "checking for $ac_word... " >&6; }
3975 if ${ac_cv_prog_CPPBIN+:} false
; then :
3976 $as_echo_n "(cached) " >&6
3978 if test -n "$CPPBIN"; then
3979 ac_cv_prog_CPPBIN
="$CPPBIN" # Let the user override the test.
3981 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3985 test -z "$as_dir" && as_dir
=.
3986 for ac_exec_ext
in '' $ac_executable_extensions; do
3987 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3988 ac_cv_prog_CPPBIN
="${ac_tool_prefix}cpp"
3989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3998 CPPBIN
=$ac_cv_prog_CPPBIN
3999 if test -n "$CPPBIN"; then
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
4001 $as_echo "$CPPBIN" >&6; }
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4004 $as_echo "no" >&6; }
4009 if test -z "$ac_cv_prog_CPPBIN"; then
4010 ac_ct_CPPBIN
=$CPPBIN
4011 # Extract the first word of "cpp", so it can be a program name with args.
4012 set dummy cpp
; ac_word
=$2
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4014 $as_echo_n "checking for $ac_word... " >&6; }
4015 if ${ac_cv_prog_ac_ct_CPPBIN+:} false
; then :
4016 $as_echo_n "(cached) " >&6
4018 if test -n "$ac_ct_CPPBIN"; then
4019 ac_cv_prog_ac_ct_CPPBIN
="$ac_ct_CPPBIN" # Let the user override the test.
4021 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4025 test -z "$as_dir" && as_dir
=.
4026 for ac_exec_ext
in '' $ac_executable_extensions; do
4027 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4028 ac_cv_prog_ac_ct_CPPBIN
="cpp"
4029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4038 ac_ct_CPPBIN
=$ac_cv_prog_ac_ct_CPPBIN
4039 if test -n "$ac_ct_CPPBIN"; then
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
4041 $as_echo "$ac_ct_CPPBIN" >&6; }
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4044 $as_echo "no" >&6; }
4047 if test "x$ac_ct_CPPBIN" = x
; then
4050 case $cross_compiling:$ac_tool_warned in
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4054 ac_tool_warned
=yes ;;
4056 CPPBIN
=$ac_ct_CPPBIN
4059 CPPBIN
="$ac_cv_prog_CPPBIN"
4063 cat >>confdefs.h
<<_ACEOF
4064 #define EXEEXT "$ac_exeext"
4070 if test "x$enable_win64" = "xyes"
4075 notice_platform
="64-bit "
4082 notice_platform
="32-bit "
4085 enable_win16
=${enable_win16:-yes}
4087 with_fontconfig
=${with_fontconfig:-no}
4090 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
4094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
4095 $as_echo_n "checking whether $CC works... " >&6; }
4097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4108 if ac_fn_c_try_link
"$LINENO"; then :
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4110 $as_echo "yes" >&6; }
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4114 as_fn_error $?
"Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
4116 rm -f core conftest.err conftest.
$ac_objext \
4117 conftest
$ac_exeext conftest.
$ac_ext
4119 notice_platform
="32-bit "
4122 enable_win16
=${enable_win16:-yes}
4124 if test "x${GCC}" = "xyes"
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
4127 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
4128 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4129 /* end confdefs.h. */
4134 void func(__builtin_ms_va_list *args);
4139 if ac_fn_c_try_compile
"$LINENO"; then :
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4141 $as_echo "yes" >&6; }
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4145 as_fn_error $?
"You need gcc >= 4.4 to build Wine as 64-bit." "$LINENO" 5
4147 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
4155 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
4156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4158 int ac_test(int i) { return i; }
4162 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
4167 if ac_fn_c_try_link
"$LINENO"; then :
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4169 $as_echo "yes" >&6; }
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4172 $as_echo "no" >&6; }
4173 as_fn_error $?
"You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
4175 rm -f core conftest.err conftest.
$ac_objext \
4176 conftest
$ac_exeext conftest.
$ac_ext
4177 CFLAGS
="$CFLAGS -marm"
4179 *-mingw32*|
*-cygwin*)
4180 enable_win16
=${enable_win16:-no}
4181 CFLAGS
="$CFLAGS -D_WIN32"
4184 enable_win16
=${enable_win16:-yes}
4188 enable_win16
=${enable_win16:-no}
4189 enable_win64
=${enable_win64:-no}
4191 enable_winetest
=${enable_winetest:-$enable_tests}
4193 if test -n "$with_wine64"
4195 if test "x$enable_win64" = "xyes"
4197 as_fn_error $?
"--enable-win64 and --with-wine64 are mutually exclusive.
4198 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
4202 enable_fonts
=${enable_fonts:-no}
4203 enable_server
=${enable_server:-no}
4204 enable_tools
=${enable_tools:-no}
4205 elif test "x$enable_win64" = "xyes"
4207 test "x$libdir" != "x\${exec_prefix}/lib" || libdir
="\${exec_prefix}/lib64"
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
4211 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
4212 if ${wine_cv_toolsdir+:} false
; then :
4213 $as_echo_n "(cached) " >&6
4215 wine_cv_toolsdir
="$with_wine_tools"
4216 if test -z "$with_wine_tools"; then
4217 if test "$cross_compiling" = "yes"; then
4218 as_fn_error $?
"you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
4219 elif test -n "$with_wine64"; then
4220 wine_cv_toolsdir
="$with_wine64"
4223 if test -z "$wine_cv_toolsdir"; then
4224 wine_cv_toolsdir
="\$(top_builddir)"
4225 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
4226 case "$wine_cv_toolsdir" in
4228 *) wine_cv_toolsdir
="\$(top_builddir)/$wine_cv_toolsdir" ;;
4231 as_fn_error $?
"could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
4234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
4235 $as_echo "$wine_cv_toolsdir" >&6; }
4236 TOOLSDIR
=$wine_cv_toolsdir
4238 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
4240 TARGETFLAGS
="-b $host_alias $TARGETFLAGS"
4246 # Extract the first word of "$ac_prog", so it can be a program name with args.
4247 set dummy
$ac_prog; ac_word
=$2
4248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4249 $as_echo_n "checking for $ac_word... " >&6; }
4250 if ${ac_cv_prog_FLEX+:} false
; then :
4251 $as_echo_n "(cached) " >&6
4253 if test -n "$FLEX"; then
4254 ac_cv_prog_FLEX
="$FLEX" # Let the user override the test.
4256 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4260 test -z "$as_dir" && as_dir
=.
4261 for ac_exec_ext
in '' $ac_executable_extensions; do
4262 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4263 ac_cv_prog_FLEX
="$ac_prog"
4264 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4273 FLEX
=$ac_cv_prog_FLEX
4274 if test -n "$FLEX"; then
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
4276 $as_echo "$FLEX" >&6; }
4278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4279 $as_echo "no" >&6; }
4283 test -n "$FLEX" && break
4285 test -n "$FLEX" || FLEX
="none"
4287 if test "$FLEX" = "none"
4289 as_fn_error $?
"no suitable flex found. Please install the 'flex' package." "$LINENO" 5
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
4292 $as_echo_n "checking whether flex is recent enough... " >&6; }
4293 cat >conftest.l
<<EOF
4295 #include "prediluvian.h"
4299 if $FLEX -t conftest.l
>/dev
/null
2>&5
4301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4302 $as_echo "yes" >&6; }
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4305 $as_echo "no" >&6; }
4306 as_fn_error $?
"Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
4309 for ac_prog
in bison
4311 # Extract the first word of "$ac_prog", so it can be a program name with args.
4312 set dummy
$ac_prog; ac_word
=$2
4313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4314 $as_echo_n "checking for $ac_word... " >&6; }
4315 if ${ac_cv_prog_BISON+:} false
; then :
4316 $as_echo_n "(cached) " >&6
4318 if test -n "$BISON"; then
4319 ac_cv_prog_BISON
="$BISON" # Let the user override the test.
4321 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4325 test -z "$as_dir" && as_dir
=.
4326 for ac_exec_ext
in '' $ac_executable_extensions; do
4327 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4328 ac_cv_prog_BISON
="$ac_prog"
4329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4338 BISON
=$ac_cv_prog_BISON
4339 if test -n "$BISON"; then
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
4341 $as_echo "$BISON" >&6; }
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4344 $as_echo "no" >&6; }
4348 test -n "$BISON" && break
4350 test -n "$BISON" || BISON
="none"
4352 if test "$BISON" = "none"
4354 as_fn_error $?
"no suitable bison found. Please install the 'bison' package." "$LINENO" 5
4357 if test -n "$ac_tool_prefix"; then
4358 for ac_prog
in ar gar
4360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4361 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if ${ac_cv_prog_AR+:} false
; then :
4365 $as_echo_n "(cached) " >&6
4367 if test -n "$AR"; then
4368 ac_cv_prog_AR
="$AR" # Let the user override the test.
4370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4374 test -z "$as_dir" && as_dir
=.
4375 for ac_exec_ext
in '' $ac_executable_extensions; do
4376 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4377 ac_cv_prog_AR
="$ac_tool_prefix$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4388 if test -n "$AR"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4390 $as_echo "$AR" >&6; }
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4397 test -n "$AR" && break
4400 if test -z "$AR"; then
4402 for ac_prog
in ar gar
4404 # Extract the first word of "$ac_prog", so it can be a program name with args.
4405 set dummy
$ac_prog; ac_word
=$2
4406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4407 $as_echo_n "checking for $ac_word... " >&6; }
4408 if ${ac_cv_prog_ac_ct_AR+:} false
; then :
4409 $as_echo_n "(cached) " >&6
4411 if test -n "$ac_ct_AR"; then
4412 ac_cv_prog_ac_ct_AR
="$ac_ct_AR" # Let the user override the test.
4414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4418 test -z "$as_dir" && as_dir
=.
4419 for ac_exec_ext
in '' $ac_executable_extensions; do
4420 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4421 ac_cv_prog_ac_ct_AR
="$ac_prog"
4422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4431 ac_ct_AR
=$ac_cv_prog_ac_ct_AR
4432 if test -n "$ac_ct_AR"; then
4433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
4434 $as_echo "$ac_ct_AR" >&6; }
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4437 $as_echo "no" >&6; }
4441 test -n "$ac_ct_AR" && break
4444 if test "x$ac_ct_AR" = x
; then
4447 case $cross_compiling:$ac_tool_warned in
4449 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4450 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4451 ac_tool_warned
=yes ;;
4459 if test -n "$ac_tool_prefix"; then
4460 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4461 set dummy
${ac_tool_prefix}ranlib
; ac_word
=$2
4462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4463 $as_echo_n "checking for $ac_word... " >&6; }
4464 if ${ac_cv_prog_RANLIB+:} false
; then :
4465 $as_echo_n "(cached) " >&6
4467 if test -n "$RANLIB"; then
4468 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
4470 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4474 test -z "$as_dir" && as_dir
=.
4475 for ac_exec_ext
in '' $ac_executable_extensions; do
4476 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4477 ac_cv_prog_RANLIB
="${ac_tool_prefix}ranlib"
4478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 RANLIB
=$ac_cv_prog_RANLIB
4488 if test -n "$RANLIB"; then
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
4490 $as_echo "$RANLIB" >&6; }
4492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4493 $as_echo "no" >&6; }
4498 if test -z "$ac_cv_prog_RANLIB"; then
4499 ac_ct_RANLIB
=$RANLIB
4500 # Extract the first word of "ranlib", so it can be a program name with args.
4501 set dummy ranlib
; ac_word
=$2
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4503 $as_echo_n "checking for $ac_word... " >&6; }
4504 if ${ac_cv_prog_ac_ct_RANLIB+:} false
; then :
4505 $as_echo_n "(cached) " >&6
4507 if test -n "$ac_ct_RANLIB"; then
4508 ac_cv_prog_ac_ct_RANLIB
="$ac_ct_RANLIB" # Let the user override the test.
4510 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4514 test -z "$as_dir" && as_dir
=.
4515 for ac_exec_ext
in '' $ac_executable_extensions; do
4516 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4517 ac_cv_prog_ac_ct_RANLIB
="ranlib"
4518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4527 ac_ct_RANLIB
=$ac_cv_prog_ac_ct_RANLIB
4528 if test -n "$ac_ct_RANLIB"; then
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
4530 $as_echo "$ac_ct_RANLIB" >&6; }
4532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4533 $as_echo "no" >&6; }
4536 if test "x$ac_ct_RANLIB" = x
; then
4539 case $cross_compiling:$ac_tool_warned in
4541 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4542 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4543 ac_tool_warned
=yes ;;
4545 RANLIB
=$ac_ct_RANLIB
4548 RANLIB
="$ac_cv_prog_RANLIB"
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4552 $as_echo_n "checking whether ln -s works... " >&6; }
4554 if test "$LN_S" = "ln -s"; then
4555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4556 $as_echo "yes" >&6; }
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4559 $as_echo "no, using $LN_S" >&6; }
4562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4563 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4564 if ${ac_cv_path_GREP+:} false
; then :
4565 $as_echo_n "(cached) " >&6
4567 if test -z "$GREP"; then
4568 ac_path_GREP_found
=false
4569 # Loop through the user's path and test for each of PROGNAME-LIST
4570 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4571 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4574 test -z "$as_dir" && as_dir
=.
4575 for ac_prog
in grep ggrep
; do
4576 for ac_exec_ext
in '' $ac_executable_extensions; do
4577 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4578 as_fn_executable_p
"$ac_path_GREP" ||
continue
4579 # Check for GNU ac_path_GREP and select it if it is found.
4580 # Check for GNU $ac_path_GREP
4581 case `"$ac_path_GREP" --version 2>&1` in
4583 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4586 $as_echo_n 0123456789 >"conftest.in"
4589 cat "conftest.in" "conftest.in" >"conftest.tmp"
4590 mv "conftest.tmp" "conftest.in"
4591 cp "conftest.in" "conftest.nl"
4592 $as_echo 'GREP' >> "conftest.nl"
4593 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4594 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4595 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4596 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4597 # Best one so far, save it but keep looking for a better one
4598 ac_cv_path_GREP
="$ac_path_GREP"
4599 ac_path_GREP_max
=$ac_count
4601 # 10*(2^10) chars as input seems more than enough
4602 test $ac_count -gt 10 && break
4604 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4607 $ac_path_GREP_found && break 3
4612 if test -z "$ac_cv_path_GREP"; then
4613 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4616 ac_cv_path_GREP
=$GREP
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4621 $as_echo "$ac_cv_path_GREP" >&6; }
4622 GREP
="$ac_cv_path_GREP"
4625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4626 $as_echo_n "checking for egrep... " >&6; }
4627 if ${ac_cv_path_EGREP+:} false
; then :
4628 $as_echo_n "(cached) " >&6
4630 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4631 then ac_cv_path_EGREP
="$GREP -E"
4633 if test -z "$EGREP"; then
4634 ac_path_EGREP_found
=false
4635 # Loop through the user's path and test for each of PROGNAME-LIST
4636 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4637 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4640 test -z "$as_dir" && as_dir
=.
4641 for ac_prog
in egrep; do
4642 for ac_exec_ext
in '' $ac_executable_extensions; do
4643 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4644 as_fn_executable_p
"$ac_path_EGREP" ||
continue
4645 # Check for GNU ac_path_EGREP and select it if it is found.
4646 # Check for GNU $ac_path_EGREP
4647 case `"$ac_path_EGREP" --version 2>&1` in
4649 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4652 $as_echo_n 0123456789 >"conftest.in"
4655 cat "conftest.in" "conftest.in" >"conftest.tmp"
4656 mv "conftest.tmp" "conftest.in"
4657 cp "conftest.in" "conftest.nl"
4658 $as_echo 'EGREP' >> "conftest.nl"
4659 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4660 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4661 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
4662 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4663 # Best one so far, save it but keep looking for a better one
4664 ac_cv_path_EGREP
="$ac_path_EGREP"
4665 ac_path_EGREP_max
=$ac_count
4667 # 10*(2^10) chars as input seems more than enough
4668 test $ac_count -gt 10 && break
4670 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4673 $ac_path_EGREP_found && break 3
4678 if test -z "$ac_cv_path_EGREP"; then
4679 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4682 ac_cv_path_EGREP
=$EGREP
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4688 $as_echo "$ac_cv_path_EGREP" >&6; }
4689 EGREP
="$ac_cv_path_EGREP"
4692 # Extract the first word of "ldconfig", so it can be a program name with args.
4693 set dummy ldconfig
; ac_word
=$2
4694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4695 $as_echo_n "checking for $ac_word... " >&6; }
4696 if ${ac_cv_path_LDCONFIG+:} false
; then :
4697 $as_echo_n "(cached) " >&6
4701 ac_cv_path_LDCONFIG
="$LDCONFIG" # Let the user override the test with a path.
4704 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4705 for as_dir
in /sbin
/usr
/sbin
$PATH
4708 test -z "$as_dir" && as_dir
=.
4709 for ac_exec_ext
in '' $ac_executable_extensions; do
4710 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4711 ac_cv_path_LDCONFIG
="$as_dir/$ac_word$ac_exec_ext"
4712 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4719 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG
="true"
4723 LDCONFIG
=$ac_cv_path_LDCONFIG
4724 if test -n "$LDCONFIG"; then
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
4726 $as_echo "$LDCONFIG" >&6; }
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4729 $as_echo "no" >&6; }
4733 # Find a good install program. We prefer a C program (faster),
4734 # so one script is as good as another. But avoid the broken or
4735 # incompatible versions:
4736 # SysV /etc/install, /usr/sbin/install
4737 # SunOS /usr/etc/install
4738 # IRIX /sbin/install
4740 # AmigaOS /C/install, which installs bootblocks on floppy discs
4741 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4742 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4743 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4744 # OS/2's system install, which has a completely different semantic
4745 # ./install, which can be erroneously created by make from ./install.sh.
4746 # Reject install programs that cannot install multiple files.
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4748 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4749 if test -z "$INSTALL"; then
4750 if ${ac_cv_path_install+:} false
; then :
4751 $as_echo_n "(cached) " >&6
4753 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4757 test -z "$as_dir" && as_dir
=.
4758 # Account for people who put trailing slashes in PATH elements.
4759 case $as_dir/ in #((
4760 .
/ | .
// |
/[cC
]/* | \
4761 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4762 ?
:[\\/]os2
[\\/]install[\\/]* | ?
:[\\/]OS2
[\\/]INSTALL
[\\/]* | \
4765 # OSF1 and SCO ODT 3.0 have their own names for install.
4766 # Don't use installbsd from OSF since it installs stuff as root
4768 for ac_prog
in ginstall scoinst
install; do
4769 for ac_exec_ext
in '' $ac_executable_extensions; do
4770 if as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext"; then
4771 if test $ac_prog = install &&
4772 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4773 # AIX install. It has an incompatible calling convention.
4775 elif test $ac_prog = install &&
4776 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4777 # program-specific install script used by HP pwplus--don't use.
4780 rm -rf conftest.one conftest.two conftest.dir
4781 echo one
> conftest.one
4782 echo two
> conftest.two
4784 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two
"`pwd`/conftest.dir" &&
4785 test -s conftest.one
&& test -s conftest.two
&&
4786 test -s conftest.dir
/conftest.one
&&
4787 test -s conftest.dir
/conftest.two
4789 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4802 rm -rf conftest.one conftest.two conftest.dir
4805 if test "${ac_cv_path_install+set}" = set; then
4806 INSTALL
=$ac_cv_path_install
4808 # As a last resort, use the slow shell script. Don't cache a
4809 # value for INSTALL within a source directory, because that will
4810 # break other packages using the cache if that directory is
4811 # removed, or if the value is a relative name.
4812 INSTALL
=$ac_install_sh
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4816 $as_echo "$INSTALL" >&6; }
4818 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4819 # It thinks the first close brace ends the variable substitution.
4820 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4822 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4824 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4827 [\\/$
]* | ?
:[\\/]* ) ;;
4828 *) INSTALL
="\\\$(top_srcdir)/$INSTALL" ;;
4831 for ac_prog
in lclint lint
4833 # Extract the first word of "$ac_prog", so it can be a program name with args.
4834 set dummy
$ac_prog; ac_word
=$2
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4836 $as_echo_n "checking for $ac_word... " >&6; }
4837 if ${ac_cv_prog_LINT+:} false
; then :
4838 $as_echo_n "(cached) " >&6
4840 if test -n "$LINT"; then
4841 ac_cv_prog_LINT
="$LINT" # Let the user override the test.
4843 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4847 test -z "$as_dir" && as_dir
=.
4848 for ac_exec_ext
in '' $ac_executable_extensions; do
4849 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4850 ac_cv_prog_LINT
="$ac_prog"
4851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4860 LINT
=$ac_cv_prog_LINT
4861 if test -n "$LINT"; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LINT" >&5
4863 $as_echo "$LINT" >&6; }
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4870 test -n "$LINT" && break
4873 if test "$LINT" = "lint"
4875 LINTFLAGS
="$LINTFLAGS -errchk=%all,no%longptr64 -errhdr=%user -Ncheck=macro -Nlevel=4"
4879 for ac_prog
in fontforge
4881 # Extract the first word of "$ac_prog", so it can be a program name with args.
4882 set dummy
$ac_prog; ac_word
=$2
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4884 $as_echo_n "checking for $ac_word... " >&6; }
4885 if ${ac_cv_prog_FONTFORGE+:} false
; then :
4886 $as_echo_n "(cached) " >&6
4888 if test -n "$FONTFORGE"; then
4889 ac_cv_prog_FONTFORGE
="$FONTFORGE" # Let the user override the test.
4891 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4895 test -z "$as_dir" && as_dir
=.
4896 for ac_exec_ext
in '' $ac_executable_extensions; do
4897 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4898 ac_cv_prog_FONTFORGE
="$ac_prog"
4899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4908 FONTFORGE
=$ac_cv_prog_FONTFORGE
4909 if test -n "$FONTFORGE"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
4911 $as_echo "$FONTFORGE" >&6; }
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4914 $as_echo "no" >&6; }
4918 test -n "$FONTFORGE" && break
4920 test -n "$FONTFORGE" || FONTFORGE
="false"
4922 for ac_prog
in pkg-config
4924 # Extract the first word of "$ac_prog", so it can be a program name with args.
4925 set dummy
$ac_prog; ac_word
=$2
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4927 $as_echo_n "checking for $ac_word... " >&6; }
4928 if ${ac_cv_prog_PKG_CONFIG+:} false
; then :
4929 $as_echo_n "(cached) " >&6
4931 if test -n "$PKG_CONFIG"; then
4932 ac_cv_prog_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test.
4934 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4938 test -z "$as_dir" && as_dir
=.
4939 for ac_exec_ext
in '' $ac_executable_extensions; do
4940 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4941 ac_cv_prog_PKG_CONFIG
="$ac_prog"
4942 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4951 PKG_CONFIG
=$ac_cv_prog_PKG_CONFIG
4952 if test -n "$PKG_CONFIG"; then
4953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4954 $as_echo "$PKG_CONFIG" >&6; }
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4957 $as_echo "no" >&6; }
4961 test -n "$PKG_CONFIG" && break
4963 test -n "$PKG_CONFIG" || PKG_CONFIG
="false"
4967 # Extract the first word of "$ac_prog", so it can be a program name with args.
4968 set dummy
$ac_prog; ac_word
=$2
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 $as_echo_n "checking for $ac_word... " >&6; }
4971 if ${ac_cv_prog_RSVG+:} false
; then :
4972 $as_echo_n "(cached) " >&6
4974 if test -n "$RSVG"; then
4975 ac_cv_prog_RSVG
="$RSVG" # Let the user override the test.
4977 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4981 test -z "$as_dir" && as_dir
=.
4982 for ac_exec_ext
in '' $ac_executable_extensions; do
4983 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4984 ac_cv_prog_RSVG
="$ac_prog"
4985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4994 RSVG
=$ac_cv_prog_RSVG
4995 if test -n "$RSVG"; then
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
4997 $as_echo "$RSVG" >&6; }
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5000 $as_echo "no" >&6; }
5004 test -n "$RSVG" && break
5006 test -n "$RSVG" || RSVG
="false"
5008 for ac_prog
in convert
5010 # Extract the first word of "$ac_prog", so it can be a program name with args.
5011 set dummy
$ac_prog; ac_word
=$2
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5013 $as_echo_n "checking for $ac_word... " >&6; }
5014 if ${ac_cv_prog_CONVERT+:} false
; then :
5015 $as_echo_n "(cached) " >&6
5017 if test -n "$CONVERT"; then
5018 ac_cv_prog_CONVERT
="$CONVERT" # Let the user override the test.
5020 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5024 test -z "$as_dir" && as_dir
=.
5025 for ac_exec_ext
in '' $ac_executable_extensions; do
5026 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5027 ac_cv_prog_CONVERT
="$ac_prog"
5028 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5037 CONVERT
=$ac_cv_prog_CONVERT
5038 if test -n "$CONVERT"; then
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
5040 $as_echo "$CONVERT" >&6; }
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5043 $as_echo "no" >&6; }
5047 test -n "$CONVERT" && break
5049 test -n "$CONVERT" || CONVERT
="false"
5051 for ac_prog
in icotool
5053 # Extract the first word of "$ac_prog", so it can be a program name with args.
5054 set dummy
$ac_prog; ac_word
=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if ${ac_cv_prog_ICOTOOL+:} false
; then :
5058 $as_echo_n "(cached) " >&6
5060 if test -n "$ICOTOOL"; then
5061 ac_cv_prog_ICOTOOL
="$ICOTOOL" # Let the user override the test.
5063 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5067 test -z "$as_dir" && as_dir
=.
5068 for ac_exec_ext
in '' $ac_executable_extensions; do
5069 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5070 ac_cv_prog_ICOTOOL
="$ac_prog"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 ICOTOOL
=$ac_cv_prog_ICOTOOL
5081 if test -n "$ICOTOOL"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
5083 $as_echo "$ICOTOOL" >&6; }
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5090 test -n "$ICOTOOL" && break
5092 test -n "$ICOTOOL" || ICOTOOL
="false"
5094 for ac_prog
in msgfmt
5096 # Extract the first word of "$ac_prog", so it can be a program name with args.
5097 set dummy
$ac_prog; ac_word
=$2
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5099 $as_echo_n "checking for $ac_word... " >&6; }
5100 if ${ac_cv_prog_MSGFMT+:} false
; then :
5101 $as_echo_n "(cached) " >&6
5103 if test -n "$MSGFMT"; then
5104 ac_cv_prog_MSGFMT
="$MSGFMT" # Let the user override the test.
5106 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5110 test -z "$as_dir" && as_dir
=.
5111 for ac_exec_ext
in '' $ac_executable_extensions; do
5112 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5113 ac_cv_prog_MSGFMT
="$ac_prog"
5114 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 MSGFMT
=$ac_cv_prog_MSGFMT
5124 if test -n "$MSGFMT"; then
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
5126 $as_echo "$MSGFMT" >&6; }
5128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5129 $as_echo "no" >&6; }
5133 test -n "$MSGFMT" && break
5135 test -n "$MSGFMT" || MSGFMT
="false"
5138 if test "x$enable_maintainer_mode" != "xyes"
5143 if test "$FONTFORGE" = "false"; then as_fn_error $?
"You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5; fi
5144 if test "$RSVG" = "false"; then as_fn_error $?
"You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5; fi
5146 if test "$CONVERT" = false
5148 as_fn_error $?
"You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
5151 $as_echo_n "checking for recent enough imagemagick... " >&6; }
5152 convert_version
=`convert --version | head -n1`
5153 if test "x$convert_version" != "x"
5155 convert_version_major
=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
5156 convert_version_minor
=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
5157 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
5162 if test "$CONVERT" = false
5164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
5165 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
5166 as_fn_error $?
"You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
5169 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
5173 if test "$ICOTOOL" = false
5175 as_fn_error $?
"You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
5178 $as_echo_n "checking for recent enough icotool... " >&6; }
5179 icotool_version
=`icotool --version | head -n1`
5180 if test "x$icotool_version" != "x"
5182 icotool_version_major
=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
5183 icotool_version_minor
=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
5184 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
5187 as_fn_append wine_warnings
"|icotool version 0.29.0 or newer is needed to rebuild icons."
5190 if test "$ICOTOOL" = false
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
5193 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
5194 as_fn_error $?
"You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
5197 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
5203 { ac_cv_header_gettext_po_h
=; unset ac_cv_header_gettext_po_h
;}
5206 test "x$with_gettext" != xno || MSGFMT
=false
5207 if test "$MSGFMT" != "false"
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
5210 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
5211 cat >conftest.po
<<EOF
5217 if $MSGFMT -o /dev
/null conftest.po
2>&5
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5220 $as_echo "yes" >&6; }
5222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5223 $as_echo "no" >&6; }
5227 if test "$MSGFMT" = false
; then :
5228 case "x$with_gettext" in
5229 x
) as_fn_append wine_warnings
"|gettext tools not found (or too old), translations won't be built." ;;
5231 *) as_fn_error $?
"gettext tools not found (or too old), translations won't be built.
5232 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
5238 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
5239 if ${ac_cv_lib_i386_i386_set_ldt+:} false
; then :
5240 $as_echo_n "(cached) " >&6
5242 ac_check_lib_save_LIBS
=$LIBS
5244 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5247 /* Override any GCC internal prototype to avoid an error.
5248 Use char because int might match the return type of a GCC
5249 builtin and then its argument prototype would still apply. */
5253 char i386_set_ldt ();
5257 return i386_set_ldt ();
5262 if ac_fn_c_try_link
"$LINENO"; then :
5263 ac_cv_lib_i386_i386_set_ldt
=yes
5265 ac_cv_lib_i386_i386_set_ldt
=no
5267 rm -f core conftest.err conftest.
$ac_objext \
5268 conftest
$ac_exeext conftest.
$ac_ext
5269 LIBS
=$ac_check_lib_save_LIBS
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
5272 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
5273 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
; then :
5274 cat >>confdefs.h
<<_ACEOF
5275 #define HAVE_LIBI386 1
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
5283 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
5284 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false
; then :
5285 $as_echo_n "(cached) " >&6
5287 ac_check_lib_save_LIBS
=$LIBS
5288 LIBS
="-lossaudio $LIBS"
5289 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5290 /* end confdefs.h. */
5292 /* Override any GCC internal prototype to avoid an error.
5293 Use char because int might match the return type of a GCC
5294 builtin and then its argument prototype would still apply. */
5302 return _oss_ioctl ();
5307 if ac_fn_c_try_link
"$LINENO"; then :
5308 ac_cv_lib_ossaudio__oss_ioctl
=yes
5310 ac_cv_lib_ossaudio__oss_ioctl
=no
5312 rm -f core conftest.err conftest.
$ac_objext \
5313 conftest
$ac_exeext conftest.
$ac_ext
5314 LIBS
=$ac_check_lib_save_LIBS
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
5317 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
5318 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
; then :
5319 cat >>confdefs.h
<<_ACEOF
5320 #define HAVE_LIBOSSAUDIO 1
5323 LIBS
="-lossaudio $LIBS"
5334 test "x$with_fontconfig" != "xno" || ac_cv_header_fontconfig_fontconfig_h
=no
5336 # Check whether --enable-largefile was given.
5337 if test "${enable_largefile+set}" = set; then :
5338 enableval
=$enable_largefile;
5341 if test "$enable_largefile" != no
; then
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5344 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5345 if ${ac_cv_sys_largefile_CC+:} false
; then :
5346 $as_echo_n "(cached) " >&6
5348 ac_cv_sys_largefile_CC
=no
5349 if test "$GCC" != yes; then
5352 # IRIX 6.2 and later do not support large files by default,
5353 # so use the C compiler's -n32 option if that helps.
5354 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5355 /* end confdefs.h. */
5356 #include <sys/types.h>
5357 /* Check that off_t can represent 2**63 - 1 correctly.
5358 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5359 since some C++ compilers masquerading as C compilers
5360 incorrectly reject 9223372036854775807. */
5361 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5362 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5363 && LARGE_OFF_T % 2147483647 == 1)
5373 if ac_fn_c_try_compile
"$LINENO"; then :
5376 rm -f core conftest.err conftest.
$ac_objext
5378 if ac_fn_c_try_compile
"$LINENO"; then :
5379 ac_cv_sys_largefile_CC
=' -n32'; break
5381 rm -f core conftest.err conftest.
$ac_objext
5385 rm -f conftest.
$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5389 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5390 if test "$ac_cv_sys_largefile_CC" != no
; then
5391 CC
=$CC$ac_cv_sys_largefile_CC
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5395 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5396 if ${ac_cv_sys_file_offset_bits+:} false
; then :
5397 $as_echo_n "(cached) " >&6
5400 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5401 /* end confdefs.h. */
5402 #include <sys/types.h>
5403 /* Check that off_t can represent 2**63 - 1 correctly.
5404 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5405 since some C++ compilers masquerading as C compilers
5406 incorrectly reject 9223372036854775807. */
5407 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5408 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5409 && LARGE_OFF_T % 2147483647 == 1)
5419 if ac_fn_c_try_compile
"$LINENO"; then :
5420 ac_cv_sys_file_offset_bits
=no
; break
5422 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5423 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5424 /* end confdefs.h. */
5425 #define _FILE_OFFSET_BITS 64
5426 #include <sys/types.h>
5427 /* Check that off_t can represent 2**63 - 1 correctly.
5428 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5429 since some C++ compilers masquerading as C compilers
5430 incorrectly reject 9223372036854775807. */
5431 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5432 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5433 && LARGE_OFF_T % 2147483647 == 1)
5443 if ac_fn_c_try_compile
"$LINENO"; then :
5444 ac_cv_sys_file_offset_bits
=64; break
5446 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5447 ac_cv_sys_file_offset_bits
=unknown
5451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5452 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5453 case $ac_cv_sys_file_offset_bits in #(
5456 cat >>confdefs.h
<<_ACEOF
5457 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5462 if test $ac_cv_sys_file_offset_bits = unknown
; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5464 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5465 if ${ac_cv_sys_large_files+:} false
; then :
5466 $as_echo_n "(cached) " >&6
5469 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5470 /* end confdefs.h. */
5471 #include <sys/types.h>
5472 /* Check that off_t can represent 2**63 - 1 correctly.
5473 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5474 since some C++ compilers masquerading as C compilers
5475 incorrectly reject 9223372036854775807. */
5476 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5477 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5478 && LARGE_OFF_T % 2147483647 == 1)
5488 if ac_fn_c_try_compile
"$LINENO"; then :
5489 ac_cv_sys_large_files
=no
; break
5491 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5492 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5494 #define _LARGE_FILES 1
5495 #include <sys/types.h>
5496 /* Check that off_t can represent 2**63 - 1 correctly.
5497 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5498 since some C++ compilers masquerading as C compilers
5499 incorrectly reject 9223372036854775807. */
5500 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5501 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5502 && LARGE_OFF_T % 2147483647 == 1)
5512 if ac_fn_c_try_compile
"$LINENO"; then :
5513 ac_cv_sys_large_files
=1; break
5515 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5516 ac_cv_sys_large_files
=unknown
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5521 $as_echo "$ac_cv_sys_large_files" >&6; }
5522 case $ac_cv_sys_large_files in #(
5525 cat >>confdefs.h
<<_ACEOF
5526 #define _LARGE_FILES $ac_cv_sys_large_files
5538 ac_cpp
='$CPP $CPPFLAGS'
5539 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5540 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5541 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5543 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5544 # On Suns, sometimes $CPP names a directory.
5545 if test -n "$CPP" && test -d "$CPP"; then
5548 if test -z "$CPP"; then
5549 if ${ac_cv_prog_CPP+:} false
; then :
5550 $as_echo_n "(cached) " >&6
5552 # Double quotes because CPP needs to be expanded
5553 for CPP
in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5556 for ac_c_preproc_warn_flag
in '' yes
5558 # Use a header file that comes with gcc, so configuring glibc
5559 # with a fresh cross-compiler works.
5560 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5561 # <limits.h> exists even on freestanding compilers.
5562 # On the NeXT, cc -E runs the code through the compiler's parser,
5563 # not just through cpp. "Syntax error" is here to catch this case.
5564 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5567 # include <limits.h>
5569 # include <assert.h>
5573 if ac_fn_c_try_cpp
"$LINENO"; then :
5576 # Broken: fails on valid input.
5579 rm -f conftest.err conftest.i conftest.
$ac_ext
5581 # OK, works on sane cases. Now check whether nonexistent headers
5582 # can be detected and how.
5583 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5585 #include <ac_nonexistent.h>
5587 if ac_fn_c_try_cpp
"$LINENO"; then :
5588 # Broken: success on invalid input.
5591 # Passes both tests.
5595 rm -f conftest.err conftest.i conftest.
$ac_ext
5598 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5599 rm -f conftest.i conftest.err conftest.
$ac_ext
5600 if $ac_preproc_ok; then :
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5613 $as_echo "$CPP" >&6; }
5615 for ac_c_preproc_warn_flag
in '' yes
5617 # Use a header file that comes with gcc, so configuring glibc
5618 # with a fresh cross-compiler works.
5619 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5620 # <limits.h> exists even on freestanding compilers.
5621 # On the NeXT, cc -E runs the code through the compiler's parser,
5622 # not just through cpp. "Syntax error" is here to catch this case.
5623 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5626 # include <limits.h>
5628 # include <assert.h>
5632 if ac_fn_c_try_cpp
"$LINENO"; then :
5635 # Broken: fails on valid input.
5638 rm -f conftest.err conftest.i conftest.
$ac_ext
5640 # OK, works on sane cases. Now check whether nonexistent headers
5641 # can be detected and how.
5642 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5644 #include <ac_nonexistent.h>
5646 if ac_fn_c_try_cpp
"$LINENO"; then :
5647 # Broken: success on invalid input.
5650 # Passes both tests.
5654 rm -f conftest.err conftest.i conftest.
$ac_ext
5657 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5658 rm -f conftest.i conftest.err conftest.
$ac_ext
5659 if $ac_preproc_ok; then :
5662 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5663 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5664 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
5665 See \`config.log' for more details" "$LINENO" 5; }
5669 ac_cpp
='$CPP $CPPFLAGS'
5670 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5671 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5672 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5676 $as_echo_n "checking for ANSI C header files... " >&6; }
5677 if ${ac_cv_header_stdc+:} false
; then :
5678 $as_echo_n "(cached) " >&6
5680 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5695 if ac_fn_c_try_compile
"$LINENO"; then :
5696 ac_cv_header_stdc
=yes
5698 ac_cv_header_stdc
=no
5700 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5702 if test $ac_cv_header_stdc = yes; then
5703 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5704 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5705 /* end confdefs.h. */
5709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5710 $EGREP "memchr" >/dev
/null
2>&1; then :
5713 ac_cv_header_stdc
=no
5719 if test $ac_cv_header_stdc = yes; then
5720 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5722 /* end confdefs.h. */
5726 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5727 $EGREP "free" >/dev
/null
2>&1; then :
5730 ac_cv_header_stdc
=no
5736 if test $ac_cv_header_stdc = yes; then
5737 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5738 if test "$cross_compiling" = yes; then :
5741 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5742 /* end confdefs.h. */
5745 #if ((' ' & 0x0FF) == 0x020)
5746 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5747 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5749 # define ISLOWER(c) \
5750 (('a' <= (c) && (c) <= 'i') \
5751 || ('j' <= (c) && (c) <= 'r') \
5752 || ('s' <= (c) && (c) <= 'z'))
5753 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5756 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5761 for (i = 0; i < 256; i++)
5762 if (XOR (islower (i), ISLOWER (i))
5763 || toupper (i) != TOUPPER (i))
5768 if ac_fn_c_try_run
"$LINENO"; then :
5771 ac_cv_header_stdc
=no
5773 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5774 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5780 $as_echo "$ac_cv_header_stdc" >&6; }
5781 if test $ac_cv_header_stdc = yes; then
5783 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5787 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5788 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5789 inttypes.h stdint.h unistd.h
5791 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5792 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5794 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5795 cat >>confdefs.h
<<_ACEOF
5796 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5806 ApplicationServices
/ApplicationServices.h \
5807 AudioToolbox
/AudioConverter.h \
5808 AudioUnit
/AudioUnit.h \
5809 AudioUnit
/AudioComponent.h \
5812 CoreAudio
/CoreAudio.h \
5813 CoreServices
/CoreServices.h \
5814 DiskArbitration
/DiskArbitration.h \
5816 IOKit
/hid
/IOHIDLib.h \
5819 QuickTime
/ImageCompression.h \
5820 Security
/Security.h \
5834 fontconfig
/fontconfig.h \
5875 netinet
/in_systm.h \
5936 valgrind
/memcheck.h \
5937 valgrind
/valgrind.h \
5941 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5942 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5943 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5944 cat >>confdefs.h
<<_ACEOF
5945 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
5953 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
5954 if ${ac_cv_header_stat_broken+:} false
; then :
5955 $as_echo_n "(cached) " >&6
5957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5958 /* end confdefs.h. */
5959 #include <sys/types.h>
5960 #include <sys/stat.h>
5962 #if defined S_ISBLK && defined S_IFDIR
5963 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
5966 #if defined S_ISBLK && defined S_IFCHR
5967 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
5970 #if defined S_ISLNK && defined S_IFREG
5971 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
5974 #if defined S_ISSOCK && defined S_IFREG
5975 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
5979 if ac_fn_c_try_compile
"$LINENO"; then :
5980 ac_cv_header_stat_broken
=no
5982 ac_cv_header_stat_broken
=yes
5984 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
5987 $as_echo "$ac_cv_header_stat_broken" >&6; }
5988 if test $ac_cv_header_stat_broken = yes; then
5990 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
5996 for ac_header
in sys
/mount.h sys
/statfs.h sys
/sysctl.h sys
/user.h sys
/vfs.h
5998 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5999 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6000 #ifdef HAVE_SYS_PARAM_H
6001 # include <sys/param.h>
6004 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6005 cat >>confdefs.h
<<_ACEOF
6006 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6021 netinet
/if_ether.h \
6022 netinet
/if_inarp.h \
6031 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6032 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6033 #ifdef HAVE_SYS_SOCKET_H
6034 # include <sys/socket.h>
6036 #ifdef HAVE_SYS_SOCKETVAR_H
6037 # include <sys/socketvar.h>
6039 #ifdef HAVE_NET_ROUTE_H
6040 # include <net/route.h>
6042 #ifdef HAVE_NETINET_IN_H
6043 # include <netinet/in.h>
6045 #ifdef HAVE_NETINET_IN_SYSTM_H
6046 # include <netinet/in_systm.h>
6048 #ifdef HAVE_NET_IF_H
6049 # include <net/if.h>
6051 #ifdef HAVE_NETINET_IP_H
6052 # include <netinet/ip.h>
6055 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6056 cat >>confdefs.h
<<_ACEOF
6057 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6065 for ac_header
in netinet
/tcp_timer.h netinet
/udp_var.h netinet
/icmp_var.h netinet
/tcp_var.h
6067 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6068 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6072 #ifdef HAVE_SYS_SOCKET_H
6073 # include <sys/socket.h>
6075 #ifdef HAVE_SYS_SOCKETVAR_H
6076 # include <sys/socketvar.h>
6078 #ifdef HAVE_SYS_TIMEOUT_H
6079 # include <sys/timeout.h>
6081 #ifdef HAVE_NETINET_IN_H
6082 # include <netinet/in.h>
6084 #ifdef HAVE_NETINET_IN_SYSTM_H
6085 # include <netinet/in_systm.h>
6087 #ifdef HAVE_NETINET_IP_H
6088 # include <netinet/ip.h>
6090 #ifdef HAVE_NETINET_IP_VAR_H
6091 # include <netinet/ip_var.h>
6093 #ifdef HAVE_NETINET_IP_ICMP_H
6094 # include <netinet/ip_icmp.h>
6096 #ifdef HAVE_NETINET_UDP_H
6097 # include <netinet/udp.h>
6099 #ifdef HAVE_NETINET_TCP_H
6100 # include <netinet/tcp.h>
6102 #ifdef HAVE_NETINET_TCP_TIMER_H
6103 #include <netinet/tcp_timer.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 linux
/ipx.h linux
/irda.h
6118 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6119 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
6120 #ifdef HAVE_ASM_TYPES_H
6121 # include <asm/types.h>
6123 #ifdef HAVE_SYS_SOCKET_H
6124 # include <sys/socket.h>
6126 #ifdef HAVE_LINUX_TYPES_H
6127 # include <linux/types.h>
6130 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6131 cat >>confdefs.h
<<_ACEOF
6132 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6140 for ac_header
in mach-o
/dyld_images.h
6142 ac_fn_c_check_header_compile
"$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
6143 # include <stdbool.h>
6145 #ifdef HAVE_STDINT_H
6146 # include <stdint.h>
6149 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes
; then :
6150 cat >>confdefs.h
<<_ACEOF
6151 #define HAVE_MACH_O_DYLD_IMAGES_H 1
6159 for ac_header
in resolv.h
6161 ac_fn_c_check_header_compile
"$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
6162 #ifdef HAVE_SYS_SOCKET_H
6163 # include <sys/socket.h>
6165 #ifdef HAVE_NETINET_IN_H
6166 # include <netinet/in.h>
6168 #ifdef HAVE_ARPA_NAMESER_H
6169 # include <arpa/nameser.h>
6172 if test "x$ac_cv_header_resolv_h" = xyes
; then :
6173 cat >>confdefs.h
<<_ACEOF
6174 #define HAVE_RESOLV_H 1
6182 for ac_header
in ifaddrs.h
6184 ac_fn_c_check_header_compile
"$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
6186 if test "x$ac_cv_header_ifaddrs_h" = xyes
; then :
6187 cat >>confdefs.h
<<_ACEOF
6188 #define HAVE_IFADDRS_H 1
6196 for ac_header
in ucontext.h
6198 ac_fn_c_check_header_compile
"$LINENO" "ucontext.h" "ac_cv_header_ucontext_h" "#include <signal.h>
6200 if test "x$ac_cv_header_ucontext_h" = xyes
; then :
6201 cat >>confdefs.h
<<_ACEOF
6202 #define HAVE_UCONTEXT_H 1
6210 for ac_header
in sys
/thr.h
6212 ac_fn_c_check_header_compile
"$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
6213 #ifdef HAVE_UCONTEXT_H
6214 #include <ucontext.h>
6217 if test "x$ac_cv_header_sys_thr_h" = xyes
; then :
6218 cat >>confdefs.h
<<_ACEOF
6219 #define HAVE_SYS_THR_H 1
6227 for ac_header
in pthread_np.h
6229 ac_fn_c_check_header_compile
"$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
6230 #include <pthread.h>
6233 if test "x$ac_cv_header_pthread_np_h" = xyes
; then :
6234 cat >>confdefs.h
<<_ACEOF
6235 #define HAVE_PTHREAD_NP_H 1
6243 for ac_header
in linux
/videodev.h linux
/videodev2.h libv4l1.h
6245 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6246 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
6247 #include <sys/time.h>
6249 #include <sys/types.h>
6250 #ifdef HAVE_ASM_TYPES_H
6251 #include <asm/types.h>
6254 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
6255 cat >>confdefs.h
<<_ACEOF
6256 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
6264 for ac_header
in linux
/capi.h
6266 ac_fn_c_check_header_compile
"$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
6268 if test "x$ac_cv_header_linux_capi_h" = xyes
; then :
6269 cat >>confdefs.h
<<_ACEOF
6270 #define HAVE_LINUX_CAPI_H 1
6281 DLLFLAGS
="-D_REENTRANT"
6292 STATIC_IMPLIBEXT
="def.a"
6293 # Extract the first word of "ldd", so it can be a program name with args.
6294 set dummy ldd
; ac_word
=$2
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6296 $as_echo_n "checking for $ac_word... " >&6; }
6297 if ${ac_cv_path_LDD+:} false
; then :
6298 $as_echo_n "(cached) " >&6
6302 ac_cv_path_LDD
="$LDD" # Let the user override the test with a path.
6305 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6306 as_dummy
="/sbin:/usr/sbin:$PATH"
6307 for as_dir
in $as_dummy
6310 test -z "$as_dir" && as_dir
=.
6311 for ac_exec_ext
in '' $ac_executable_extensions; do
6312 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6313 ac_cv_path_LDD
="$as_dir/$ac_word$ac_exec_ext"
6314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6321 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD
="true"
6326 if test -n "$LDD"; then
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
6328 $as_echo "$LDD" >&6; }
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6331 $as_echo "no" >&6; }
6335 if test -n "$ac_tool_prefix"; then
6336 for ac_prog
in readelf
6338 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6339 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
6340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6341 $as_echo_n "checking for $ac_word... " >&6; }
6342 if ${ac_cv_prog_READELF+:} false
; then :
6343 $as_echo_n "(cached) " >&6
6345 if test -n "$READELF"; then
6346 ac_cv_prog_READELF
="$READELF" # Let the user override the test.
6348 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6352 test -z "$as_dir" && as_dir
=.
6353 for ac_exec_ext
in '' $ac_executable_extensions; do
6354 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6355 ac_cv_prog_READELF
="$ac_tool_prefix$ac_prog"
6356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6365 READELF
=$ac_cv_prog_READELF
6366 if test -n "$READELF"; then
6367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
6368 $as_echo "$READELF" >&6; }
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6371 $as_echo "no" >&6; }
6375 test -n "$READELF" && break
6378 if test -z "$READELF"; then
6379 ac_ct_READELF
=$READELF
6380 for ac_prog
in readelf
6382 # Extract the first word of "$ac_prog", so it can be a program name with args.
6383 set dummy
$ac_prog; ac_word
=$2
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6385 $as_echo_n "checking for $ac_word... " >&6; }
6386 if ${ac_cv_prog_ac_ct_READELF+:} false
; then :
6387 $as_echo_n "(cached) " >&6
6389 if test -n "$ac_ct_READELF"; then
6390 ac_cv_prog_ac_ct_READELF
="$ac_ct_READELF" # Let the user override the test.
6392 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6396 test -z "$as_dir" && as_dir
=.
6397 for ac_exec_ext
in '' $ac_executable_extensions; do
6398 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6399 ac_cv_prog_ac_ct_READELF
="$ac_prog"
6400 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6409 ac_ct_READELF
=$ac_cv_prog_ac_ct_READELF
6410 if test -n "$ac_ct_READELF"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
6412 $as_echo "$ac_ct_READELF" >&6; }
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6419 test -n "$ac_ct_READELF" && break
6422 if test "x$ac_ct_READELF" = x
; then
6425 case $cross_compiling:$ac_tool_warned in
6427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6428 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6429 ac_tool_warned
=yes ;;
6431 READELF
=$ac_ct_READELF
6438 if test -n "$ac_tool_prefix"; then
6439 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6440 set dummy
${ac_tool_prefix}dlltool
; ac_word
=$2
6441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6442 $as_echo_n "checking for $ac_word... " >&6; }
6443 if ${ac_cv_prog_DLLTOOL+:} false
; then :
6444 $as_echo_n "(cached) " >&6
6446 if test -n "$DLLTOOL"; then
6447 ac_cv_prog_DLLTOOL
="$DLLTOOL" # Let the user override the test.
6449 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6453 test -z "$as_dir" && as_dir
=.
6454 for ac_exec_ext
in '' $ac_executable_extensions; do
6455 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6456 ac_cv_prog_DLLTOOL
="${ac_tool_prefix}dlltool"
6457 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6466 DLLTOOL
=$ac_cv_prog_DLLTOOL
6467 if test -n "$DLLTOOL"; then
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6469 $as_echo "$DLLTOOL" >&6; }
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6472 $as_echo "no" >&6; }
6477 if test -z "$ac_cv_prog_DLLTOOL"; then
6478 ac_ct_DLLTOOL
=$DLLTOOL
6479 # Extract the first word of "dlltool", so it can be a program name with args.
6480 set dummy dlltool
; ac_word
=$2
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6482 $as_echo_n "checking for $ac_word... " >&6; }
6483 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false
; then :
6484 $as_echo_n "(cached) " >&6
6486 if test -n "$ac_ct_DLLTOOL"; then
6487 ac_cv_prog_ac_ct_DLLTOOL
="$ac_ct_DLLTOOL" # Let the user override the test.
6489 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6493 test -z "$as_dir" && as_dir
=.
6494 for ac_exec_ext
in '' $ac_executable_extensions; do
6495 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6496 ac_cv_prog_ac_ct_DLLTOOL
="dlltool"
6497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6506 ac_ct_DLLTOOL
=$ac_cv_prog_ac_ct_DLLTOOL
6507 if test -n "$ac_ct_DLLTOOL"; then
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6509 $as_echo "$ac_ct_DLLTOOL" >&6; }
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6512 $as_echo "no" >&6; }
6515 if test "x$ac_ct_DLLTOOL" = x
; then
6518 case $cross_compiling:$ac_tool_warned in
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6521 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6522 ac_tool_warned
=yes ;;
6524 DLLTOOL
=$ac_ct_DLLTOOL
6527 DLLTOOL
="$ac_cv_prog_DLLTOOL"
6530 if test -n "$ac_tool_prefix"; then
6531 # Extract the first word of "${ac_tool_prefix}dllwrap", so it can be a program name with args.
6532 set dummy
${ac_tool_prefix}dllwrap
; ac_word
=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if ${ac_cv_prog_DLLWRAP+:} false
; then :
6536 $as_echo_n "(cached) " >&6
6538 if test -n "$DLLWRAP"; then
6539 ac_cv_prog_DLLWRAP
="$DLLWRAP" # Let the user override the test.
6541 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6545 test -z "$as_dir" && as_dir
=.
6546 for ac_exec_ext
in '' $ac_executable_extensions; do
6547 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6548 ac_cv_prog_DLLWRAP
="${ac_tool_prefix}dllwrap"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6558 DLLWRAP
=$ac_cv_prog_DLLWRAP
6559 if test -n "$DLLWRAP"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLWRAP" >&5
6561 $as_echo "$DLLWRAP" >&6; }
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6569 if test -z "$ac_cv_prog_DLLWRAP"; then
6570 ac_ct_DLLWRAP
=$DLLWRAP
6571 # Extract the first word of "dllwrap", so it can be a program name with args.
6572 set dummy dllwrap
; ac_word
=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if ${ac_cv_prog_ac_ct_DLLWRAP+:} false
; then :
6576 $as_echo_n "(cached) " >&6
6578 if test -n "$ac_ct_DLLWRAP"; then
6579 ac_cv_prog_ac_ct_DLLWRAP
="$ac_ct_DLLWRAP" # Let the user override the test.
6581 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
6585 test -z "$as_dir" && as_dir
=.
6586 for ac_exec_ext
in '' $ac_executable_extensions; do
6587 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
6588 ac_cv_prog_ac_ct_DLLWRAP
="dllwrap"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6598 ac_ct_DLLWRAP
=$ac_cv_prog_ac_ct_DLLWRAP
6599 if test -n "$ac_ct_DLLWRAP"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLWRAP" >&5
6601 $as_echo "$ac_ct_DLLWRAP" >&6; }
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6607 if test "x$ac_ct_DLLWRAP" = x
; then
6610 case $cross_compiling:$ac_tool_warned in
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6614 ac_tool_warned
=yes ;;
6616 DLLWRAP
=$ac_ct_DLLWRAP
6619 DLLWRAP
="$ac_cv_prog_DLLWRAP"
6622 if test "$DLLWRAP" = "false"; then
6623 as_fn_error $?
"dllwrap is needed to build a dll for Windows" "$LINENO" 5
6627 STATIC_IMPLIBEXT
="a"
6628 enable_iphlpapi
=${enable_iphlpapi:-no}
6629 enable_kernel32
=${enable_kernel32:-no}
6630 enable_msvcrt
=${enable_msvcrt:-no}
6631 enable_ntdll
=${enable_ntdll:-no}
6632 enable_ws2_32
=${enable_ws2_32:-no}
6633 enable_loader
=${enable_loader:-no}
6634 enable_server
=${enable_server:-no}
6635 with_x
=${with_x:-no}
6636 with_pthread
=${with_pthread:-no}
6642 SOCKETLIBS
="-L\$(top_builddir)/dlls/ws2_32 -lws2_32"
6647 all: libwine.dll libwine.a
6650 \$(DLLTOOL) -l \$@ -d \$(srcdir)/wine.def
6652 libwine.dll: \$(OBJS) wine.def Makefile.in
6653 \$(DLLWRAP) --def \$(srcdir)/wine.def -o \$@ \$(OBJS) $crtlibs \$(EXTRALIBS)
6655 install install-lib:: libwine.dll \$(DESTDIR)\$(libdir) dummy
6656 \$(INSTALL_DATA) libwine.dll \$(DESTDIR)\$(libdir)/libwine.dll
6658 install install-dev:: libwine.a \$(DESTDIR)\$(libdir) dummy
6659 \$(INSTALL_DATA) libwine.a \$(DESTDIR)\$(libdir)/libwine.a
6662 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.a libwine.dll
6665 \$(RM) libwine.dll version.c
6673 DLLFLAGS
="$DLLFLAGS -fPIC"
6674 LDDLLFLAGS
="-bundle -multiply_defined suppress"
6675 LIBWINE_LDFLAGS
="-multiply_defined suppress"
6676 LDRPATH_INSTALL
="-Wl,-rpath,@loader_path/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6677 LDRPATH_LOCAL
="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
6678 COREFOUNDATIONLIB
="-framework CoreFoundation"
6680 IOKITLIB
="-framework IOKit -framework CoreFoundation"
6682 APPLICATIONSERVICESLIB
="-framework ApplicationServices"
6684 CORESERVICESLIB
="-framework CoreServices"
6688 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-macosx_version_min,10.6,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6691 LDEXECFLAGS
="-image_base 0x7bf00000 -Wl,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
6694 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
6696 DISKARBITRATIONLIB
="-framework DiskArbitration -framework CoreFoundation"
6699 if test "$ac_cv_header_Security_Security_h" = "yes"
6701 SECURITYLIB
="-framework Security -framework CoreFoundation"
6703 ac_save_LIBS
="$LIBS"
6704 LIBS
="$LIBS $SECURITYLIB"
6705 for ac_func
in SSLCopyPeerCertificates
6707 ac_fn_c_check_func
"$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
6708 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes
; then :
6709 cat >>confdefs.h
<<_ACEOF
6710 #define HAVE_SSLCOPYPEERCERTIFICATES 1
6716 LIBS
="$ac_save_LIBS"
6717 with_gnutls
=${with_gnutls:-no}
6719 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
6721 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
6723 COREAUDIO
="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
6726 COREAUDIO
="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
6729 ac_save_LIBS
="$LIBS"
6730 LIBS
="$LIBS $COREAUDIO"
6731 for ac_func
in AUGraphAddNode
6733 ac_fn_c_check_func
"$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
6734 if test "x$ac_cv_func_AUGraphAddNode" = xyes
; then :
6735 cat >>confdefs.h
<<_ACEOF
6736 #define HAVE_AUGRAPHADDNODE 1
6742 LIBS
="$ac_save_LIBS"
6744 if test "$ac_cv_header_OpenAL_al_h" = "yes"
6746 FRAMEWORK_OPENAL
="-framework OpenAL"
6749 cat >>confdefs.h
<<_ACEOF
6750 #define HAVE_OPENAL 1
6753 ac_cv_lib_openal
=yes
6755 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
6757 LIBOPENCL
="-framework OpenCL"
6759 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
6761 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
6763 ac_save_LIBS
="$LIBS"
6764 LIBS
="$LIBS $IOKITLIB"
6765 for ac_func
in IOHIDManagerCreate
6767 ac_fn_c_check_func
"$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
6768 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
; then :
6769 cat >>confdefs.h
<<_ACEOF
6770 #define HAVE_IOHIDMANAGERCREATE 1
6776 LIBS
="$ac_save_LIBS"
6780 LDDLLFLAGS
="$LDDLLFLAGS -read_only_relocs warning" ;;
6782 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
6784 QUICKTIMELIB
="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
6786 enable_wineqtdecoder
=${enable_wineqtdecoder:-yes}
6788 as_fn_append wine_notices
"|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
6790 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
6792 CARBONLIB
="-framework Carbon"
6796 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
6798 ac_save_LIBS
="$LIBS"
6799 LIBS
="$LIBS $APPLICATIONSERVICESLIB"
6800 ac_fn_c_check_func
"$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
6801 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
; then :
6802 enable_winemac_drv
=${enable_winemac_drv:-yes}
6805 LIBS
="$ac_save_LIBS"
6808 if test "x$enable_win16" = "xyes"
6810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
6811 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
6812 if test "$cross_compiling" = yes; then :
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
6814 $as_echo "cross-compiling, assuming yes" >&6; }
6816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6817 /* end confdefs.h. */
6820 "good:\tnop;nop\n\t"
6821 ".globl _testfunc\n"
6822 "_testfunc:\tcallw good");
6823 extern void testfunc();
6827 unsigned short *p = (unsigned short *)testfunc;
6828 return p[0] != 0xe866 || p[1] != 0xfffa
6833 if ac_fn_c_try_run
"$LINENO"; then :
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6835 $as_echo "yes" >&6; }
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6838 $as_echo "no" >&6; }
6839 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
6841 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
6842 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
6850 libwine.\$(VERSION).dylib: \$(OBJS) \$(RELPATH) Makefile.in
6851 \$(CC) -dynamiclib -install_name @rpath/libwine.\$(SOVERSION).dylib -Wl,-rpath,@loader_path/ -compatibility_version \$(SOVERSION) -current_version \$(VERSION) \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
6853 libwine.\$(SOVERSION).dylib: libwine.\$(VERSION).dylib
6854 \$(RM) \$@ && \$(LN_S) libwine.\$(VERSION).dylib \$@
6856 libwine.dylib: libwine.\$(SOVERSION).dylib
6857 \$(RM) \$@ && \$(LN_S) libwine.\$(SOVERSION).dylib \$@
6859 install install-lib:: libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir) dummy
6860 \$(INSTALL_PROGRAM) libwine.\$(VERSION).dylib \$(DESTDIR)\$(libdir)/libwine.\$(VERSION).dylib
6861 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.\$(SOVERSION).dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6863 install install-dev:: \$(DESTDIR)\$(libdir) dummy
6864 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib && \$(LN_S) libwine.\$(VERSION).dylib libwine.dylib
6867 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib
6870 \$(RM) libwine.dylib libwine.\$(VERSION).dylib libwine.\$(SOVERSION).dylib version.c
6876 DLLFLAGS
="$DLLFLAGS -fPIC"
6878 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
6880 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
6881 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
6882 $as_echo_n "(cached) " >&6
6884 ac_wine_try_cflags_saved
=$CFLAGS
6885 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
6886 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6887 /* end confdefs.h. */
6888 int main(int argc, char **argv) { return 0; }
6890 if ac_fn_c_try_link
"$LINENO"; then :
6891 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
6893 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
6895 rm -f core conftest.err conftest.
$ac_objext \
6896 conftest
$ac_exeext conftest.
$ac_ext
6897 CFLAGS
=$ac_wine_try_cflags_saved
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
6900 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
6901 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
6902 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
6904 { $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
6905 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
6906 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
6907 $as_echo_n "(cached) " >&6
6909 ac_wine_try_cflags_saved
=$CFLAGS
6910 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
6911 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6912 /* end confdefs.h. */
6913 int main(int argc, char **argv) { return 0; }
6915 if ac_fn_c_try_link
"$LINENO"; then :
6916 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
6918 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
6920 rm -f core conftest.err conftest.
$ac_objext \
6921 conftest
$ac_exeext conftest.
$ac_ext
6922 CFLAGS
=$ac_wine_try_cflags_saved
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
6925 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
6926 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
6927 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
6930 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
6931 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
6932 $as_echo_n "(cached) " >&6
6934 ac_wine_try_cflags_saved
=$CFLAGS
6935 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
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__fPIC__Wl___export_dynamic
=yes
6943 ac_cv_cflags__fPIC__Wl___export_dynamic
=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__fPIC__Wl___export_dynamic" >&5
6950 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
6951 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
6952 LDEXECFLAGS
="-Wl,--export-dynamic"
6955 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
6956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
6957 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
6958 if eval \
${$as_ac_var+:} false
; then :
6959 $as_echo_n "(cached) " >&6
6961 ac_wine_try_cflags_saved
=$CFLAGS
6962 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
6963 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6964 /* end confdefs.h. */
6965 int main(int argc, char **argv) { return 0; }
6967 if ac_fn_c_try_link
"$LINENO"; then :
6968 eval "$as_ac_var=yes"
6970 eval "$as_ac_var=no"
6972 rm -f core conftest.err conftest.
$ac_objext \
6973 conftest
$ac_exeext conftest.
$ac_ext
6974 CFLAGS
=$ac_wine_try_cflags_saved
6976 eval ac_res
=\$
$as_ac_var
6977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
6978 $as_echo "$ac_res" >&6; }
6979 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
6980 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
6981 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
6983 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
6984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
6985 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
6986 if eval \
${$as_ac_var+:} false
; then :
6987 $as_echo_n "(cached) " >&6
6989 ac_wine_try_cflags_saved
=$CFLAGS
6990 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
6991 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6992 /* end confdefs.h. */
6993 int main(int argc, char **argv) { return 0; }
6995 if ac_fn_c_try_link
"$LINENO"; then :
6996 eval "$as_ac_var=yes"
6998 eval "$as_ac_var=no"
7000 rm -f core conftest.err conftest.
$ac_objext \
7001 conftest
$ac_exeext conftest.
$ac_ext
7002 CFLAGS
=$ac_wine_try_cflags_saved
7004 eval ac_res
=\$
$as_ac_var
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7006 $as_echo "$ac_res" >&6; }
7007 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7008 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7009 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7014 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7015 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7016 $as_echo_n "(cached) " >&6
7018 ac_wine_try_cflags_saved
=$CFLAGS
7019 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7020 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7021 /* end confdefs.h. */
7022 int main(int argc, char **argv) { return 0; }
7024 if ac_fn_c_try_link
"$LINENO"; then :
7025 ac_cv_cflags__Wl___enable_new_dtags
=yes
7027 ac_cv_cflags__Wl___enable_new_dtags
=no
7029 rm -f core conftest.err conftest.
$ac_objext \
7030 conftest
$ac_exeext conftest.
$ac_ext
7031 CFLAGS
=$ac_wine_try_cflags_saved
7033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7034 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7035 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7036 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7040 *i
[3456789]86* | x86_64
)
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7042 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7043 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7044 $as_echo_n "(cached) " >&6
7046 ac_wine_try_cflags_saved
=$CFLAGS
7047 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7048 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7049 /* end confdefs.h. */
7050 int main(int argc, char **argv) { return 0; }
7052 if ac_fn_c_try_link
"$LINENO"; then :
7053 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7055 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7057 rm -f core conftest.err conftest.
$ac_objext \
7058 conftest
$ac_exeext conftest.
$ac_ext
7059 CFLAGS
=$ac_wine_try_cflags_saved
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7062 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7063 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7064 LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400"
7072 libwine.so: \$(OBJS) Makefile.in
7073 \$(CC) -shared \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7075 install install-lib:: libwine.so \$(DESTDIR)\$(libdir) dummy
7076 \$(INSTALL_PROGRAM) libwine.so \$(DESTDIR)\$(libdir)/libwine.so
7079 \$(RM) \$(DESTDIR)\$(libdir)/libwine.so
7082 \$(RM) libwine.so version.c
7088 DLLFLAGS
="$DLLFLAGS -fPIC"
7090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
7091 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
7092 if ${ac_cv_c_dll_gnuelf+:} false
; then :
7093 $as_echo_n "(cached) " >&6
7095 ac_wine_try_cflags_saved
=$CFLAGS
7096 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
7097 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7098 /* end confdefs.h. */
7101 if ac_fn_c_try_link
"$LINENO"; then :
7102 ac_cv_c_dll_gnuelf
="yes"
7104 ac_cv_c_dll_gnuelf
="no"
7106 rm -f core conftest.err conftest.
$ac_objext \
7107 conftest
$ac_exeext conftest.
$ac_ext
7108 CFLAGS
=$ac_wine_try_cflags_saved
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
7111 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
7112 if test "$ac_cv_c_dll_gnuelf" = "yes"
7114 LDSHARED
="\$(CC) -shared"
7115 LDDLLFLAGS
="-shared -Wl,-Bsymbolic"
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
7117 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
7118 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false
; then :
7119 $as_echo_n "(cached) " >&6
7121 ac_wine_try_cflags_saved
=$CFLAGS
7122 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
7123 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7124 /* end confdefs.h. */
7125 int main(int argc, char **argv) { return 0; }
7127 if ac_fn_c_try_link
"$LINENO"; then :
7128 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=yes
7130 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1
=no
7132 rm -f core conftest.err conftest.
$ac_objext \
7133 conftest
$ac_exeext conftest.
$ac_ext
7134 CFLAGS
=$ac_wine_try_cflags_saved
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
7137 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
7138 if test $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1 = yes; then :
7139 LDSHARED
="\$(CC) -shared -Wl,-soname,libwine.so.\$(SOVERSION)"
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
7142 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
7143 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false
; then :
7144 $as_echo_n "(cached) " >&6
7146 ac_wine_try_cflags_saved
=$CFLAGS
7147 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
7148 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7149 /* end confdefs.h. */
7150 int main(int argc, char **argv) { return 0; }
7152 if ac_fn_c_try_link
"$LINENO"; then :
7153 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=yes
7155 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1
=no
7157 rm -f core conftest.err conftest.
$ac_objext \
7158 conftest
$ac_exeext conftest.
$ac_ext
7159 CFLAGS
=$ac_wine_try_cflags_saved
7161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
7162 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
7163 if test $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1 = yes; then :
7164 LDSHARED
="\$(CC) -shared -Wl,-h,libwine.so.\$(SOVERSION)"
7168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs" >&5
7169 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-z,defs... " >&6; }
7170 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs+:} false
; then :
7171 $as_echo_n "(cached) " >&6
7173 ac_wine_try_cflags_saved
=$CFLAGS
7174 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-z,defs"
7175 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7176 /* end confdefs.h. */
7177 int main(int argc, char **argv) { return 0; }
7179 if ac_fn_c_try_link
"$LINENO"; then :
7180 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=yes
7182 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs
=no
7184 rm -f core conftest.err conftest.
$ac_objext \
7185 conftest
$ac_exeext conftest.
$ac_ext
7186 CFLAGS
=$ac_wine_try_cflags_saved
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&5
7189 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs" >&6; }
7190 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__z_defs = yes; then :
7191 LDDLLFLAGS
="$LDDLLFLAGS,-z,defs"
7194 { $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
7195 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini... " >&6; }
7196 if ${ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini+:} false
; then :
7197 $as_echo_n "(cached) " >&6
7199 ac_wine_try_cflags_saved
=$CFLAGS
7200 CFLAGS
="$CFLAGS -fPIC -shared -Wl,-Bsymbolic,-init,__wine_spec_init,-fini,__wine_spec_fini"
7201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7202 /* end confdefs.h. */
7203 int main(int argc, char **argv) { return 0; }
7205 if ac_fn_c_try_link
"$LINENO"; then :
7206 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=yes
7208 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini
=no
7210 rm -f core conftest.err conftest.
$ac_objext \
7211 conftest
$ac_exeext conftest.
$ac_ext
7212 CFLAGS
=$ac_wine_try_cflags_saved
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&5
7215 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini" >&6; }
7216 if test $ac_cv_cflags__fPIC__shared__Wl__Bsymbolic__init___wine_spec_init__fini___wine_spec_fini = yes; then :
7217 LDDLLFLAGS
="$LDDLLFLAGS,-init,__wine_spec_init,-fini,__wine_spec_fini"
7220 echo '{ global: *; };' >conftest.map
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
7222 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
7223 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false
; then :
7224 $as_echo_n "(cached) " >&6
7226 ac_wine_try_cflags_saved
=$CFLAGS
7227 CFLAGS
="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
7228 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7229 /* end confdefs.h. */
7230 int main(int argc, char **argv) { return 0; }
7232 if ac_fn_c_try_link
"$LINENO"; then :
7233 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=yes
7235 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map
=no
7237 rm -f core conftest.err conftest.
$ac_objext \
7238 conftest
$ac_exeext conftest.
$ac_ext
7239 CFLAGS
=$ac_wine_try_cflags_saved
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
7242 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
7243 if test $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map = yes; then :
7244 LDSHARED
="$LDSHARED -Wl,--version-script=\$(srcdir)/wine.map"
7248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
7249 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
7250 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false
; then :
7251 $as_echo_n "(cached) " >&6
7253 ac_wine_try_cflags_saved
=$CFLAGS
7254 CFLAGS
="$CFLAGS -fPIC -Wl,--export-dynamic"
7255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 int main(int argc, char **argv) { return 0; }
7259 if ac_fn_c_try_link
"$LINENO"; then :
7260 ac_cv_cflags__fPIC__Wl___export_dynamic
=yes
7262 ac_cv_cflags__fPIC__Wl___export_dynamic
=no
7264 rm -f core conftest.err conftest.
$ac_objext \
7265 conftest
$ac_exeext conftest.
$ac_ext
7266 CFLAGS
=$ac_wine_try_cflags_saved
7268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
7269 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
7270 if test $ac_cv_cflags__fPIC__Wl___export_dynamic = yes; then :
7271 LDEXECFLAGS
="-Wl,--export-dynamic"
7275 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
7277 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
7278 if eval \
${$as_ac_var+:} false
; then :
7279 $as_echo_n "(cached) " >&6
7281 ac_wine_try_cflags_saved
=$CFLAGS
7282 CFLAGS
="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
7283 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7284 /* end confdefs.h. */
7285 int main(int argc, char **argv) { return 0; }
7287 if ac_fn_c_try_link
"$LINENO"; then :
7288 eval "$as_ac_var=yes"
7290 eval "$as_ac_var=no"
7292 rm -f core conftest.err conftest.
$ac_objext \
7293 conftest
$ac_exeext conftest.
$ac_ext
7294 CFLAGS
=$ac_wine_try_cflags_saved
7296 eval ac_res
=\$
$as_ac_var
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7298 $as_echo "$ac_res" >&6; }
7299 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7300 LDRPATH_INSTALL
="-Wl,--rpath,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7301 LDRPATH_LOCAL
="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7303 as_ac_var
=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
7304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
7305 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
7306 if eval \
${$as_ac_var+:} false
; then :
7307 $as_echo_n "(cached) " >&6
7309 ac_wine_try_cflags_saved
=$CFLAGS
7310 CFLAGS
="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
7311 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7312 /* end confdefs.h. */
7313 int main(int argc, char **argv) { return 0; }
7315 if ac_fn_c_try_link
"$LINENO"; then :
7316 eval "$as_ac_var=yes"
7318 eval "$as_ac_var=no"
7320 rm -f core conftest.err conftest.
$ac_objext \
7321 conftest
$ac_exeext conftest.
$ac_ext
7322 CFLAGS
=$ac_wine_try_cflags_saved
7324 eval ac_res
=\$
$as_ac_var
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
7326 $as_echo "$ac_res" >&6; }
7327 if test `eval 'as_val=${'$as_ac_var'};$as_echo "$as_val"'` = yes; then :
7328 LDRPATH_INSTALL
="-Wl,-R,\\\$\$ORIGIN/\`\$(RELPATH) \$(bindir) \$(libdir)\`"
7329 LDRPATH_LOCAL
="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
7333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
7334 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
7335 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false
; then :
7336 $as_echo_n "(cached) " >&6
7338 ac_wine_try_cflags_saved
=$CFLAGS
7339 CFLAGS
="$CFLAGS -Wl,--enable-new-dtags"
7340 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7342 int main(int argc, char **argv) { return 0; }
7344 if ac_fn_c_try_link
"$LINENO"; then :
7345 ac_cv_cflags__Wl___enable_new_dtags
=yes
7347 ac_cv_cflags__Wl___enable_new_dtags
=no
7349 rm -f core conftest.err conftest.
$ac_objext \
7350 conftest
$ac_exeext conftest.
$ac_ext
7351 CFLAGS
=$ac_wine_try_cflags_saved
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
7354 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
7355 if test $ac_cv_cflags__Wl___enable_new_dtags = yes; then :
7356 LDRPATH_INSTALL
="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
7360 *i
[3456789]86* | x86_64
)
7361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400" >&5
7362 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7bf00400... " >&6; }
7363 if ${ac_cv_cflags__Wl___section_start__interp_0x7bf00400+:} false
; then :
7364 $as_echo_n "(cached) " >&6
7366 ac_wine_try_cflags_saved
=$CFLAGS
7367 CFLAGS
="$CFLAGS -Wl,--section-start,.interp=0x7bf00400"
7368 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7369 /* end confdefs.h. */
7370 int main(int argc, char **argv) { return 0; }
7372 if ac_fn_c_try_link
"$LINENO"; then :
7373 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=yes
7375 ac_cv_cflags__Wl___section_start__interp_0x7bf00400
=no
7377 rm -f core conftest.err conftest.
$ac_objext \
7378 conftest
$ac_exeext conftest.
$ac_ext
7379 CFLAGS
=$ac_wine_try_cflags_saved
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&5
7382 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7bf00400" >&6; }
7383 if test $ac_cv_cflags__Wl___section_start__interp_0x7bf00400 = yes; then :
7385 freebsd
* | kfreebsd
*-gnu) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x60000400" ;;
7386 *) LDEXECFLAGS
="$LDEXECFLAGS -Wl,--section-start,.interp=0x7bf00400" ;;
7390 # Extract the first word of "prelink", so it can be a program name with args.
7391 set dummy prelink
; ac_word
=$2
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7393 $as_echo_n "checking for $ac_word... " >&6; }
7394 if ${ac_cv_path_PRELINK+:} false
; then :
7395 $as_echo_n "(cached) " >&6
7399 ac_cv_path_PRELINK
="$PRELINK" # Let the user override the test with a path.
7402 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7403 for as_dir
in /sbin
/usr
/sbin
$PATH
7406 test -z "$as_dir" && as_dir
=.
7407 for ac_exec_ext
in '' $ac_executable_extensions; do
7408 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7409 ac_cv_path_PRELINK
="$as_dir/$ac_word$ac_exec_ext"
7410 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7417 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK
="false"
7421 PRELINK
=$ac_cv_path_PRELINK
7422 if test -n "$PRELINK"; then
7423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
7424 $as_echo "$PRELINK" >&6; }
7426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7427 $as_echo "no" >&6; }
7431 if test "x$PRELINK" = xfalse
7433 as_fn_append wine_warnings
"|prelink not found, base address of core dlls won't be set correctly."
7439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
7440 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
7441 if ${ac_cv_c_dll_unixware+:} false
; then :
7442 $as_echo_n "(cached) " >&6
7444 ac_wine_try_cflags_saved
=$CFLAGS
7445 CFLAGS
="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
7446 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7447 /* end confdefs.h. */
7450 if ac_fn_c_try_link
"$LINENO"; then :
7451 ac_cv_c_dll_unixware
="yes"
7453 ac_cv_c_dll_unixware
="no"
7455 rm -f core conftest.err conftest.
$ac_objext \
7456 conftest
$ac_exeext conftest.
$ac_ext
7457 CFLAGS
=$ac_wine_try_cflags_saved
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
7460 $as_echo "$ac_cv_c_dll_unixware" >&6; }
7461 if test "$ac_cv_c_dll_unixware" = "yes"
7463 LDSHARED
="\$(CC) -Wl,-G,-h,libwine.so.\$(SOVERSION)"
7464 LDDLLFLAGS
="-Wl,-G,-B,symbolic"
7470 libwine.so.\$(VERSION): \$(OBJS) wine.map Makefile.in
7471 $LDSHARED \$(OBJS) \$(EXTRALIBS) \$(LDFLAGS) \$(LIBS) -o \$@
7473 libwine.so.\$(SOVERSION): libwine.so.\$(VERSION)
7474 \$(RM) \$@ && \$(LN_S) libwine.so.\$(VERSION) \$@
7476 libwine.so: libwine.so.\$(SOVERSION)
7477 \$(RM) \$@ && \$(LN_S) libwine.so.\$(SOVERSION) \$@
7479 install install-lib:: libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir) dummy
7480 \$(INSTALL_PROGRAM) libwine.so.\$(VERSION) \$(DESTDIR)\$(libdir)/libwine.so.\$(VERSION)
7481 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so.\$(SOVERSION) && \$(LN_S) libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7483 install install-dev:: \$(DESTDIR)\$(libdir) dummy
7484 cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so && \$(LN_S) libwine.so.\$(VERSION) libwine.so
7487 -cd \$(DESTDIR)\$(libdir) && \$(RM) libwine.so libwine.so.\$(VERSION) libwine.so.\$(SOVERSION)
7490 \$(RM) libwine.so.\$(SOVERSION) libwine.so.\$(VERSION) version.c
7496 enable_wineqtdecoder
=${enable_wineqtdecoder:-no}
7497 enable_winemac_drv
=${enable_winemac_drv:-no}
7499 CROSSTEST_DISABLE
=\
#
7501 if test "$cross_compiling" = "no" -a "x$enable_tests" != xno
-a "$LIBEXT" != "dll"
7505 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
7508 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 " ;;
7510 ac_prefix_list
="" ;;
7512 for ac_prog
in $ac_prefix_list
7514 # Extract the first word of "$ac_prog", so it can be a program name with args.
7515 set dummy
$ac_prog; ac_word
=$2
7516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7517 $as_echo_n "checking for $ac_word... " >&6; }
7518 if ${ac_cv_prog_CROSSCC+:} false
; then :
7519 $as_echo_n "(cached) " >&6
7521 if test -n "$CROSSCC"; then
7522 ac_cv_prog_CROSSCC
="$CROSSCC" # Let the user override the test.
7524 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
7528 test -z "$as_dir" && as_dir
=.
7529 for ac_exec_ext
in '' $ac_executable_extensions; do
7530 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
7531 ac_cv_prog_CROSSCC
="$ac_prog"
7532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 CROSSCC
=$ac_cv_prog_CROSSCC
7542 if test -n "$CROSSCC"; then
7543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
7544 $as_echo "$CROSSCC" >&6; }
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7547 $as_echo "no" >&6; }
7551 test -n "$CROSSCC" && break
7553 test -n "$CROSSCC" || CROSSCC
="false"
7555 if test "$CROSSCC" != "false"
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
7560 $as_echo_n "checking whether $CROSSCC works... " >&6; }
7561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7562 /* end confdefs.h. */
7572 if ac_fn_c_try_compile
"$LINENO"; then :
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7574 $as_echo "yes" >&6; }
7581 *-gcc) target
=`expr "$1" : '\(.*\)-gcc'` ;;
7585 if test -n "$target"
7587 CROSSTEST_DISABLE
=""
7588 CROSSTARGET
="$target"
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7595 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7601 if test "$ac_cv_header_pthread_h" = "yes"
7603 ac_fn_c_check_func
"$LINENO" "pthread_create" "ac_cv_func_pthread_create"
7604 if test "x$ac_cv_func_pthread_create" = xyes
; then :
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
7608 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
7609 if ${ac_cv_lib_pthread_pthread_create+:} false
; then :
7610 $as_echo_n "(cached) " >&6
7612 ac_check_lib_save_LIBS
=$LIBS
7613 LIBS
="-lpthread $LIBS"
7614 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7615 /* end confdefs.h. */
7617 /* Override any GCC internal prototype to avoid an error.
7618 Use char because int might match the return type of a GCC
7619 builtin and then its argument prototype would still apply. */
7623 char pthread_create ();
7627 return pthread_create ();
7632 if ac_fn_c_try_link
"$LINENO"; then :
7633 ac_cv_lib_pthread_pthread_create
=yes
7635 ac_cv_lib_pthread_pthread_create
=no
7637 rm -f core conftest.err conftest.
$ac_objext \
7638 conftest
$ac_exeext conftest.
$ac_ext
7639 LIBS
=$ac_check_lib_save_LIBS
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
7642 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
7643 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
; then :
7644 LIBPTHREAD
="-lpthread"
7651 if test "x$ac_cv_func_pthread_create" != xyes
-a "x$LIBPTHREAD" = x
; then :
7652 case "x$with_pthread" in
7654 *) as_fn_error $?
"pthread ${notice_platform}development files not found.
7655 Wine cannot support threads without libpthread.
7656 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
7662 $as_echo_n "checking for X... " >&6; }
7665 # Check whether --with-x was given.
7666 if test "${with_x+set}" = set; then :
7670 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7671 if test "x$with_x" = xno
; then
7672 # The user explicitly disabled X.
7675 case $x_includes,$x_libraries in #(
7676 *\'*) as_fn_error $?
"cannot use X directory names containing '" "$LINENO" 5;; #(
7677 *,NONE | NONE
,*) if ${ac_cv_have_x+:} false
; then :
7678 $as_echo_n "(cached) " >&6
7680 # One or both of the vars are not set, and there is no cached value.
7681 ac_x_includes
=no ac_x_libraries
=no
7682 rm -f -r conftest.dir
7683 if mkdir conftest.dir
; then
7685 cat >Imakefile
<<'_ACEOF'
7687 @echo incroot='${INCROOT}'
7689 @echo usrlibdir='${USRLIBDIR}'
7691 @echo libdir='${LIBDIR}'
7693 if (export CC
; ${XMKMF-xmkmf}) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7694 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
7695 for ac_var
in incroot usrlibdir libdir
; do
7696 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
7698 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7699 for ac_extension
in a so sl dylib la dll
; do
7700 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
7701 test -f "$ac_im_libdir/libX11.$ac_extension"; then
7702 ac_im_usrlibdir
=$ac_im_libdir; break
7705 # Screen out bogus values from the imake configuration. They are
7706 # bogus both because they are the default anyway, and because
7707 # using them would break gcc on systems where it needs fixed includes.
7708 case $ac_im_incroot in
7709 /usr
/include
) ac_x_includes
= ;;
7710 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
=$ac_im_incroot;;
7712 case $ac_im_usrlibdir in
7713 /usr
/lib |
/usr
/lib64 |
/lib |
/lib64
) ;;
7714 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
=$ac_im_usrlibdir ;;
7718 rm -f -r conftest.dir
7721 # Standard set of common directories for X headers.
7722 # Check X11 before X11Rn because it is often a symlink to the current release.
7736 /usr/local/X11/include
7737 /usr/local/X11R7/include
7738 /usr/local/X11R6/include
7739 /usr/local/X11R5/include
7740 /usr/local/X11R4/include
7742 /usr/local/include/X11
7743 /usr/local/include/X11R7
7744 /usr/local/include/X11R6
7745 /usr/local/include/X11R5
7746 /usr/local/include/X11R4
7750 /usr/XFree86/include/X11
7754 /usr/unsupported/include
7756 /usr/local/x11r5/include
7757 /usr/lpp/Xamples/include
7759 /usr/openwin/include
7760 /usr/openwin/share/include'
7762 if test "$ac_x_includes" = no
; then
7763 # Guess where to find include files, by looking for Xlib.h.
7764 # First, try using that file with no special directory specified.
7765 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7766 /* end confdefs.h. */
7767 #include <X11/Xlib.h>
7769 if ac_fn_c_try_cpp
"$LINENO"; then :
7770 # We can compile using X headers with no special include directory.
7773 for ac_dir
in $ac_x_header_dirs; do
7774 if test -r "$ac_dir/X11/Xlib.h"; then
7775 ac_x_includes
=$ac_dir
7780 rm -f conftest.err conftest.i conftest.
$ac_ext
7781 fi # $ac_x_includes = no
7783 if test "$ac_x_libraries" = no
; then
7784 # Check for the libraries.
7785 # See if we find them without any special options.
7786 # Don't add to $LIBS permanently.
7789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7790 /* end confdefs.h. */
7791 #include <X11/Xlib.h>
7800 if ac_fn_c_try_link
"$LINENO"; then :
7802 # We can link X programs with no special library path.
7806 for ac_dir
in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
7808 # Don't even attempt the hair of trying to link an X program!
7809 for ac_extension
in a so sl dylib la dll
; do
7810 if test -r "$ac_dir/libX11.$ac_extension"; then
7811 ac_x_libraries
=$ac_dir
7817 rm -f core conftest.err conftest.
$ac_objext \
7818 conftest
$ac_exeext conftest.
$ac_ext
7819 fi # $ac_x_libraries = no
7821 case $ac_x_includes,$ac_x_libraries in #(
7823 # Didn't find X, or a directory has "'" in its name.
7824 ac_cv_have_x
="have_x=no";; #(
7826 # Record where we found X for the cache.
7827 ac_cv_have_x
="have_x=yes\
7828 ac_x_includes='$ac_x_includes'\
7829 ac_x_libraries='$ac_x_libraries'"
7835 eval "$ac_cv_have_x"
7838 if test "$have_x" != yes; then
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
7840 $as_echo "$have_x" >&6; }
7843 # If each of the values was on the command line, it overrides each guess.
7844 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7845 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7846 # Update the cache value to reflect the command line values.
7847 ac_cv_have_x
="have_x=yes\
7848 ac_x_includes='$x_includes'\
7849 ac_x_libraries='$x_libraries'"
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
7851 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
7854 if test "$no_x" = yes; then
7855 # Not all programs may use this symbol, but it does not hurt to define it.
7857 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
7859 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7861 if test -n "$x_includes"; then
7862 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7865 # It would also be nice to do this for all -L options, not just this one.
7866 if test -n "$x_libraries"; then
7867 X_LIBS
="$X_LIBS -L$x_libraries"
7868 # For Solaris; some versions of Sun CC require a space after -R and
7869 # others require no space. Words are not sufficient . . . .
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
7871 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
7872 ac_xsave_LIBS
=$LIBS; LIBS
="$LIBS -R$x_libraries"
7873 ac_xsave_c_werror_flag
=$ac_c_werror_flag
7874 ac_c_werror_flag
=yes
7875 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7886 if ac_fn_c_try_link
"$LINENO"; then :
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7889 X_LIBS
="$X_LIBS -R$x_libraries"
7891 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7892 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7893 /* end confdefs.h. */
7903 if ac_fn_c_try_link
"$LINENO"; then :
7904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7905 $as_echo "yes" >&6; }
7906 X_LIBS
="$X_LIBS -R $x_libraries"
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
7909 $as_echo "neither works" >&6; }
7911 rm -f core conftest.err conftest.
$ac_objext \
7912 conftest
$ac_exeext conftest.
$ac_ext
7914 rm -f core conftest.err conftest.
$ac_objext \
7915 conftest
$ac_exeext conftest.
$ac_ext
7916 ac_c_werror_flag
=$ac_xsave_c_werror_flag
7920 # Check for system-dependent libraries X programs must link with.
7921 # Do this before checking for the system-independent R6 libraries
7922 # (-lICE), since we may need -lsocket or whatever for X linking.
7924 if test "$ISC" = yes; then
7925 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7927 # Martyn Johnson says this is needed for Ultrix, if the X
7928 # libraries were built with DECnet support. And Karl Berry says
7929 # the Alpha needs dnet_stub (dnet does not exist).
7930 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS $X_LIBS -lX11"
7931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7932 /* end confdefs.h. */
7934 /* Override any GCC internal prototype to avoid an error.
7935 Use char because int might match the return type of a GCC
7936 builtin and then its argument prototype would still apply. */
7940 char XOpenDisplay ();
7944 return XOpenDisplay ();
7949 if ac_fn_c_try_link
"$LINENO"; then :
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
7953 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
7954 if ${ac_cv_lib_dnet_dnet_ntoa+:} false
; then :
7955 $as_echo_n "(cached) " >&6
7957 ac_check_lib_save_LIBS
=$LIBS
7959 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7962 /* Override any GCC internal prototype to avoid an error.
7963 Use char because int might match the return type of a GCC
7964 builtin and then its argument prototype would still apply. */
7972 return dnet_ntoa ();
7977 if ac_fn_c_try_link
"$LINENO"; then :
7978 ac_cv_lib_dnet_dnet_ntoa
=yes
7980 ac_cv_lib_dnet_dnet_ntoa
=no
7982 rm -f core conftest.err conftest.
$ac_objext \
7983 conftest
$ac_exeext conftest.
$ac_ext
7984 LIBS
=$ac_check_lib_save_LIBS
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
7987 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
7988 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
; then :
7989 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7992 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
7994 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
7995 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false
; then :
7996 $as_echo_n "(cached) " >&6
7998 ac_check_lib_save_LIBS
=$LIBS
7999 LIBS
="-ldnet_stub $LIBS"
8000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8001 /* end confdefs.h. */
8003 /* Override any GCC internal prototype to avoid an error.
8004 Use char because int might match the return type of a GCC
8005 builtin and then its argument prototype would still apply. */
8013 return dnet_ntoa ();
8018 if ac_fn_c_try_link
"$LINENO"; then :
8019 ac_cv_lib_dnet_stub_dnet_ntoa
=yes
8021 ac_cv_lib_dnet_stub_dnet_ntoa
=no
8023 rm -f core conftest.err conftest.
$ac_objext \
8024 conftest
$ac_exeext conftest.
$ac_ext
8025 LIBS
=$ac_check_lib_save_LIBS
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
8028 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
8029 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
; then :
8030 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8035 rm -f core conftest.err conftest.
$ac_objext \
8036 conftest
$ac_exeext conftest.
$ac_ext
8037 LIBS
="$ac_xsave_LIBS"
8039 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8040 # to get the SysV transport functions.
8041 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
8043 # The nsl library prevents programs from opening the X display
8044 # on Irix 5.2, according to T.E. Dickey.
8045 # The functions gethostbyname, getservbyname, and inet_addr are
8046 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
8047 ac_fn_c_check_func
"$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
8048 if test "x$ac_cv_func_gethostbyname" = xyes
; then :
8052 if test $ac_cv_func_gethostbyname = no
; then
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
8054 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
8055 if ${ac_cv_lib_nsl_gethostbyname+:} false
; then :
8056 $as_echo_n "(cached) " >&6
8058 ac_check_lib_save_LIBS
=$LIBS
8060 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8061 /* end confdefs.h. */
8063 /* Override any GCC internal prototype to avoid an error.
8064 Use char because int might match the return type of a GCC
8065 builtin and then its argument prototype would still apply. */
8069 char gethostbyname ();
8073 return gethostbyname ();
8078 if ac_fn_c_try_link
"$LINENO"; then :
8079 ac_cv_lib_nsl_gethostbyname
=yes
8081 ac_cv_lib_nsl_gethostbyname
=no
8083 rm -f core conftest.err conftest.
$ac_objext \
8084 conftest
$ac_exeext conftest.
$ac_ext
8085 LIBS
=$ac_check_lib_save_LIBS
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
8088 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
8089 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
; then :
8090 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8093 if test $ac_cv_lib_nsl_gethostbyname = no
; then
8094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
8095 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
8096 if ${ac_cv_lib_bsd_gethostbyname+:} false
; then :
8097 $as_echo_n "(cached) " >&6
8099 ac_check_lib_save_LIBS
=$LIBS
8101 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8102 /* end confdefs.h. */
8104 /* Override any GCC internal prototype to avoid an error.
8105 Use char because int might match the return type of a GCC
8106 builtin and then its argument prototype would still apply. */
8110 char gethostbyname ();
8114 return gethostbyname ();
8119 if ac_fn_c_try_link
"$LINENO"; then :
8120 ac_cv_lib_bsd_gethostbyname
=yes
8122 ac_cv_lib_bsd_gethostbyname
=no
8124 rm -f core conftest.err conftest.
$ac_objext \
8125 conftest
$ac_exeext conftest.
$ac_ext
8126 LIBS
=$ac_check_lib_save_LIBS
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
8129 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
8130 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
; then :
8131 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lbsd"
8137 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8138 # socket/setsockopt and other routines are undefined under SCO ODT
8139 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8140 # on later versions), says Simon Leinen: it contains gethostby*
8141 # variants that don't use the name server (or something). -lsocket
8142 # must be given before -lnsl if both are needed. We assume that
8143 # if connect needs -lnsl, so does gethostbyname.
8144 ac_fn_c_check_func
"$LINENO" "connect" "ac_cv_func_connect"
8145 if test "x$ac_cv_func_connect" = xyes
; then :
8149 if test $ac_cv_func_connect = no
; then
8150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
8151 $as_echo_n "checking for connect in -lsocket... " >&6; }
8152 if ${ac_cv_lib_socket_connect+:} false
; then :
8153 $as_echo_n "(cached) " >&6
8155 ac_check_lib_save_LIBS
=$LIBS
8156 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8158 /* end confdefs.h. */
8160 /* Override any GCC internal prototype to avoid an error.
8161 Use char because int might match the return type of a GCC
8162 builtin and then its argument prototype would still apply. */
8175 if ac_fn_c_try_link
"$LINENO"; then :
8176 ac_cv_lib_socket_connect
=yes
8178 ac_cv_lib_socket_connect
=no
8180 rm -f core conftest.err conftest.
$ac_objext \
8181 conftest
$ac_exeext conftest.
$ac_ext
8182 LIBS
=$ac_check_lib_save_LIBS
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
8185 $as_echo "$ac_cv_lib_socket_connect" >&6; }
8186 if test "x$ac_cv_lib_socket_connect" = xyes
; then :
8187 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8192 # Guillermo Gomez says -lposix is necessary on A/UX.
8193 ac_fn_c_check_func
"$LINENO" "remove" "ac_cv_func_remove"
8194 if test "x$ac_cv_func_remove" = xyes
; then :
8198 if test $ac_cv_func_remove = no
; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
8200 $as_echo_n "checking for remove in -lposix... " >&6; }
8201 if ${ac_cv_lib_posix_remove+:} false
; then :
8202 $as_echo_n "(cached) " >&6
8204 ac_check_lib_save_LIBS
=$LIBS
8205 LIBS
="-lposix $LIBS"
8206 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8207 /* end confdefs.h. */
8209 /* Override any GCC internal prototype to avoid an error.
8210 Use char because int might match the return type of a GCC
8211 builtin and then its argument prototype would still apply. */
8224 if ac_fn_c_try_link
"$LINENO"; then :
8225 ac_cv_lib_posix_remove
=yes
8227 ac_cv_lib_posix_remove
=no
8229 rm -f core conftest.err conftest.
$ac_objext \
8230 conftest
$ac_exeext conftest.
$ac_ext
8231 LIBS
=$ac_check_lib_save_LIBS
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
8234 $as_echo "$ac_cv_lib_posix_remove" >&6; }
8235 if test "x$ac_cv_lib_posix_remove" = xyes
; then :
8236 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8241 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8242 ac_fn_c_check_func
"$LINENO" "shmat" "ac_cv_func_shmat"
8243 if test "x$ac_cv_func_shmat" = xyes
; then :
8247 if test $ac_cv_func_shmat = no
; then
8248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
8249 $as_echo_n "checking for shmat in -lipc... " >&6; }
8250 if ${ac_cv_lib_ipc_shmat+:} false
; then :
8251 $as_echo_n "(cached) " >&6
8253 ac_check_lib_save_LIBS
=$LIBS
8255 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8258 /* Override any GCC internal prototype to avoid an error.
8259 Use char because int might match the return type of a GCC
8260 builtin and then its argument prototype would still apply. */
8273 if ac_fn_c_try_link
"$LINENO"; then :
8274 ac_cv_lib_ipc_shmat
=yes
8276 ac_cv_lib_ipc_shmat
=no
8278 rm -f core conftest.err conftest.
$ac_objext \
8279 conftest
$ac_exeext conftest.
$ac_ext
8280 LIBS
=$ac_check_lib_save_LIBS
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
8283 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
8284 if test "x$ac_cv_lib_ipc_shmat" = xyes
; then :
8285 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8291 # Check for libraries that X11R6 Xt/Xaw programs need.
8292 ac_save_LDFLAGS
=$LDFLAGS
8293 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8294 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8295 # check for ICE first), but we must link in the order -lSM -lICE or
8296 # we get undefined symbols. So assume we have SM if we have ICE.
8297 # These have to be linked with before -lX11, unlike the other
8298 # libraries we check for below, so use a different variable.
8299 # John Interrante, Karl Berry
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
8301 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
8302 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false
; then :
8303 $as_echo_n "(cached) " >&6
8305 ac_check_lib_save_LIBS
=$LIBS
8306 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8307 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8310 /* Override any GCC internal prototype to avoid an error.
8311 Use char because int might match the return type of a GCC
8312 builtin and then its argument prototype would still apply. */
8316 char IceConnectionNumber ();
8320 return IceConnectionNumber ();
8325 if ac_fn_c_try_link
"$LINENO"; then :
8326 ac_cv_lib_ICE_IceConnectionNumber
=yes
8328 ac_cv_lib_ICE_IceConnectionNumber
=no
8330 rm -f core conftest.err conftest.
$ac_objext \
8331 conftest
$ac_exeext conftest.
$ac_ext
8332 LIBS
=$ac_check_lib_save_LIBS
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
8335 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
8336 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
; then :
8337 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8340 LDFLAGS
=$ac_save_LDFLAGS
8345 if test "$have_x" = "yes"
8348 ac_save_CPPFLAGS
="$CPPFLAGS"
8349 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
8352 $as_echo_n "checking for -lX11... " >&6; }
8353 if ${ac_cv_lib_soname_X11+:} false
; then :
8354 $as_echo_n "(cached) " >&6
8356 ac_check_soname_save_LIBS
=$LIBS
8357 LIBS
="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
8358 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8359 /* end confdefs.h. */
8361 /* Override any GCC internal prototype to avoid an error.
8362 Use char because int might match the return type of a GCC
8363 builtin and then its argument prototype would still apply. */
8367 char XCreateWindow ();
8371 return XCreateWindow ();
8376 if ac_fn_c_try_link
"$LINENO"; then :
8378 dll
) ac_cv_lib_soname_X11
=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8379 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'` ;;
8380 *) ac_cv_lib_soname_X11
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8381 if test "x$ac_cv_lib_soname_X11" = x
; then :
8382 ac_cv_lib_soname_X11
=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8386 rm -f core conftest.err conftest.
$ac_objext \
8387 conftest
$ac_exeext conftest.
$ac_ext
8388 LIBS
=$ac_check_soname_save_LIBS
8390 if test "x$ac_cv_lib_soname_X11" = "x"; then :
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8392 $as_echo "not found" >&6; }
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
8396 $as_echo "$ac_cv_lib_soname_X11" >&6; }
8398 cat >>confdefs.h
<<_ACEOF
8399 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
8405 $as_echo_n "checking for -lXext... " >&6; }
8406 if ${ac_cv_lib_soname_Xext+:} false
; then :
8407 $as_echo_n "(cached) " >&6
8409 ac_check_soname_save_LIBS
=$LIBS
8410 LIBS
="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
8411 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8414 /* Override any GCC internal prototype to avoid an error.
8415 Use char because int might match the return type of a GCC
8416 builtin and then its argument prototype would still apply. */
8420 char XextCreateExtension ();
8424 return XextCreateExtension ();
8429 if ac_fn_c_try_link
"$LINENO"; then :
8431 dll
) ac_cv_lib_soname_Xext
=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8432 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'` ;;
8433 *) ac_cv_lib_soname_Xext
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8434 if test "x$ac_cv_lib_soname_Xext" = x
; then :
8435 ac_cv_lib_soname_Xext
=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8439 rm -f core conftest.err conftest.
$ac_objext \
8440 conftest
$ac_exeext conftest.
$ac_ext
8441 LIBS
=$ac_check_soname_save_LIBS
8443 if test "x$ac_cv_lib_soname_Xext" = "x"; then :
8444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8445 $as_echo "not found" >&6; }
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
8449 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
8451 cat >>confdefs.h
<<_ACEOF
8452 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
8458 for ac_header
in X11
/Xlib.h \
8461 X11
/Xcursor
/Xcursor.h \
8462 X11
/extensions
/shape.h \
8463 X11
/extensions
/XInput.h \
8464 X11
/extensions
/XInput2.h \
8465 X11
/extensions
/XShm.h \
8466 X11
/extensions
/Xcomposite.h \
8467 X11
/extensions
/Xinerama.h \
8468 X11
/extensions
/Xrandr.h \
8469 X11
/extensions
/Xrender.h \
8470 X11
/extensions
/xf86vmode.h \
8471 X11
/extensions
/xf86vmproto.h
8473 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8474 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
8475 # include <X11/Xlib.h>
8477 #ifdef HAVE_X11_XUTIL_H
8478 # include <X11/Xutil.h>
8481 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
8482 cat >>confdefs.h
<<_ACEOF
8483 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8491 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
8493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
8494 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
8495 if ${ac_cv_lib_X11_XkbQueryExtension+:} false
; then :
8496 $as_echo_n "(cached) " >&6
8498 ac_check_lib_save_LIBS
=$LIBS
8499 LIBS
="-lX11 $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8500 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8501 /* end confdefs.h. */
8503 /* Override any GCC internal prototype to avoid an error.
8504 Use char because int might match the return type of a GCC
8505 builtin and then its argument prototype would still apply. */
8509 char XkbQueryExtension ();
8513 return XkbQueryExtension ();
8518 if ac_fn_c_try_link
"$LINENO"; then :
8519 ac_cv_lib_X11_XkbQueryExtension
=yes
8521 ac_cv_lib_X11_XkbQueryExtension
=no
8523 rm -f core conftest.err conftest.
$ac_objext \
8524 conftest
$ac_exeext conftest.
$ac_ext
8525 LIBS
=$ac_check_lib_save_LIBS
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
8528 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
8529 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
; then :
8531 $as_echo "#define HAVE_XKB 1" >>confdefs.h
8537 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
8539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
8540 $as_echo_n "checking for -lXcursor... " >&6; }
8541 if ${ac_cv_lib_soname_Xcursor+:} false
; then :
8542 $as_echo_n "(cached) " >&6
8544 ac_check_soname_save_LIBS
=$LIBS
8545 LIBS
="-lXcursor $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8546 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8547 /* end confdefs.h. */
8549 /* Override any GCC internal prototype to avoid an error.
8550 Use char because int might match the return type of a GCC
8551 builtin and then its argument prototype would still apply. */
8555 char XcursorImageLoadCursor ();
8559 return XcursorImageLoadCursor ();
8564 if ac_fn_c_try_link
"$LINENO"; then :
8566 dll
) ac_cv_lib_soname_Xcursor
=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8567 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'` ;;
8568 *) ac_cv_lib_soname_Xcursor
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8569 if test "x$ac_cv_lib_soname_Xcursor" = x
; then :
8570 ac_cv_lib_soname_Xcursor
=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8574 rm -f core conftest.err conftest.
$ac_objext \
8575 conftest
$ac_exeext conftest.
$ac_ext
8576 LIBS
=$ac_check_soname_save_LIBS
8578 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8580 $as_echo "not found" >&6; }
8583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
8584 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
8586 cat >>confdefs.h
<<_ACEOF
8587 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
8593 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
8594 case "x$with_xcursor" in
8595 x
) as_fn_append wine_notices
"|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
8597 *) as_fn_error $?
"libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
8598 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
8602 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
8604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
8605 $as_echo_n "checking for -lXi... " >&6; }
8606 if ${ac_cv_lib_soname_Xi+:} false
; then :
8607 $as_echo_n "(cached) " >&6
8609 ac_check_soname_save_LIBS
=$LIBS
8610 LIBS
="-lXi $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8612 /* end confdefs.h. */
8614 /* Override any GCC internal prototype to avoid an error.
8615 Use char because int might match the return type of a GCC
8616 builtin and then its argument prototype would still apply. */
8620 char XOpenDevice ();
8624 return XOpenDevice ();
8629 if ac_fn_c_try_link
"$LINENO"; then :
8631 dll
) ac_cv_lib_soname_Xi
=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8632 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'` ;;
8633 *) ac_cv_lib_soname_Xi
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8634 if test "x$ac_cv_lib_soname_Xi" = x
; then :
8635 ac_cv_lib_soname_Xi
=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8639 rm -f core conftest.err conftest.
$ac_objext \
8640 conftest
$ac_exeext conftest.
$ac_ext
8641 LIBS
=$ac_check_soname_save_LIBS
8643 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8645 $as_echo "not found" >&6; }
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
8649 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
8651 cat >>confdefs.h
<<_ACEOF
8652 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
8658 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
8659 case "x$with_xinput" in
8660 x
) as_fn_append wine_notices
"|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
8662 *) as_fn_error $?
"libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
8663 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
8667 if test "x$ac_cv_lib_soname_Xi" != x
8669 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
8670 case "x$with_xinput2" in
8671 x
) as_fn_append wine_notices
"|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
8673 *) as_fn_error $?
"XInput2 headers not found, the XInput 2 extension won't be supported.
8674 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
8679 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
8682 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
8683 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false
; then :
8684 $as_echo_n "(cached) " >&6
8686 ac_check_lib_save_LIBS
=$LIBS
8687 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8688 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8689 /* end confdefs.h. */
8691 /* Override any GCC internal prototype to avoid an error.
8692 Use char because int might match the return type of a GCC
8693 builtin and then its argument prototype would still apply. */
8697 char XShmQueryExtension ();
8701 return XShmQueryExtension ();
8706 if ac_fn_c_try_link
"$LINENO"; then :
8707 ac_cv_lib_Xext_XShmQueryExtension
=yes
8709 ac_cv_lib_Xext_XShmQueryExtension
=no
8711 rm -f core conftest.err conftest.
$ac_objext \
8712 conftest
$ac_exeext conftest.
$ac_ext
8713 LIBS
=$ac_check_lib_save_LIBS
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
8716 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
8717 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
; then :
8719 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
8724 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
8725 case "x$with_xshm" in
8726 x
) as_fn_append wine_notices
"|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
8728 *) as_fn_error $?
"XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
8729 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
8733 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
8736 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
8737 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false
; then :
8738 $as_echo_n "(cached) " >&6
8740 ac_check_lib_save_LIBS
=$LIBS
8741 LIBS
="-lXext $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8742 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8745 /* Override any GCC internal prototype to avoid an error.
8746 Use char because int might match the return type of a GCC
8747 builtin and then its argument prototype would still apply. */
8751 char XShapeQueryExtension ();
8755 return XShapeQueryExtension ();
8760 if ac_fn_c_try_link
"$LINENO"; then :
8761 ac_cv_lib_Xext_XShapeQueryExtension
=yes
8763 ac_cv_lib_Xext_XShapeQueryExtension
=no
8765 rm -f core conftest.err conftest.
$ac_objext \
8766 conftest
$ac_exeext conftest.
$ac_ext
8767 LIBS
=$ac_check_lib_save_LIBS
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
8770 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
8771 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
; then :
8773 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
8778 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
8779 case "x$with_xshape" in
8780 x
) as_fn_append wine_notices
"|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
8782 *) as_fn_error $?
"XShape ${notice_platform}development files not found, XShape won't be supported.
8783 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
8787 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
8790 $as_echo_n "checking for -lXxf86vm... " >&6; }
8791 if ${ac_cv_lib_soname_Xxf86vm+:} false
; then :
8792 $as_echo_n "(cached) " >&6
8794 ac_check_soname_save_LIBS
=$LIBS
8795 LIBS
="-lXxf86vm $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8796 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8797 /* end confdefs.h. */
8799 /* Override any GCC internal prototype to avoid an error.
8800 Use char because int might match the return type of a GCC
8801 builtin and then its argument prototype would still apply. */
8805 char XF86VidModeQueryExtension ();
8809 return XF86VidModeQueryExtension ();
8814 if ac_fn_c_try_link
"$LINENO"; then :
8816 dll
) ac_cv_lib_soname_Xxf86vm
=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8817 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'` ;;
8818 *) ac_cv_lib_soname_Xxf86vm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8819 if test "x$ac_cv_lib_soname_Xxf86vm" = x
; then :
8820 ac_cv_lib_soname_Xxf86vm
=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8824 rm -f core conftest.err conftest.
$ac_objext \
8825 conftest
$ac_exeext conftest.
$ac_ext
8826 LIBS
=$ac_check_soname_save_LIBS
8828 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8830 $as_echo "not found" >&6; }
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
8834 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
8836 cat >>confdefs.h
<<_ACEOF
8837 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
8843 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
8844 case "x$with_xxf86vm" in
8845 x
) as_fn_append wine_notices
"|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
8847 *) as_fn_error $?
"libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
8848 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
8852 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"
8854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
8855 $as_echo_n "checking for -lXrender... " >&6; }
8856 if ${ac_cv_lib_soname_Xrender+:} false
; then :
8857 $as_echo_n "(cached) " >&6
8859 ac_check_soname_save_LIBS
=$LIBS
8860 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8862 /* end confdefs.h. */
8864 /* Override any GCC internal prototype to avoid an error.
8865 Use char because int might match the return type of a GCC
8866 builtin and then its argument prototype would still apply. */
8870 char XRenderQueryExtension ();
8874 return XRenderQueryExtension ();
8879 if ac_fn_c_try_link
"$LINENO"; then :
8881 dll
) ac_cv_lib_soname_Xrender
=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8882 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'` ;;
8883 *) ac_cv_lib_soname_Xrender
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8884 if test "x$ac_cv_lib_soname_Xrender" = x
; then :
8885 ac_cv_lib_soname_Xrender
=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8889 rm -f core conftest.err conftest.
$ac_objext \
8890 conftest
$ac_exeext conftest.
$ac_ext
8891 LIBS
=$ac_check_soname_save_LIBS
8893 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8895 $as_echo "not found" >&6; }
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
8899 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
8901 cat >>confdefs.h
<<_ACEOF
8902 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
8906 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
8907 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false
; then :
8908 $as_echo_n "(cached) " >&6
8910 ac_check_lib_save_LIBS
=$LIBS
8911 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8912 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8913 /* end confdefs.h. */
8915 /* Override any GCC internal prototype to avoid an error.
8916 Use char because int might match the return type of a GCC
8917 builtin and then its argument prototype would still apply. */
8921 char XRenderSetPictureTransform ();
8925 return XRenderSetPictureTransform ();
8930 if ac_fn_c_try_link
"$LINENO"; then :
8931 ac_cv_lib_Xrender_XRenderSetPictureTransform
=yes
8933 ac_cv_lib_Xrender_XRenderSetPictureTransform
=no
8935 rm -f core conftest.err conftest.
$ac_objext \
8936 conftest
$ac_exeext conftest.
$ac_ext
8937 LIBS
=$ac_check_lib_save_LIBS
8939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
8940 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
8941 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
; then :
8943 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
8947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
8948 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
8949 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false
; then :
8950 $as_echo_n "(cached) " >&6
8952 ac_check_lib_save_LIBS
=$LIBS
8953 LIBS
="-lXrender $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
8954 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8957 /* Override any GCC internal prototype to avoid an error.
8958 Use char because int might match the return type of a GCC
8959 builtin and then its argument prototype would still apply. */
8963 char XRenderCreateLinearGradient ();
8967 return XRenderCreateLinearGradient ();
8972 if ac_fn_c_try_link
"$LINENO"; then :
8973 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=yes
8975 ac_cv_lib_Xrender_XRenderCreateLinearGradient
=no
8977 rm -f core conftest.err conftest.
$ac_objext \
8978 conftest
$ac_exeext conftest.
$ac_ext
8979 LIBS
=$ac_check_lib_save_LIBS
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
8982 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
8983 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
; then :
8985 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
8992 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
8993 case "x$with_xrender" in
8994 x
) as_fn_append wine_warnings
"|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
8996 *) as_fn_error $?
"libxrender ${notice_platform}development files not found, XRender won't be supported.
8997 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
9001 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
9003 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9004 /* end confdefs.h. */
9005 #include <X11/Xlib.h>
9006 #include <X11/extensions/Xrandr.h>
9010 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
9015 if ac_fn_c_try_compile
"$LINENO"; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
9017 $as_echo_n "checking for -lXrandr... " >&6; }
9018 if ${ac_cv_lib_soname_Xrandr+:} false
; then :
9019 $as_echo_n "(cached) " >&6
9021 ac_check_soname_save_LIBS
=$LIBS
9022 LIBS
="-lXrandr $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9023 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9024 /* end confdefs.h. */
9026 /* Override any GCC internal prototype to avoid an error.
9027 Use char because int might match the return type of a GCC
9028 builtin and then its argument prototype would still apply. */
9032 char XRRQueryExtension ();
9036 return XRRQueryExtension ();
9041 if ac_fn_c_try_link
"$LINENO"; then :
9043 dll
) ac_cv_lib_soname_Xrandr
=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9044 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'` ;;
9045 *) ac_cv_lib_soname_Xrandr
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9046 if test "x$ac_cv_lib_soname_Xrandr" = x
; then :
9047 ac_cv_lib_soname_Xrandr
=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9051 rm -f core conftest.err conftest.
$ac_objext \
9052 conftest
$ac_exeext conftest.
$ac_ext
9053 LIBS
=$ac_check_soname_save_LIBS
9055 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9057 $as_echo "not found" >&6; }
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
9061 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
9063 cat >>confdefs.h
<<_ACEOF
9064 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
9067 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9068 /* end confdefs.h. */
9069 #include <X11/Xlib.h>
9070 #include <X11/extensions/Xrandr.h>
9074 static typeof(XRRGetScreenResources) *f; if (f) return 0;
9079 if ac_fn_c_try_compile
"$LINENO"; then :
9081 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
9084 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9089 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
9090 case "x$with_xrandr" in
9091 x
) as_fn_append wine_notices
"|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
9093 *) as_fn_error $?
"libxrandr ${notice_platform}development files not found, XRandr won't be supported.
9094 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
9098 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
9100 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <X11/Xlib.h>
9103 #include <X11/extensions/Xinerama.h>
9107 static typeof(XineramaQueryScreens) * func; if (func) return 0;
9112 if ac_fn_c_try_compile
"$LINENO"; then :
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
9114 $as_echo_n "checking for -lXinerama... " >&6; }
9115 if ${ac_cv_lib_soname_Xinerama+:} false
; then :
9116 $as_echo_n "(cached) " >&6
9118 ac_check_soname_save_LIBS
=$LIBS
9119 LIBS
="-lXinerama $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9120 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9121 /* end confdefs.h. */
9123 /* Override any GCC internal prototype to avoid an error.
9124 Use char because int might match the return type of a GCC
9125 builtin and then its argument prototype would still apply. */
9129 char XineramaQueryScreens ();
9133 return XineramaQueryScreens ();
9138 if ac_fn_c_try_link
"$LINENO"; then :
9140 dll
) ac_cv_lib_soname_Xinerama
=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9141 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'` ;;
9142 *) ac_cv_lib_soname_Xinerama
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9143 if test "x$ac_cv_lib_soname_Xinerama" = x
; then :
9144 ac_cv_lib_soname_Xinerama
=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9148 rm -f core conftest.err conftest.
$ac_objext \
9149 conftest
$ac_exeext conftest.
$ac_ext
9150 LIBS
=$ac_check_soname_save_LIBS
9152 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9154 $as_echo "not found" >&6; }
9157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
9158 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
9160 cat >>confdefs.h
<<_ACEOF
9161 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
9167 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
9169 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
9170 case "x$with_xinerama" in
9171 x
) as_fn_append wine_notices
"|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
9173 *) as_fn_error $?
"libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
9174 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
9178 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
9181 $as_echo_n "checking for -lXcomposite... " >&6; }
9182 if ${ac_cv_lib_soname_Xcomposite+:} false
; then :
9183 $as_echo_n "(cached) " >&6
9185 ac_check_soname_save_LIBS
=$LIBS
9186 LIBS
="-lXcomposite $X_LIBS $XLIB $X_EXTRA_LIBS $LIBS"
9187 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9196 char XCompositeRedirectWindow ();
9200 return XCompositeRedirectWindow ();
9205 if ac_fn_c_try_link
"$LINENO"; then :
9207 dll
) ac_cv_lib_soname_Xcomposite
=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_Xcomposite
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9210 if test "x$ac_cv_lib_soname_Xcomposite" = x
; then :
9211 ac_cv_lib_soname_Xcomposite
=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9215 rm -f core conftest.err conftest.
$ac_objext \
9216 conftest
$ac_exeext conftest.
$ac_ext
9217 LIBS
=$ac_check_soname_save_LIBS
9219 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9221 $as_echo "not found" >&6; }
9224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
9225 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
9227 cat >>confdefs.h
<<_ACEOF
9228 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
9234 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
9235 case "x$with_xcomposite" in
9236 x
) as_fn_append wine_notices
"|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
9238 *) as_fn_error $?
"libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
9239 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
9243 ac_fn_c_check_member
"$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
9244 #include <X11/Xlib.h>
9247 if test "x$ac_cv_member_XICCallback_callback" = xyes
; then :
9249 cat >>confdefs.h
<<_ACEOF
9250 #define HAVE_XICCALLBACK_CALLBACK 1
9255 ac_fn_c_check_member
"$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
9256 #include <X11/Xlib.h>
9259 if test "x$ac_cv_member_XEvent_xcookie" = xyes
; then :
9261 cat >>confdefs.h
<<_ACEOF
9262 #define HAVE_XEVENT_XCOOKIE 1
9271 if test "x$with_opengl" != "xno"
9273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9274 $as_echo_n "checking for -lGL... " >&6; }
9275 if ${ac_cv_lib_soname_GL+:} false
; then :
9276 $as_echo_n "(cached) " >&6
9278 ac_check_soname_save_LIBS
=$LIBS
9279 LIBS
="-lGL $X_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9280 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9281 /* end confdefs.h. */
9283 /* Override any GCC internal prototype to avoid an error.
9284 Use char because int might match the return type of a GCC
9285 builtin and then its argument prototype would still apply. */
9289 char glXCreateContext ();
9293 return glXCreateContext ();
9298 if ac_fn_c_try_link
"$LINENO"; then :
9300 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9301 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'` ;;
9302 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9303 if test "x$ac_cv_lib_soname_GL" = x
; then :
9304 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9308 rm -f core conftest.err conftest.
$ac_objext \
9309 conftest
$ac_exeext conftest.
$ac_ext
9310 LIBS
=$ac_check_soname_save_LIBS
9312 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9314 $as_echo "not found" >&6; }
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
9316 $as_echo_n "checking for -lGL... " >&6; }
9317 if ${ac_cv_lib_soname_GL+:} false
; then :
9318 $as_echo_n "(cached) " >&6
9320 ac_check_soname_save_LIBS
=$LIBS
9321 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"
9322 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9323 /* end confdefs.h. */
9325 /* Override any GCC internal prototype to avoid an error.
9326 Use char because int might match the return type of a GCC
9327 builtin and then its argument prototype would still apply. */
9331 char glXCreateContext ();
9335 return glXCreateContext ();
9340 if ac_fn_c_try_link
"$LINENO"; then :
9342 dll
) ac_cv_lib_soname_GL
=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9343 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'` ;;
9344 *) ac_cv_lib_soname_GL
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9345 if test "x$ac_cv_lib_soname_GL" = x
; then :
9346 ac_cv_lib_soname_GL
=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9350 rm -f core conftest.err conftest.
$ac_objext \
9351 conftest
$ac_exeext conftest.
$ac_ext
9352 LIBS
=$ac_check_soname_save_LIBS
9354 if test "x$ac_cv_lib_soname_GL" = "x"; then :
9355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9356 $as_echo "not found" >&6; }
9357 if test -f /usr
/X11R
6/lib
/libGL.a
9359 opengl_msg
="/usr/X11R6/lib/libGL.a is present on your system.
9360 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
9362 opengl_msg
="No OpenGL library found on this system."
9365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9366 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9368 cat >>confdefs.h
<<_ACEOF
9369 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9372 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"
9375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
9376 $as_echo "$ac_cv_lib_soname_GL" >&6; }
9378 cat >>confdefs.h
<<_ACEOF
9379 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
9384 if test "x$with_glu" != "xno"
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluLookAt in -lGLU" >&5
9387 $as_echo_n "checking for gluLookAt in -lGLU... " >&6; }
9388 if ${ac_cv_lib_GLU_gluLookAt+:} false
; then :
9389 $as_echo_n "(cached) " >&6
9391 ac_check_lib_save_LIBS
=$LIBS
9392 LIBS
="-lGLU $OPENGL_LIBS $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9393 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9394 /* end confdefs.h. */
9396 /* Override any GCC internal prototype to avoid an error.
9397 Use char because int might match the return type of a GCC
9398 builtin and then its argument prototype would still apply. */
9406 return gluLookAt ();
9411 if ac_fn_c_try_link
"$LINENO"; then :
9412 ac_cv_lib_GLU_gluLookAt
=yes
9414 ac_cv_lib_GLU_gluLookAt
=no
9416 rm -f core conftest.err conftest.
$ac_objext \
9417 conftest
$ac_exeext conftest.
$ac_ext
9418 LIBS
=$ac_check_lib_save_LIBS
9420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluLookAt" >&5
9421 $as_echo "$ac_cv_lib_GLU_gluLookAt" >&6; }
9422 if test "x$ac_cv_lib_GLU_gluLookAt" = xyes
; then :
9426 if test "x$ac_cv_lib_GLU_gluLookAt" != xyes
; then :
9427 case "x$with_glu" in
9428 x
) as_fn_append wine_notices
"|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
9430 *) as_fn_error $?
"libGLU ${notice_platform}development files not found, GLU won't be supported.
9431 This is an error since --with-glu was requested." "$LINENO" 5 ;;
9436 if test "x$with_osmesa" != "xno"
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
9439 $as_echo_n "checking for -lOSMesa... " >&6; }
9440 if ${ac_cv_lib_soname_OSMesa+:} false
; then :
9441 $as_echo_n "(cached) " >&6
9443 ac_check_soname_save_LIBS
=$LIBS
9444 LIBS
="-lOSMesa $X_LIBS $X_PRE_LIBS $XLIB -lm $X_EXTRA_LIBS $LIBS"
9445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9446 /* end confdefs.h. */
9448 /* Override any GCC internal prototype to avoid an error.
9449 Use char because int might match the return type of a GCC
9450 builtin and then its argument prototype would still apply. */
9463 if ac_fn_c_try_link
"$LINENO"; then :
9465 dll
) ac_cv_lib_soname_OSMesa
=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9466 dylib
) ac_cv_lib_soname_OSMesa
=`otool -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
9467 *) ac_cv_lib_soname_OSMesa
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9468 if test "x$ac_cv_lib_soname_OSMesa" = x
; then :
9469 ac_cv_lib_soname_OSMesa
=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9473 rm -f core conftest.err conftest.
$ac_objext \
9474 conftest
$ac_exeext conftest.
$ac_ext
9475 LIBS
=$ac_check_soname_save_LIBS
9477 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9479 $as_echo "not found" >&6; }
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
9483 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
9485 cat >>confdefs.h
<<_ACEOF
9486 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
9491 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
9492 case "x$with_osmesa" in
9493 x
) as_fn_append wine_notices
"|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
9495 *) as_fn_error $?
"libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
9496 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
9501 if test -n "$opengl_msg"; then :
9502 case "x$with_opengl" in
9503 x
) as_fn_append wine_warnings
"|$opengl_msg
9504 OpenGL and Direct3D won't be supported." ;;
9506 *) as_fn_error $?
"$opengl_msg
9507 OpenGL and Direct3D won't be supported.
9508 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
9512 CPPFLAGS
="$ac_save_CPPFLAGS"
9517 enable_winex11_drv
=${enable_winex11_drv:-no}
9519 if test "x$XLIB" = "x"; then :
9522 *) as_fn_error $?
"X ${notice_platform}development files not found. Wine will be built
9523 without X support, which probably isn't what you want. You will need
9524 to install ${notice_platform}development packages of Xlib/Xfree86 at the very least.
9525 Use the --without-x option if you really want this." "$LINENO" 5 ;;
9529 test "x$ac_cv_lib_GLU_gluLookAt" != xyes
&& enable_glu32
=${enable_glu32:-no}
9531 if test "$ac_cv_header_CL_cl_h" = "yes"
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
9534 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
9535 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false
; then :
9536 $as_echo_n "(cached) " >&6
9538 ac_check_lib_save_LIBS
=$LIBS
9539 LIBS
="-lOpenCL $LIBS"
9540 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9543 /* Override any GCC internal prototype to avoid an error.
9544 Use char because int might match the return type of a GCC
9545 builtin and then its argument prototype would still apply. */
9549 char clGetPlatformInfo ();
9553 return clGetPlatformInfo ();
9558 if ac_fn_c_try_link
"$LINENO"; then :
9559 ac_cv_lib_OpenCL_clGetPlatformInfo
=yes
9561 ac_cv_lib_OpenCL_clGetPlatformInfo
=no
9563 rm -f core conftest.err conftest.
$ac_objext \
9564 conftest
$ac_exeext conftest.
$ac_ext
9565 LIBS
=$ac_check_lib_save_LIBS
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
9568 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
9569 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
; then :
9570 LIBOPENCL
="-lOpenCL"
9575 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
; then :
9576 case "x$with_opencl" in
9577 x
) as_fn_append wine_notices
"|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
9579 *) as_fn_error $?
"OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
9580 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
9583 test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
&& enable_opencl
=${enable_opencl:-no}
9592 if test "x$with_xml" != "xno"
9594 ac_save_CPPFLAGS
="$CPPFLAGS"
9595 if test "$PKG_CONFIG" != "false"
9597 ac_xml_libs
="`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`"
9598 ac_xml_cflags
="`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`"
9600 ac_xml_libs
="`xml2-config --libs 2>/dev/null`"
9601 ac_xml_cflags
="`xml2-config --cflags 2>/dev/null`"
9603 CPPFLAGS
="$CPPFLAGS $ac_xml_cflags"
9604 for ac_header
in libxml
/parser.h libxml
/xmlsave.h libxml
/SAX2.h
9606 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9607 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
9608 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9609 cat >>confdefs.h
<<_ACEOF
9610 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9617 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"
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
9620 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
9621 if ${ac_cv_lib_xml2_xmlParseMemory+:} false
; then :
9622 $as_echo_n "(cached) " >&6
9624 ac_check_lib_save_LIBS
=$LIBS
9625 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9626 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9629 /* Override any GCC internal prototype to avoid an error.
9630 Use char because int might match the return type of a GCC
9631 builtin and then its argument prototype would still apply. */
9635 char xmlParseMemory ();
9639 return xmlParseMemory ();
9644 if ac_fn_c_try_link
"$LINENO"; then :
9645 ac_cv_lib_xml2_xmlParseMemory
=yes
9647 ac_cv_lib_xml2_xmlParseMemory
=no
9649 rm -f core conftest.err conftest.
$ac_objext \
9650 conftest
$ac_exeext conftest.
$ac_ext
9651 LIBS
=$ac_check_lib_save_LIBS
9653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
9654 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
9655 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes
; then :
9657 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
9659 XML2LIBS
="$ac_xml_libs"
9660 XML2INCL
="$ac_xml_cflags"
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
9664 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
9665 if ${ac_cv_lib_xml2_xmlReadMemory+:} false
; then :
9666 $as_echo_n "(cached) " >&6
9668 ac_check_lib_save_LIBS
=$LIBS
9669 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9670 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9671 /* end confdefs.h. */
9673 /* Override any GCC internal prototype to avoid an error.
9674 Use char because int might match the return type of a GCC
9675 builtin and then its argument prototype would still apply. */
9679 char xmlReadMemory ();
9683 return xmlReadMemory ();
9688 if ac_fn_c_try_link
"$LINENO"; then :
9689 ac_cv_lib_xml2_xmlReadMemory
=yes
9691 ac_cv_lib_xml2_xmlReadMemory
=no
9693 rm -f core conftest.err conftest.
$ac_objext \
9694 conftest
$ac_exeext conftest.
$ac_ext
9695 LIBS
=$ac_check_lib_save_LIBS
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
9698 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
9699 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes
; then :
9701 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
9706 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
9707 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false
; then :
9708 $as_echo_n "(cached) " >&6
9710 ac_check_lib_save_LIBS
=$LIBS
9711 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9712 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9713 /* end confdefs.h. */
9715 /* Override any GCC internal prototype to avoid an error.
9716 Use char because int might match the return type of a GCC
9717 builtin and then its argument prototype would still apply. */
9721 char xmlNewDocPI ();
9725 return xmlNewDocPI ();
9730 if ac_fn_c_try_link
"$LINENO"; then :
9731 ac_cv_lib_xml2_xmlNewDocPI
=yes
9733 ac_cv_lib_xml2_xmlNewDocPI
=no
9735 rm -f core conftest.err conftest.
$ac_objext \
9736 conftest
$ac_exeext conftest.
$ac_ext
9737 LIBS
=$ac_check_lib_save_LIBS
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
9740 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
9741 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes
; then :
9743 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
9748 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
9749 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false
; then :
9750 $as_echo_n "(cached) " >&6
9752 ac_check_lib_save_LIBS
=$LIBS
9753 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9755 /* end confdefs.h. */
9757 /* Override any GCC internal prototype to avoid an error.
9758 Use char because int might match the return type of a GCC
9759 builtin and then its argument prototype would still apply. */
9763 char xmlSchemaSetParserStructuredErrors ();
9767 return xmlSchemaSetParserStructuredErrors ();
9772 if ac_fn_c_try_link
"$LINENO"; then :
9773 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=yes
9775 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors
=no
9777 rm -f core conftest.err conftest.
$ac_objext \
9778 conftest
$ac_exeext conftest.
$ac_ext
9779 LIBS
=$ac_check_lib_save_LIBS
9781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
9782 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
9783 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes
; then :
9785 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
9789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
9790 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
9791 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false
; then :
9792 $as_echo_n "(cached) " >&6
9794 ac_check_lib_save_LIBS
=$LIBS
9795 LIBS
="-lxml2 $ac_xml_libs $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. */
9805 char xmlSchemaSetValidStructuredErrors ();
9809 return xmlSchemaSetValidStructuredErrors ();
9814 if ac_fn_c_try_link
"$LINENO"; then :
9815 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=yes
9817 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors
=no
9819 rm -f core conftest.err conftest.
$ac_objext \
9820 conftest
$ac_exeext conftest.
$ac_ext
9821 LIBS
=$ac_check_lib_save_LIBS
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
9824 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
9825 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes
; then :
9827 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
9832 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
9833 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false
; then :
9834 $as_echo_n "(cached) " >&6
9836 ac_check_lib_save_LIBS
=$LIBS
9837 LIBS
="-lxml2 $ac_xml_libs $LIBS"
9838 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9839 /* end confdefs.h. */
9841 /* Override any GCC internal prototype to avoid an error.
9842 Use char because int might match the return type of a GCC
9843 builtin and then its argument prototype would still apply. */
9847 char xmlFirstElementChild ();
9851 return xmlFirstElementChild ();
9856 if ac_fn_c_try_link
"$LINENO"; then :
9857 ac_cv_lib_xml2_xmlFirstElementChild
=yes
9859 ac_cv_lib_xml2_xmlFirstElementChild
=no
9861 rm -f core conftest.err conftest.
$ac_objext \
9862 conftest
$ac_exeext conftest.
$ac_ext
9863 LIBS
=$ac_check_lib_save_LIBS
9865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
9866 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
9867 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes
; then :
9869 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
9873 ac_fn_c_check_type
"$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
9875 if test "x$ac_cv_type_xmlDocProperties" = xyes
; then :
9877 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
9882 CPPFLAGS
="$ac_save_CPPFLAGS"
9884 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
9885 case "x$with_xml" in
9886 x
) as_fn_append wine_warnings
"|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
9888 *) as_fn_error $?
"libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
9889 This is an error since --with-xml was requested." "$LINENO" 5 ;;
9893 if test "x$with_xslt" != "xno"
9895 if test "$PKG_CONFIG" != "false"
9897 ac_xslt_libs
="`$PKG_CONFIG --libs libxslt 2>/dev/null`"
9898 ac_xslt_cflags
="`$PKG_CONFIG --cflags libxslt 2>/dev/null`"
9900 ac_xslt_libs
="`xslt-config --libs 2>/dev/null`"
9901 ac_xslt_cflags
="`xslt-config --cflags 2>/dev/null`"
9903 ac_save_CPPFLAGS
="$CPPFLAGS"
9904 CPPFLAGS
="$CPPFLAGS $ac_xslt_cflags"
9905 for ac_header
in libxslt
/pattern.h libxslt
/transform.h
9907 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9908 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
9909 # include <libxslt/pattern.h>
9912 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
9913 cat >>confdefs.h
<<_ACEOF
9914 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9921 CPPFLAGS
="$ac_save_CPPFLAGS"
9922 if test "$ac_cv_header_libxslt_transform_h" = "yes"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
9925 $as_echo_n "checking for -lxslt... " >&6; }
9926 if ${ac_cv_lib_soname_xslt+:} false
; then :
9927 $as_echo_n "(cached) " >&6
9929 ac_check_soname_save_LIBS
=$LIBS
9930 LIBS
="-lxslt $ac_xslt_libs $LIBS"
9931 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
9932 /* end confdefs.h. */
9934 /* Override any GCC internal prototype to avoid an error.
9935 Use char because int might match the return type of a GCC
9936 builtin and then its argument prototype would still apply. */
9940 char xsltCompilePattern ();
9944 return xsltCompilePattern ();
9949 if ac_fn_c_try_link
"$LINENO"; then :
9951 dll
) ac_cv_lib_soname_xslt
=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9952 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'` ;;
9953 *) ac_cv_lib_soname_xslt
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9954 if test "x$ac_cv_lib_soname_xslt" = x
; then :
9955 ac_cv_lib_soname_xslt
=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9959 rm -f core conftest.err conftest.
$ac_objext \
9960 conftest
$ac_exeext conftest.
$ac_ext
9961 LIBS
=$ac_check_soname_save_LIBS
9963 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9965 $as_echo "not found" >&6; }
9968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
9969 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
9971 cat >>confdefs.h
<<_ACEOF
9972 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
9975 XSLTINCL
="$ac_xslt_cflags"
9979 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
9980 case "x$with_xslt" in
9981 x
) as_fn_append wine_warnings
"|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
9983 *) as_fn_error $?
"libxslt ${notice_platform}development files not found, xslt won't be supported.
9984 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
9988 if test "x$with_dbus" != "xno"
9990 ac_save_CPPFLAGS
="$CPPFLAGS"
9991 if test "$PKG_CONFIG" != "false"
9993 ac_dbus_libs
="`$PKG_CONFIG --libs dbus-1 2>/dev/null`"
9994 ac_dbus_cflags
="`$PKG_CONFIG --cflags dbus-1 2>/dev/null`"
9995 CPPFLAGS
="$CPPFLAGS $ac_dbus_cflags"
9997 ac_fn_c_check_header_mongrel
"$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
9998 if test "x$ac_cv_header_dbus_dbus_h" = xyes
; then :
9999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
10000 $as_echo_n "checking for -ldbus-1... " >&6; }
10001 if ${ac_cv_lib_soname_dbus_1+:} false
; then :
10002 $as_echo_n "(cached) " >&6
10004 ac_check_soname_save_LIBS
=$LIBS
10005 LIBS
="-ldbus-1 $ac_dbus_libs $LIBS"
10006 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10007 /* end confdefs.h. */
10009 /* Override any GCC internal prototype to avoid an error.
10010 Use char because int might match the return type of a GCC
10011 builtin and then its argument prototype would still apply. */
10015 char dbus_connection_close ();
10019 return dbus_connection_close ();
10024 if ac_fn_c_try_link
"$LINENO"; then :
10026 dll
) ac_cv_lib_soname_dbus_1
=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10027 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'` ;;
10028 *) ac_cv_lib_soname_dbus_1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10029 if test "x$ac_cv_lib_soname_dbus_1" = x
; then :
10030 ac_cv_lib_soname_dbus_1
=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10034 rm -f core conftest.err conftest.
$ac_objext \
10035 conftest
$ac_exeext conftest.
$ac_ext
10036 LIBS
=$ac_check_soname_save_LIBS
10038 if test "x$ac_cv_lib_soname_dbus_1" = "x"; then :
10039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10040 $as_echo "not found" >&6; }
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
10044 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
10046 cat >>confdefs.h
<<_ACEOF
10047 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
10050 DBUSINCL
="$ac_dbus_cflags"
10056 CPPFLAGS
="$ac_save_CPPFLAGS"
10058 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
10059 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10060 case "x$with_dbus" in
10061 x
) as_fn_append wine_notices
"|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
10063 *) as_fn_error $?
"libdbus ${notice_platform}development files not found, no dynamic device support.
10064 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
10068 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
10070 ac_save_CPPFLAGS
="$CPPFLAGS"
10071 if test "$PKG_CONFIG" != "false"
10073 ac_hal_libs
="`$PKG_CONFIG --libs hal 2>/dev/null`"
10074 ac_hal_cflags
="`$PKG_CONFIG --cflags hal 2>/dev/null`"
10075 CPPFLAGS
="$CPPFLAGS $ac_hal_cflags"
10077 ac_fn_c_check_header_mongrel
"$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
10078 if test "x$ac_cv_header_hal_libhal_h" = xyes
; then :
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
10080 $as_echo_n "checking for -lhal... " >&6; }
10081 if ${ac_cv_lib_soname_hal+:} false
; then :
10082 $as_echo_n "(cached) " >&6
10084 ac_check_soname_save_LIBS
=$LIBS
10085 LIBS
="-lhal $ac_hal_libs $LIBS"
10086 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10087 /* end confdefs.h. */
10089 /* Override any GCC internal prototype to avoid an error.
10090 Use char because int might match the return type of a GCC
10091 builtin and then its argument prototype would still apply. */
10095 char libhal_ctx_new ();
10099 return libhal_ctx_new ();
10104 if ac_fn_c_try_link
"$LINENO"; then :
10106 dll
) ac_cv_lib_soname_hal
=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10107 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'` ;;
10108 *) ac_cv_lib_soname_hal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10109 if test "x$ac_cv_lib_soname_hal" = x
; then :
10110 ac_cv_lib_soname_hal
=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10114 rm -f core conftest.err conftest.
$ac_objext \
10115 conftest
$ac_exeext conftest.
$ac_ext
10116 LIBS
=$ac_check_soname_save_LIBS
10118 if test "x$ac_cv_lib_soname_hal" = "x"; then :
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10120 $as_echo "not found" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
10124 $as_echo "$ac_cv_lib_soname_hal" >&6; }
10126 cat >>confdefs.h
<<_ACEOF
10127 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
10130 HALINCL
="$ac_hal_cflags"
10136 CPPFLAGS
="$ac_save_CPPFLAGS"
10137 if test "x$ac_cv_lib_soname_hal" = "x" -a \
10138 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
10139 case "x$with_hal" in
10140 x
) as_fn_append wine_notices
"|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
10142 *) as_fn_error $?
"libhal ${notice_platform}development files not found, no legacy dynamic device support.
10143 This is an error since --with-hal was requested." "$LINENO" 5 ;;
10148 if test "x$with_gnutls" != "xno"
10150 ac_save_CPPFLAGS
="$CPPFLAGS"
10151 if test "$PKG_CONFIG" != "false"
10153 ac_gnutls_libs
="`$PKG_CONFIG --libs gnutls 2>/dev/null`"
10154 ac_gnutls_cflags
="`$PKG_CONFIG --cflags gnutls 2>/dev/null`"
10155 CPPFLAGS
="$CPPFLAGS $ac_gnutls_cflags"
10157 ac_fn_c_check_header_mongrel
"$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
10158 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
; then :
10159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10160 /* end confdefs.h. */
10161 #include <gnutls/gnutls.h>
10165 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
10170 if ac_fn_c_try_compile
"$LINENO"; then :
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
10172 $as_echo_n "checking for -lgnutls... " >&6; }
10173 if ${ac_cv_lib_soname_gnutls+:} false
; then :
10174 $as_echo_n "(cached) " >&6
10176 ac_check_soname_save_LIBS
=$LIBS
10177 LIBS
="-lgnutls $ac_gnutls_libs $LIBS"
10178 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10187 char gnutls_global_init ();
10191 return gnutls_global_init ();
10196 if ac_fn_c_try_link
"$LINENO"; then :
10198 dll
) ac_cv_lib_soname_gnutls
=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_gnutls
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if test "x$ac_cv_lib_soname_gnutls" = x
; then :
10202 ac_cv_lib_soname_gnutls
=`$LDD conftest$ac_exeext | grep "libgnutls\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10206 rm -f core conftest.err conftest.
$ac_objext \
10207 conftest
$ac_exeext conftest.
$ac_ext
10208 LIBS
=$ac_check_soname_save_LIBS
10210 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
10216 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
10218 cat >>confdefs.h
<<_ACEOF
10219 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
10222 GNUTLSINCL
="$ac_gnutls_cflags"
10226 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
10230 CPPFLAGS
="$ac_save_CPPFLAGS"
10232 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
10233 case "x$with_gnutls" in
10234 x
) as_fn_append wine_notices
"|libgnutls ${notice_platform}development files not found, no schannel support." ;;
10236 *) as_fn_error $?
"libgnutls ${notice_platform}development files not found, no schannel support.
10237 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
10242 if test "$ac_cv_header_ncurses_h" = "yes"
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
10245 $as_echo_n "checking for -lncurses... " >&6; }
10246 if ${ac_cv_lib_soname_ncurses+:} false
; then :
10247 $as_echo_n "(cached) " >&6
10249 ac_check_soname_save_LIBS
=$LIBS
10250 LIBS
="-lncurses $LIBS"
10251 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10252 /* end confdefs.h. */
10254 /* Override any GCC internal prototype to avoid an error.
10255 Use char because int might match the return type of a GCC
10256 builtin and then its argument prototype would still apply. */
10269 if ac_fn_c_try_link
"$LINENO"; then :
10271 dll
) ac_cv_lib_soname_ncurses
=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10272 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'` ;;
10273 *) ac_cv_lib_soname_ncurses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10274 if test "x$ac_cv_lib_soname_ncurses" = x
; then :
10275 ac_cv_lib_soname_ncurses
=`$LDD conftest$ac_exeext | grep "libncurses\\.$LIBEXT" | sed -e "s/^.*\(libncurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10279 rm -f core conftest.err conftest.
$ac_objext \
10280 conftest
$ac_exeext conftest.
$ac_ext
10281 LIBS
=$ac_check_soname_save_LIBS
10283 if test "x$ac_cv_lib_soname_ncurses" = "x"; then :
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10285 $as_echo "not found" >&6; }
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
10289 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
10291 cat >>confdefs.h
<<_ACEOF
10292 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
10295 CURSESLIBS
="-lncurses"
10297 elif test "$ac_cv_header_curses_h" = "yes"
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
10300 $as_echo_n "checking for -lcurses... " >&6; }
10301 if ${ac_cv_lib_soname_curses+:} false
; then :
10302 $as_echo_n "(cached) " >&6
10304 ac_check_soname_save_LIBS
=$LIBS
10305 LIBS
="-lcurses $LIBS"
10306 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10309 /* Override any GCC internal prototype to avoid an error.
10310 Use char because int might match the return type of a GCC
10311 builtin and then its argument prototype would still apply. */
10324 if ac_fn_c_try_link
"$LINENO"; then :
10326 dll
) ac_cv_lib_soname_curses
=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10327 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'` ;;
10328 *) ac_cv_lib_soname_curses
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10329 if test "x$ac_cv_lib_soname_curses" = x
; then :
10330 ac_cv_lib_soname_curses
=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10334 rm -f core conftest.err conftest.
$ac_objext \
10335 conftest
$ac_exeext conftest.
$ac_ext
10336 LIBS
=$ac_check_soname_save_LIBS
10338 if test "x$ac_cv_lib_soname_curses" = "x"; then :
10339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10340 $as_echo "not found" >&6; }
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
10344 $as_echo "$ac_cv_lib_soname_curses" >&6; }
10346 cat >>confdefs.h
<<_ACEOF
10347 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
10350 CURSESLIBS
="-lcurses"
10353 ac_save_LIBS
="$LIBS"
10354 LIBS
="$LIBS $CURSESLIBS"
10355 for ac_func
in mousemask
10357 ac_fn_c_check_func
"$LINENO" "mousemask" "ac_cv_func_mousemask"
10358 if test "x$ac_cv_func_mousemask" = xyes
; then :
10359 cat >>confdefs.h
<<_ACEOF
10360 #define HAVE_MOUSEMASK 1
10366 LIBS
="$ac_save_LIBS"
10367 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
10368 case "x$with_curses" in
10369 x
) as_fn_append wine_notices
"|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
10371 *) as_fn_error $?
"lib(n)curses ${notice_platform}development files not found, curses won't be supported.
10372 This is an error since --with-curses was requested." "$LINENO" 5 ;;
10376 if test "x$with_sane" != "xno"
10378 ac_save_CPPFLAGS
="$CPPFLAGS"
10379 # Extract the first word of "sane-config", so it can be a program name with args.
10380 set dummy sane-config
; ac_word
=$2
10381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10382 $as_echo_n "checking for $ac_word... " >&6; }
10383 if ${ac_cv_prog_sane_devel+:} false
; then :
10384 $as_echo_n "(cached) " >&6
10386 if test -n "$sane_devel"; then
10387 ac_cv_prog_sane_devel
="$sane_devel" # Let the user override the test.
10389 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10390 for as_dir
in $PATH
10393 test -z "$as_dir" && as_dir
=.
10394 for ac_exec_ext
in '' $ac_executable_extensions; do
10395 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10396 ac_cv_prog_sane_devel
="sane-config"
10397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10404 test -z "$ac_cv_prog_sane_devel" && ac_cv_prog_sane_devel
="no"
10407 sane_devel
=$ac_cv_prog_sane_devel
10408 if test -n "$sane_devel"; then
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sane_devel" >&5
10410 $as_echo "$sane_devel" >&6; }
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10413 $as_echo "no" >&6; }
10417 if test "$sane_devel" != "no"
10419 ac_sane_incl
="`$sane_devel --cflags`"
10420 ac_sane_libs
="`$sane_devel --ldflags`"
10421 CPPFLAGS
="$CPPFLAGS $ac_sane_incl"
10423 ac_fn_c_check_header_mongrel
"$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
10424 if test "x$ac_cv_header_sane_sane_h" = xyes
; then :
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
10426 $as_echo_n "checking for -lsane... " >&6; }
10427 if ${ac_cv_lib_soname_sane+:} false
; then :
10428 $as_echo_n "(cached) " >&6
10430 ac_check_soname_save_LIBS
=$LIBS
10431 LIBS
="-lsane $ac_sane_libs $LIBS"
10432 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10433 /* end confdefs.h. */
10435 /* Override any GCC internal prototype to avoid an error.
10436 Use char because int might match the return type of a GCC
10437 builtin and then its argument prototype would still apply. */
10445 return sane_init ();
10450 if ac_fn_c_try_link
"$LINENO"; then :
10452 dll
) ac_cv_lib_soname_sane
=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10453 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'` ;;
10454 *) ac_cv_lib_soname_sane
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10455 if test "x$ac_cv_lib_soname_sane" = x
; then :
10456 ac_cv_lib_soname_sane
=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10460 rm -f core conftest.err conftest.
$ac_objext \
10461 conftest
$ac_exeext conftest.
$ac_ext
10462 LIBS
=$ac_check_soname_save_LIBS
10464 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10466 $as_echo "not found" >&6; }
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
10470 $as_echo "$ac_cv_lib_soname_sane" >&6; }
10472 cat >>confdefs.h
<<_ACEOF
10473 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
10476 SANEINCL
="$ac_sane_incl"
10482 CPPFLAGS
="$ac_save_CPPFLAGS"
10484 if test "x$ac_cv_lib_soname_sane" = "x"; then :
10485 case "x$with_sane" in
10486 x
) as_fn_append wine_notices
"|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
10488 *) as_fn_error $?
"libsane ${notice_platform}development files not found, scanners won't be supported.
10489 This is an error since --with-sane was requested." "$LINENO" 5 ;;
10493 if test "x$with_v4l" != "xno"
10495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
10496 $as_echo_n "checking for -lv4l1... " >&6; }
10497 if ${ac_cv_lib_soname_v4l1+:} false
; then :
10498 $as_echo_n "(cached) " >&6
10500 ac_check_soname_save_LIBS
=$LIBS
10501 LIBS
="-lv4l1 $LIBS"
10502 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10503 /* end confdefs.h. */
10505 /* Override any GCC internal prototype to avoid an error.
10506 Use char because int might match the return type of a GCC
10507 builtin and then its argument prototype would still apply. */
10515 return v4l1_open ();
10520 if ac_fn_c_try_link
"$LINENO"; then :
10522 dll
) ac_cv_lib_soname_v4l1
=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10523 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'` ;;
10524 *) ac_cv_lib_soname_v4l1
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10525 if test "x$ac_cv_lib_soname_v4l1" = x
; then :
10526 ac_cv_lib_soname_v4l1
=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10530 rm -f core conftest.err conftest.
$ac_objext \
10531 conftest
$ac_exeext conftest.
$ac_ext
10532 LIBS
=$ac_check_soname_save_LIBS
10534 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10536 $as_echo "not found" >&6; }
10539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
10540 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
10542 cat >>confdefs.h
<<_ACEOF
10543 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
10549 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
10550 case "x$with_v4l" in
10551 x
) as_fn_append wine_notices
"|libv4l ${notice_platform}development files not found." ;;
10553 *) as_fn_error $?
"libv4l ${notice_platform}development files not found.
10554 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
10558 if test "x$with_gphoto" != "xno"
10560 ac_save_CPPFLAGS
="$CPPFLAGS"
10561 # Extract the first word of "gphoto2-config", so it can be a program name with args.
10562 set dummy gphoto2-config
; ac_word
=$2
10563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10564 $as_echo_n "checking for $ac_word... " >&6; }
10565 if ${ac_cv_prog_gphoto2_devel+:} false
; then :
10566 $as_echo_n "(cached) " >&6
10568 if test -n "$gphoto2_devel"; then
10569 ac_cv_prog_gphoto2_devel
="$gphoto2_devel" # Let the user override the test.
10571 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10572 for as_dir
in $PATH
10575 test -z "$as_dir" && as_dir
=.
10576 for ac_exec_ext
in '' $ac_executable_extensions; do
10577 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10578 ac_cv_prog_gphoto2_devel
="gphoto2-config"
10579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10586 test -z "$ac_cv_prog_gphoto2_devel" && ac_cv_prog_gphoto2_devel
="no"
10589 gphoto2_devel
=$ac_cv_prog_gphoto2_devel
10590 if test -n "$gphoto2_devel"; then
10591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2_devel" >&5
10592 $as_echo "$gphoto2_devel" >&6; }
10594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10595 $as_echo "no" >&6; }
10599 # Extract the first word of "gphoto2-port-config", so it can be a program name with args.
10600 set dummy gphoto2-port-config
; ac_word
=$2
10601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10602 $as_echo_n "checking for $ac_word... " >&6; }
10603 if ${ac_cv_prog_gphoto2port_devel+:} false
; then :
10604 $as_echo_n "(cached) " >&6
10606 if test -n "$gphoto2port_devel"; then
10607 ac_cv_prog_gphoto2port_devel
="$gphoto2port_devel" # Let the user override the test.
10609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10610 for as_dir
in $PATH
10613 test -z "$as_dir" && as_dir
=.
10614 for ac_exec_ext
in '' $ac_executable_extensions; do
10615 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10616 ac_cv_prog_gphoto2port_devel
="gphoto2-port-config"
10617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10624 test -z "$ac_cv_prog_gphoto2port_devel" && ac_cv_prog_gphoto2port_devel
="no"
10627 gphoto2port_devel
=$ac_cv_prog_gphoto2port_devel
10628 if test -n "$gphoto2port_devel"; then
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gphoto2port_devel" >&5
10630 $as_echo "$gphoto2port_devel" >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10633 $as_echo "no" >&6; }
10637 if test "$gphoto2_devel" != "no" -a "$gphoto2port_devel" != "no"
10639 ac_gphoto2_incl
="`$gphoto2_devel --cflags` `$gphoto2port_devel --cflags`"
10641 for i
in `$gphoto2_devel --libs` `$gphoto2port_devel --libs`
10644 -L/usr
/lib|
-L/usr
/lib64
) ;;
10645 -L*|
-l*) ac_gphoto2_libs
="$ac_gphoto2_libs $i";;
10648 CPPFLAGS
="$CPPFLAGS $ac_gphoto2_incl"
10650 ac_gphoto2_libs
=${ac_gphoto2_libs:-"-lgphoto2"}
10651 ac_fn_c_check_header_mongrel
"$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
10652 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
; then :
10653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
10654 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
10655 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false
; then :
10656 $as_echo_n "(cached) " >&6
10658 ac_check_lib_save_LIBS
=$LIBS
10659 LIBS
="-lgphoto2 $ac_gphoto2_libs $LIBS"
10660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10661 /* end confdefs.h. */
10663 /* Override any GCC internal prototype to avoid an error.
10664 Use char because int might match the return type of a GCC
10665 builtin and then its argument prototype would still apply. */
10669 char gp_camera_new ();
10673 return gp_camera_new ();
10678 if ac_fn_c_try_link
"$LINENO"; then :
10679 ac_cv_lib_gphoto2_gp_camera_new
=yes
10681 ac_cv_lib_gphoto2_gp_camera_new
=no
10683 rm -f core conftest.err conftest.
$ac_objext \
10684 conftest
$ac_exeext conftest.
$ac_ext
10685 LIBS
=$ac_check_lib_save_LIBS
10687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
10688 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
10689 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
; then :
10691 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
10693 GPHOTO2LIBS
="$ac_gphoto2_libs"
10695 GPHOTO2INCL
="$ac_gphoto2_incl"
10702 CPPFLAGS
="$ac_save_CPPFLAGS"
10704 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
10705 case "x$with_gphoto" in
10706 x
) as_fn_append wine_notices
"|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
10708 *) as_fn_error $?
"libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
10709 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
10714 if test "$ac_cv_header_resolv_h" = "yes"
10716 ac_save_LIBS
="$LIBS"
10717 for lib
in '' -lresolv
10719 LIBS
="$lib $ac_save_LIBS"
10720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10721 /* end confdefs.h. */
10722 #ifdef HAVE_NETINET_IN_H
10723 #include <netinet/in.h>
10725 #include <resolv.h>
10729 res_query("foo",ns_c_in,0,0,0);
10734 if ac_fn_c_try_link
"$LINENO"; then :
10736 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
10741 rm -f core conftest.err conftest.
$ac_objext \
10742 conftest
$ac_exeext conftest.
$ac_ext
10743 if test "${RESOLVLIBS+set}" = set; then
10747 LIBS
="$ac_save_LIBS"
10752 if test "$ac_cv_header_lcms_h" = "yes" -o "$ac_cv_header_lcms_lcms_h" = "yes"
10754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms" >&5
10755 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms... " >&6; }
10756 if ${ac_cv_lib_lcms_cmsOpenProfileFromFile+:} false
; then :
10757 $as_echo_n "(cached) " >&6
10759 ac_check_lib_save_LIBS
=$LIBS
10760 LIBS
="-llcms $LIBS"
10761 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10762 /* end confdefs.h. */
10764 /* Override any GCC internal prototype to avoid an error.
10765 Use char because int might match the return type of a GCC
10766 builtin and then its argument prototype would still apply. */
10770 char cmsOpenProfileFromFile ();
10774 return cmsOpenProfileFromFile ();
10779 if ac_fn_c_try_link
"$LINENO"; then :
10780 ac_cv_lib_lcms_cmsOpenProfileFromFile
=yes
10782 ac_cv_lib_lcms_cmsOpenProfileFromFile
=no
10784 rm -f core conftest.err conftest.
$ac_objext \
10785 conftest
$ac_exeext conftest.
$ac_ext
10786 LIBS
=$ac_check_lib_save_LIBS
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms_cmsOpenProfileFromFile" >&5
10789 $as_echo "$ac_cv_lib_lcms_cmsOpenProfileFromFile" >&6; }
10790 if test "x$ac_cv_lib_lcms_cmsOpenProfileFromFile" = xyes
; then :
10792 $as_echo "#define HAVE_LCMS 1" >>confdefs.h
10798 if test "$ac_cv_lib_lcms_cmsOpenProfileFromFile" != "yes"; then :
10799 case "x$with_cms" in
10800 x
) as_fn_append wine_notices
"|liblcms ${notice_platform}development files not found, Color Management won't be supported." ;;
10802 *) as_fn_error $?
"liblcms ${notice_platform}development files not found, Color Management won't be supported.
10803 This is an error since --with-cms was requested." "$LINENO" 5 ;;
10807 if test "x$with_freetype" != "xno"
10809 if test "$PKG_CONFIG" != "false"
10811 ac_freetype_incl
="`$PKG_CONFIG --cflags freetype2 2>/dev/null`"
10812 ac_freetype_libs
="`$PKG_CONFIG --libs freetype2 2>/dev/null`"
10814 for ac_prog
in freetype-config freetype2-config
10816 # Extract the first word of "$ac_prog", so it can be a program name with args.
10817 set dummy
$ac_prog; ac_word
=$2
10818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10819 $as_echo_n "checking for $ac_word... " >&6; }
10820 if ${ac_cv_prog_ft_devel+:} false
; then :
10821 $as_echo_n "(cached) " >&6
10823 if test -n "$ft_devel"; then
10824 ac_cv_prog_ft_devel
="$ft_devel" # Let the user override the test.
10826 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
10827 for as_dir
in $PATH
10830 test -z "$as_dir" && as_dir
=.
10831 for ac_exec_ext
in '' $ac_executable_extensions; do
10832 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
10833 ac_cv_prog_ft_devel
="$ac_prog"
10834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10843 ft_devel
=$ac_cv_prog_ft_devel
10844 if test -n "$ft_devel"; then
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ft_devel" >&5
10846 $as_echo "$ft_devel" >&6; }
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10849 $as_echo "no" >&6; }
10853 test -n "$ft_devel" && break
10855 test -n "$ft_devel" || ft_devel
="no"
10857 if test "$ft_devel" != "no"
10859 ac_freetype_incl
=`$ft_devel --cflags`
10860 ac_freetype_libs
=`$ft_devel --libs`
10863 ac_freetype_libs
=${ac_freetype_libs:-"-lfreetype"}
10864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
10865 $as_echo_n "checking for -lfreetype... " >&6; }
10866 if ${ac_cv_lib_soname_freetype+:} false
; then :
10867 $as_echo_n "(cached) " >&6
10869 ac_check_soname_save_LIBS
=$LIBS
10870 LIBS
="-lfreetype $ac_freetype_libs $LIBS"
10871 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10872 /* end confdefs.h. */
10874 /* Override any GCC internal prototype to avoid an error.
10875 Use char because int might match the return type of a GCC
10876 builtin and then its argument prototype would still apply. */
10880 char FT_Init_FreeType ();
10884 return FT_Init_FreeType ();
10889 if ac_fn_c_try_link
"$LINENO"; then :
10891 dll
) ac_cv_lib_soname_freetype
=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10892 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'` ;;
10893 *) ac_cv_lib_soname_freetype
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10894 if test "x$ac_cv_lib_soname_freetype" = x
; then :
10895 ac_cv_lib_soname_freetype
=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10899 rm -f core conftest.err conftest.
$ac_objext \
10900 conftest
$ac_exeext conftest.
$ac_ext
10901 LIBS
=$ac_check_soname_save_LIBS
10903 if test "x$ac_cv_lib_soname_freetype" = "x"; then :
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10905 $as_echo "not found" >&6; }
10908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
10909 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
10911 cat >>confdefs.h
<<_ACEOF
10912 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
10917 if test "$ft_lib" = "yes"
10919 ac_save_CPPFLAGS
="$CPPFLAGS"
10920 CPPFLAGS
="$ac_freetype_incl $CPPFLAGS"
10921 for ac_header
in ft2build.h \
10922 freetype
/freetype.h \
10923 freetype
/ftglyph.h \
10924 freetype
/fttypes.h \
10925 freetype
/tttables.h \
10926 freetype
/ftsnames.h \
10927 freetype
/ttnameid.h \
10928 freetype
/ftoutln.h \
10929 freetype
/ftwinfnt.h \
10930 freetype
/ftmodapi.h \
10931 freetype
/ftlcdfil.h
10933 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
10934 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_FT2BUILD_H
10935 # include <ft2build.h>
10938 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
10939 cat >>confdefs.h
<<_ACEOF
10940 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
10947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10948 /* end confdefs.h. */
10949 #include <ft2build.h>
10950 #include <freetype/fttrigon.h>
10952 if ac_fn_c_try_cpp
"$LINENO"; then :
10954 $as_echo "#define HAVE_FREETYPE_FTTRIGON_H 1" >>confdefs.h
10956 wine_cv_fttrigon
=yes
10958 wine_cv_fttrigon
=no
10960 rm -f conftest.err conftest.i conftest.
$ac_ext
10961 ac_fn_c_check_type
"$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <freetype/ftmodapi.h>
10963 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
; then :
10965 cat >>confdefs.h
<<_ACEOF
10966 #define HAVE_FT_TRUETYPEENGINETYPE 1
10972 if test "$ac_cv_header_freetype_freetype_h" = "yes" -a "$wine_cv_fttrigon" = "yes"
10975 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
10977 FREETYPELIBS
="$ac_freetype_libs"
10979 FREETYPEINCL
="$ac_freetype_incl"
10984 if test "x$FREETYPELIBS" = "x"; then :
10985 case "x$with_freetype" in
10987 *) as_fn_error $?
"FreeType ${notice_platform}development files not found. Fonts will not be built.
10988 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
10991 test "x$FREETYPELIBS" = "x" && enable_fonts
=${enable_fonts:-no}
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
10994 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
10995 if ${ac_cv_c_ppdev+:} false
; then :
10996 $as_echo_n "(cached) " >&6
10998 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
10999 /* end confdefs.h. */
11000 #ifdef HAVE_SYS_IOCTL_H
11001 # include <sys/ioctl.h>
11003 #include <linux/ppdev.h>
11007 ioctl (1,PPCLAIM,0)
11012 if ac_fn_c_try_compile
"$LINENO"; then :
11013 ac_cv_c_ppdev
="yes"
11017 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
11020 $as_echo "$ac_cv_c_ppdev" >&6; }
11021 if test "$ac_cv_c_ppdev" = "yes"
11024 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
11028 ac_wine_check_funcs_save_LIBS
="$LIBS"
11029 LIBS
="$LIBS $LIBPTHREAD"
11031 pthread_attr_get_np \
11032 pthread_getattr_np \
11033 pthread_getthreadid_np \
11034 pthread_get_stackaddr_np \
11035 pthread_get_stacksize_np
11037 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
11038 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
11039 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
11040 cat >>confdefs.h
<<_ACEOF
11041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
11047 LIBS
="$ac_wine_check_funcs_save_LIBS"
11049 if test "$ac_cv_header_zlib_h" = "yes"
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
11052 $as_echo_n "checking for inflate in -lz... " >&6; }
11053 if ${ac_cv_lib_z_inflate+:} false
; then :
11054 $as_echo_n "(cached) " >&6
11056 ac_check_lib_save_LIBS
=$LIBS
11058 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11076 if ac_fn_c_try_link
"$LINENO"; then :
11077 ac_cv_lib_z_inflate
=yes
11079 ac_cv_lib_z_inflate
=no
11081 rm -f core conftest.err conftest.
$ac_objext \
11082 conftest
$ac_exeext conftest.
$ac_ext
11083 LIBS
=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
11086 $as_echo "$ac_cv_lib_z_inflate" >&6; }
11087 if test "x$ac_cv_lib_z_inflate" = xyes
; then :
11089 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
11096 if test "x$ZLIB" = "x"; then :
11097 case "x$with_zlib" in
11098 x
) as_fn_append wine_notices
"|libz ${notice_platform}development files not found, data compression won't be supported." ;;
11100 *) as_fn_error $?
"libz ${notice_platform}development files not found, data compression won't be supported.
11101 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
11105 if test "x$enable_tools" != xno
11107 if test "$ac_cv_header_gettext_po_h" = "yes"
11109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
11110 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
11111 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false
; then :
11112 $as_echo_n "(cached) " >&6
11114 ac_check_lib_save_LIBS
=$LIBS
11115 LIBS
="-lgettextpo $LIBS"
11116 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11119 /* Override any GCC internal prototype to avoid an error.
11120 Use char because int might match the return type of a GCC
11121 builtin and then its argument prototype would still apply. */
11125 char po_message_msgctxt ();
11129 return po_message_msgctxt ();
11134 if ac_fn_c_try_link
"$LINENO"; then :
11135 ac_cv_lib_gettextpo_po_message_msgctxt
=yes
11137 ac_cv_lib_gettextpo_po_message_msgctxt
=no
11139 rm -f core conftest.err conftest.
$ac_objext \
11140 conftest
$ac_exeext conftest.
$ac_ext
11141 LIBS
=$ac_check_lib_save_LIBS
11143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
11144 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
11145 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
; then :
11147 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
11149 LIBGETTEXTPO
="-lgettextpo"
11154 test "x$with_gettextpo" != xyes ||
if test "x$LIBGETTEXTPO" = "x"; then :
11155 case "x$with_gettextpo" in
11156 x
) as_fn_append wine_notices
"|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
11158 *) as_fn_error $?
"GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
11159 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
11164 if test "x$with_gstreamer" != "xno"
11166 ac_save_CPPFLAGS
="$CPPFLAGS"
11167 if test "$PKG_CONFIG" != "false"; then
11169 for i
in `$PKG_CONFIG --cflags gstreamer-app-0.10 2>/dev/null`
11172 -I*) ac_gst_incl
="$ac_gst_incl $i";;
11175 ac_gst_libs
="`$PKG_CONFIG --libs gstreamer-app-0.10 2>/dev/null`"
11176 CPPFLAGS
="$CPPFLAGS $ac_gst_incl"
11177 ac_fn_c_check_header_mongrel
"$LINENO" "gst/gstpad.h" "ac_cv_header_gst_gstpad_h" "$ac_includes_default"
11178 if test "x$ac_cv_header_gst_gstpad_h" = xyes
; then :
11179 ac_fn_c_check_header_mongrel
"$LINENO" "gst/app/gstappsink.h" "ac_cv_header_gst_app_gstappsink_h" "$ac_includes_default"
11180 if test "x$ac_cv_header_gst_app_gstappsink_h" = xyes
; then :
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit" >&5
11182 $as_echo_n "checking whether gint64 defined by gst/app/gstappsink.h is indeed 64-bit... " >&6; }
11183 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11184 /* end confdefs.h. */
11185 #include <gst/app/gstappsink.h>
11189 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
11194 if ac_fn_c_try_compile
"$LINENO"; then :
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11196 $as_echo "yes" >&6; }
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_get_caps_reffed in -lgstreamer-0.10" >&5
11198 $as_echo_n "checking for gst_pad_get_caps_reffed in -lgstreamer-0.10... " >&6; }
11199 if ${ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed+:} false
; then :
11200 $as_echo_n "(cached) " >&6
11202 ac_check_lib_save_LIBS
=$LIBS
11203 LIBS
="-lgstreamer-0.10 $LIBS"
11204 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11205 /* end confdefs.h. */
11207 /* Override any GCC internal prototype to avoid an error.
11208 Use char because int might match the return type of a GCC
11209 builtin and then its argument prototype would still apply. */
11213 char gst_pad_get_caps_reffed ();
11217 return gst_pad_get_caps_reffed ();
11222 if ac_fn_c_try_link
"$LINENO"; then :
11223 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=yes
11225 ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed
=no
11227 rm -f core conftest.err conftest.
$ac_objext \
11228 conftest
$ac_exeext conftest.
$ac_ext
11229 LIBS
=$ac_check_lib_save_LIBS
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&5
11232 $as_echo "$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" >&6; }
11233 if test "x$ac_cv_lib_gstreamer_0_10_gst_pad_get_caps_reffed" = xyes
; then :
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_app_buffer_new in -lgstapp-0.10" >&5
11235 $as_echo_n "checking for gst_app_buffer_new in -lgstapp-0.10... " >&6; }
11236 if ${ac_cv_lib_gstapp_0_10_gst_app_buffer_new+:} false
; then :
11237 $as_echo_n "(cached) " >&6
11239 ac_check_lib_save_LIBS
=$LIBS
11240 LIBS
="-lgstapp-0.10 $ac_gst_libs $LIBS"
11241 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11242 /* end confdefs.h. */
11244 /* Override any GCC internal prototype to avoid an error.
11245 Use char because int might match the return type of a GCC
11246 builtin and then its argument prototype would still apply. */
11250 char gst_app_buffer_new ();
11254 return gst_app_buffer_new ();
11259 if ac_fn_c_try_link
"$LINENO"; then :
11260 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=yes
11262 ac_cv_lib_gstapp_0_10_gst_app_buffer_new
=no
11264 rm -f core conftest.err conftest.
$ac_objext \
11265 conftest
$ac_exeext conftest.
$ac_ext
11266 LIBS
=$ac_check_lib_save_LIBS
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&5
11269 $as_echo "$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" >&6; }
11270 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes
; then :
11271 GSTREAMER_LIBS
="$ac_gst_libs"
11273 GSTREAMER_INCL
="$ac_gst_incl"
11280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11281 $as_echo "no" >&6; }
11283 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11291 CPPFLAGS
="$ac_save_CPPFLAGS"
11293 if test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" != xyes
-a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes
; then :
11294 case "x$with_gstreamer" in
11295 x
) as_fn_append wine_notices
"|gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled" ;;
11297 *) as_fn_error $?
"gstreamer-0.10 base plugins ${notice_platform}development files not found, gstreamer support disabled
11298 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
11301 test "x$ac_cv_lib_gstapp_0_10_gst_app_buffer_new" = xyes || enable_winegstreamer
=${enable_winegstreamer:-no}
11305 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
11308 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
11309 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false
; then :
11310 $as_echo_n "(cached) " >&6
11312 ac_check_lib_save_LIBS
=$LIBS
11313 LIBS
="-lasound $LIBS"
11314 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11317 /* Override any GCC internal prototype to avoid an error.
11318 Use char because int might match the return type of a GCC
11319 builtin and then its argument prototype would still apply. */
11323 char snd_pcm_hw_params_get_access_mask ();
11327 return snd_pcm_hw_params_get_access_mask ();
11332 if ac_fn_c_try_link
"$LINENO"; then :
11333 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=yes
11335 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask
=no
11337 rm -f core conftest.err conftest.
$ac_objext \
11338 conftest
$ac_exeext conftest.
$ac_ext
11339 LIBS
=$ac_check_lib_save_LIBS
11341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
11342 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
11343 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
; then :
11344 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346 #ifdef HAVE_ALSA_ASOUNDLIB_H
11347 #include <alsa/asoundlib.h>
11348 #elif defined(HAVE_SYS_ASOUNDLIB_H)
11349 #include <sys/asoundlib.h>
11354 snd_pcm_hw_params_get_access_mask(NULL, NULL)
11359 if ac_fn_c_try_compile
"$LINENO"; then :
11360 ALSALIBS
="-lasound"
11362 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
11367 if test "x$with_oss" != xno
11369 ac_save_CPPFLAGS
="$CPPFLAGS"
11370 if test -f /etc
/oss.conf
11374 ac_oss_incl
="-I${OSSLIBDIR:-/usr/lib/oss}/include"
11375 CPPFLAGS
="$CPPFLAGS $ac_oss_incl"
11376 ac_fn_c_check_header_mongrel
"$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
11377 if test "x$ac_cv_header_sys_soundcard_h" = xyes
; then :
11378 ac_fn_c_check_member
"$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
11380 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
; then :
11382 cat >>confdefs.h
<<_ACEOF
11383 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
11386 OSS4INCL
="$ac_oss_incl"
11393 CPPFLAGS
="$ac_save_CPPFLAGS"
11394 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
11396 as_fn_append wine_notices
"|OSS sound system found but too old (OSSv4 needed), OSS won't be supported."
11401 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
11403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
11404 $as_echo_n "checking for -lcapi20... " >&6; }
11405 if ${ac_cv_lib_soname_capi20+:} false
; then :
11406 $as_echo_n "(cached) " >&6
11408 ac_check_soname_save_LIBS
=$LIBS
11409 LIBS
="-lcapi20 $LIBS"
11410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11411 /* end confdefs.h. */
11413 /* Override any GCC internal prototype to avoid an error.
11414 Use char because int might match the return type of a GCC
11415 builtin and then its argument prototype would still apply. */
11419 char capi20_register ();
11423 return capi20_register ();
11428 if ac_fn_c_try_link
"$LINENO"; then :
11430 dll
) ac_cv_lib_soname_capi20
=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11431 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'` ;;
11432 *) ac_cv_lib_soname_capi20
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11433 if test "x$ac_cv_lib_soname_capi20" = x
; then :
11434 ac_cv_lib_soname_capi20
=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11438 rm -f core conftest.err conftest.
$ac_objext \
11439 conftest
$ac_exeext conftest.
$ac_ext
11440 LIBS
=$ac_check_soname_save_LIBS
11442 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11444 $as_echo "not found" >&6; }
11447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
11448 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
11450 cat >>confdefs.h
<<_ACEOF
11451 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
11457 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
11458 case "x$with_capi" in
11459 x
) as_fn_append wine_notices
"|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
11461 *) as_fn_error $?
"libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
11462 This is an error since --with-capi was requested." "$LINENO" 5 ;;
11468 if test "x$with_cups" != "xno"
11470 ac_save_CPPFLAGS
="$CPPFLAGS"
11471 ac_cups_cflags
=`cups-config --cflags 2>/dev/null`
11472 ac_cups_libs
=`cups-config --ldflags 2>/dev/null`
11473 CPPFLAGS
="$CPPFLAGS $ac_cups_cflags"
11474 for ac_header
in cups
/cups.h
11476 ac_fn_c_check_header_mongrel
"$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
11477 if test "x$ac_cv_header_cups_cups_h" = xyes
; then :
11478 cat >>confdefs.h
<<_ACEOF
11479 #define HAVE_CUPS_CUPS_H 1
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
11482 $as_echo_n "checking for -lcups... " >&6; }
11483 if ${ac_cv_lib_soname_cups+:} false
; then :
11484 $as_echo_n "(cached) " >&6
11486 ac_check_soname_save_LIBS
=$LIBS
11487 LIBS
="-lcups $ac_cups_libs $LIBS"
11488 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11489 /* end confdefs.h. */
11491 /* Override any GCC internal prototype to avoid an error.
11492 Use char because int might match the return type of a GCC
11493 builtin and then its argument prototype would still apply. */
11497 char cupsGetDefault ();
11501 return cupsGetDefault ();
11506 if ac_fn_c_try_link
"$LINENO"; then :
11508 dll
) ac_cv_lib_soname_cups
=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11509 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'` ;;
11510 *) ac_cv_lib_soname_cups
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11511 if test "x$ac_cv_lib_soname_cups" = x
; then :
11512 ac_cv_lib_soname_cups
=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11516 rm -f core conftest.err conftest.
$ac_objext \
11517 conftest
$ac_exeext conftest.
$ac_ext
11518 LIBS
=$ac_check_soname_save_LIBS
11520 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11522 $as_echo "not found" >&6; }
11525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
11526 $as_echo "$ac_cv_lib_soname_cups" >&6; }
11528 cat >>confdefs.h
<<_ACEOF
11529 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
11532 CUPSINCL
="$ac_cups_cflags"
11538 CPPFLAGS
="$ac_save_CPPFLAGS"
11540 if test "x$ac_cv_lib_soname_cups" = "x"; then :
11541 case "x$with_cups" in
11542 x
) as_fn_append wine_notices
"|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
11544 *) as_fn_error $?
"libcups ${notice_platform}development files not found, CUPS won't be supported.
11545 This is an error since --with-cups was requested." "$LINENO" 5 ;;
11549 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11552 $as_echo_n "checking for -lfontconfig... " >&6; }
11553 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11554 $as_echo_n "(cached) " >&6
11556 ac_check_soname_save_LIBS
=$LIBS
11557 LIBS
="-lfontconfig $LIBS"
11558 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11559 /* end confdefs.h. */
11561 /* Override any GCC internal prototype to avoid an error.
11562 Use char because int might match the return type of a GCC
11563 builtin and then its argument prototype would still apply. */
11576 if ac_fn_c_try_link
"$LINENO"; then :
11578 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11579 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'` ;;
11580 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11581 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11582 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11586 rm -f core conftest.err conftest.
$ac_objext \
11587 conftest
$ac_exeext conftest.
$ac_ext
11588 LIBS
=$ac_check_soname_save_LIBS
11590 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11592 $as_echo "not found" >&6; }
11595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11596 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11598 cat >>confdefs.h
<<_ACEOF
11599 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11604 elif test -n "$X_CFLAGS" -a "x$with_fontconfig" != "xno"
11606 ac_save_CPPFLAGS
="$CPPFLAGS"
11607 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11608 $as_unset ac_cv_header_fontconfig_fontconfig_h
11609 for ac_header
in fontconfig
/fontconfig.h
11611 ac_fn_c_check_header_mongrel
"$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
11612 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
; then :
11613 cat >>confdefs.h
<<_ACEOF
11614 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
11621 CPPFLAGS
="$ac_save_CPPFLAGS"
11622 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
11624 FONTCONFIGINCL
="$X_CFLAGS"
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
11627 $as_echo_n "checking for -lfontconfig... " >&6; }
11628 if ${ac_cv_lib_soname_fontconfig+:} false
; then :
11629 $as_echo_n "(cached) " >&6
11631 ac_check_soname_save_LIBS
=$LIBS
11632 LIBS
="-lfontconfig $X_LIBS $LIBS"
11633 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11634 /* end confdefs.h. */
11636 /* Override any GCC internal prototype to avoid an error.
11637 Use char because int might match the return type of a GCC
11638 builtin and then its argument prototype would still apply. */
11651 if ac_fn_c_try_link
"$LINENO"; then :
11653 dll
) ac_cv_lib_soname_fontconfig
=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11654 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'` ;;
11655 *) ac_cv_lib_soname_fontconfig
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11656 if test "x$ac_cv_lib_soname_fontconfig" = x
; then :
11657 ac_cv_lib_soname_fontconfig
=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11661 rm -f core conftest.err conftest.
$ac_objext \
11662 conftest
$ac_exeext conftest.
$ac_ext
11663 LIBS
=$ac_check_soname_save_LIBS
11665 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11667 $as_echo "not found" >&6; }
11670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
11671 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
11673 cat >>confdefs.h
<<_ACEOF
11674 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
11681 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
11682 case "x$with_fontconfig" in
11683 x
) as_fn_append wine_notices
"|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
11685 *) as_fn_error $?
"fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
11686 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
11690 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
11693 $as_echo_n "checking for -lgsm... " >&6; }
11694 if ${ac_cv_lib_soname_gsm+:} false
; then :
11695 $as_echo_n "(cached) " >&6
11697 ac_check_soname_save_LIBS
=$LIBS
11699 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11700 /* end confdefs.h. */
11702 /* Override any GCC internal prototype to avoid an error.
11703 Use char because int might match the return type of a GCC
11704 builtin and then its argument prototype would still apply. */
11708 char gsm_create ();
11712 return gsm_create ();
11717 if ac_fn_c_try_link
"$LINENO"; then :
11719 dll
) ac_cv_lib_soname_gsm
=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11720 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'` ;;
11721 *) ac_cv_lib_soname_gsm
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11722 if test "x$ac_cv_lib_soname_gsm" = x
; then :
11723 ac_cv_lib_soname_gsm
=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11727 rm -f core conftest.err conftest.
$ac_objext \
11728 conftest
$ac_exeext conftest.
$ac_ext
11729 LIBS
=$ac_check_soname_save_LIBS
11731 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11733 $as_echo "not found" >&6; }
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
11737 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
11739 cat >>confdefs.h
<<_ACEOF
11740 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
11746 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
11747 case "x$with_gsm" in
11748 x
) as_fn_append wine_notices
"|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
11750 *) as_fn_error $?
"libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
11751 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
11755 if test "$ac_cv_header_jpeglib_h" = "yes"
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
11758 $as_echo_n "checking for -ljpeg... " >&6; }
11759 if ${ac_cv_lib_soname_jpeg+:} false
; then :
11760 $as_echo_n "(cached) " >&6
11762 ac_check_soname_save_LIBS
=$LIBS
11763 LIBS
="-ljpeg $LIBS"
11764 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11765 /* end confdefs.h. */
11767 /* Override any GCC internal prototype to avoid an error.
11768 Use char because int might match the return type of a GCC
11769 builtin and then its argument prototype would still apply. */
11773 char jpeg_start_decompress ();
11777 return jpeg_start_decompress ();
11782 if ac_fn_c_try_link
"$LINENO"; then :
11784 dll
) ac_cv_lib_soname_jpeg
=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11785 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'` ;;
11786 *) ac_cv_lib_soname_jpeg
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11787 if test "x$ac_cv_lib_soname_jpeg" = x
; then :
11788 ac_cv_lib_soname_jpeg
=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11792 rm -f core conftest.err conftest.
$ac_objext \
11793 conftest
$ac_exeext conftest.
$ac_ext
11794 LIBS
=$ac_check_soname_save_LIBS
11796 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11798 $as_echo "not found" >&6; }
11801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
11802 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
11804 cat >>confdefs.h
<<_ACEOF
11805 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
11811 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
11812 case "x$with_jpeg" in
11813 x
) as_fn_append wine_warnings
"|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
11815 *) as_fn_error $?
"libjpeg ${notice_platform}development files not found, JPEG won't be supported.
11816 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
11820 if test "$ac_cv_header_png_h" = "yes"
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11823 $as_echo_n "checking for -lpng... " >&6; }
11824 if ${ac_cv_lib_soname_png+:} false
; then :
11825 $as_echo_n "(cached) " >&6
11827 ac_check_soname_save_LIBS
=$LIBS
11828 LIBS
="-lpng -lm -lz $LIBS"
11829 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11830 /* end confdefs.h. */
11832 /* Override any GCC internal prototype to avoid an error.
11833 Use char because int might match the return type of a GCC
11834 builtin and then its argument prototype would still apply. */
11838 char png_create_read_struct ();
11842 return png_create_read_struct ();
11847 if ac_fn_c_try_link
"$LINENO"; then :
11849 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11850 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'` ;;
11851 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11852 if test "x$ac_cv_lib_soname_png" = x
; then :
11853 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11857 rm -f core conftest.err conftest.
$ac_objext \
11858 conftest
$ac_exeext conftest.
$ac_ext
11859 LIBS
=$ac_check_soname_save_LIBS
11861 if test "x$ac_cv_lib_soname_png" = "x"; then :
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11863 $as_echo "not found" >&6; }
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11867 $as_echo "$ac_cv_lib_soname_png" >&6; }
11869 cat >>confdefs.h
<<_ACEOF
11870 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11876 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11877 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11878 $as_echo_n "(cached) " >&6
11880 ac_check_lib_save_LIBS
=$LIBS
11881 LIBS
="-lpng -lm -lz $LIBS"
11882 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 /* Override any GCC internal prototype to avoid an error.
11886 Use char because int might match the return type of a GCC
11887 builtin and then its argument prototype would still apply. */
11891 char png_set_expand_gray_1_2_4_to_8 ();
11895 return png_set_expand_gray_1_2_4_to_8 ();
11900 if ac_fn_c_try_link
"$LINENO"; then :
11901 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
11903 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
11905 rm -f core conftest.err conftest.
$ac_objext \
11906 conftest
$ac_exeext conftest.
$ac_ext
11907 LIBS
=$ac_check_lib_save_LIBS
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
11910 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
11911 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
11913 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
11918 elif test -n "$X_CFLAGS" -a "x$with_png" != "xno"
11920 ac_save_CPPFLAGS
="$CPPFLAGS"
11921 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
11922 $as_unset ac_cv_header_png_h
11923 for ac_header
in png.h
11925 ac_fn_c_check_header_mongrel
"$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
11926 if test "x$ac_cv_header_png_h" = xyes
; then :
11927 cat >>confdefs.h
<<_ACEOF
11928 #define HAVE_PNG_H 1
11935 CPPFLAGS
="$ac_save_CPPFLAGS"
11936 if test "$ac_cv_header_png_h" = "yes"
11938 PNGINCL
="$X_CFLAGS"
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
11941 $as_echo_n "checking for -lpng... " >&6; }
11942 if ${ac_cv_lib_soname_png+:} false
; then :
11943 $as_echo_n "(cached) " >&6
11945 ac_check_soname_save_LIBS
=$LIBS
11946 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
11947 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
11948 /* end confdefs.h. */
11950 /* Override any GCC internal prototype to avoid an error.
11951 Use char because int might match the return type of a GCC
11952 builtin and then its argument prototype would still apply. */
11956 char png_create_read_struct ();
11960 return png_create_read_struct ();
11965 if ac_fn_c_try_link
"$LINENO"; then :
11967 dll
) ac_cv_lib_soname_png
=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11968 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'` ;;
11969 *) ac_cv_lib_soname_png
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11970 if test "x$ac_cv_lib_soname_png" = x
; then :
11971 ac_cv_lib_soname_png
=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11975 rm -f core conftest.err conftest.
$ac_objext \
11976 conftest
$ac_exeext conftest.
$ac_ext
11977 LIBS
=$ac_check_soname_save_LIBS
11979 if test "x$ac_cv_lib_soname_png" = "x"; then :
11980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11981 $as_echo "not found" >&6; }
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
11985 $as_echo "$ac_cv_lib_soname_png" >&6; }
11987 cat >>confdefs.h
<<_ACEOF
11988 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_set_expand_gray_1_2_4_to_8 in -lpng" >&5
11994 $as_echo_n "checking for png_set_expand_gray_1_2_4_to_8 in -lpng... " >&6; }
11995 if ${ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8+:} false
; then :
11996 $as_echo_n "(cached) " >&6
11998 ac_check_lib_save_LIBS
=$LIBS
11999 LIBS
="-lpng $X_LIBS -lm -lz $LIBS"
12000 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12001 /* end confdefs.h. */
12003 /* Override any GCC internal prototype to avoid an error.
12004 Use char because int might match the return type of a GCC
12005 builtin and then its argument prototype would still apply. */
12009 char png_set_expand_gray_1_2_4_to_8 ();
12013 return png_set_expand_gray_1_2_4_to_8 ();
12018 if ac_fn_c_try_link
"$LINENO"; then :
12019 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=yes
12021 ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8
=no
12023 rm -f core conftest.err conftest.
$ac_objext \
12024 conftest
$ac_exeext conftest.
$ac_ext
12025 LIBS
=$ac_check_lib_save_LIBS
12027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&5
12028 $as_echo "$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" >&6; }
12029 if test "x$ac_cv_lib_png_png_set_expand_gray_1_2_4_to_8" = xyes
; then :
12030 $as_echo "#define HAVE_PNG_SET_EXPAND_GRAY_1_2_4_TO_8 1" >>confdefs.h
12036 if test "x$ac_cv_lib_soname_png" = "x"; then :
12037 case "x$with_png" in
12038 x
) as_fn_append wine_warnings
"|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
12040 *) as_fn_error $?
"libpng ${notice_platform}development files not found, PNG won't be supported.
12041 This is an error since --with-png was requested." "$LINENO" 5 ;;
12045 if test "$ac_cv_header_tiffio_h" = "yes"
12047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
12048 $as_echo_n "checking for -ltiff... " >&6; }
12049 if ${ac_cv_lib_soname_tiff+:} false
; then :
12050 $as_echo_n "(cached) " >&6
12052 ac_check_soname_save_LIBS
=$LIBS
12053 LIBS
="-ltiff $LIBS"
12054 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12063 char TIFFClientOpen ();
12067 return TIFFClientOpen ();
12072 if ac_fn_c_try_link
"$LINENO"; then :
12074 dll
) ac_cv_lib_soname_tiff
=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12075 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'` ;;
12076 *) ac_cv_lib_soname_tiff
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12077 if test "x$ac_cv_lib_soname_tiff" = x
; then :
12078 ac_cv_lib_soname_tiff
=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12082 rm -f core conftest.err conftest.
$ac_objext \
12083 conftest
$ac_exeext conftest.
$ac_ext
12084 LIBS
=$ac_check_soname_save_LIBS
12086 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12088 $as_echo "not found" >&6; }
12091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
12092 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
12094 cat >>confdefs.h
<<_ACEOF
12095 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
12101 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
12102 case "x$with_tiff" in
12103 x
) as_fn_append wine_notices
"|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
12105 *) as_fn_error $?
"libtiff ${notice_platform}development files not found, TIFF won't be supported.
12106 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
12110 if test "$ac_cv_header_mpg123_h" = "yes"
12112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
12113 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
12114 if ${ac_cv_lib_mpg123_mpg123_feed+:} false
; then :
12115 $as_echo_n "(cached) " >&6
12117 ac_check_lib_save_LIBS
=$LIBS
12118 LIBS
="-lmpg123 $LIBS"
12119 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12120 /* end confdefs.h. */
12122 /* Override any GCC internal prototype to avoid an error.
12123 Use char because int might match the return type of a GCC
12124 builtin and then its argument prototype would still apply. */
12128 char mpg123_feed ();
12132 return mpg123_feed ();
12137 if ac_fn_c_try_link
"$LINENO"; then :
12138 ac_cv_lib_mpg123_mpg123_feed
=yes
12140 ac_cv_lib_mpg123_mpg123_feed
=no
12142 rm -f core conftest.err conftest.
$ac_objext \
12143 conftest
$ac_exeext conftest.
$ac_ext
12144 LIBS
=$ac_check_lib_save_LIBS
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
12147 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
12148 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes
; then :
12149 LIBMPG123
="-lmpg123"
12154 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes
-a x
"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes
; then :
12155 case "x$with_mpg123" in
12156 x
) as_fn_append wine_notices
"|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
12158 *) as_fn_error $?
"libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
12159 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
12162 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}
12164 if test "$ac_cv_header_AL_al_h" = "yes"
12166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
12167 $as_echo_n "checking for -lopenal... " >&6; }
12168 if ${ac_cv_lib_soname_openal+:} false
; then :
12169 $as_echo_n "(cached) " >&6
12171 ac_check_soname_save_LIBS
=$LIBS
12172 LIBS
="-lopenal $LIBS"
12173 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12174 /* end confdefs.h. */
12176 /* Override any GCC internal prototype to avoid an error.
12177 Use char because int might match the return type of a GCC
12178 builtin and then its argument prototype would still apply. */
12182 char alGetSource3i ();
12186 return alGetSource3i ();
12191 if ac_fn_c_try_link
"$LINENO"; then :
12193 dll
) ac_cv_lib_soname_openal
=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12194 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'` ;;
12195 *) ac_cv_lib_soname_openal
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12196 if test "x$ac_cv_lib_soname_openal" = x
; then :
12197 ac_cv_lib_soname_openal
=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12201 rm -f core conftest.err conftest.
$ac_objext \
12202 conftest
$ac_exeext conftest.
$ac_ext
12203 LIBS
=$ac_check_soname_save_LIBS
12205 if test "x$ac_cv_lib_soname_openal" = "x"; then :
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12207 $as_echo "not found" >&6; }
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
12211 $as_echo "$ac_cv_lib_soname_openal" >&6; }
12213 cat >>confdefs.h
<<_ACEOF
12214 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
12217 LIBOPENAL
="-lopenal"
12219 ac_cv_lib_openal
=yes
12221 cat >>confdefs.h
<<_ACEOF
12222 #define HAVE_OPENAL 1
12227 if test "x$ac_cv_lib_openal" != xyes
; then :
12228 case "x$with_openal" in
12229 x
) as_fn_append wine_notices
"|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
12231 *) as_fn_error $?
"libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
12232 This is an error since --with-openal was requested." "$LINENO" 5 ;;
12235 test "x$ac_cv_lib_openal" = xyes || enable_openal32
=${enable_openal32:-no}
12237 if test "$ac_cv_header_kstat_h" = "yes"
12239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
12240 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
12241 if ${ac_cv_lib_kstat_kstat_open+:} false
; then :
12242 $as_echo_n "(cached) " >&6
12244 ac_check_lib_save_LIBS
=$LIBS
12245 LIBS
="-lkstat $LIBS"
12246 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12247 /* end confdefs.h. */
12249 /* Override any GCC internal prototype to avoid an error.
12250 Use char because int might match the return type of a GCC
12251 builtin and then its argument prototype would still apply. */
12255 char kstat_open ();
12259 return kstat_open ();
12264 if ac_fn_c_try_link
"$LINENO"; then :
12265 ac_cv_lib_kstat_kstat_open
=yes
12267 ac_cv_lib_kstat_kstat_open
=no
12269 rm -f core conftest.err conftest.
$ac_objext \
12270 conftest
$ac_exeext conftest.
$ac_ext
12271 LIBS
=$ac_check_lib_save_LIBS
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
12274 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
12275 if test "x$ac_cv_lib_kstat_kstat_open" = xyes
; then :
12277 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
12286 $as_echo_n "checking for -lodbc... " >&6; }
12287 if ${ac_cv_lib_soname_odbc+:} false
; then :
12288 $as_echo_n "(cached) " >&6
12290 ac_check_soname_save_LIBS
=$LIBS
12291 LIBS
="-lodbc $LIBS"
12292 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12293 /* end confdefs.h. */
12295 /* Override any GCC internal prototype to avoid an error.
12296 Use char because int might match the return type of a GCC
12297 builtin and then its argument prototype would still apply. */
12301 char SQLConnect ();
12305 return SQLConnect ();
12310 if ac_fn_c_try_link
"$LINENO"; then :
12312 dll
) ac_cv_lib_soname_odbc
=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12313 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'` ;;
12314 *) ac_cv_lib_soname_odbc
=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12315 if test "x$ac_cv_lib_soname_odbc" = x
; then :
12316 ac_cv_lib_soname_odbc
=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12320 rm -f core conftest.err conftest.
$ac_objext \
12321 conftest
$ac_exeext conftest.
$ac_ext
12322 LIBS
=$ac_check_soname_save_LIBS
12324 if test "x$ac_cv_lib_soname_odbc" = "x"; then :
12325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12326 $as_echo "not found" >&6; }
12327 cat >>confdefs.h
<<_ACEOF
12328 #define SONAME_LIBODBC "libodbc.$LIBEXT"
12332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
12333 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
12335 cat >>confdefs.h
<<_ACEOF
12336 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
12342 test -n "$ALSALIBS" || enable_winealsa_drv
=${enable_winealsa_drv:-no}
12343 test -n "$COREAUDIO" || enable_winecoreaudio_drv
=${enable_winecoreaudio_drv:-no}
12344 test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes || enable_wineoss_drv
=${enable_wineoss_drv:-no}
12345 test "$ac_cv_header_linux_joystick_h" = "yes" || enable_winejoystick_drv
=${enable_winejoystick_drv:-no}
12347 if test "x$ALSALIBS$COREAUDIO" = "x" -a \
12348 "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
-a \
12349 "x$with_alsa$with_coreaudio$with_oss" != xnonono
12351 as_fn_append wine_warnings
"|No sound system was found. Windows applications will be silent."
12357 if test "x${GCC}" = "xyes"
12359 EXTRACFLAGS
="-Wall -pipe"
12361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
12362 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
12363 if ${ac_cv_c_gcc_strength_bug+:} false
; then :
12364 $as_echo_n "(cached) " >&6
12366 if test "$cross_compiling" = yes; then :
12367 ac_cv_c_gcc_strength_bug
="yes"
12369 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12371 int L[4] = {0,1,2,3};
12375 static int Array[3];
12376 unsigned int B = 3;
12378 for(i=0; i<B; i++) Array[i] = i - 3;
12379 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
12381 return (Array[1] != -2 || L[2] != 3)
12386 if ac_fn_c_try_run
"$LINENO"; then :
12387 ac_cv_c_gcc_strength_bug
="no"
12389 ac_cv_c_gcc_strength_bug
="yes"
12391 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
12392 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
12396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
12397 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
12398 if test "$ac_cv_c_gcc_strength_bug" = "yes"
12400 EXTRACFLAGS
="$EXTRACFLAGS -fno-strength-reduce"
12403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
12404 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
12405 if ${ac_cv_cflags__fno_builtin+:} false
; then :
12406 $as_echo_n "(cached) " >&6
12408 ac_wine_try_cflags_saved
=$CFLAGS
12409 CFLAGS
="$CFLAGS -fno-builtin"
12410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12411 /* end confdefs.h. */
12412 int main(int argc, char **argv) { return 0; }
12414 if ac_fn_c_try_link
"$LINENO"; then :
12415 ac_cv_cflags__fno_builtin
=yes
12417 ac_cv_cflags__fno_builtin
=no
12419 rm -f core conftest.err conftest.
$ac_objext \
12420 conftest
$ac_exeext conftest.
$ac_ext
12421 CFLAGS
=$ac_wine_try_cflags_saved
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
12424 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
12425 if test $ac_cv_cflags__fno_builtin = yes; then :
12426 BUILTINFLAG
="-fno-builtin"
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
12430 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
12431 if ${ac_cv_cflags__fno_strict_aliasing+:} false
; then :
12432 $as_echo_n "(cached) " >&6
12434 ac_wine_try_cflags_saved
=$CFLAGS
12435 CFLAGS
="$CFLAGS -fno-strict-aliasing"
12436 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12437 /* end confdefs.h. */
12438 int main(int argc, char **argv) { return 0; }
12440 if ac_fn_c_try_link
"$LINENO"; then :
12441 ac_cv_cflags__fno_strict_aliasing
=yes
12443 ac_cv_cflags__fno_strict_aliasing
=no
12445 rm -f core conftest.err conftest.
$ac_objext \
12446 conftest
$ac_exeext conftest.
$ac_ext
12447 CFLAGS
=$ac_wine_try_cflags_saved
12449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
12450 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
12451 if test $ac_cv_cflags__fno_strict_aliasing = yes; then :
12452 EXTRACFLAGS
="$EXTRACFLAGS -fno-strict-aliasing"
12454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
12455 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
12456 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false
; then :
12457 $as_echo_n "(cached) " >&6
12459 ac_wine_try_cflags_saved
=$CFLAGS
12460 CFLAGS
="$CFLAGS -Wdeclaration-after-statement"
12461 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12462 /* end confdefs.h. */
12463 int main(int argc, char **argv) { return 0; }
12465 if ac_fn_c_try_link
"$LINENO"; then :
12466 ac_cv_cflags__Wdeclaration_after_statement
=yes
12468 ac_cv_cflags__Wdeclaration_after_statement
=no
12470 rm -f core conftest.err conftest.
$ac_objext \
12471 conftest
$ac_exeext conftest.
$ac_ext
12472 CFLAGS
=$ac_wine_try_cflags_saved
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
12475 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
12476 if test $ac_cv_cflags__Wdeclaration_after_statement = yes; then :
12477 EXTRACFLAGS
="$EXTRACFLAGS -Wdeclaration-after-statement"
12479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
12480 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
12481 if ${ac_cv_cflags__Wempty_body+:} false
; then :
12482 $as_echo_n "(cached) " >&6
12484 ac_wine_try_cflags_saved
=$CFLAGS
12485 CFLAGS
="$CFLAGS -Wempty-body"
12486 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12487 /* end confdefs.h. */
12488 int main(int argc, char **argv) { return 0; }
12490 if ac_fn_c_try_link
"$LINENO"; then :
12491 ac_cv_cflags__Wempty_body
=yes
12493 ac_cv_cflags__Wempty_body
=no
12495 rm -f core conftest.err conftest.
$ac_objext \
12496 conftest
$ac_exeext conftest.
$ac_ext
12497 CFLAGS
=$ac_wine_try_cflags_saved
12499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
12500 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
12501 if test $ac_cv_cflags__Wempty_body = yes; then :
12502 EXTRACFLAGS
="$EXTRACFLAGS -Wempty-body"
12504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
12505 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
12506 if ${ac_cv_cflags__Wignored_qualifiers+:} false
; then :
12507 $as_echo_n "(cached) " >&6
12509 ac_wine_try_cflags_saved
=$CFLAGS
12510 CFLAGS
="$CFLAGS -Wignored-qualifiers"
12511 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12512 /* end confdefs.h. */
12513 int main(int argc, char **argv) { return 0; }
12515 if ac_fn_c_try_link
"$LINENO"; then :
12516 ac_cv_cflags__Wignored_qualifiers
=yes
12518 ac_cv_cflags__Wignored_qualifiers
=no
12520 rm -f core conftest.err conftest.
$ac_objext \
12521 conftest
$ac_exeext conftest.
$ac_ext
12522 CFLAGS
=$ac_wine_try_cflags_saved
12524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
12525 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
12526 if test $ac_cv_cflags__Wignored_qualifiers = yes; then :
12527 EXTRACFLAGS
="$EXTRACFLAGS -Wignored-qualifiers"
12529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
12530 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
12531 if ${ac_cv_cflags__Wstrict_prototypes+:} false
; then :
12532 $as_echo_n "(cached) " >&6
12534 ac_wine_try_cflags_saved
=$CFLAGS
12535 CFLAGS
="$CFLAGS -Wstrict-prototypes"
12536 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 int main(int argc, char **argv) { return 0; }
12540 if ac_fn_c_try_link
"$LINENO"; then :
12541 ac_cv_cflags__Wstrict_prototypes
=yes
12543 ac_cv_cflags__Wstrict_prototypes
=no
12545 rm -f core conftest.err conftest.
$ac_objext \
12546 conftest
$ac_exeext conftest.
$ac_ext
12547 CFLAGS
=$ac_wine_try_cflags_saved
12549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
12550 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
12551 if test $ac_cv_cflags__Wstrict_prototypes = yes; then :
12552 EXTRACFLAGS
="$EXTRACFLAGS -Wstrict-prototypes"
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
12555 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
12556 if ${ac_cv_cflags__Wtype_limits+:} false
; then :
12557 $as_echo_n "(cached) " >&6
12559 ac_wine_try_cflags_saved
=$CFLAGS
12560 CFLAGS
="$CFLAGS -Wtype-limits"
12561 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12562 /* end confdefs.h. */
12563 int main(int argc, char **argv) { return 0; }
12565 if ac_fn_c_try_link
"$LINENO"; then :
12566 ac_cv_cflags__Wtype_limits
=yes
12568 ac_cv_cflags__Wtype_limits
=no
12570 rm -f core conftest.err conftest.
$ac_objext \
12571 conftest
$ac_exeext conftest.
$ac_ext
12572 CFLAGS
=$ac_wine_try_cflags_saved
12574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
12575 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
12576 if test $ac_cv_cflags__Wtype_limits = yes; then :
12577 EXTRACFLAGS
="$EXTRACFLAGS -Wtype-limits"
12579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
12580 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
12581 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false
; then :
12582 $as_echo_n "(cached) " >&6
12584 ac_wine_try_cflags_saved
=$CFLAGS
12585 CFLAGS
="$CFLAGS -Wunused-but-set-parameter"
12586 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12587 /* end confdefs.h. */
12588 int main(int argc, char **argv) { return 0; }
12590 if ac_fn_c_try_link
"$LINENO"; then :
12591 ac_cv_cflags__Wunused_but_set_parameter
=yes
12593 ac_cv_cflags__Wunused_but_set_parameter
=no
12595 rm -f core conftest.err conftest.
$ac_objext \
12596 conftest
$ac_exeext conftest.
$ac_ext
12597 CFLAGS
=$ac_wine_try_cflags_saved
12599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
12600 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
12601 if test $ac_cv_cflags__Wunused_but_set_parameter = yes; then :
12602 EXTRACFLAGS
="$EXTRACFLAGS -Wunused-but-set-parameter"
12604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
12605 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
12606 if ${ac_cv_cflags__Wwrite_strings+:} false
; then :
12607 $as_echo_n "(cached) " >&6
12609 ac_wine_try_cflags_saved
=$CFLAGS
12610 CFLAGS
="$CFLAGS -Wwrite-strings"
12611 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12612 /* end confdefs.h. */
12613 int main(int argc, char **argv) { return 0; }
12615 if ac_fn_c_try_link
"$LINENO"; then :
12616 ac_cv_cflags__Wwrite_strings
=yes
12618 ac_cv_cflags__Wwrite_strings
=no
12620 rm -f core conftest.err conftest.
$ac_objext \
12621 conftest
$ac_exeext conftest.
$ac_ext
12622 CFLAGS
=$ac_wine_try_cflags_saved
12624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
12625 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
12626 if test $ac_cv_cflags__Wwrite_strings = yes; then :
12627 EXTRACFLAGS
="$EXTRACFLAGS -Wwrite-strings"
12630 for ac_flag
in $CFLAGS; do
12632 -g) case $host_os in
12633 darwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstabs+" >&5
12634 $as_echo_n "checking whether the compiler supports -gstabs+... " >&6; }
12635 if ${ac_cv_cflags__gstabsp+:} false
; then :
12636 $as_echo_n "(cached) " >&6
12638 ac_wine_try_cflags_saved
=$CFLAGS
12639 CFLAGS
="$CFLAGS -gstabs+"
12640 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12641 /* end confdefs.h. */
12642 int main(int argc, char **argv) { return 0; }
12644 if ac_fn_c_try_link
"$LINENO"; then :
12645 ac_cv_cflags__gstabsp
=yes
12647 ac_cv_cflags__gstabsp
=no
12649 rm -f core conftest.err conftest.
$ac_objext \
12650 conftest
$ac_exeext conftest.
$ac_ext
12651 CFLAGS
=$ac_wine_try_cflags_saved
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstabsp" >&5
12654 $as_echo "$ac_cv_cflags__gstabsp" >&6; }
12655 if test $ac_cv_cflags__gstabsp = yes; then :
12656 EXTRACFLAGS
="$EXTRACFLAGS -gstabs+"
12658 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
12659 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
12660 if ${ac_cv_cflags__gdwarf_2+:} false
; then :
12661 $as_echo_n "(cached) " >&6
12663 ac_wine_try_cflags_saved
=$CFLAGS
12664 CFLAGS
="$CFLAGS -gdwarf-2"
12665 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12666 /* end confdefs.h. */
12667 int main(int argc, char **argv) { return 0; }
12669 if ac_fn_c_try_link
"$LINENO"; then :
12670 ac_cv_cflags__gdwarf_2
=yes
12672 ac_cv_cflags__gdwarf_2
=no
12674 rm -f core conftest.err conftest.
$ac_objext \
12675 conftest
$ac_exeext conftest.
$ac_ext
12676 CFLAGS
=$ac_wine_try_cflags_saved
12678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
12679 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
12680 if test $ac_cv_cflags__gdwarf_2 = yes; then :
12681 EXTRACFLAGS
="$EXTRACFLAGS -gdwarf-2"
12683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
12684 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
12685 if ${ac_cv_cflags__gstrict_dwarf+:} false
; then :
12686 $as_echo_n "(cached) " >&6
12688 ac_wine_try_cflags_saved
=$CFLAGS
12689 CFLAGS
="$CFLAGS -gstrict-dwarf"
12690 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12691 /* end confdefs.h. */
12692 int main(int argc, char **argv) { return 0; }
12694 if ac_fn_c_try_link
"$LINENO"; then :
12695 ac_cv_cflags__gstrict_dwarf
=yes
12697 ac_cv_cflags__gstrict_dwarf
=no
12699 rm -f core conftest.err conftest.
$ac_objext \
12700 conftest
$ac_exeext conftest.
$ac_ext
12701 CFLAGS
=$ac_wine_try_cflags_saved
12703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
12704 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
12705 if test $ac_cv_cflags__gstrict_dwarf = yes; then :
12706 EXTRACFLAGS
="$EXTRACFLAGS -gstrict-dwarf"
12713 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
12714 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
12715 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false
; then :
12716 $as_echo_n "(cached) " >&6
12718 ac_wine_try_cflags_saved
=$CFLAGS
12719 CFLAGS
="$CFLAGS -fno-omit-frame-pointer"
12720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12721 /* end confdefs.h. */
12722 int main(int argc, char **argv) { return 0; }
12724 if ac_fn_c_try_link
"$LINENO"; then :
12725 ac_cv_cflags__fno_omit_frame_pointer
=yes
12727 ac_cv_cflags__fno_omit_frame_pointer
=no
12729 rm -f core conftest.err conftest.
$ac_objext \
12730 conftest
$ac_exeext conftest.
$ac_ext
12731 CFLAGS
=$ac_wine_try_cflags_saved
12733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
12734 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
12735 if test $ac_cv_cflags__fno_omit_frame_pointer = yes; then :
12736 EXTRACFLAGS
="$EXTRACFLAGS -fno-omit-frame-pointer"
12741 x86_64-
*mingw32
*|x86_64-
*cygwin
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
12742 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
12743 if ${ac_cv_cflags__Wno_format+:} false
; then :
12744 $as_echo_n "(cached) " >&6
12746 ac_wine_try_cflags_saved
=$CFLAGS
12747 CFLAGS
="$CFLAGS -Wno-format"
12748 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12749 /* end confdefs.h. */
12750 int main(int argc, char **argv) { return 0; }
12752 if ac_fn_c_try_link
"$LINENO"; then :
12753 ac_cv_cflags__Wno_format
=yes
12755 ac_cv_cflags__Wno_format
=no
12757 rm -f core conftest.err conftest.
$ac_objext \
12758 conftest
$ac_exeext conftest.
$ac_ext
12759 CFLAGS
=$ac_wine_try_cflags_saved
12761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
12762 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
12763 if test $ac_cv_cflags__Wno_format = yes; then :
12764 EXTRACFLAGS
="$EXTRACFLAGS -Wno-format"
12768 saved_CFLAGS
="$CFLAGS"
12769 CFLAGS
="$CFLAGS -Wpointer-arith -Werror"
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
12771 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
12772 if ${ac_cv_c_string_h_warnings+:} false
; then :
12773 $as_echo_n "(cached) " >&6
12775 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12777 #include <string.h>
12786 if ac_fn_c_try_compile
"$LINENO"; then :
12787 ac_cv_c_string_h_warnings
=no
12789 ac_cv_c_string_h_warnings
=yes
12791 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
12794 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
12795 CFLAGS
="$saved_CFLAGS"
12796 if test "$ac_cv_c_string_h_warnings" = "no"
12798 EXTRACFLAGS
="$EXTRACFLAGS -Wpointer-arith"
12801 saved_CFLAGS
="$CFLAGS"
12802 CFLAGS
="$CFLAGS -Wlogical-op -Werror"
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
12804 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
12805 if ${ac_cv_c_logicalop_noisy+:} false
; then :
12806 $as_echo_n "(cached) " >&6
12808 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12810 #include <string.h>
12814 char*f(const char *h,char n) {return strchr(h,n);}
12819 if ac_fn_c_try_compile
"$LINENO"; then :
12820 ac_cv_c_logicalop_noisy
=no
12822 ac_cv_c_logicalop_noisy
=yes
12824 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
12827 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
12828 CFLAGS
="$saved_CFLAGS"
12829 if test "$ac_cv_c_logicalop_noisy" = "no"
12831 EXTRACFLAGS
="$EXTRACFLAGS -Wlogical-op"
12834 if test "x$enable_maintainer_mode" = "xyes"
12836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
12837 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
12838 if ${ac_cv_cflags__Werror+:} false
; then :
12839 $as_echo_n "(cached) " >&6
12841 ac_wine_try_cflags_saved
=$CFLAGS
12842 CFLAGS
="$CFLAGS -Werror"
12843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12844 /* end confdefs.h. */
12845 int main(int argc, char **argv) { return 0; }
12847 if ac_fn_c_try_link
"$LINENO"; then :
12848 ac_cv_cflags__Werror
=yes
12850 ac_cv_cflags__Werror
=no
12852 rm -f core conftest.err conftest.
$ac_objext \
12853 conftest
$ac_exeext conftest.
$ac_ext
12854 CFLAGS
=$ac_wine_try_cflags_saved
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
12857 $as_echo "$ac_cv_cflags__Werror" >&6; }
12858 if test $ac_cv_cflags__Werror = yes; then :
12859 EXTRACFLAGS
="$EXTRACFLAGS -Werror"
12863 saved_CFLAGS
="$CFLAGS"
12864 CFLAGS
="$CFLAGS -Werror"
12865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
12866 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
12867 if ${ac_cv_have_ms_hook_prologue+:} false
; then :
12868 $as_echo_n "(cached) " >&6
12870 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12871 /* end confdefs.h. */
12872 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
12881 if ac_fn_c_try_compile
"$LINENO"; then :
12882 ac_cv_have_ms_hook_prologue
="yes"
12884 ac_cv_have_ms_hook_prologue
="no"
12886 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
12889 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
12890 CFLAGS
="$saved_CFLAGS"
12891 if test "$ac_cv_have_ms_hook_prologue" = "yes"
12894 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
12897 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
12903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
12904 $as_echo_n "checking for the need to disable Fortify... " >&6; }
12905 if ${ac_cv_c_fortify_enabled+:} false
; then :
12906 $as_echo_n "(cached) " >&6
12908 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12909 /* end confdefs.h. */
12910 #include <string.h>
12914 #if defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0
12915 #error Fortify enabled
12921 if ac_fn_c_try_compile
"$LINENO"; then :
12922 ac_cv_c_fortify_enabled
=no
12924 ac_cv_c_fortify_enabled
=yes
12926 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
12928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
12929 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
12930 if test "$ac_cv_c_fortify_enabled" = yes
12932 CFLAGS
="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
12936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
12937 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
12938 if ${ac_cv_c_extern_prefix+:} false
; then :
12939 $as_echo_n "(cached) " >&6
12941 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12942 /* end confdefs.h. */
12943 extern int ac_test;
12947 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
12952 if ac_fn_c_try_link
"$LINENO"; then :
12953 ac_cv_c_extern_prefix
="yes"
12955 ac_cv_c_extern_prefix
="no"
12957 rm -f core conftest.err conftest.
$ac_objext \
12958 conftest
$ac_exeext conftest.
$ac_ext
12960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
12961 $as_echo "$ac_cv_c_extern_prefix" >&6; }
12965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
12966 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
12967 if ${ac_cv_c_stdcall_suffix+:} false
; then :
12968 $as_echo_n "(cached) " >&6
12970 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 #define __stdcall __attribute__((__stdcall__))
12975 int __stdcall ac_test(int i) { return i; }
12979 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
12984 if ac_fn_c_try_link
"$LINENO"; then :
12985 ac_cv_c_stdcall_suffix
="yes"
12987 ac_cv_c_stdcall_suffix
="no"
12989 rm -f core conftest.err conftest.
$ac_objext \
12990 conftest
$ac_exeext conftest.
$ac_ext
12992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
12993 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
12994 *) ac_cv_c_stdcall_suffix
="no" ;;
12998 if test "$ac_cv_c_extern_prefix" = "yes"
13000 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
13002 asm_name_prefix
="_"
13004 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
13010 if test "$ac_cv_c_stdcall_suffix" = "yes"
13012 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
13015 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
13020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
13021 $as_echo_n "checking how to define a function in assembly code... " >&6; }
13022 if ${ac_cv_asm_func_def+:} false
; then :
13023 $as_echo_n "(cached) " >&6
13025 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13026 /* end confdefs.h. */
13031 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
13036 if ac_fn_c_try_link
"$LINENO"; then :
13037 ac_cv_asm_func_def
=".def"
13039 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13040 /* end confdefs.h. */
13045 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
13050 if ac_fn_c_try_link
"$LINENO"; then :
13051 ac_cv_asm_func_def
=".type @function"
13053 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13054 /* end confdefs.h. */
13059 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
13064 if ac_fn_c_try_link
"$LINENO"; then :
13065 ac_cv_asm_func_def
=".type 2"
13067 ac_cv_asm_func_def
="unknown"
13069 rm -f core conftest.err conftest.
$ac_objext \
13070 conftest
$ac_exeext conftest.
$ac_ext
13072 rm -f core conftest.err conftest.
$ac_objext \
13073 conftest
$ac_exeext conftest.
$ac_ext
13075 rm -f core conftest.err conftest.
$ac_objext \
13076 conftest
$ac_exeext conftest.
$ac_ext
13078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
13079 $as_echo "$ac_cv_asm_func_def" >&6; }
13082 case "$ac_cv_asm_func_def" in
13084 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
13086 asm_func_header
=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
13088 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
13090 asm_func_header
=".type $asm_name_prefix\" #name suffix \",@function" ;;
13092 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
13094 asm_func_header
=".type $asm_name_prefix\" #name suffix \",2" ;;
13096 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
13098 asm_func_header
="" ;;
13101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
13102 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
13103 if ${ac_cv_c_asm_outside_funcs+:} false
; then :
13104 $as_echo_n "(cached) " >&6
13106 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13107 /* end confdefs.h. */
13108 asm(".text\n\t.long 0");
13117 if ac_fn_c_try_compile
"$LINENO"; then :
13118 ac_cv_c_asm_outside_funcs
="yes"
13120 ac_cv_c_asm_outside_funcs
="no"
13122 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
13125 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
13127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
13128 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
13129 if ${ac_cv_c_dot_previous+:} false
; then :
13130 $as_echo_n "(cached) " >&6
13132 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13133 /* end confdefs.h. */
13138 asm(".text\nac_test:\t.long 0\n\t.previous");
13143 if ac_fn_c_try_link
"$LINENO"; then :
13144 ac_cv_c_dot_previous
="yes"
13146 ac_cv_c_dot_previous
="no"
13148 rm -f core conftest.err conftest.
$ac_objext \
13149 conftest
$ac_exeext conftest.
$ac_ext
13151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
13152 $as_echo "$ac_cv_c_dot_previous" >&6; }
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
13155 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
13156 if ${ac_cv_c_cfi_support+:} false
; then :
13157 $as_echo_n "(cached) " >&6
13159 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13160 /* end confdefs.h. */
13161 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
13170 if ac_fn_c_try_compile
"$LINENO"; then :
13171 ac_cv_c_cfi_support
="yes"
13173 ac_cv_c_cfi_support
="no"
13175 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
13178 $as_echo "$ac_cv_c_cfi_support" >&6; }
13180 asm_func_header
=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
13181 asm_func_trailer
=""
13182 if test "$ac_cv_c_dot_previous" = "yes"
13184 asm_func_trailer
="\\n\\t.previous"
13186 if test "$ac_cv_c_cfi_support" = "yes"
13188 asm_func_header
="$asm_func_header.cfi_startproc\\n\\t"
13189 asm_func_trailer
="\\n\\t.cfi_endproc$asm_func_trailer"
13191 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
13193 UNWINDFLAGS
=-fasynchronous-unwind-tables
13196 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
13200 asm_func_code
="$asm_func_header\" code \"$asm_func_trailer"
13203 if test "$ac_cv_c_asm_outside_funcs" = "yes"
13205 cat >>confdefs.h
<<_ACEOF
13206 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
13210 cat >>confdefs.h
<<_ACEOF
13211 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
13216 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
13219 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
13229 LDPATH
="PATH=\"\$(TOOLSDIR)/libs/wine:\$\$PATH\""
13234 LDPATH
="LD_LIBRARY_PATH=\"\$(TOOLSDIR)/libs/wine:\$\$LD_LIBRARY_PATH\""
13240 test "x$enable_win64" != "xyes" || MAIN_BINARY
="wine64"
13245 *i
[3456789]86*) EXTRA_BINARIES
="wine-preloader"
13247 x86_64
*) EXTRA_BINARIES
="wine64-preloader"
13254 ac_save_CFLAGS
="$CFLAGS"
13255 CFLAGS
="$CFLAGS $BUILTINFLAG"
13329 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13330 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13331 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13332 cat >>confdefs.h
<<_ACEOF
13333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13339 CFLAGS
="$ac_save_CFLAGS"
13341 if test "$ac_cv_func_dlopen" = no
13343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13344 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13345 if ${ac_cv_lib_dl_dlopen+:} false
; then :
13346 $as_echo_n "(cached) " >&6
13348 ac_check_lib_save_LIBS
=$LIBS
13350 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13351 /* end confdefs.h. */
13353 /* Override any GCC internal prototype to avoid an error.
13354 Use char because int might match the return type of a GCC
13355 builtin and then its argument prototype would still apply. */
13368 if ac_fn_c_try_link
"$LINENO"; then :
13369 ac_cv_lib_dl_dlopen
=yes
13371 ac_cv_lib_dl_dlopen
=no
13373 rm -f core conftest.err conftest.
$ac_objext \
13374 conftest
$ac_exeext conftest.
$ac_ext
13375 LIBS
=$ac_check_lib_save_LIBS
13377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13378 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13379 if test "x$ac_cv_lib_dl_dlopen" = xyes
; then :
13380 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
13386 ac_wine_check_funcs_save_LIBS
="$LIBS"
13387 LIBS
="$LIBS $LIBDL"
13388 for ac_func
in dladdr
13390 ac_fn_c_check_func
"$LINENO" "dladdr" "ac_cv_func_dladdr"
13391 if test "x$ac_cv_func_dladdr" = xyes
; then :
13392 cat >>confdefs.h
<<_ACEOF
13393 #define HAVE_DLADDR 1
13399 LIBS
="$ac_wine_check_funcs_save_LIBS"
13401 if test "$ac_cv_func_poll" = no
13403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
13404 $as_echo_n "checking for poll in -lpoll... " >&6; }
13405 if ${ac_cv_lib_poll_poll+:} false
; then :
13406 $as_echo_n "(cached) " >&6
13408 ac_check_lib_save_LIBS
=$LIBS
13409 LIBS
="-lpoll $LIBS"
13410 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13411 /* end confdefs.h. */
13413 /* Override any GCC internal prototype to avoid an error.
13414 Use char because int might match the return type of a GCC
13415 builtin and then its argument prototype would still apply. */
13428 if ac_fn_c_try_link
"$LINENO"; then :
13429 ac_cv_lib_poll_poll
=yes
13431 ac_cv_lib_poll_poll
=no
13433 rm -f core conftest.err conftest.
$ac_objext \
13434 conftest
$ac_exeext conftest.
$ac_ext
13435 LIBS
=$ac_check_lib_save_LIBS
13437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
13438 $as_echo "$ac_cv_lib_poll_poll" >&6; }
13439 if test "x$ac_cv_lib_poll_poll" = xyes
; then :
13440 $as_echo "#define HAVE_POLL 1" >>confdefs.h
13447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13448 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13449 if ${ac_cv_search_gethostbyname+:} false
; then :
13450 $as_echo_n "(cached) " >&6
13452 ac_func_search_save_LIBS
=$LIBS
13453 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13456 /* Override any GCC internal prototype to avoid an error.
13457 Use char because int might match the return type of a GCC
13458 builtin and then its argument prototype would still apply. */
13462 char gethostbyname ();
13466 return gethostbyname ();
13471 for ac_lib
in '' nsl
; do
13472 if test -z "$ac_lib"; then
13473 ac_res
="none required"
13476 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13478 if ac_fn_c_try_link
"$LINENO"; then :
13479 ac_cv_search_gethostbyname
=$ac_res
13481 rm -f core conftest.err conftest.
$ac_objext \
13483 if ${ac_cv_search_gethostbyname+:} false
; then :
13487 if ${ac_cv_search_gethostbyname+:} false
; then :
13490 ac_cv_search_gethostbyname
=no
13492 rm conftest.
$ac_ext
13493 LIBS
=$ac_func_search_save_LIBS
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13496 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13497 ac_res
=$ac_cv_search_gethostbyname
13498 if test "$ac_res" != no
; then :
13499 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
13505 $as_echo_n "checking for library containing connect... " >&6; }
13506 if ${ac_cv_search_connect+:} false
; then :
13507 $as_echo_n "(cached) " >&6
13509 ac_func_search_save_LIBS
=$LIBS
13510 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13511 /* end confdefs.h. */
13513 /* Override any GCC internal prototype to avoid an error.
13514 Use char because int might match the return type of a GCC
13515 builtin and then its argument prototype would still apply. */
13528 for ac_lib
in '' socket
; do
13529 if test -z "$ac_lib"; then
13530 ac_res
="none required"
13533 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13535 if ac_fn_c_try_link
"$LINENO"; then :
13536 ac_cv_search_connect
=$ac_res
13538 rm -f core conftest.err conftest.
$ac_objext \
13540 if ${ac_cv_search_connect+:} false
; then :
13544 if ${ac_cv_search_connect+:} false
; then :
13547 ac_cv_search_connect
=no
13549 rm conftest.
$ac_ext
13550 LIBS
=$ac_func_search_save_LIBS
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
13553 $as_echo "$ac_cv_search_connect" >&6; }
13554 ac_res
=$ac_cv_search_connect
13555 if test "$ac_res" != no
; then :
13556 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
13562 $as_echo_n "checking for library containing inet_aton... " >&6; }
13563 if ${ac_cv_search_inet_aton+:} false
; then :
13564 $as_echo_n "(cached) " >&6
13566 ac_func_search_save_LIBS
=$LIBS
13567 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13580 return inet_aton ();
13585 for ac_lib
in '' resolv
; do
13586 if test -z "$ac_lib"; then
13587 ac_res
="none required"
13590 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13592 if ac_fn_c_try_link
"$LINENO"; then :
13593 ac_cv_search_inet_aton
=$ac_res
13595 rm -f core conftest.err conftest.
$ac_objext \
13597 if ${ac_cv_search_inet_aton+:} false
; then :
13601 if ${ac_cv_search_inet_aton+:} false
; then :
13604 ac_cv_search_inet_aton
=no
13606 rm conftest.
$ac_ext
13607 LIBS
=$ac_func_search_save_LIBS
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
13610 $as_echo "$ac_cv_search_inet_aton" >&6; }
13611 ac_res
=$ac_cv_search_inet_aton
13612 if test "$ac_res" != no
; then :
13613 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13632 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13633 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13634 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13635 cat >>confdefs.h
<<_ACEOF
13636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
13645 $as_echo_n "checking for library containing clock_gettime... " >&6; }
13646 if ${ac_cv_search_clock_gettime+:} false
; then :
13647 $as_echo_n "(cached) " >&6
13649 ac_func_search_save_LIBS
=$LIBS
13650 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13651 /* end confdefs.h. */
13653 /* Override any GCC internal prototype to avoid an error.
13654 Use char because int might match the return type of a GCC
13655 builtin and then its argument prototype would still apply. */
13659 char clock_gettime ();
13663 return clock_gettime ();
13668 for ac_lib
in '' rt
; do
13669 if test -z "$ac_lib"; then
13670 ac_res
="none required"
13673 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
13675 if ac_fn_c_try_link
"$LINENO"; then :
13676 ac_cv_search_clock_gettime
=$ac_res
13678 rm -f core conftest.err conftest.
$ac_objext \
13680 if ${ac_cv_search_clock_gettime+:} false
; then :
13684 if ${ac_cv_search_clock_gettime+:} false
; then :
13687 ac_cv_search_clock_gettime
=no
13689 rm conftest.
$ac_ext
13690 LIBS
=$ac_func_search_save_LIBS
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
13693 $as_echo "$ac_cv_search_clock_gettime" >&6; }
13694 ac_res
=$ac_cv_search_clock_gettime
13695 if test "$ac_res" != no
; then :
13696 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
13698 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
13700 test "$ac_res" = "none required" || LIBRT
="$ac_res"
13708 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
13710 ac_fn_c_check_type
"$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
13712 if test "x$ac_cv_type_LDAPSortKey" = xyes
; then :
13713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
13714 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
13715 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false
; then :
13716 $as_echo_n "(cached) " >&6
13718 ac_check_lib_save_LIBS
=$LIBS
13719 LIBS
="-lldap_r $LIBPTHREAD $LIBS"
13720 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13721 /* end confdefs.h. */
13723 /* Override any GCC internal prototype to avoid an error.
13724 Use char because int might match the return type of a GCC
13725 builtin and then its argument prototype would still apply. */
13729 char ldap_initialize ();
13733 return ldap_initialize ();
13738 if ac_fn_c_try_link
"$LINENO"; then :
13739 ac_cv_lib_ldap_r_ldap_initialize
=yes
13741 ac_cv_lib_ldap_r_ldap_initialize
=no
13743 rm -f core conftest.err conftest.
$ac_objext \
13744 conftest
$ac_exeext conftest.
$ac_ext
13745 LIBS
=$ac_check_lib_save_LIBS
13747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
13748 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
13749 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes
; then :
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
13751 $as_echo_n "checking for ber_init in -llber... " >&6; }
13752 if ${ac_cv_lib_lber_ber_init+:} false
; then :
13753 $as_echo_n "(cached) " >&6
13755 ac_check_lib_save_LIBS
=$LIBS
13756 LIBS
="-llber $LIBPTHREAD $LIBS"
13757 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13758 /* end confdefs.h. */
13760 /* Override any GCC internal prototype to avoid an error.
13761 Use char because int might match the return type of a GCC
13762 builtin and then its argument prototype would still apply. */
13770 return ber_init ();
13775 if ac_fn_c_try_link
"$LINENO"; then :
13776 ac_cv_lib_lber_ber_init
=yes
13778 ac_cv_lib_lber_ber_init
=no
13780 rm -f core conftest.err conftest.
$ac_objext \
13781 conftest
$ac_exeext conftest.
$ac_ext
13782 LIBS
=$ac_check_lib_save_LIBS
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
13785 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
13786 if test "x$ac_cv_lib_lber_ber_init" = xyes
; then :
13788 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
13790 LDAPLIBS
="-lldap_r -llber"
13797 ac_wine_check_funcs_save_LIBS
="$LIBS"
13798 LIBS
="$LIBS $LDAPLIBS $LIBPTHREAD"
13800 ldap_count_references \
13801 ldap_first_reference \
13802 ldap_next_reference \
13803 ldap_parse_reference \
13804 ldap_parse_sort_control \
13805 ldap_parse_sortresponse_control \
13806 ldap_parse_vlv_control \
13807 ldap_parse_vlvresponse_control
13809 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
13810 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
13811 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
13812 cat >>confdefs.h
<<_ACEOF
13813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
13819 LIBS
="$ac_wine_check_funcs_save_LIBS"
13821 if test "x$LDAPLIBS" = "x"; then :
13822 case "x$with_ldap" in
13823 x
) as_fn_append wine_notices
"|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
13825 *) as_fn_error $?
"libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
13826 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
13831 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
13832 if ${wine_cv_one_arg_mkdir+:} false
; then :
13833 $as_echo_n "(cached) " >&6
13835 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13836 /* end confdefs.h. */
13837 #include <sys/stat.h>
13846 if ac_fn_c_try_compile
"$LINENO"; then :
13847 wine_cv_one_arg_mkdir
=yes
13849 wine_cv_one_arg_mkdir
=no
13851 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
13854 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
13855 if test "$wine_cv_one_arg_mkdir" = "yes"
13858 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
13863 $as_echo_n "checking for sched_setaffinity... " >&6; }
13864 if ${wine_cv_have_sched_setaffinity+:} false
; then :
13865 $as_echo_n "(cached) " >&6
13867 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13868 /* end confdefs.h. */
13869 #define _GNU_SOURCE
13874 sched_setaffinity(0, 0, 0);
13879 if ac_fn_c_try_link
"$LINENO"; then :
13880 wine_cv_have_sched_setaffinity
=yes
13882 wine_cv_have_sched_setaffinity
=no
13884 rm -f core conftest.err conftest.
$ac_objext \
13885 conftest
$ac_exeext conftest.
$ac_ext
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
13888 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
13889 if test "$wine_cv_have_sched_setaffinity" = "yes"
13892 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
13897 $as_echo_n "checking for fallocate... " >&6; }
13898 if ${wine_cv_have_fallocate+:} false
; then :
13899 $as_echo_n "(cached) " >&6
13901 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13903 #define _GNU_SOURCE
13908 fallocate(-1, 0, 0, 0);
13913 if ac_fn_c_try_link
"$LINENO"; then :
13914 wine_cv_have_fallocate
=yes
13916 wine_cv_have_fallocate
=no
13918 rm -f core conftest.err conftest.
$ac_objext \
13919 conftest
$ac_exeext conftest.
$ac_ext
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
13922 $as_echo "$wine_cv_have_fallocate" >&6; }
13923 if test "$wine_cv_have_fallocate" = "yes"
13926 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13932 $as_echo_n "checking for inline... " >&6; }
13933 if ${ac_cv_c_inline+:} false
; then :
13934 $as_echo_n "(cached) " >&6
13937 for ac_kw
in inline __inline__ __inline
; do
13938 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
13939 /* end confdefs.h. */
13940 #ifndef __cplusplus
13942 static $ac_kw foo_t static_foo () {return 0; }
13943 $ac_kw foo_t foo () {return 0; }
13947 if ac_fn_c_try_compile
"$LINENO"; then :
13948 ac_cv_c_inline
=$ac_kw
13950 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
13951 test "$ac_cv_c_inline" != no
&& break
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
13956 $as_echo "$ac_cv_c_inline" >&6; }
13958 case $ac_cv_c_inline in
13961 case $ac_cv_c_inline in
13963 *) ac_val
=$ac_cv_c_inline;;
13965 cat >>confdefs.h
<<_ACEOF
13966 #ifndef __cplusplus
13967 #define inline $ac_val
13973 ac_fn_c_check_type
"$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
13974 if test "x$ac_cv_type_mode_t" = xyes
; then :
13976 cat >>confdefs.h
<<_ACEOF
13977 #define HAVE_MODE_T 1
13982 ac_fn_c_check_type
"$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
13983 if test "x$ac_cv_type_off_t" = xyes
; then :
13985 cat >>confdefs.h
<<_ACEOF
13986 #define HAVE_OFF_T 1
13991 ac_fn_c_check_type
"$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
13992 if test "x$ac_cv_type_pid_t" = xyes
; then :
13994 cat >>confdefs.h
<<_ACEOF
13995 #define HAVE_PID_T 1
14000 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
14001 if test "x$ac_cv_type_size_t" = xyes
; then :
14003 cat >>confdefs.h
<<_ACEOF
14004 #define HAVE_SIZE_T 1
14009 ac_fn_c_check_type
"$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
14010 if test "x$ac_cv_type_ssize_t" = xyes
; then :
14012 cat >>confdefs.h
<<_ACEOF
14013 #define HAVE_SSIZE_T 1
14018 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
14019 if test "x$ac_cv_type_long_long" = xyes
; then :
14021 cat >>confdefs.h
<<_ACEOF
14022 #define HAVE_LONG_LONG 1
14027 ac_fn_c_check_type
"$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
14028 if test "x$ac_cv_type_fsblkcnt_t" = xyes
; then :
14030 cat >>confdefs.h
<<_ACEOF
14031 #define HAVE_FSBLKCNT_T 1
14036 ac_fn_c_check_type
"$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
14037 if test "x$ac_cv_type_fsfilcnt_t" = xyes
; then :
14039 cat >>confdefs.h
<<_ACEOF
14040 #define HAVE_FSFILCNT_T 1
14046 ac_fn_c_check_type
"$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
14047 #include <signal.h>
14049 if test "x$ac_cv_type_sigset_t" = xyes
; then :
14051 cat >>confdefs.h
<<_ACEOF
14052 #define HAVE_SIGSET_T 1
14058 ac_fn_c_check_type
"$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
14060 if test "x$ac_cv_type_request_sense" = xyes
; then :
14062 cat >>confdefs.h
<<_ACEOF
14063 #define HAVE_REQUEST_SENSE 1
14070 ac_fn_c_check_type
"$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
14071 #ifdef HAVE_SYS_SOCKET_H
14072 #include <sys/socket.h>
14074 #ifdef HAVE_SYS_SOCKETVAR_H
14075 #include <sys/socketvar.h>
14077 #ifdef HAVE_NET_ROUTE_H
14078 #include <net/route.h>
14080 #ifdef HAVE_NETINET_IN_H
14081 #include <netinet/in.h>
14083 #ifdef HAVE_NETINET_IN_SYSTM_H
14084 #include <netinet/in_systm.h>
14086 #ifdef HAVE_NETINET_IP_H
14087 #include <netinet/ip.h>
14089 #ifdef HAVE_NETINET_IN_PCB_H
14090 #include <netinet/in_pcb.h>
14093 if test "x$ac_cv_type_struct_xinpgen" = xyes
; then :
14095 cat >>confdefs.h
<<_ACEOF
14096 #define HAVE_STRUCT_XINPGEN 1
14103 ac_fn_c_check_member
"$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
14104 #include <linux/input.h>
14107 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes
; then :
14109 cat >>confdefs.h
<<_ACEOF
14110 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
14117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
14118 $as_echo_n "checking for sigaddset... " >&6; }
14119 if ${wine_cv_have_sigaddset+:} false
; then :
14120 $as_echo_n "(cached) " >&6
14122 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14123 /* end confdefs.h. */
14124 #include <signal.h>
14128 sigset_t set; sigaddset(&set,SIGTERM);
14133 if ac_fn_c_try_link
"$LINENO"; then :
14134 wine_cv_have_sigaddset
=yes
14136 wine_cv_have_sigaddset
=no
14138 rm -f core conftest.err conftest.
$ac_objext \
14139 conftest
$ac_exeext conftest.
$ac_ext
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
14142 $as_echo "$wine_cv_have_sigaddset" >&6; }
14143 if test "$wine_cv_have_sigaddset" = "yes"
14146 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
14152 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
14153 if ${wine_cv_linux_gethostbyname_r_6+:} false
; then :
14154 $as_echo_n "(cached) " >&6
14156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14165 struct hostent *result;
14172 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
14173 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
14179 if ac_fn_c_try_link
"$LINENO"; then :
14180 wine_cv_linux_gethostbyname_r_6
=yes
14182 wine_cv_linux_gethostbyname_r_6
=no
14185 rm -f core conftest.err conftest.
$ac_objext \
14186 conftest
$ac_exeext conftest.
$ac_ext
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
14190 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
14191 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
14194 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
14198 if test "$ac_cv_header_linux_joystick_h" = "yes"
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
14201 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
14202 if ${wine_cv_linux_joystick_22_api+:} false
; then :
14203 $as_echo_n "(cached) " >&6
14205 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14206 /* end confdefs.h. */
14208 #include <sys/ioctl.h>
14209 #include <sys/types.h>
14210 #include <linux/joystick.h>
14212 struct js_event blub;
14213 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
14214 #error "no 2.2 header"
14225 if ac_fn_c_try_compile
"$LINENO"; then :
14226 wine_cv_linux_joystick_22_api
=yes
14228 wine_cv_linux_joystick_22_api
=no
14230 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
14233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
14234 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
14235 if test "$wine_cv_linux_joystick_22_api" = "yes"
14238 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
14244 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
14245 #ifdef HAVE_SYS_PARAM_H
14246 # include <sys/param.h>
14248 #ifdef HAVE_SYS_MOUNT_H
14249 # include <sys/mount.h>
14251 #ifdef HAVE_SYS_VFS_H
14252 # include <sys/vfs.h>
14254 #ifdef HAVE_SYS_STATFS_H
14255 # include <sys/statfs.h>
14258 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes
; then :
14260 cat >>confdefs.h
<<_ACEOF
14261 #define HAVE_STRUCT_STATFS_F_BFREE 1
14266 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
14267 #ifdef HAVE_SYS_PARAM_H
14268 # include <sys/param.h>
14270 #ifdef HAVE_SYS_MOUNT_H
14271 # include <sys/mount.h>
14273 #ifdef HAVE_SYS_VFS_H
14274 # include <sys/vfs.h>
14276 #ifdef HAVE_SYS_STATFS_H
14277 # include <sys/statfs.h>
14280 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes
; then :
14282 cat >>confdefs.h
<<_ACEOF
14283 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
14288 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
14289 #ifdef HAVE_SYS_PARAM_H
14290 # include <sys/param.h>
14292 #ifdef HAVE_SYS_MOUNT_H
14293 # include <sys/mount.h>
14295 #ifdef HAVE_SYS_VFS_H
14296 # include <sys/vfs.h>
14298 #ifdef HAVE_SYS_STATFS_H
14299 # include <sys/statfs.h>
14302 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes
; then :
14304 cat >>confdefs.h
<<_ACEOF
14305 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
14310 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
14311 #ifdef HAVE_SYS_PARAM_H
14312 # include <sys/param.h>
14314 #ifdef HAVE_SYS_MOUNT_H
14315 # include <sys/mount.h>
14317 #ifdef HAVE_SYS_VFS_H
14318 # include <sys/vfs.h>
14320 #ifdef HAVE_SYS_STATFS_H
14321 # include <sys/statfs.h>
14324 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes
; then :
14326 cat >>confdefs.h
<<_ACEOF
14327 #define HAVE_STRUCT_STATFS_F_FFREE 1
14332 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
14333 #ifdef HAVE_SYS_PARAM_H
14334 # include <sys/param.h>
14336 #ifdef HAVE_SYS_MOUNT_H
14337 # include <sys/mount.h>
14339 #ifdef HAVE_SYS_VFS_H
14340 # include <sys/vfs.h>
14342 #ifdef HAVE_SYS_STATFS_H
14343 # include <sys/statfs.h>
14346 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes
; then :
14348 cat >>confdefs.h
<<_ACEOF
14349 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
14354 ac_fn_c_check_member
"$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
14355 #ifdef HAVE_SYS_PARAM_H
14356 # include <sys/param.h>
14358 #ifdef HAVE_SYS_MOUNT_H
14359 # include <sys/mount.h>
14361 #ifdef HAVE_SYS_VFS_H
14362 # include <sys/vfs.h>
14364 #ifdef HAVE_SYS_STATFS_H
14365 # include <sys/statfs.h>
14368 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes
; then :
14370 cat >>confdefs.h
<<_ACEOF
14371 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
14378 ac_fn_c_check_member
"$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
14379 #include <sys/statvfs.h>
14382 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes
; then :
14384 cat >>confdefs.h
<<_ACEOF
14385 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
14392 ac_fn_c_check_member
"$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
14393 #include <dirent.h>
14396 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes
; then :
14398 cat >>confdefs.h
<<_ACEOF
14399 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
14406 ac_fn_c_check_member
"$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
14407 #ifdef HAVE_SYS_SOCKET_H
14408 # include <sys/socket.h>
14410 #ifdef HAVE_SYS_UN_H
14411 # include <sys/un.h>
14414 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
; then :
14416 cat >>confdefs.h
<<_ACEOF
14417 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
14422 ac_fn_c_check_member
"$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
14423 #ifdef HAVE_SYS_SOCKET_H
14424 # include <sys/socket.h>
14426 #ifdef HAVE_SYS_UN_H
14427 # include <sys/un.h>
14430 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes
; then :
14432 cat >>confdefs.h
<<_ACEOF
14433 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
14438 ac_fn_c_check_member
"$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
14439 #ifdef HAVE_SYS_SOCKET_H
14440 # include <sys/socket.h>
14442 #ifdef HAVE_SYS_UN_H
14443 # include <sys/un.h>
14446 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
; then :
14448 cat >>confdefs.h
<<_ACEOF
14449 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
14456 ac_fn_c_check_member
"$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
14457 #ifdef HAVE_SCSI_SG_H
14458 #include <scsi/sg.h>
14461 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
; then :
14463 cat >>confdefs.h
<<_ACEOF
14464 #define HAVE_SCSIREQ_T_CMD 1
14469 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>
14470 #ifdef HAVE_SCSI_SG_H
14471 #include <scsi/sg.h>
14474 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
; then :
14476 cat >>confdefs.h
<<_ACEOF
14477 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
14484 ac_fn_c_check_member
"$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
14486 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
; then :
14488 cat >>confdefs.h
<<_ACEOF
14489 #define HAVE_SIGINFO_T_SI_FD 1
14496 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
14497 #ifdef HAVE_SYS_MTIO_H
14498 #include <sys/mtio.h>
14501 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
; then :
14503 cat >>confdefs.h
<<_ACEOF
14504 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
14509 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
14510 #ifdef HAVE_SYS_MTIO_H
14511 #include <sys/mtio.h>
14514 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
; then :
14516 cat >>confdefs.h
<<_ACEOF
14517 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
14522 ac_fn_c_check_member
"$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
14523 #ifdef HAVE_SYS_MTIO_H
14524 #include <sys/mtio.h>
14527 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
; then :
14529 cat >>confdefs.h
<<_ACEOF
14530 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
14537 ac_fn_c_check_member
"$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
14538 #include <getopt.h>
14541 if test "x$ac_cv_member_struct_option_name" = xyes
; then :
14543 cat >>confdefs.h
<<_ACEOF
14544 #define HAVE_STRUCT_OPTION_NAME 1
14551 ac_fn_c_check_member
"$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
14552 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes
; then :
14554 cat >>confdefs.h
<<_ACEOF
14555 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
14560 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
14561 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
; then :
14563 cat >>confdefs.h
<<_ACEOF
14564 #define HAVE_STRUCT_STAT_ST_MTIM 1
14569 ac_fn_c_check_member
"$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
14570 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
; then :
14572 cat >>confdefs.h
<<_ACEOF
14573 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
14578 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
14579 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
; then :
14581 cat >>confdefs.h
<<_ACEOF
14582 #define HAVE_STRUCT_STAT_ST_CTIM 1
14587 ac_fn_c_check_member
"$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
14588 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
; then :
14590 cat >>confdefs.h
<<_ACEOF
14591 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
14596 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
14597 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
; then :
14599 cat >>confdefs.h
<<_ACEOF
14600 #define HAVE_STRUCT_STAT_ST_ATIM 1
14605 ac_fn_c_check_member
"$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
14606 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
; then :
14608 cat >>confdefs.h
<<_ACEOF
14609 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
14614 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
14615 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
; then :
14617 cat >>confdefs.h
<<_ACEOF
14618 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
14623 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
14624 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
; then :
14626 cat >>confdefs.h
<<_ACEOF
14627 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
14632 ac_fn_c_check_member
"$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
14633 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
; then :
14635 cat >>confdefs.h
<<_ACEOF
14636 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
14641 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
14642 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
; then :
14644 cat >>confdefs.h
<<_ACEOF
14645 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
14650 ac_fn_c_check_member
"$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
14651 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
; then :
14653 cat >>confdefs.h
<<_ACEOF
14654 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
14661 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
14662 #include <sys/types.h>
14664 #ifdef HAVE_NETINET_IN_H
14665 #include <netinet/in.h>
14668 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
; then :
14670 cat >>confdefs.h
<<_ACEOF
14671 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
14678 ac_fn_c_check_member
"$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
14679 #include <sys/types.h>
14681 #ifdef HAVE_NETINET_IN_H
14682 # include <netinet/in.h>
14684 #ifdef HAVE_ARPA_NAMESER_H
14685 # include <arpa/nameser.h>
14688 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes
; then :
14690 cat >>confdefs.h
<<_ACEOF
14691 #define HAVE_NS_MSG__MSG_PTR 1
14698 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
14699 #include <sys/types.h>
14701 #ifdef HAVE_NETINET_IP_H
14702 #include <netinet/ip.h>
14704 #ifdef HAVE_NETINET_IP_ICMP_H
14705 #include <netinet/ip_icmp.h>
14707 #ifdef HAVE_NETINET_ICMP_VAR_H
14708 #include <netinet/icmp_var.h>
14711 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes
; then :
14713 cat >>confdefs.h
<<_ACEOF
14714 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
14721 ac_fn_c_check_member
"$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
14722 #include <sys/types.h>
14724 #ifdef HAVE_ALIAS_H
14727 #ifdef HAVE_SYS_SOCKET_H
14728 #include <sys/socket.h>
14730 #ifdef HAVE_SYS_SOCKETVAR_H
14731 #include <sys/socketvar.h>
14733 #ifdef HAVE_SYS_TIMEOUT_H
14734 #include <sys/timeout.h>
14736 #ifdef HAVE_NETINET_IN_H
14737 #include <netinet/in.h>
14739 #ifdef HAVE_NETINET_IN_SYSTM_H
14740 #include <netinet/in_systm.h>
14742 #ifdef HAVE_NETINET_IP_H
14743 #include <netinet/ip.h>
14745 #ifdef HAVE_NETINET_IP_VAR_H
14746 #include <netinet/ip_var.h>
14748 #ifdef HAVE_NETINET_IP_ICMP_H
14749 #include <netinet/ip_icmp.h>
14751 #ifdef HAVE_NETINET_ICMP_VAR_H
14752 #include <netinet/icmp_var.h>
14755 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes
; then :
14757 cat >>confdefs.h
<<_ACEOF
14758 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
14765 ac_fn_c_check_member
"$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
14766 #include <sys/types.h>
14768 #ifdef HAVE_SYS_SOCKETVAR_H
14769 #include <sys/socketvar.h>
14771 #ifdef HAVE_NETINET_IN_H
14772 #include <netinet/in.h>
14774 #ifdef HAVE_NETINET_IP_VAR_H
14775 #include <netinet/ip_var.h>
14778 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
; then :
14780 cat >>confdefs.h
<<_ACEOF
14781 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
14788 ac_fn_c_check_member
"$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
14789 #include <netinet/ip_var.h>
14792 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
; then :
14794 cat >>confdefs.h
<<_ACEOF
14795 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
14802 ac_fn_c_check_member
"$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
14803 #include <sys/types.h>
14805 #ifdef HAVE_SYS_SOCKETVAR_H
14806 #include <sys/socketvar.h>
14808 #ifdef HAVE_NETINET_IN_H
14809 #include <netinet/in.h>
14811 #ifdef HAVE_NETINET_TCP_H
14812 #include <netinet/tcp.h>
14814 #ifdef HAVE_NETINET_TCP_VAR_H
14815 #include <netinet/tcp_var.h>
14818 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
; then :
14820 cat >>confdefs.h
<<_ACEOF
14821 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
14828 ac_fn_c_check_member
"$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
14829 #include <netinet/tcp_var.h>
14832 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
; then :
14834 cat >>confdefs.h
<<_ACEOF
14835 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
14842 ac_fn_c_check_member
"$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
14843 #include <sys/types.h>
14845 #ifdef HAVE_NETINET_IN_H
14846 #include <netinet/in.h>
14848 #ifdef HAVE_NETINET_IP_VAR_H
14849 #include <netinet/ip_var.h>
14851 #ifdef HAVE_NETINET_UDP_H
14852 #include <netinet/udp.h>
14854 #ifdef HAVE_NETINET_UDP_VAR_H
14855 #include <netinet/udp_var.h>
14858 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
; then :
14860 cat >>confdefs.h
<<_ACEOF
14861 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
14868 ac_fn_c_check_member
"$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
14869 #include <sys/types.h>
14871 #ifdef HAVE_NET_IF_H
14872 # include <net/if.h>
14875 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
; then :
14877 cat >>confdefs.h
<<_ACEOF
14878 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
14885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
14886 $as_echo_n "checking for timezone variable... " >&6; }
14887 if ${ac_cv_have_timezone+:} false
; then :
14888 $as_echo_n "(cached) " >&6
14890 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14901 if ac_fn_c_try_link
"$LINENO"; then :
14902 ac_cv_have_timezone
="yes"
14904 ac_cv_have_timezone
="no"
14906 rm -f core conftest.err conftest.
$ac_objext \
14907 conftest
$ac_exeext conftest.
$ac_ext
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
14910 $as_echo "$ac_cv_have_timezone" >&6; }
14911 if test "$ac_cv_have_timezone" = "yes"
14914 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
14918 $as_echo_n "checking for daylight variable... " >&6; }
14919 if ${ac_cv_have_daylight+:} false
; then :
14920 $as_echo_n "(cached) " >&6
14922 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14933 if ac_fn_c_try_link
"$LINENO"; then :
14934 ac_cv_have_daylight
="yes"
14936 ac_cv_have_daylight
="no"
14938 rm -f core conftest.err conftest.
$ac_objext \
14939 conftest
$ac_exeext conftest.
$ac_ext
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
14942 $as_echo "$ac_cv_have_daylight" >&6; }
14943 if test "$ac_cv_have_daylight" = "yes"
14946 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
14950 ac_save_LIBS
="$LIBS"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
14953 $as_echo_n "checking for isinf... " >&6; }
14954 if ${ac_cv_have_isinf+:} false
; then :
14955 $as_echo_n "(cached) " >&6
14957 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14963 float f = 0.0; return isinf(f)
14968 if ac_fn_c_try_link
"$LINENO"; then :
14969 ac_cv_have_isinf
="yes"
14971 ac_cv_have_isinf
="no"
14973 rm -f core conftest.err conftest.
$ac_objext \
14974 conftest
$ac_exeext conftest.
$ac_ext
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
14977 $as_echo "$ac_cv_have_isinf" >&6; }
14978 if test "$ac_cv_have_isinf" = "yes"
14981 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
14986 $as_echo_n "checking for isnan... " >&6; }
14987 if ${ac_cv_have_isnan+:} false
; then :
14988 $as_echo_n "(cached) " >&6
14990 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14996 float f = 0.0; return isnan(f)
15001 if ac_fn_c_try_link
"$LINENO"; then :
15002 ac_cv_have_isnan
="yes"
15004 ac_cv_have_isnan
="no"
15006 rm -f core conftest.err conftest.
$ac_objext \
15007 conftest
$ac_exeext conftest.
$ac_ext
15009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
15010 $as_echo "$ac_cv_have_isnan" >&6; }
15011 if test "$ac_cv_have_isnan" = "yes"
15014 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
15017 LIBS
="$ac_save_LIBS"
15021 *i
[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
15022 $as_echo_n "checking whether we need to define __i386__... " >&6; }
15023 if ${ac_cv_cpp_def___i386__+:} false
; then :
15024 $as_echo_n "(cached) " >&6
15026 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15027 /* end confdefs.h. */
15032 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15033 $EGREP "yes" >/dev
/null
2>&1; then :
15034 ac_cv_cpp_def___i386__
=yes
15036 ac_cv_cpp_def___i386__
=no
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
15042 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
15043 if test $ac_cv_cpp_def___i386__ = yes; then :
15044 CFLAGS
="$CFLAGS -D__i386__"
15045 LINTFLAGS
="$LINTFLAGS -D__i386__"
15047 *x86_64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
15048 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
15049 if ${ac_cv_cpp_def___x86_64__+:} false
; then :
15050 $as_echo_n "(cached) " >&6
15052 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15053 /* end confdefs.h. */
15058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15059 $EGREP "yes" >/dev
/null
2>&1; then :
15060 ac_cv_cpp_def___x86_64__
=yes
15062 ac_cv_cpp_def___x86_64__
=no
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
15068 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
15069 if test $ac_cv_cpp_def___x86_64__ = yes; then :
15070 CFLAGS
="$CFLAGS -D__x86_64__"
15071 LINTFLAGS
="$LINTFLAGS -D__x86_64__"
15073 *sparc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
15074 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
15075 if ${ac_cv_cpp_def___sparc64__+:} false
; then :
15076 $as_echo_n "(cached) " >&6
15078 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15080 #ifndef __sparc64__
15084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15085 $EGREP "yes" >/dev
/null
2>&1; then :
15086 ac_cv_cpp_def___sparc64__
=yes
15088 ac_cv_cpp_def___sparc64__
=no
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
15094 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
15095 if test $ac_cv_cpp_def___sparc64__ = yes; then :
15096 CFLAGS
="$CFLAGS -D__sparc64__"
15097 LINTFLAGS
="$LINTFLAGS -D__sparc64__"
15099 *sparc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
15100 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
15101 if ${ac_cv_cpp_def___sparc__+:} false
; then :
15102 $as_echo_n "(cached) " >&6
15104 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15110 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15111 $EGREP "yes" >/dev
/null
2>&1; then :
15112 ac_cv_cpp_def___sparc__
=yes
15114 ac_cv_cpp_def___sparc__
=no
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
15120 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
15121 if test $ac_cv_cpp_def___sparc__ = yes; then :
15122 CFLAGS
="$CFLAGS -D__sparc__"
15123 LINTFLAGS
="$LINTFLAGS -D__sparc__"
15125 *powerpc64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
15126 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
15127 if ${ac_cv_cpp_def___powerpc64__+:} false
; then :
15128 $as_echo_n "(cached) " >&6
15130 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15131 /* end confdefs.h. */
15132 #ifndef __powerpc64__
15136 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15137 $EGREP "yes" >/dev
/null
2>&1; then :
15138 ac_cv_cpp_def___powerpc64__
=yes
15140 ac_cv_cpp_def___powerpc64__
=no
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
15146 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
15147 if test $ac_cv_cpp_def___powerpc64__ = yes; then :
15148 CFLAGS
="$CFLAGS -D__powerpc64__"
15149 LINTFLAGS
="$LINTFLAGS -D__powerpc64__"
15151 *powerpc
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
15152 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
15153 if ${ac_cv_cpp_def___powerpc__+:} false
; then :
15154 $as_echo_n "(cached) " >&6
15156 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15158 #ifndef __powerpc__
15162 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15163 $EGREP "yes" >/dev
/null
2>&1; then :
15164 ac_cv_cpp_def___powerpc__
=yes
15166 ac_cv_cpp_def___powerpc__
=no
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
15172 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
15173 if test $ac_cv_cpp_def___powerpc__ = yes; then :
15174 CFLAGS
="$CFLAGS -D__powerpc__"
15175 LINTFLAGS
="$LINTFLAGS -D__powerpc__"
15177 *aarch64
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
15178 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
15179 if ${ac_cv_cpp_def___aarch64__+:} false
; then :
15180 $as_echo_n "(cached) " >&6
15182 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15183 /* end confdefs.h. */
15184 #ifndef __aarch64__
15188 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15189 $EGREP "yes" >/dev
/null
2>&1; then :
15190 ac_cv_cpp_def___aarch64__
=yes
15192 ac_cv_cpp_def___aarch64__
=no
15197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
15198 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
15199 if test $ac_cv_cpp_def___aarch64__ = yes; then :
15200 CFLAGS
="$CFLAGS -D__aarch64__"
15201 LINTFLAGS
="$LINTFLAGS -D__aarch64__"
15203 *arm
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
15204 $as_echo_n "checking whether we need to define __arm__... " >&6; }
15205 if ${ac_cv_cpp_def___arm__+:} false
; then :
15206 $as_echo_n "(cached) " >&6
15208 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15209 /* end confdefs.h. */
15214 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15215 $EGREP "yes" >/dev
/null
2>&1; then :
15216 ac_cv_cpp_def___arm__
=yes
15218 ac_cv_cpp_def___arm__
=no
15223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
15224 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
15225 if test $ac_cv_cpp_def___arm__ = yes; then :
15226 CFLAGS
="$CFLAGS -D__arm__"
15227 LINTFLAGS
="$LINTFLAGS -D__arm__"
15231 case $host_vendor in
15232 *sun
*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
15233 $as_echo_n "checking whether we need to define __sun__... " >&6; }
15234 if ${ac_cv_cpp_def___sun__+:} false
; then :
15235 $as_echo_n "(cached) " >&6
15237 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
15238 /* end confdefs.h. */
15243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15244 $EGREP "yes" >/dev
/null
2>&1; then :
15245 ac_cv_cpp_def___sun__
=yes
15247 ac_cv_cpp_def___sun__
=no
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
15253 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
15254 if test $ac_cv_cpp_def___sun__ = yes; then :
15255 CFLAGS
="$CFLAGS -D__sun__"
15256 LINTFLAGS
="$LINTFLAGS -D__sun__"
15264 ac_config_commands
="$ac_config_commands include/stamp-h"
15267 ALL_MAKEFILE_DEPENDS
="
15268 # Rules automatically generated by configure
15273 Makefile: Makefile.in Make.vars.in Make.rules config.status
15274 @./config.status Make.tmp Makefile"
15277 ALL_TEST_RESOURCES
=""
15280 wine_fn_append_file
()
15282 as_fn_append
$1 " \\$as_nl $2"
15285 wine_fn_append_rule
()
15287 as_fn_append
$1 "$as_nl$2"
15290 wine_fn_has_flag
()
15292 expr ",$2," : ".*,$1,.*" >/dev
/null
15295 wine_fn_all_dir_rules
()
15299 ac_makedep
="\$(MAKEDEP)"
15300 ac_input
=Make.vars.
in:$ac_dir/Makefile.
in
15301 if test $ac_dir != tools
15303 ac_alldeps
="$2 $ac_makedep"
15305 ac_alldeps
="$2 include/config.h"
15308 *.
in) ac_input
=$ac_input:$2 ;;
15309 *) ac_makedep
="$2 $ac_makedep" ;;
15312 wine_fn_append_file ALL_DIRS
$ac_dir
15313 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15314 "__clean__: $ac_dir/__clean__
15315 .PHONY: $ac_dir/__clean__
15316 $ac_dir/__clean__: $ac_dir/Makefile
15317 @cd $ac_dir && \$(MAKE) clean
15318 \$(RM) $ac_dir/Makefile
15319 $ac_dir/Makefile: $ac_dir/Makefile.in Make.vars.in config.status $ac_alldeps
15320 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend
15321 depend: $ac_dir/__depend__
15322 .PHONY: $ac_dir/__depend__
15323 $ac_dir/__depend__: $ac_makedep dummy
15324 @./config.status --file $ac_dir/Makefile:$ac_input && cd $ac_dir && \$(MAKE) depend"
15327 wine_fn_pot_rules
()
15332 test "x$with_gettextpo" = xyes ||
return
15334 if wine_fn_has_flag mc
$ac_flags
15336 wine_fn_append_file ALL_POT_FILES
$ac_dir/msg.pot
15337 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15338 "$ac_dir/msg.pot: $ac_dir/Makefile dummy
15339 @cd $ac_dir && \$(MAKE) msg.pot
15340 $ac_dir/msg.pot: tools/wmc include"
15342 if wine_fn_has_flag po
$ac_flags
15344 wine_fn_append_file ALL_POT_FILES
$ac_dir/rsrc.pot
15345 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15346 "$ac_dir/rsrc.pot: $ac_dir/Makefile dummy
15347 @cd $ac_dir && \$(MAKE) rsrc.pot
15348 $ac_dir/rsrc.pot: tools/wrc include"
15352 wine_fn_config_makefile
()
15358 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15362 wine_fn_all_dir_rules
$ac_dir ${ac_rules:-Make.rules}
15363 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15366 $ac_dir: $ac_dir/Makefile dummy
15367 @cd $ac_dir && \$(MAKE)"
15369 wine_fn_has_flag install-lib
$ac_flags || wine_fn_has_flag install-dev
$ac_flags ||
return
15371 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15372 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15373 $ac_dir/__install__:: $ac_dir
15374 @cd $ac_dir && \$(MAKE) install
15375 $ac_dir/__uninstall__:: $ac_dir/Makefile
15376 @cd $ac_dir && \$(MAKE) uninstall
15377 install:: $ac_dir/__install__
15378 __uninstall__: $ac_dir/__uninstall__"
15380 if wine_fn_has_flag install-lib
$ac_flags
15382 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15383 ".PHONY: $ac_dir/__install-lib__
15384 $ac_dir/__install-lib__:: $ac_dir
15385 @cd $ac_dir && \$(MAKE) install-lib
15386 install-lib:: $ac_dir/__install-lib__"
15389 if wine_fn_has_flag install-dev
$ac_flags
15391 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15392 ".PHONY: $ac_dir/__install-dev
15393 $ac_dir/__install-dev__:: $ac_dir
15394 @cd $ac_dir && \$(MAKE) install-dev
15395 install-dev:: $ac_dir/__install-dev__"
15399 wine_fn_config_lib
()
15403 ac_dir
=dlls
/$ac_name
15404 wine_fn_config_makefile
$ac_dir enable_
$ac_name "$ac_flags" dlls
/Makeimplib.rules
15406 if wine_fn_has_flag install-dev
$ac_flags
15409 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15410 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15411 $ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir)
15412 \$(INSTALL_DATA) $ac_dir/lib$ac_name.a \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15413 $ac_dir/__uninstall__::
15414 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_name.a
15415 install install-dev:: $ac_dir/__install__
15416 __uninstall__: $ac_dir/__uninstall__"
15419 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: $ac_dir"
15420 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: tools/widl tools/winebuild tools/winegcc include"
15423 wine_fn_config_dll
()
15426 ac_dir
=dlls
/$ac_name
15429 ac_implib
=${4:-$ac_name}
15430 ac_file
=$ac_dir/lib
$ac_implib
15432 ac_deps
="tools/widl tools/winebuild tools/winegcc include"
15436 *16) ac_implibflags
=" -m16" ;;
15438 *) ac_dll
=$ac_dll.dll
;;
15441 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" dlls
/Makedll.rules
15443 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15444 test "$ac_enable" != enable_win16 ||
return 0
15445 wine_fn_has_flag implib
$ac_flags && wine_fn_all_dir_rules
$ac_dir dlls
/Makedll.rules
15447 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15448 "$ac_dir: __builddeps__
15449 manpages htmlpages sgmlpages xmlpages:: $ac_dir/Makefile
15450 @cd $ac_dir && \$(MAKE) \$@"
15452 if wine_fn_has_flag install-lib
$ac_flags
15455 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15456 ".PHONY: $ac_dir/__install-lib__ $ac_dir/__uninstall__
15457 install install-lib:: $ac_dir/__install-lib__
15458 __uninstall__: $ac_dir/__uninstall__"
15459 if test -n "$DLLEXT"
15461 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15462 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15463 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT
15464 \$(INSTALL_DATA) $ac_dir/$ac_dll.fake \$(DESTDIR)\$(fakedlldir)/$ac_dll
15465 $ac_dir/__uninstall__::
15466 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_dll"
15468 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15469 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15470 \$(INSTALL_PROGRAM) $ac_dir/$ac_dll \$(DESTDIR)\$(dlldir)/$ac_dll
15471 $ac_dir/__uninstall__::
15472 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_dll"
15476 wine_fn_pot_rules
$ac_dir $ac_flags
15479 if wine_fn_has_flag staticimplib
$ac_flags
15481 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15482 "__builddeps__: $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT
15483 $ac_file.$IMPLIBEXT $ac_file.$STATIC_IMPLIBEXT $ac_file.cross.a: $ac_deps
15484 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile
15485 @cd $ac_dir && \$(MAKE) lib$ac_implib.def
15486 $ac_file.$STATIC_IMPLIBEXT: $ac_dir/Makefile dummy
15487 @cd $ac_dir && \$(MAKE) lib$ac_implib.$STATIC_IMPLIBEXT
15488 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15489 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15490 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15491 $ac_dir/__uninstall__::
15492 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15493 install install-dev:: $ac_dir/__install-dev__
15494 __uninstall__: $ac_dir/__uninstall__"
15496 if test "$IMPLIBEXT" != "$STATIC_IMPLIBEXT"
15498 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15499 "$ac_dir/__install-dev__:: $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir) __builddeps__
15500 \$(INSTALL_DATA) $ac_file.$STATIC_IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT
15501 $ac_dir/__uninstall__::
15502 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$STATIC_IMPLIBEXT"
15505 if test "x$CROSSTEST_DISABLE" = x
15507 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15508 "__builddeps__: $ac_file.cross.a
15509 $ac_file.cross.a: $ac_dir/Makefile dummy
15510 @cd $ac_dir && \$(MAKE) lib$ac_implib.cross.a"
15513 elif wine_fn_has_flag implib
$ac_flags
15515 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15516 "__builddeps__: $ac_file.$IMPLIBEXT
15517 $ac_file.def: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15518 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --def -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15519 $ac_file.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15520 \$(WINEBUILD) \$(TARGETFLAGS)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec
15521 .PHONY: $ac_dir/__install-dev__ $ac_dir/__uninstall__
15522 $ac_dir/__install-dev__:: $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)
15523 \$(INSTALL_DATA) $ac_file.$IMPLIBEXT \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15524 $ac_dir/__uninstall__::
15525 \$(RM) \$(DESTDIR)\$(dlldir)/lib$ac_implib.$IMPLIBEXT
15526 install install-dev:: $ac_dir/__install-dev__
15527 __uninstall__: $ac_dir/__uninstall__"
15528 if test "x$CROSSTEST_DISABLE" = x
15530 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15531 "__builddeps__: $ac_file.cross.a
15532 $ac_file.cross.a: $ac_dir/$ac_name.spec $ac_dir/Makefile \$(WINEBUILD)
15533 \$(WINEBUILD) \$(CROSSTARGET:%=-b %)$ac_implibflags -w --implib -o \$@ --export \$(srcdir)/$ac_dir/$ac_name.spec"
15536 if test "$ac_name" != "$ac_implib"
15538 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15539 "__builddeps__: dlls/lib$ac_implib.$IMPLIBEXT
15540 dlls/lib$ac_implib.$IMPLIBEXT: $ac_file.$IMPLIBEXT
15541 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.$IMPLIBEXT \$@
15543 \$(RM) dlls/lib$ac_implib.$IMPLIBEXT"
15544 if test "x$CROSSTEST_DISABLE" = x
15546 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15547 "__builddeps__: dlls/lib$ac_implib.cross.a
15548 dlls/lib$ac_implib.cross.a: $ac_file.cross.a
15549 \$(RM) \$@ && \$(LN_S) $ac_name/lib$ac_implib.cross.a \$@"
15555 wine_fn_config_program
()
15558 ac_dir
=programs
/$ac_name
15561 ac_program
=$ac_name
15565 *) ac_program
=$ac_program.exe
;;
15568 wine_fn_config_makefile
$ac_dir $ac_enable "$ac_flags" programs
/Makeprog.rules
15570 if eval test \"x\$
"$ac_enable"\" = x
"no"; then :
15573 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15574 "$ac_dir: __builddeps__"
15576 wine_fn_pot_rules
$ac_dir $ac_flags
15578 wine_fn_has_flag
install $ac_flags ||
return
15579 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15580 ".PHONY: $ac_dir/__install__ $ac_dir/__uninstall__
15581 install install-lib:: $ac_dir/__install__
15582 __uninstall__: $ac_dir/__uninstall__"
15584 if test -n "$DLLEXT"
15586 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15587 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(dlldir) \$(DESTDIR)\$(fakedlldir)
15588 \$(INSTALL_PROGRAM) $ac_dir/$ac_program$DLLEXT \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT
15589 \$(INSTALL_DATA) $ac_dir/$ac_program.fake \$(DESTDIR)\$(fakedlldir)/$ac_program
15590 $ac_dir/__uninstall__::
15591 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program$DLLEXT \$(DESTDIR)\$(fakedlldir)/$ac_program"
15593 if test "x$enable_tools" != xno
&& wine_fn_has_flag installbin
$ac_flags
15595 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15596 "$ac_dir/__install__:: tools \$(DESTDIR)\$(bindir)
15597 \$(INSTALL_SCRIPT) tools/wineapploader \$(DESTDIR)\$(bindir)/$ac_name
15598 $ac_dir/__uninstall__::
15599 \$(RM) \$(DESTDIR)\$(bindir)/$ac_name"
15602 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15603 "$ac_dir/__install-lib__:: $ac_dir \$(DESTDIR)\$(dlldir)
15604 \$(INSTALL_PROGRAM) $ac_dir/$ac_program \$(DESTDIR)\$(dlldir)/$ac_program
15605 $ac_dir/__uninstall__::
15606 \$(RM) \$(DESTDIR)\$(dlldir)/$ac_program"
15609 if test "x$enable_tools" != xno
&& wine_fn_has_flag manpage
$ac_flags
15611 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15612 "$ac_dir/__install__:: $ac_dir \$(DESTDIR)\$(mandir)/man\$(prog_manext)
15613 \$(INSTALL_DATA) $ac_dir/$ac_name.man \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)
15614 $ac_dir/__uninstall__::
15615 \$(RM) \$(DESTDIR)\$(mandir)/man\$(prog_manext)/$ac_name.\$(prog_manext)"
15620 wine_fn_config_test
()
15625 wine_fn_append_file ALL_TEST_RESOURCES
$ac_name.res
15626 wine_fn_all_dir_rules
$ac_dir Maketest.rules
15628 if test "x$enable_tests" = xno
; then :
15631 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15634 $ac_dir: $ac_dir/Makefile programs/winetest/Makefile __builddeps__ dummy
15635 @cd $ac_dir && \$(MAKE)
15636 programs/winetest: $ac_dir
15637 check test: $ac_dir/__test__
15638 .PHONY: $ac_dir/__test__
15639 $ac_dir/__test__: dummy
15640 @cd $ac_dir && \$(MAKE) test
15642 \$(RM) $ac_dir/*.ok"
15644 if test "x$CROSSTEST_DISABLE" = x
15646 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15647 "crosstest: $ac_dir/__crosstest__
15648 .PHONY: $ac_dir/__crosstest__
15649 $ac_dir/__crosstest__: $ac_dir/Makefile __builddeps__ dummy
15650 @cd $ac_dir && \$(MAKE) crosstest"
15655 wine_fn_config_tool
()
15659 if test "x$enable_tools" = xno
; then :
15663 wine_fn_config_makefile
$ac_dir enable_tools
$ac_flags
15665 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__tooldeps__: $ac_dir"
15666 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"$ac_dir: libs/port"
15668 tools
/winebuild
) wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(WINEBUILD): $ac_dir" ;;
15672 wine_fn_config_makerules
()
15676 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15677 "$ac_rules: $ac_rules.in $ac_deps config.status
15678 @./config.status $ac_rules
15683 wine_fn_config_symlink
()
15686 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15688 @./config.status $ac_link
15693 if test "x$CROSSTEST_DISABLE" != x
15695 wine_fn_append_rule ALL_MAKEFILE_DEPENDS \
15697 @echo \"crosstest is not supported (mingw not installed?)\" && false"
15699 ac_config_links
="$ac_config_links dlls/shell32/AUTHORS:AUTHORS"
15700 wine_fn_config_symlink dlls
/shell32
/AUTHORS
15701 ac_config_links
="$ac_config_links dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd"
15702 test "$srcdir" = "." || wine_fn_config_symlink dlls
/wineps.drv
/generic.ppd
15703 if test "x$enable_fonts" != xno
; then
15704 ac_config_links
="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
15705 test "$srcdir" = "." || wine_fn_config_symlink fonts
/marlett.ttf
15707 if test "x$enable_fonts" != xno
; then
15708 ac_config_links
="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
15709 test "$srcdir" = "." || wine_fn_config_symlink fonts
/symbol.ttf
15711 if test "x$enable_fonts" != xno
; then
15712 ac_config_links
="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
15713 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahoma.ttf
15715 if test "x$enable_fonts" != xno
; then
15716 ac_config_links
="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
15717 test "$srcdir" = "." || wine_fn_config_symlink fonts
/tahomabd.ttf
15719 ac_config_links
="$ac_config_links po/LINGUAS:po/LINGUAS"
15720 test "$srcdir" = "." || wine_fn_config_symlink po
/LINGUAS
15721 if test "x$enable_tools" != xno
; then
15722 ac_config_links
="$ac_config_links tools/l_intl.nls:tools/l_intl.nls"
15723 test "$srcdir" = "." || wine_fn_config_symlink tools
/l_intl.nls
15725 ac_config_links
="$ac_config_links wine:tools/winewrapper"
15726 wine_fn_config_symlink wine
15727 if test "x$enable_win64" != xno
; then
15728 ac_config_links
="$ac_config_links wine64:tools/winewrapper"
15729 wine_fn_config_symlink wine64
15732 ac_config_commands
="$ac_config_commands dlls/gdi32/dibdrv"
15734 ac_config_commands
="$ac_config_commands dlls/gdi32/enhmfdrv"
15736 ac_config_commands
="$ac_config_commands dlls/gdi32/mfdrv"
15738 ac_config_commands
="$ac_config_commands dlls/kernel32/nls"
15740 ac_config_commands
="$ac_config_commands dlls/user32/resources"
15742 ac_config_commands
="$ac_config_commands dlls/wineps.drv/data"
15744 ac_config_commands
="$ac_config_commands include/wine"
15747 wine_fn_config_makerules Make.rules
15748 MAKE_RULES
=Make.rules
15749 ac_config_files
="$ac_config_files Make.rules"
15751 wine_fn_config_makerules Maketest.rules Make.rules
15752 MAKE_TEST_RULES
=Maketest.rules
15753 ac_config_files
="$ac_config_files Maketest.rules"
15755 wine_fn_config_makerules dlls
/Makedll.rules Make.rules
15756 MAKE_DLL_RULES
=dlls
/Makedll.rules
15757 ac_config_files
="$ac_config_files dlls/Makedll.rules"
15759 wine_fn_config_makerules dlls
/Makeimplib.rules Make.rules
15760 MAKE_IMPLIB_RULES
=dlls
/Makeimplib.rules
15761 ac_config_files
="$ac_config_files dlls/Makeimplib.rules"
15763 wine_fn_config_makerules programs
/Makeprog.rules Make.rules
15764 MAKE_PROG_RULES
=programs
/Makeprog.rules
15765 ac_config_files
="$ac_config_files programs/Makeprog.rules"
15768 wine_fn_config_dll acledit enable_acledit
15769 wine_fn_config_dll aclui enable_aclui implib
15770 wine_fn_config_dll activeds enable_activeds implib
15771 wine_fn_config_dll actxprxy enable_actxprxy
15772 wine_fn_config_lib adsiid
15773 wine_fn_config_dll advapi32 enable_advapi32 implib
15774 wine_fn_config_test dlls
/advapi32
/tests advapi32_test
15775 wine_fn_config_dll advpack enable_advpack implib
15776 wine_fn_config_test dlls
/advpack
/tests advpack_test
15777 wine_fn_config_dll amstream enable_amstream
15778 wine_fn_config_test dlls
/amstream
/tests amstream_test
15779 wine_fn_config_dll api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
15780 wine_fn_config_dll api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
15781 wine_fn_config_dll api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
15782 wine_fn_config_dll api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
15783 wine_fn_config_dll api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
15784 wine_fn_config_dll api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
15785 wine_fn_config_dll api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
15786 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
15787 wine_fn_config_dll api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
15788 wine_fn_config_dll api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
15789 wine_fn_config_dll api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
15790 wine_fn_config_dll api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
15791 wine_fn_config_dll apphelp enable_apphelp
15792 wine_fn_config_test dlls
/apphelp
/tests apphelp_test
15793 wine_fn_config_dll appwiz.cpl enable_appwiz_cpl po
15794 wine_fn_config_dll atl enable_atl implib
15795 wine_fn_config_test dlls
/atl
/tests atl_test
15796 wine_fn_config_dll atl100 enable_atl100 implib
15797 wine_fn_config_test dlls
/atl100
/tests atl100_test
15798 wine_fn_config_dll atl80 enable_atl80 implib
15799 wine_fn_config_test dlls
/atl80
/tests atl80_test
15800 wine_fn_config_dll authz enable_authz
15801 wine_fn_config_dll avicap32 enable_avicap32 implib
15802 wine_fn_config_dll avifil32 enable_avifil32 implib
,po
15803 wine_fn_config_test dlls
/avifil32
/tests avifil32_test
15804 wine_fn_config_dll avifile.dll16 enable_win16
15805 wine_fn_config_dll avrt enable_avrt implib
15806 wine_fn_config_dll bcrypt enable_bcrypt
15807 wine_fn_config_dll browseui enable_browseui po
15808 wine_fn_config_test dlls
/browseui
/tests browseui_test
15809 wine_fn_config_dll cabinet enable_cabinet implib
15810 wine_fn_config_test dlls
/cabinet
/tests cabinet_test
15811 wine_fn_config_dll capi2032 enable_capi2032 implib
15812 wine_fn_config_dll cards enable_cards implib
15813 wine_fn_config_dll cfgmgr32 enable_cfgmgr32 implib
15814 wine_fn_config_dll clusapi enable_clusapi implib
15815 wine_fn_config_dll comcat enable_comcat
15816 wine_fn_config_test dlls
/comcat
/tests comcat_test
15817 wine_fn_config_dll comctl32 enable_comctl32 implib
,po
15818 wine_fn_config_test dlls
/comctl32
/tests comctl32_test
15819 wine_fn_config_dll comdlg32 enable_comdlg32 implib
,po
15820 wine_fn_config_test dlls
/comdlg32
/tests comdlg32_test
15821 wine_fn_config_dll
comm.drv16 enable_win16
15822 wine_fn_config_dll commdlg.dll16 enable_win16
15823 wine_fn_config_dll compobj.dll16 enable_win16
15824 wine_fn_config_dll compstui enable_compstui implib
15825 wine_fn_config_dll credui enable_credui implib
,po
15826 wine_fn_config_test dlls
/credui
/tests credui_test
15827 wine_fn_config_dll crtdll enable_crtdll implib
15828 wine_fn_config_dll crypt32 enable_crypt32 implib
,po
15829 wine_fn_config_test dlls
/crypt32
/tests crypt32_test
15830 wine_fn_config_dll cryptdlg enable_cryptdlg po
15831 wine_fn_config_dll cryptdll enable_cryptdll implib
15832 wine_fn_config_dll cryptnet enable_cryptnet implib
15833 wine_fn_config_test dlls
/cryptnet
/tests cryptnet_test
15834 wine_fn_config_dll cryptui enable_cryptui implib
,po
15835 wine_fn_config_test dlls
/cryptui
/tests cryptui_test
15836 wine_fn_config_dll ctapi32 enable_ctapi32
15837 wine_fn_config_dll ctl3d.dll16 enable_win16
15838 wine_fn_config_dll ctl3d32 enable_ctl3d32 implib
15839 wine_fn_config_dll ctl3dv2.dll16 enable_win16
15840 wine_fn_config_dll d3d10 enable_d3d10 implib
15841 wine_fn_config_test dlls
/d3d10
/tests d3d10_test
15842 wine_fn_config_dll d3d10core enable_d3d10core implib
15843 wine_fn_config_test dlls
/d3d10core
/tests d3d10core_test
15844 wine_fn_config_dll d3d11 enable_d3d11
15845 wine_fn_config_dll d3d8 enable_d3d8 implib
15846 wine_fn_config_test dlls
/d3d
8/tests d3d8_test
15847 wine_fn_config_dll d3d9 enable_d3d9 implib
15848 wine_fn_config_test dlls
/d3d
9/tests d3d9_test
15849 wine_fn_config_dll d3dcompiler_33 enable_d3dcompiler_33
15850 wine_fn_config_dll d3dcompiler_34 enable_d3dcompiler_34
15851 wine_fn_config_dll d3dcompiler_35 enable_d3dcompiler_35
15852 wine_fn_config_dll d3dcompiler_36 enable_d3dcompiler_36
15853 wine_fn_config_dll d3dcompiler_37 enable_d3dcompiler_37
15854 wine_fn_config_dll d3dcompiler_38 enable_d3dcompiler_38
15855 wine_fn_config_dll d3dcompiler_39 enable_d3dcompiler_39
15856 wine_fn_config_dll d3dcompiler_40 enable_d3dcompiler_40
15857 wine_fn_config_dll d3dcompiler_41 enable_d3dcompiler_41
15858 wine_fn_config_dll d3dcompiler_42 enable_d3dcompiler_42
15859 wine_fn_config_dll d3dcompiler_43 enable_d3dcompiler_43 implib d3dcompiler
15860 wine_fn_config_test dlls
/d3dcompiler_43
/tests d3dcompiler_43_test
15861 wine_fn_config_dll d3dim enable_d3dim implib
15862 wine_fn_config_dll d3drm enable_d3drm implib
15863 wine_fn_config_test dlls
/d3drm
/tests d3drm_test
15864 wine_fn_config_dll d3dx10_33 enable_d3dx10_33
15865 wine_fn_config_dll d3dx10_34 enable_d3dx10_34
15866 wine_fn_config_dll d3dx10_35 enable_d3dx10_35
15867 wine_fn_config_dll d3dx10_36 enable_d3dx10_36
15868 wine_fn_config_dll d3dx10_37 enable_d3dx10_37
15869 wine_fn_config_dll d3dx10_38 enable_d3dx10_38
15870 wine_fn_config_dll d3dx10_39 enable_d3dx10_39
15871 wine_fn_config_dll d3dx10_40 enable_d3dx10_40
15872 wine_fn_config_dll d3dx10_41 enable_d3dx10_41
15873 wine_fn_config_dll d3dx10_42 enable_d3dx10_42
15874 wine_fn_config_dll d3dx10_43 enable_d3dx10_43
15875 wine_fn_config_dll d3dx9_24 enable_d3dx9_24
15876 wine_fn_config_dll d3dx9_25 enable_d3dx9_25
15877 wine_fn_config_dll d3dx9_26 enable_d3dx9_26
15878 wine_fn_config_dll d3dx9_27 enable_d3dx9_27
15879 wine_fn_config_dll d3dx9_28 enable_d3dx9_28
15880 wine_fn_config_dll d3dx9_29 enable_d3dx9_29
15881 wine_fn_config_dll d3dx9_30 enable_d3dx9_30
15882 wine_fn_config_dll d3dx9_31 enable_d3dx9_31
15883 wine_fn_config_dll d3dx9_32 enable_d3dx9_32
15884 wine_fn_config_dll d3dx9_33 enable_d3dx9_33
15885 wine_fn_config_dll d3dx9_34 enable_d3dx9_34
15886 wine_fn_config_dll d3dx9_35 enable_d3dx9_35
15887 wine_fn_config_dll d3dx9_36 enable_d3dx9_36 implib d3dx9
15888 wine_fn_config_test dlls
/d3dx9_36
/tests d3dx9_36_test
15889 wine_fn_config_dll d3dx9_37 enable_d3dx9_37
15890 wine_fn_config_dll d3dx9_38 enable_d3dx9_38
15891 wine_fn_config_dll d3dx9_39 enable_d3dx9_39
15892 wine_fn_config_dll d3dx9_40 enable_d3dx9_40
15893 wine_fn_config_dll d3dx9_41 enable_d3dx9_41
15894 wine_fn_config_dll d3dx9_42 enable_d3dx9_42
15895 wine_fn_config_dll d3dx9_43 enable_d3dx9_43
15896 wine_fn_config_dll d3dxof enable_d3dxof implib
15897 wine_fn_config_test dlls
/d3dxof
/tests d3dxof_test
15898 wine_fn_config_dll dbgeng enable_dbgeng implib
15899 wine_fn_config_dll dbghelp enable_dbghelp implib
15900 wine_fn_config_dll dciman32 enable_dciman32 implib
15901 wine_fn_config_dll ddeml.dll16 enable_win16
15902 wine_fn_config_dll ddraw enable_ddraw implib
15903 wine_fn_config_test dlls
/ddraw
/tests ddraw_test
15904 wine_fn_config_dll ddrawex enable_ddrawex
15905 wine_fn_config_test dlls
/ddrawex
/tests ddrawex_test
15906 wine_fn_config_dll devenum enable_devenum po
15907 wine_fn_config_test dlls
/devenum
/tests devenum_test
15908 wine_fn_config_dll dhcpcsvc enable_dhcpcsvc
15909 wine_fn_config_dll dinput enable_dinput implib
,po
,staticimplib
15910 wine_fn_config_test dlls
/dinput
/tests dinput_test
15911 wine_fn_config_dll dinput8 enable_dinput8 implib
15912 wine_fn_config_test dlls
/dinput
8/tests dinput8_test
15913 wine_fn_config_dll dispdib.dll16 enable_win16
15914 wine_fn_config_dll dispex enable_dispex
15915 wine_fn_config_test dlls
/dispex
/tests dispex_test
15916 wine_fn_config_dll display.drv16 enable_win16
15917 wine_fn_config_dll dmband enable_dmband
15918 wine_fn_config_test dlls
/dmband
/tests dmband_test
15919 wine_fn_config_dll dmcompos enable_dmcompos
15920 wine_fn_config_dll dmime enable_dmime
15921 wine_fn_config_test dlls
/dmime
/tests dmime_test
15922 wine_fn_config_dll dmloader enable_dmloader
15923 wine_fn_config_test dlls
/dmloader
/tests dmloader_test
15924 wine_fn_config_dll dmscript enable_dmscript
15925 wine_fn_config_dll dmstyle enable_dmstyle
15926 wine_fn_config_dll dmsynth enable_dmsynth
15927 wine_fn_config_test dlls
/dmsynth
/tests dmsynth_test
15928 wine_fn_config_dll dmusic enable_dmusic
15929 wine_fn_config_test dlls
/dmusic
/tests dmusic_test
15930 wine_fn_config_dll dmusic32 enable_dmusic32 implib
15931 wine_fn_config_dll dnsapi enable_dnsapi implib
15932 wine_fn_config_test dlls
/dnsapi
/tests dnsapi_test
15933 wine_fn_config_dll dplay enable_dplay implib
15934 wine_fn_config_dll dplayx enable_dplayx implib
15935 wine_fn_config_test dlls
/dplayx
/tests dplayx_test
15936 wine_fn_config_dll dpnaddr enable_dpnaddr
15937 wine_fn_config_dll dpnet enable_dpnet implib
15938 wine_fn_config_test dlls
/dpnet
/tests dpnet_test
15939 wine_fn_config_dll dpnhpast enable_dpnhpast
15940 wine_fn_config_dll dpnlobby enable_dpnlobby
15941 wine_fn_config_dll dpwsockx enable_dpwsockx
15942 wine_fn_config_dll drmclien enable_drmclien
15943 wine_fn_config_dll dsound enable_dsound implib
15944 wine_fn_config_test dlls
/dsound
/tests dsound_test
15945 wine_fn_config_dll dssenh enable_dssenh
15946 wine_fn_config_test dlls
/dssenh
/tests dssenh_test
15947 wine_fn_config_dll dswave enable_dswave
15948 wine_fn_config_dll dwmapi enable_dwmapi implib
15949 wine_fn_config_dll dwrite enable_dwrite implib
15950 wine_fn_config_test dlls
/dwrite
/tests dwrite_test
15951 wine_fn_config_dll dxdiagn enable_dxdiagn po
15952 wine_fn_config_test dlls
/dxdiagn
/tests dxdiagn_test
15953 wine_fn_config_lib dxerr8
15954 wine_fn_config_lib dxerr9
15955 wine_fn_config_dll dxgi enable_dxgi implib
15956 wine_fn_config_test dlls
/dxgi
/tests dxgi_test
15957 wine_fn_config_lib dxguid
15958 wine_fn_config_dll explorerframe enable_explorerframe
15959 wine_fn_config_test dlls
/explorerframe
/tests explorerframe_test
15960 wine_fn_config_dll faultrep enable_faultrep implib
15961 wine_fn_config_test dlls
/faultrep
/tests faultrep_test
15962 wine_fn_config_dll fltlib enable_fltlib
15963 wine_fn_config_dll fusion enable_fusion
15964 wine_fn_config_test dlls
/fusion
/tests fusion_test
15965 wine_fn_config_dll fwpuclnt enable_fwpuclnt
15966 wine_fn_config_dll gameux enable_gameux
15967 wine_fn_config_test dlls
/gameux
/tests gameux_test
15968 wine_fn_config_dll gdi.exe16 enable_win16
15969 wine_fn_config_dll gdi32 enable_gdi32 implib
,po
15970 wine_fn_config_test dlls
/gdi32
/tests gdi32_test
15971 wine_fn_config_dll gdiplus enable_gdiplus implib
15972 wine_fn_config_test dlls
/gdiplus
/tests gdiplus_test
15973 wine_fn_config_dll glu32 enable_glu32 implib
15974 wine_fn_config_dll gphoto2.ds enable_gphoto2_ds po
15975 wine_fn_config_dll gpkcsp enable_gpkcsp
15976 wine_fn_config_dll hal enable_hal
15977 wine_fn_config_dll hhctrl.ocx enable_hhctrl_ocx implib
,po htmlhelp
15978 wine_fn_config_dll hid enable_hid implib
15979 wine_fn_config_dll hlink enable_hlink implib
15980 wine_fn_config_test dlls
/hlink
/tests hlink_test
15981 wine_fn_config_dll hnetcfg enable_hnetcfg
15982 wine_fn_config_dll httpapi enable_httpapi
15983 wine_fn_config_dll iccvid enable_iccvid po
15984 wine_fn_config_dll icmp enable_icmp
15985 wine_fn_config_dll ieframe enable_ieframe implib
,po
15986 wine_fn_config_test dlls
/ieframe
/tests ieframe_test
15987 wine_fn_config_dll ifsmgr.vxd enable_win16
15988 wine_fn_config_dll imaadp32.acm enable_imaadp32_acm
15989 wine_fn_config_dll imagehlp enable_imagehlp implib
15990 wine_fn_config_test dlls
/imagehlp
/tests imagehlp_test
15991 wine_fn_config_dll imm.dll16 enable_win16
15992 wine_fn_config_dll imm32 enable_imm32 implib
15993 wine_fn_config_test dlls
/imm32
/tests imm32_test
15994 wine_fn_config_dll inetcomm enable_inetcomm implib
15995 wine_fn_config_test dlls
/inetcomm
/tests inetcomm_test
15996 wine_fn_config_dll inetcpl.cpl enable_inetcpl_cpl po
15997 wine_fn_config_dll inetmib1 enable_inetmib1
15998 wine_fn_config_test dlls
/inetmib
1/tests inetmib1_test
15999 wine_fn_config_dll infosoft enable_infosoft
16000 wine_fn_config_test dlls
/infosoft
/tests infosoft_test
16001 wine_fn_config_dll initpki enable_initpki
16002 wine_fn_config_dll inkobj enable_inkobj
16003 wine_fn_config_dll inseng enable_inseng
16004 wine_fn_config_dll iphlpapi enable_iphlpapi implib
16005 wine_fn_config_test dlls
/iphlpapi
/tests iphlpapi_test
16006 wine_fn_config_dll itircl enable_itircl
16007 wine_fn_config_dll itss enable_itss
16008 wine_fn_config_test dlls
/itss
/tests itss_test
16009 wine_fn_config_dll joy.cpl enable_joy_cpl po
16010 wine_fn_config_dll jscript enable_jscript po
16011 wine_fn_config_test dlls
/jscript
/tests jscript_test
16012 wine_fn_config_dll kernel32 enable_kernel32 implib
,mc
16013 wine_fn_config_test dlls
/kernel32
/tests kernel32_test
16014 wine_fn_config_dll keyboard.drv16 enable_win16
16015 wine_fn_config_dll krnl386.exe16 enable_win16 implib kernel
16016 wine_fn_config_dll ktmw32 enable_ktmw32
16017 wine_fn_config_dll loadperf enable_loadperf implib
16018 wine_fn_config_dll localspl enable_localspl po
16019 wine_fn_config_test dlls
/localspl
/tests localspl_test
16020 wine_fn_config_dll localui enable_localui po
16021 wine_fn_config_test dlls
/localui
/tests localui_test
16022 wine_fn_config_dll lz32 enable_lz32 implib
16023 wine_fn_config_test dlls
/lz32
/tests lz32_test
16024 wine_fn_config_dll lzexpand.dll16 enable_win16
16025 wine_fn_config_dll mapi32 enable_mapi32 implib
,po
16026 wine_fn_config_test dlls
/mapi32
/tests mapi32_test
16027 wine_fn_config_dll mapistub enable_mapistub
16028 wine_fn_config_dll mciavi32 enable_mciavi32
16029 wine_fn_config_dll mcicda enable_mcicda
16030 wine_fn_config_dll mciqtz32 enable_mciqtz32
16031 wine_fn_config_dll mciseq enable_mciseq
16032 wine_fn_config_dll mciwave enable_mciwave
16033 wine_fn_config_dll mgmtapi enable_mgmtapi
16034 wine_fn_config_dll midimap enable_midimap
16035 wine_fn_config_dll mlang enable_mlang implib
16036 wine_fn_config_test dlls
/mlang
/tests mlang_test
16037 wine_fn_config_dll mmcndmgr enable_mmcndmgr
16038 wine_fn_config_test dlls
/mmcndmgr
/tests mmcndmgr_test
16039 wine_fn_config_dll mmdevapi enable_mmdevapi
16040 wine_fn_config_test dlls
/mmdevapi
/tests mmdevapi_test
16041 wine_fn_config_dll mmdevldr.vxd enable_win16
16042 wine_fn_config_dll mmsystem.dll16 enable_win16
16043 wine_fn_config_dll monodebg.vxd enable_win16
16044 wine_fn_config_dll mountmgr.sys enable_mountmgr_sys
16045 wine_fn_config_dll mouse.drv16 enable_win16
16046 wine_fn_config_dll mpr enable_mpr implib
,po
16047 wine_fn_config_test dlls
/mpr
/tests mpr_test
16048 wine_fn_config_dll mprapi enable_mprapi implib
16049 wine_fn_config_dll msacm.dll16 enable_win16
16050 wine_fn_config_dll msacm32.drv enable_msacm32_drv
16051 wine_fn_config_dll msacm32 enable_msacm32 implib
,po
16052 wine_fn_config_test dlls
/msacm32
/tests msacm32_test
16053 wine_fn_config_dll msadp32.acm enable_msadp32_acm
16054 wine_fn_config_dll mscat32 enable_mscat32
16055 wine_fn_config_dll mscms enable_mscms implib
16056 wine_fn_config_test dlls
/mscms
/tests mscms_test
16057 wine_fn_config_dll mscoree enable_mscoree
16058 wine_fn_config_test dlls
/mscoree
/tests mscoree_test
16059 wine_fn_config_dll msctf enable_msctf
16060 wine_fn_config_test dlls
/msctf
/tests msctf_test
16061 wine_fn_config_dll msdaps enable_msdaps
16062 wine_fn_config_dll msdmo enable_msdmo implib
16063 wine_fn_config_dll msftedit enable_msftedit
16064 wine_fn_config_dll msg711.acm enable_msg711_acm
16065 wine_fn_config_dll msgsm32.acm enable_msgsm32_acm
16066 wine_fn_config_dll mshtml.tlb enable_mshtml_tlb
16067 wine_fn_config_dll mshtml enable_mshtml implib
,po
16068 wine_fn_config_test dlls
/mshtml
/tests mshtml_test
16069 wine_fn_config_dll msi enable_msi implib
,po
16070 wine_fn_config_test dlls
/msi
/tests msi_test
16071 wine_fn_config_dll msident enable_msident
16072 wine_fn_config_dll msimg32 enable_msimg32 implib
16073 wine_fn_config_dll msimsg enable_msimsg
16074 wine_fn_config_dll msimtf enable_msimtf
16075 wine_fn_config_dll msisip enable_msisip
16076 wine_fn_config_dll msisys.ocx enable_msisys_ocx
16077 wine_fn_config_dll msls31 enable_msls31
16078 wine_fn_config_dll msnet32 enable_msnet32
16079 wine_fn_config_dll mspatcha enable_mspatcha
16080 wine_fn_config_dll msrle32 enable_msrle32 po
16081 wine_fn_config_dll mssign32 enable_mssign32
16082 wine_fn_config_dll mssip32 enable_mssip32
16083 wine_fn_config_dll mstask enable_mstask
16084 wine_fn_config_test dlls
/mstask
/tests mstask_test
16085 wine_fn_config_dll msvcirt enable_msvcirt
16086 wine_fn_config_dll msvcm80 enable_msvcm80
16087 wine_fn_config_dll msvcm90 enable_msvcm90
16088 wine_fn_config_dll msvcp100 enable_msvcp100
16089 wine_fn_config_test dlls
/msvcp100
/tests msvcp100_test
16090 wine_fn_config_dll msvcp110 enable_msvcp110
16091 wine_fn_config_dll msvcp60 enable_msvcp60
16092 wine_fn_config_test dlls
/msvcp60
/tests msvcp60_test
16093 wine_fn_config_dll msvcp70 enable_msvcp70
16094 wine_fn_config_dll msvcp71 enable_msvcp71
16095 wine_fn_config_dll msvcp80 enable_msvcp80
16096 wine_fn_config_dll msvcp90 enable_msvcp90
16097 wine_fn_config_test dlls
/msvcp90
/tests msvcp90_test
16098 wine_fn_config_dll msvcr100 enable_msvcr100
16099 wine_fn_config_test dlls
/msvcr100
/tests msvcr100_test
16100 wine_fn_config_dll msvcr110 enable_msvcr110
16101 wine_fn_config_dll msvcr70 enable_msvcr70 implib
16102 wine_fn_config_dll msvcr71 enable_msvcr71 implib
16103 wine_fn_config_dll msvcr80 enable_msvcr80
16104 wine_fn_config_dll msvcr90 enable_msvcr90
16105 wine_fn_config_test dlls
/msvcr90
/tests msvcr90_test
16106 wine_fn_config_dll msvcrt enable_msvcrt implib
16107 wine_fn_config_test dlls
/msvcrt
/tests msvcrt_test
16108 wine_fn_config_dll msvcrt20 enable_msvcrt20 implib
16109 wine_fn_config_dll msvcrt40 enable_msvcrt40 implib
16110 wine_fn_config_dll msvcrtd enable_msvcrtd implib
16111 wine_fn_config_test dlls
/msvcrtd
/tests msvcrtd_test
16112 wine_fn_config_dll msvfw32 enable_msvfw32 implib
,po
16113 wine_fn_config_test dlls
/msvfw32
/tests msvfw32_test
16114 wine_fn_config_dll msvidc32 enable_msvidc32 po
16115 wine_fn_config_dll msvideo.dll16 enable_win16
16116 wine_fn_config_dll mswsock enable_mswsock implib
16117 wine_fn_config_dll msxml enable_msxml
16118 wine_fn_config_dll msxml2 enable_msxml2
16119 wine_fn_config_dll msxml3 enable_msxml3
16120 wine_fn_config_test dlls
/msxml
3/tests msxml3_test
16121 wine_fn_config_dll msxml4 enable_msxml4
16122 wine_fn_config_dll msxml6 enable_msxml6
16123 wine_fn_config_dll nddeapi enable_nddeapi implib
16124 wine_fn_config_dll netapi32 enable_netapi32 implib
16125 wine_fn_config_test dlls
/netapi32
/tests netapi32_test
16126 wine_fn_config_dll newdev enable_newdev implib
16127 wine_fn_config_dll normaliz enable_normaliz implib
16128 wine_fn_config_dll npmshtml enable_npmshtml
16129 wine_fn_config_dll ntdll enable_ntdll implib
16130 wine_fn_config_test dlls
/ntdll
/tests ntdll_test
16131 wine_fn_config_dll ntdsapi enable_ntdsapi implib
16132 wine_fn_config_test dlls
/ntdsapi
/tests ntdsapi_test
16133 wine_fn_config_dll ntoskrnl.exe enable_ntoskrnl_exe implib
16134 wine_fn_config_dll ntprint enable_ntprint
16135 wine_fn_config_test dlls
/ntprint
/tests ntprint_test
16136 wine_fn_config_dll objsel enable_objsel
16137 wine_fn_config_dll odbc32 enable_odbc32 implib
16138 wine_fn_config_dll odbccp32 enable_odbccp32 implib
16139 wine_fn_config_test dlls
/odbccp32
/tests odbccp32_test
16140 wine_fn_config_dll odbccu32 enable_odbccu32
16141 wine_fn_config_dll ole2.dll16 enable_win16
16142 wine_fn_config_dll ole2conv.dll16 enable_win16
16143 wine_fn_config_dll ole2disp.dll16 enable_win16
16144 wine_fn_config_dll ole2nls.dll16 enable_win16
16145 wine_fn_config_dll ole2prox.dll16 enable_win16
16146 wine_fn_config_dll ole2thk.dll16 enable_win16
16147 wine_fn_config_dll ole32 enable_ole32 implib
16148 wine_fn_config_test dlls
/ole32
/tests ole32_test
16149 wine_fn_config_dll oleacc enable_oleacc implib
,po
16150 wine_fn_config_test dlls
/oleacc
/tests oleacc_test
16151 wine_fn_config_dll oleaut32 enable_oleaut32 implib
,po
16152 wine_fn_config_test dlls
/oleaut32
/tests oleaut32_test
16153 wine_fn_config_dll olecli.dll16 enable_win16
16154 wine_fn_config_dll olecli32 enable_olecli32 implib
16155 wine_fn_config_dll oledb32 enable_oledb32
16156 wine_fn_config_test dlls
/oledb32
/tests oledb32_test
16157 wine_fn_config_dll oledlg enable_oledlg implib
,po
16158 wine_fn_config_dll olepro32 enable_olepro32 implib
16159 wine_fn_config_dll olesvr.dll16 enable_win16
16160 wine_fn_config_dll olesvr32 enable_olesvr32 implib
16161 wine_fn_config_dll olethk32 enable_olethk32
16162 wine_fn_config_dll openal32 enable_openal32
16163 wine_fn_config_dll opencl enable_opencl
16164 wine_fn_config_dll opengl32 enable_opengl32 implib
16165 wine_fn_config_test dlls
/opengl32
/tests opengl32_test
16166 wine_fn_config_dll pdh enable_pdh implib
16167 wine_fn_config_test dlls
/pdh
/tests pdh_test
16168 wine_fn_config_dll photometadatahandler enable_photometadatahandler
16169 wine_fn_config_dll pidgen enable_pidgen
16170 wine_fn_config_dll powrprof enable_powrprof implib
16171 wine_fn_config_dll printui enable_printui
16172 wine_fn_config_dll propsys enable_propsys implib
16173 wine_fn_config_test dlls
/propsys
/tests propsys_test
16174 wine_fn_config_dll psapi enable_psapi implib
16175 wine_fn_config_test dlls
/psapi
/tests psapi_test
16176 wine_fn_config_dll pstorec enable_pstorec
16177 wine_fn_config_dll qcap enable_qcap
16178 wine_fn_config_dll qedit enable_qedit
16179 wine_fn_config_test dlls
/qedit
/tests qedit_test
16180 wine_fn_config_dll qmgr enable_qmgr
16181 wine_fn_config_test dlls
/qmgr
/tests qmgr_test
16182 wine_fn_config_dll qmgrprxy enable_qmgrprxy
16183 wine_fn_config_dll quartz enable_quartz implib
16184 wine_fn_config_test dlls
/quartz
/tests quartz_test
16185 wine_fn_config_dll query enable_query
16186 wine_fn_config_dll rasapi16.dll16 enable_win16
16187 wine_fn_config_dll rasapi32 enable_rasapi32 implib
16188 wine_fn_config_test dlls
/rasapi32
/tests rasapi32_test
16189 wine_fn_config_dll rasdlg enable_rasdlg implib
16190 wine_fn_config_dll regapi enable_regapi
16191 wine_fn_config_dll resutils enable_resutils implib
16192 wine_fn_config_dll riched20 enable_riched20 implib
16193 wine_fn_config_test dlls
/riched20
/tests riched20_test
16194 wine_fn_config_dll riched32 enable_riched32
16195 wine_fn_config_test dlls
/riched32
/tests riched32_test
16196 wine_fn_config_dll rpcrt4 enable_rpcrt4 implib
16197 wine_fn_config_test dlls
/rpcrt
4/tests rpcrt4_test
16198 wine_fn_config_dll rsabase enable_rsabase
16199 wine_fn_config_dll rsaenh enable_rsaenh implib
16200 wine_fn_config_test dlls
/rsaenh
/tests rsaenh_test
16201 wine_fn_config_dll rstrtmgr enable_rstrtmgr
16202 wine_fn_config_dll rtutils enable_rtutils implib
16203 wine_fn_config_dll samlib enable_samlib
16204 wine_fn_config_dll sane.ds enable_sane_ds po
16205 wine_fn_config_dll scarddlg enable_scarddlg
16206 wine_fn_config_dll sccbase enable_sccbase
16207 wine_fn_config_dll schannel enable_schannel
16208 wine_fn_config_test dlls
/schannel
/tests schannel_test
16209 wine_fn_config_dll scrrun enable_scrrun
16210 wine_fn_config_test dlls
/scrrun
/tests scrrun_test
16211 wine_fn_config_dll scsiport.sys enable_scsiport_sys
16212 wine_fn_config_dll secur32 enable_secur32 implib
16213 wine_fn_config_test dlls
/secur32
/tests secur32_test
16214 wine_fn_config_dll security enable_security
16215 wine_fn_config_dll sensapi enable_sensapi implib
16216 wine_fn_config_dll serialui enable_serialui implib
,po
16217 wine_fn_config_test dlls
/serialui
/tests serialui_test
16218 wine_fn_config_dll setupapi enable_setupapi implib
,po
16219 wine_fn_config_test dlls
/setupapi
/tests setupapi_test
16220 wine_fn_config_dll setupx.dll16 enable_win16
16221 wine_fn_config_dll sfc enable_sfc implib
16222 wine_fn_config_dll sfc_os enable_sfc_os implib
16223 wine_fn_config_dll shdoclc enable_shdoclc po
16224 wine_fn_config_dll shdocvw enable_shdocvw implib
16225 wine_fn_config_test dlls
/shdocvw
/tests shdocvw_test
16226 wine_fn_config_dll shell.dll16 enable_win16
16227 wine_fn_config_dll shell32 enable_shell32 implib
,po
16228 wine_fn_config_test dlls
/shell32
/tests shell32_test
16229 wine_fn_config_dll shfolder enable_shfolder implib
16230 wine_fn_config_dll shlwapi enable_shlwapi implib
,po
16231 wine_fn_config_test dlls
/shlwapi
/tests shlwapi_test
16232 wine_fn_config_dll slbcsp enable_slbcsp
16233 wine_fn_config_dll slc enable_slc implib
16234 wine_fn_config_dll snmpapi enable_snmpapi implib
16235 wine_fn_config_test dlls
/snmpapi
/tests snmpapi_test
16236 wine_fn_config_dll softpub enable_softpub
16237 wine_fn_config_dll sound.drv16 enable_win16
16238 wine_fn_config_dll spoolss enable_spoolss implib
16239 wine_fn_config_test dlls
/spoolss
/tests spoolss_test
16240 wine_fn_config_dll stdole2.tlb enable_stdole2_tlb
16241 wine_fn_config_dll stdole32.tlb enable_stdole32_tlb
16242 wine_fn_config_dll sti enable_sti implib
16243 wine_fn_config_test dlls
/sti
/tests sti_test
16244 wine_fn_config_dll storage.dll16 enable_win16
16245 wine_fn_config_dll stress.dll16 enable_win16
16246 wine_fn_config_lib strmbase
16247 wine_fn_config_lib strmiids
16248 wine_fn_config_dll svrapi enable_svrapi
16249 wine_fn_config_dll sxs enable_sxs implib
16250 wine_fn_config_test dlls
/sxs
/tests sxs_test
16251 wine_fn_config_dll system.drv16 enable_win16
16252 wine_fn_config_dll t2embed enable_t2embed
16253 wine_fn_config_dll tapi32 enable_tapi32 implib
16254 wine_fn_config_dll toolhelp.dll16 enable_win16
16255 wine_fn_config_dll traffic enable_traffic
16256 wine_fn_config_dll twain.dll16 enable_win16
16257 wine_fn_config_dll twain_32 enable_twain_32
16258 wine_fn_config_test dlls
/twain_32
/tests twain_32_test
16259 wine_fn_config_dll typelib.dll16 enable_win16
16260 wine_fn_config_dll unicows enable_unicows implib
16261 wine_fn_config_dll updspapi enable_updspapi
16262 wine_fn_config_dll url enable_url implib
16263 wine_fn_config_dll urlmon enable_urlmon implib
,po
16264 wine_fn_config_test dlls
/urlmon
/tests urlmon_test
16265 wine_fn_config_dll usbd.sys enable_usbd_sys implib
16266 wine_fn_config_dll user.exe16 enable_win16
16267 wine_fn_config_dll user32 enable_user32 implib
,po
16268 wine_fn_config_test dlls
/user32
/tests user32_test
16269 wine_fn_config_dll userenv enable_userenv implib
16270 wine_fn_config_test dlls
/userenv
/tests userenv_test
16271 wine_fn_config_dll usp10 enable_usp10 implib
16272 wine_fn_config_test dlls
/usp10
/tests usp10_test
16273 wine_fn_config_lib uuid
16274 wine_fn_config_dll uxtheme enable_uxtheme implib
16275 wine_fn_config_test dlls
/uxtheme
/tests uxtheme_test
16276 wine_fn_config_dll vbscript enable_vbscript
16277 wine_fn_config_test dlls
/vbscript
/tests vbscript_test
16278 wine_fn_config_dll vcomp enable_vcomp
16279 wine_fn_config_dll vcomp100 enable_vcomp100
16280 wine_fn_config_dll vcomp90 enable_vcomp90
16281 wine_fn_config_dll vdhcp.vxd enable_win16
16282 wine_fn_config_dll vdmdbg enable_vdmdbg implib
16283 wine_fn_config_dll ver.dll16 enable_win16
16284 wine_fn_config_dll version enable_version implib
16285 wine_fn_config_test dlls
/version
/tests version_test
16286 wine_fn_config_dll vmm.vxd enable_win16
16287 wine_fn_config_dll vnbt.vxd enable_win16
16288 wine_fn_config_dll vnetbios.vxd enable_win16
16289 wine_fn_config_dll vtdapi.vxd enable_win16
16290 wine_fn_config_dll vwin32.vxd enable_win16
16291 wine_fn_config_dll w32skrnl enable_win16
16292 wine_fn_config_dll w32sys.dll16 enable_win16
16293 wine_fn_config_dll wbemprox enable_wbemprox
16294 wine_fn_config_test dlls
/wbemprox
/tests wbemprox_test
16295 wine_fn_config_dll webservices enable_webservices implib
16296 wine_fn_config_dll wer enable_wer implib
16297 wine_fn_config_test dlls
/wer
/tests wer_test
16298 wine_fn_config_dll wevtapi enable_wevtapi
16299 wine_fn_config_dll wiaservc enable_wiaservc
16300 wine_fn_config_dll win32s16.dll16 enable_win16
16301 wine_fn_config_dll win87em.dll16 enable_win16
16302 wine_fn_config_dll winaspi.dll16 enable_win16
16303 wine_fn_config_dll windebug.dll16 enable_win16
16304 wine_fn_config_dll windowscodecs enable_windowscodecs implib
16305 wine_fn_config_test dlls
/windowscodecs
/tests windowscodecs_test
16306 wine_fn_config_dll windowscodecsext enable_windowscodecsext implib
16307 wine_fn_config_test dlls
/windowscodecsext
/tests windowscodecsext_test
16308 wine_fn_config_dll winealsa.drv enable_winealsa_drv
16309 wine_fn_config_dll winecoreaudio.drv enable_winecoreaudio_drv
16310 wine_fn_config_lib winecrt0
16311 wine_fn_config_dll wined3d enable_wined3d implib
16312 wine_fn_config_dll winegstreamer enable_winegstreamer
16313 wine_fn_config_dll winejoystick.drv enable_winejoystick_drv
16314 wine_fn_config_dll winemac.drv enable_winemac_drv
16315 wine_fn_config_dll winemapi enable_winemapi
16316 wine_fn_config_dll winemp3.acm enable_winemp3_acm
16317 wine_fn_config_dll wineoss.drv enable_wineoss_drv
16318 wine_fn_config_dll wineps.drv enable_wineps_drv install-lib
,po
16319 wine_fn_config_dll wineps16.drv16 enable_win16
16320 wine_fn_config_dll wineqtdecoder enable_wineqtdecoder
16321 wine_fn_config_dll winex11.drv enable_winex11_drv
16322 wine_fn_config_dll wing.dll16 enable_win16
16323 wine_fn_config_dll wing32 enable_wing32
16324 wine_fn_config_dll winhttp enable_winhttp implib
16325 wine_fn_config_test dlls
/winhttp
/tests winhttp_test
16326 wine_fn_config_dll wininet enable_wininet implib
,po
16327 wine_fn_config_test dlls
/wininet
/tests wininet_test
16328 wine_fn_config_dll winmm enable_winmm implib
,po
16329 wine_fn_config_test dlls
/winmm
/tests winmm_test
16330 wine_fn_config_dll winnls.dll16 enable_win16
16331 wine_fn_config_dll winnls32 enable_winnls32 implib
16332 wine_fn_config_dll winscard enable_winscard implib
16333 wine_fn_config_dll winsock.dll16 enable_win16
16334 wine_fn_config_dll winspool.drv enable_winspool_drv implib
,po winspool
16335 wine_fn_config_test dlls
/winspool.drv
/tests winspool.drv_test
16336 wine_fn_config_dll winsta enable_winsta
16337 wine_fn_config_dll wintab.dll16 enable_win16
16338 wine_fn_config_dll wintab32 enable_wintab32 implib
16339 wine_fn_config_test dlls
/wintab32
/tests wintab32_test
16340 wine_fn_config_dll wintrust enable_wintrust implib
16341 wine_fn_config_test dlls
/wintrust
/tests wintrust_test
16342 wine_fn_config_dll wlanapi enable_wlanapi
16343 wine_fn_config_dll wldap32 enable_wldap32 implib
,po
16344 wine_fn_config_test dlls
/wldap32
/tests wldap32_test
16345 wine_fn_config_dll wmi enable_wmi
16346 wine_fn_config_dll wmiutils enable_wmiutils
16347 wine_fn_config_test dlls
/wmiutils
/tests wmiutils_test
16348 wine_fn_config_dll wmvcore enable_wmvcore
16349 wine_fn_config_dll wnaspi32 enable_wnaspi32 implib
16350 wine_fn_config_dll wow32 enable_win16 implib
16351 wine_fn_config_dll ws2_32 enable_ws2_32 implib
16352 wine_fn_config_test dlls
/ws2_32
/tests ws2_32_test
16353 wine_fn_config_dll wshom.ocx enable_wshom_ocx
16354 wine_fn_config_test dlls
/wshom.ocx
/tests wshom.ocx_test
16355 wine_fn_config_dll wsnmp32 enable_wsnmp32
16356 wine_fn_config_dll wsock32 enable_wsock32 implib
16357 wine_fn_config_dll wtsapi32 enable_wtsapi32 implib
16358 wine_fn_config_dll wuapi enable_wuapi
16359 wine_fn_config_dll wuaueng enable_wuaueng
16360 wine_fn_config_dll xapofx1_1 enable_xapofx1_1
16361 wine_fn_config_dll xinput1_1 enable_xinput1_1
16362 wine_fn_config_dll xinput1_2 enable_xinput1_2
16363 wine_fn_config_dll xinput1_3 enable_xinput1_3 implib xinput
16364 wine_fn_config_test dlls
/xinput1_
3/tests xinput1_3_test
16365 wine_fn_config_dll xinput9_1_0 enable_xinput9_1_0
16366 wine_fn_config_dll xmllite enable_xmllite
16367 wine_fn_config_test dlls
/xmllite
/tests xmllite_test
16368 wine_fn_config_dll xolehlp enable_xolehlp
16369 wine_fn_config_dll xpsprint enable_xpsprint
16370 wine_fn_config_dll xpssvcs enable_xpssvcs
16371 wine_fn_config_makefile documentation enable_documentation
16372 wine_fn_config_makefile fonts enable_fonts install-lib
16373 wine_fn_config_makefile include enable_include install-dev
16374 wine_fn_config_makefile libs
/port enable_libs_port
16375 wine_fn_config_makefile libs
/wine enable_libs_wine install-dev
,install-lib
16376 wine_fn_config_makefile libs
/wpp enable_libs_wpp
16377 wine_fn_config_makefile loader enable_loader install-lib
,manpage
16378 wine_fn_config_program aspnet_regiis enable_aspnet_regiis
install
16379 wine_fn_config_program attrib enable_attrib
install,po
16380 wine_fn_config_program cabarc enable_cabarc
install
16381 wine_fn_config_program cacls enable_cacls
install
16382 wine_fn_config_program
clock enable_clock
install,po
16383 wine_fn_config_program cmd enable_cmd
install,po
16384 wine_fn_config_test programs
/cmd
/tests cmd.exe_test
16385 wine_fn_config_program conhost enable_conhost
install
16386 wine_fn_config_program control enable_control
install
16387 wine_fn_config_program cscript enable_cscript
install
16388 wine_fn_config_program dxdiag enable_dxdiag
install,po
16389 wine_fn_config_program eject enable_eject
install
16390 wine_fn_config_program
expand enable_expand
install
16391 wine_fn_config_program explorer enable_explorer
install,po
16392 wine_fn_config_program extrac32 enable_extrac32
install
16393 wine_fn_config_program findstr enable_findstr
install
16394 wine_fn_config_program hh enable_hh
install
16395 wine_fn_config_program hostname enable_hostname
install,po
16396 wine_fn_config_program icinfo enable_icinfo
install
16397 wine_fn_config_program iexplore enable_iexplore
install
16398 wine_fn_config_program ipconfig enable_ipconfig
install,po
16399 wine_fn_config_program lodctr enable_lodctr
install
16400 wine_fn_config_program mofcomp enable_mofcomp
install
16401 wine_fn_config_program mshta enable_mshta
install
16402 wine_fn_config_program msiexec enable_msiexec
install,installbin
,manpage
16403 wine_fn_config_program net enable_net
install,po
16404 wine_fn_config_program netsh enable_netsh
install
16405 wine_fn_config_program netstat enable_netstat
install,po
16406 wine_fn_config_program ngen enable_ngen
install
16407 wine_fn_config_program notepad enable_notepad
install,installbin
,manpage
,po
16408 wine_fn_config_program oleview enable_oleview
install,po
16409 wine_fn_config_program
ping enable_ping
install
16410 wine_fn_config_program plugplay enable_plugplay
install
16411 wine_fn_config_program presentationfontcache enable_presentationfontcache
install
16412 wine_fn_config_program progman enable_progman
install,po
16413 wine_fn_config_program reg enable_reg
install,po
16414 wine_fn_config_program regasm enable_regasm
install
16415 wine_fn_config_program regedit enable_regedit
install,installbin
,manpage
,po
16416 wine_fn_config_test programs
/regedit
/tests regedit.exe_test
16417 wine_fn_config_program regsvcs enable_regsvcs
install
16418 wine_fn_config_program regsvr32 enable_regsvr32
install,installbin
,manpage
16419 wine_fn_config_program rpcss enable_rpcss
install
16420 wine_fn_config_program rundll.exe16 enable_win16
install
16421 wine_fn_config_program rundll32 enable_rundll32
install
16422 wine_fn_config_program sc enable_sc
install
16423 wine_fn_config_program schtasks enable_schtasks
install
16424 wine_fn_config_program secedit enable_secedit
install
16425 wine_fn_config_program servicemodelreg enable_servicemodelreg
install
16426 wine_fn_config_program services enable_services
install
16427 wine_fn_config_test programs
/services
/tests services.exe_test
16428 wine_fn_config_program spoolsv enable_spoolsv
install
16429 wine_fn_config_program start enable_start
install,po
16430 wine_fn_config_program svchost enable_svchost
install
16431 wine_fn_config_program taskkill enable_taskkill
install,po
16432 wine_fn_config_program taskmgr enable_taskmgr
install,po
16433 wine_fn_config_program termsv enable_termsv
install
16434 wine_fn_config_program uninstaller enable_uninstaller
install,po
16435 wine_fn_config_program unlodctr enable_unlodctr
install
16436 wine_fn_config_program view enable_view
install,po
16437 wine_fn_config_program wineboot enable_wineboot
install,installbin
,manpage
,po
16438 wine_fn_config_program winebrowser enable_winebrowser
install
16439 wine_fn_config_program winecfg enable_winecfg
install,installbin
,manpage
,po
16440 wine_fn_config_program wineconsole enable_wineconsole
install,installbin
,manpage
,po
16441 wine_fn_config_program winedbg enable_winedbg
install,installbin
,manpage
,po
16442 wine_fn_config_program winedevice enable_winedevice
install
16443 wine_fn_config_program winefile enable_winefile
install,installbin
,manpage
,po
16444 wine_fn_config_program winemenubuilder enable_winemenubuilder
install
16445 wine_fn_config_program winemine enable_winemine
install,installbin
,manpage
,po
16446 wine_fn_config_program winemsibuilder enable_winemsibuilder
install
16447 wine_fn_config_program winepath enable_winepath
install,installbin
,manpage
16448 wine_fn_config_program winetest enable_winetest
16449 wine_fn_config_program winevdm enable_win16
install
16450 wine_fn_config_program winhelp.exe16 enable_win16
install
16451 wine_fn_config_program winhlp32 enable_winhlp32
install,po
16452 wine_fn_config_program winoldap.mod16 enable_win16
install
16453 wine_fn_config_program winver enable_winver
install
16454 wine_fn_config_program wmic enable_wmic
install,po
16455 wine_fn_config_program wordpad enable_wordpad
install,po
16456 wine_fn_config_program
write enable_write
install,po
16457 wine_fn_config_program wscript enable_wscript
install
16458 wine_fn_config_test programs
/wscript
/tests wscript.exe_test
16459 wine_fn_config_program wusa enable_wusa
install
16460 wine_fn_config_program xcopy enable_xcopy
install,po
16461 wine_fn_config_makefile server enable_server install-lib
,manpage
16462 wine_fn_config_tool tools install-dev
,install-lib
,manpage
16463 wine_fn_config_tool tools
/widl install-dev
,manpage
16464 wine_fn_config_tool tools
/winebuild install-dev
,manpage
16465 wine_fn_config_tool tools
/winedump install-dev
,manpage
16466 wine_fn_config_tool tools
/winegcc install-dev
,manpage
16467 wine_fn_config_tool tools
/wmc install-dev
,manpage
16468 wine_fn_config_tool tools
/wrc install-dev
,manpage
16518 ac_config_commands
="$ac_config_commands Makefile"
16521 ac_config_files
="$ac_config_files Make.tmp:Make.vars.in:Makefile.in"
16525 if test "x$enable_maintainer_mode" = xyes
16527 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(srcdir)/configure: configure.ac aclocal.m4
16528 cd \$(srcdir) && autoconf --warnings=all
16529 \$(srcdir)/include/config.h.in: include/stamp-h.in
16530 \$(srcdir)/include/stamp-h.in: configure.ac aclocal.m4
16531 cd \$(srcdir) && autoheader --warnings=all
16532 @echo timestamp > \$@"
16535 if test "x$with_gettextpo" = xyes
16537 test "$srcdir" = . || as_fn_error $?
"Rebuilding po files is not supported for out of tree builds." "$LINENO" 5
16538 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"ALL_POT_FILES =$ALL_POT_FILES
16539 \$(LINGUAS:%=po/%.po): \$(srcdir)/po/wine.pot
16540 msgmerge --previous -q \$@ \$(srcdir)/po/wine.pot | msgattrib --no-obsolete -o \$@.new && mv \$@.new \$@
16541 \$(srcdir)/po/wine.pot: \$(ALL_POT_FILES)
16542 msgcat -o \$@ \$(ALL_POT_FILES)"
16545 if test "$MSGFMT" != false
16547 PORCFLAGS
="--po-dir=\$(top_builddir)/po"
16549 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"__builddeps__: \$(ALL_MO_FILES)"
16554 if test "x$enable_tools" != xno
16556 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"\$(MAKEDEP): tools/Makefile
16558 \$(RM) tools/makedep\$(EXEEXT)"
16561 if test -n "$with_wine64"
16563 wine_fn_append_rule ALL_MAKEFILE_DEPENDS
"all: fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader
16564 fonts server tools:
16565 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
16566 $with_wine64/loader/wine:
16567 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
16568 $with_wine64/loader/wine-preloader:
16569 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
16571 \$(RM) fonts server tools $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
16574 cat >confcache
<<\_ACEOF
16575 # This file is a shell script that caches the results of configure
16576 # tests run on this system so they can be shared between configure
16577 # scripts and configure runs, see configure's option --config-cache.
16578 # It is not useful on other systems. If it contains results you don't
16579 # want to keep, you may remove or edit it.
16581 # config.status only pays attention to the cache file if you give it
16582 # the --recheck option to rerun configure.
16584 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16585 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16586 # following values.
16590 # The following way of writing the cache mishandles newlines in values,
16591 # but we know of no workaround that is simple, portable, and efficient.
16592 # So, we kill variables containing newlines.
16593 # Ultrix sh set writes to stderr and can't be redirected directly,
16594 # and sets the high bit in the cache file unless we assign to the vars.
16596 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16597 eval ac_val
=\$
$ac_var
16601 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16602 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16605 _ | IFS | as_nl
) ;; #(
16606 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
16607 *) { eval $ac_var=; unset $ac_var;} ;;
16613 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16614 *${as_nl}ac_space
=\
*)
16615 # `set' does not quote correctly, so add quotes: double-quote
16616 # substitution turns \\\\ into \\, and sed turns \\ into \.
16619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16622 # `set' quotes correctly as required by POSIX, so do not add quotes.
16623 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16632 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16634 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16636 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
16637 if test -w "$cache_file"; then
16638 if test "x$cache_file" != "x/dev/null"; then
16639 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16640 $as_echo "$as_me: updating cache $cache_file" >&6;}
16641 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
16642 cat confcache
>"$cache_file"
16644 case $cache_file in #(
16646 mv -f confcache
"$cache_file"$$
&&
16647 mv -f "$cache_file"$$
"$cache_file" ;; #(
16649 mv -f confcache
"$cache_file" ;;
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16655 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16660 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
16661 # Let make expand exec_prefix.
16662 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
16664 DEFS
=-DHAVE_CONFIG_H
16669 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
16670 # 1. Remove the extension, and $U if already installed.
16671 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
16672 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
16673 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16674 # will be set to the directory where LIBOBJS objects are built.
16675 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16676 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
16678 LIBOBJS
=$ac_libobjs
16680 LTLIBOBJS
=$ac_ltlibobjs
16684 : "${CONFIG_STATUS=./config.status}"
16686 ac_clean_files_save
=$ac_clean_files
16687 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
16689 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
16691 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
16693 # Generated by $as_me.
16694 # Run this file to recreate the current configuration.
16695 # Compiler output produced by configure, useful for debugging
16696 # configure, is in config.log if it exists.
16699 ac_cs_recheck=false
16702 SHELL=\${CONFIG_SHELL-$SHELL}
16705 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
16706 ## -------------------- ##
16707 ## M4sh Initialization. ##
16708 ## -------------------- ##
16710 # Be more Bourne compatible
16711 DUALCASE
=1; export DUALCASE
# for MKS sh
16712 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
16715 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
16716 # is contrary to our usage. Disable this feature.
16717 alias -g '${1+"$@"}'='"$@"'
16718 setopt NO_GLOB_SUBST
16720 case `(set -o) 2>/dev/null` in #(
16732 # Printing a long string crashes Solaris 7 /usr/bin/printf.
16733 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
16734 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
16735 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
16736 # Prefer a ksh shell builtin over an external printf program on Solaris,
16737 # but without wasting forks for bash or zsh.
16738 if test -z "$BASH_VERSION$ZSH_VERSION" \
16739 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
16740 as_echo='print
-r --'
16741 as_echo_n='print
-rn --'
16742 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
16743 as_echo='printf %s
\n'
16744 as_echo_n='printf %s
'
16746 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
16747 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
16748 as_echo_n='/usr
/ucb
/echo -n'
16750 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
16751 as_echo_n_body='eval
16755 expr "X$arg" : "X\\(.*\\)$as_nl";
16756 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
16758 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
16760 export as_echo_n_body
16761 as_echo_n='sh
-c $as_echo_n_body as_echo
'
16763 export as_echo_body
16764 as_echo='sh
-c $as_echo_body as_echo
'
16767 # The user is always right.
16768 if test "${PATH_SEPARATOR+set}" != set; then
16770 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
16771 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
16778 # We need space, tab and new line, in precisely that order. Quoting is
16779 # there to prevent editors from complaining about space-tab.
16780 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
16781 # splitting by setting IFS to empty value.)
16784 # Find who we are. Look in the path if we contain no directory separator.
16787 *[\\/]* ) as_myself=$0 ;;
16788 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16789 for as_dir in $PATH
16792 test -z "$as_dir" && as_dir=.
16793 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
16799 # We did not find ourselves, most probably we were run as `sh COMMAND'
16800 # in which case we are not to be found in the path.
16801 if test "x$as_myself" = x
; then
16804 if test ! -f "$as_myself"; then
16805 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
16809 # Unset variables that we do not need and which cause bugs (e.g. in
16810 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16811 # suppresses any "Segmentation fault" message there. '((' could
16812 # trigger a bug in pdksh 5.2.14.
16813 for as_var
in BASH_ENV ENV MAIL MAILPATH
16814 do eval test x\
${$as_var+set} = xset \
16815 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
16828 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
16831 # as_fn_error STATUS ERROR [LINENO LOG_FD]
16832 # ----------------------------------------
16833 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16834 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16835 # script with STATUS, using 1 if that was 0.
16838 as_status
=$1; test $as_status -eq 0 && as_status
=1
16840 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
16841 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
16843 $as_echo "$as_me: error: $2" >&2
16844 as_fn_exit
$as_status
16848 # as_fn_set_status STATUS
16849 # -----------------------
16850 # Set $? to STATUS, without forking.
16851 as_fn_set_status
()
16854 } # as_fn_set_status
16856 # as_fn_exit STATUS
16857 # -----------------
16858 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16862 as_fn_set_status
$1
16868 # Portably unset VAR.
16871 { eval $1=; unset $1;}
16873 as_unset
=as_fn_unset
16874 # as_fn_append VAR VALUE
16875 # ----------------------
16876 # Append the text in VALUE to the end of the definition contained in VAR. Take
16877 # advantage of any shell optimizations that allow amortized linear growth over
16878 # repeated appends, instead of the typical quadratic growth present in naive
16880 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
16881 eval 'as_fn_append ()
16892 # as_fn_arith ARG...
16893 # ------------------
16894 # Perform arithmetic evaluation on the ARGs, and store the result in the
16895 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16896 # must be portable across $(()) and expr.
16897 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
16898 eval 'as_fn_arith ()
16905 as_val
=`expr "$@" || test $? -eq 1`
16910 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
16911 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
16917 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
16918 as_basename
=basename
16923 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
16929 as_me
=`$as_basename -- "$0" ||
16930 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
16931 X"$0" : 'X\(//\)$' \| \
16932 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
16934 sed '/^.*\/\([^/][^/]*\)\/*$/{
16948 # Avoid depending upon Character Ranges.
16949 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
16950 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16951 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
16952 as_cr_digits
='0123456789'
16953 as_cr_alnum
=$as_cr_Letters$as_cr_digits
16955 ECHO_C
= ECHO_N
= ECHO_T
=
16956 case `echo -n x` in #(((((
16958 case `echo 'xy\c'` in
16959 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
16961 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
16968 rm -f conf$$ conf$$.exe conf$$.
file
16969 if test -d conf$$.dir
; then
16970 rm -f conf$$.dir
/conf$$.
file
16973 mkdir conf$$.dir
2>/dev
/null
16975 if (echo >conf$$.
file) 2>/dev
/null
; then
16976 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
16978 # ... but there are two gotchas:
16979 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
16980 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
16981 # In both cases, we have to default to `cp -pR'.
16982 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
16984 elif ln conf$$.
file conf$$
2>/dev
/null
; then
16992 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
16993 rmdir conf$$.dir
2>/dev
/null
16998 # Create "$as_dir" as a directory, including parents if necessary.
17003 -*) as_dir
=.
/$as_dir;;
17005 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
17009 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17010 *) as_qdir
=$as_dir;;
17012 as_dirs
="'$as_qdir' $as_dirs"
17013 as_dir
=`$as_dirname -- "$as_dir" ||
17014 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17015 X"$as_dir" : 'X\(//\)[^/]' \| \
17016 X"$as_dir" : 'X\(//\)$' \| \
17017 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17018 $as_echo X"$as_dir" |
17019 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17023 /^X\(\/\/\)[^/].*/{
17036 test -d "$as_dir" && break
17038 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
17039 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
17043 if mkdir
-p .
2>/dev
/null
; then
17044 as_mkdir_p
='mkdir -p "$as_dir"'
17046 test -d .
/-p && rmdir .
/-p
17051 # as_fn_executable_p FILE
17052 # -----------------------
17053 # Test if FILE is an executable regular file.
17054 as_fn_executable_p
()
17056 test -f "$1" && test -x "$1"
17057 } # as_fn_executable_p
17058 as_test_x
='test -x'
17059 as_executable_p
=as_fn_executable_p
17061 # Sed expression to map a string onto a valid CPP name.
17062 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17064 # Sed expression to map a string onto a valid variable name.
17065 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17069 ## ----------------------------------- ##
17070 ## Main body of $CONFIG_STATUS script. ##
17071 ## ----------------------------------- ##
17073 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
17075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17076 # Save the log message, to keep $0 and so on meaningful, and to
17077 # report actual input values of CONFIG_FILES etc. instead of their
17078 # values after options handling.
17080 This file was extended by Wine $as_me 1.5.29, which was
17081 generated by GNU Autoconf 2.69. Invocation command line was
17083 CONFIG_FILES = $CONFIG_FILES
17084 CONFIG_HEADERS = $CONFIG_HEADERS
17085 CONFIG_LINKS = $CONFIG_LINKS
17086 CONFIG_COMMANDS = $CONFIG_COMMANDS
17089 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17094 case $ac_config_files in *"
17095 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
17098 case $ac_config_headers in *"
17099 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
17103 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17104 # Files that config.status was made for.
17105 config_files="$ac_config_files"
17106 config_headers="$ac_config_headers"
17107 config_links="$ac_config_links"
17108 config_commands="$ac_config_commands"
17112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17114 \`$as_me' instantiates files and other configuration actions
17115 from templates according to the current configuration. Unless the files
17116 and actions are specified as TAGs, all are instantiated by default.
17118 Usage: $0 [OPTION]... [TAG]...
17120 -h, --help print this help, then exit
17121 -V, --version print version number and configuration settings, then exit
17122 --config print configuration, then exit
17123 -q, --quiet, --silent
17124 do not print progress messages
17125 -d, --debug don't remove temporary files
17126 --recheck update $as_me by reconfiguring in the same conditions
17127 --file=FILE[:TEMPLATE]
17128 instantiate the configuration file FILE
17129 --header=FILE[:TEMPLATE]
17130 instantiate the configuration header FILE
17132 Configuration files:
17135 Configuration headers:
17138 Configuration links:
17141 Configuration commands:
17144 Report bugs to <wine-devel@winehq.org>.
17145 Wine home page: <http://www.winehq.org>."
17148 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17149 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17151 Wine config.status 1.5.29
17152 configured by $0, generated by GNU Autoconf 2.69,
17153 with options \\"\$ac_cs_config\\"
17155 Copyright (C) 2012 Free Software Foundation, Inc.
17156 This config.status script is free software; the Free Software Foundation
17157 gives unlimited permission to copy, distribute and modify it."
17162 test -n "\$AWK" || AWK=awk
17165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17166 # The default lists apply if the user does not specify any file.
17172 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17173 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
17177 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
17189 # Handling of the options.
17190 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
17192 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
17193 $as_echo "$ac_cs_version"; exit ;;
17194 --config |
--confi |
--conf |
--con |
--co |
--c )
17195 $as_echo "$ac_cs_config"; exit ;;
17196 --debug |
--debu |
--deb |
--de |
--d |
-d )
17198 --file |
--fil |
--fi |
--f )
17201 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17202 '') as_fn_error $?
"missing file argument" ;;
17204 as_fn_append CONFIG_FILES
" '$ac_optarg'"
17205 ac_need_defaults
=false
;;
17206 --header |
--heade |
--head |
--hea )
17209 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17211 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
17212 ac_need_defaults
=false
;;
17214 # Conflict between --help and --header
17215 as_fn_error $?
"ambiguous option: \`$1'
17216 Try \`$0 --help' for more information.";;
17217 --help |
--hel |
-h )
17218 $as_echo "$ac_cs_usage"; exit ;;
17219 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
17220 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
17223 # This is an error.
17224 -*) as_fn_error $?
"unrecognized option: \`$1'
17225 Try \`$0 --help' for more information." ;;
17227 *) as_fn_append ac_config_targets
" $1"
17228 ac_need_defaults
=false
;;
17234 ac_configure_extra_args
=
17236 if $ac_cs_silent; then
17238 ac_configure_extra_args
="$ac_configure_extra_args --silent"
17242 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17243 if \$ac_cs_recheck; then
17244 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17246 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17247 CONFIG_SHELL='$SHELL'
17248 export CONFIG_SHELL
17253 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17257 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17258 ## Running $as_me. ##
17264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17268 wine_fn_output_makefile ()
17270 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && return
17271 $ALL_MAKEFILE_DEPENDS
17273 as_fn_error $? "could not create Makefile" "$LINENO" 5
17278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17280 # Handling of arguments.
17281 for ac_config_target
in $ac_config_targets
17283 case $ac_config_target in
17284 "include/config.h") CONFIG_HEADERS
="$CONFIG_HEADERS include/config.h" ;;
17285 "include/stamp-h") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/stamp-h" ;;
17286 "dlls/shell32/AUTHORS") CONFIG_LINKS
="$CONFIG_LINKS dlls/shell32/AUTHORS:AUTHORS" ;;
17287 "dlls/wineps.drv/generic.ppd") CONFIG_LINKS
="$CONFIG_LINKS dlls/wineps.drv/generic.ppd:dlls/wineps.drv/generic.ppd" ;;
17288 "fonts/marlett.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
17289 "fonts/symbol.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
17290 "fonts/tahoma.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
17291 "fonts/tahomabd.ttf") CONFIG_LINKS
="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
17292 "po/LINGUAS") CONFIG_LINKS
="$CONFIG_LINKS po/LINGUAS:po/LINGUAS" ;;
17293 "tools/l_intl.nls") CONFIG_LINKS
="$CONFIG_LINKS tools/l_intl.nls:tools/l_intl.nls" ;;
17294 "wine") CONFIG_LINKS
="$CONFIG_LINKS wine:tools/winewrapper" ;;
17295 "wine64") CONFIG_LINKS
="$CONFIG_LINKS wine64:tools/winewrapper" ;;
17296 "dlls/gdi32/dibdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/dibdrv" ;;
17297 "dlls/gdi32/enhmfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/enhmfdrv" ;;
17298 "dlls/gdi32/mfdrv") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/gdi32/mfdrv" ;;
17299 "dlls/kernel32/nls") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/kernel32/nls" ;;
17300 "dlls/user32/resources") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/user32/resources" ;;
17301 "dlls/wineps.drv/data") CONFIG_COMMANDS
="$CONFIG_COMMANDS dlls/wineps.drv/data" ;;
17302 "include/wine") CONFIG_COMMANDS
="$CONFIG_COMMANDS include/wine" ;;
17303 "Make.rules") CONFIG_FILES
="$CONFIG_FILES Make.rules" ;;
17304 "Maketest.rules") CONFIG_FILES
="$CONFIG_FILES Maketest.rules" ;;
17305 "dlls/Makedll.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makedll.rules" ;;
17306 "dlls/Makeimplib.rules") CONFIG_FILES
="$CONFIG_FILES dlls/Makeimplib.rules" ;;
17307 "programs/Makeprog.rules") CONFIG_FILES
="$CONFIG_FILES programs/Makeprog.rules" ;;
17308 "Makefile") CONFIG_COMMANDS
="$CONFIG_COMMANDS Makefile" ;;
17309 "Make.tmp") CONFIG_FILES
="$CONFIG_FILES Make.tmp:Make.vars.in:Makefile.in" ;;
17311 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17316 # If the user did not use the arguments to specify the items to instantiate,
17317 # then the envvar interface is used. Set only those that are not.
17318 # We use the long form for the default assignment because of an extremely
17319 # bizarre bug on SunOS 4.1.3.
17320 if $ac_need_defaults; then
17321 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
17322 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
17323 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS
=$config_links
17324 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
17327 # Have a temporary directory for convenience. Make it in the build tree
17328 # simply because there is no reason against having it here, and in addition,
17329 # creating and moving files from /tmp can sometimes cause problems.
17330 # Hook for its removal unless debugging.
17331 # Note that there is a small window in which the directory will not be cleaned:
17332 # after its creation but before its name has been assigned to `$tmp'.
17336 trap 'exit_status=$?
17337 : "${ac_tmp:=$tmp}"
17338 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17340 trap 'as_fn_exit 1' 1 2 13 15
17342 # Create a (secure) tmp directory for tmp files.
17345 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17349 tmp
=.
/conf$$
-$RANDOM
17350 (umask 077 && mkdir
"$tmp")
17351 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
17354 # Set up the scripts for CONFIG_FILES section.
17355 # No need to generate them if there are no CONFIG_FILES.
17356 # This happens for instance with `./config.status config.h'.
17357 if test -n "$CONFIG_FILES"; then
17359 if $AWK 'BEGIN { getline <"/dev/null" }' </dev
/null
2>/dev
/null
; then
17360 ac_cs_awk_getline
=:
17361 ac_cs_awk_pipe_init
=
17362 ac_cs_awk_read_file
='
17363 while ((getline aline < (F[key])) > 0)
17366 ac_cs_awk_pipe_fini
=
17368 ac_cs_awk_getline
=false
17369 ac_cs_awk_pipe_init
="print \"cat <<'|#_!!_#|' &&\""
17370 ac_cs_awk_read_file
='
17372 print "cat " F[key] " &&"
17373 '$ac_cs_awk_pipe_init
17374 # The final `:' finishes the AND list.
17375 ac_cs_awk_pipe_fini
='END { print "|#_!!_#|"; print ":" }'
17377 ac_cr
=`echo X | tr X '\015'`
17378 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17379 # But we know of no other shell where ac_cr would be empty at this
17380 # point, so we can use a bashism as a fallback.
17381 if test "x$ac_cr" = x
; then
17382 eval ac_cr
=\$
\'\\r
\'
17384 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17385 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17388 ac_cs_awk_cr
=$ac_cr
17391 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17394 # Create commands to substitute file output variables.
17396 echo "cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1" &&
17397 echo 'cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&' &&
17398 echo "$ac_subst_files" |
sed 's/.*/F["&"]="$&"/' &&
17401 } >conf$
$files.sh
&&
17402 . .
/conf$
$files.sh ||
17403 as_fn_error $?
"could not make $CONFIG_STATUS" "$LINENO" 5
17404 rm -f conf$
$files.sh
17407 echo "cat >conf$$subs.awk <<_ACEOF" &&
17408 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17410 } >conf$$subs.sh ||
17411 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17412 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17414 for ac_last_try in false false false false false :; do
17415 . ./conf$$subs.sh ||
17416 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17418 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
17419 if test $ac_delim_n = $ac_delim_num; then
17421 elif $ac_last_try; then
17422 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
17424 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17427 rm -f conf$$subs.sh
17429 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17430 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
17434 s/^/S["/; s
/!.
*/"]=/
17444 s/\(.\{148\}\)..*/\1/
17446 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
17451 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17458 s/\(.\{148\}\)..*/\1/
17460 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
17464 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
17469 ' <conf$$subs.awk | sed '
17474 ' >>$CONFIG_STATUS || ac_write_fail=1
17475 rm -f conf$$subs.awk
17476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17478 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
17479 for (key in S) S_is_set[key] = 1
17481 \$ac_cs_awk_pipe_init
17485 nfields = split(line, field, "@
")
17487 len = length(field[1])
17488 for (i = 2; i < nfields; i++) {
17490 keylen = length(key)
17491 if (S_is_set[key]) {
17493 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
17494 len += length(value) + length(field[++i])
17499 if (nfields == 3 && !substed) {
17501 if (F[key] != "" && line ~ /^[ ]*@.*@[ ]*$/) {
17502 \$ac_cs_awk_read_file
17508 \$ac_cs_awk_pipe_fini
17511 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17512 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
17513 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
17516 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
17517 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
17520 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
17521 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
17522 # trailing colons and then remove the whole line if VPATH becomes empty
17523 # (actually we leave an empty line to preserve line numbers).
17524 if test "x
$srcdir" = x.; then
17525 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
17543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17544 fi # test -n "$CONFIG_FILES"
17546 # Set up the scripts for CONFIG_HEADERS section.
17547 # No need to generate them if there are no CONFIG_HEADERS.
17548 # This happens for instance with `./config.status Makefile'.
17549 if test -n "$CONFIG_HEADERS"; then
17550 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
17554 # Transform confdefs.h into an awk script `defines.awk', embedded as
17555 # here-document in config.status, that substitutes the proper values into
17556 # config.h.in to produce config.h.
17558 # Create a delimiter string that does not exist in confdefs.h, to ease
17559 # handling of long lines.
17561 for ac_last_try in false false :; do
17562 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
17563 if test -z "$ac_tt"; then
17565 elif $ac_last_try; then
17566 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
17568 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
17572 # For the awk script, D is an array of macro values keyed by name,
17573 # likewise P contains macro parameters if any. Preserve backslash
17574 # newline sequences.
17576 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
17578 s/.\{148\}/&'"$ac_delim"'/g
17581 s/^[ ]*#[ ]*define[ ][ ]*/ /
17588 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
17590 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
17594 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
17595 D["\
1"]=" \
3\\\\\\n
"\\/p
17597 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
17602 s/.\{148\}/&'"$ac_delim"'/g
17607 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
17610 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
17612 ' <confdefs.h | sed '
17613 s/'"$ac_delim"'/"\\\
17614 "/g' >>$CONFIG_STATUS || ac_write_fail=1
17616 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17617 for (key in D) D_is_set[key] = 1
17620 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
17622 split(line, arg, " ")
17623 if (arg[1] == "#") {
17627 defundef
= substr
(arg
[1], 2)
17630 split(mac1
, mac2
, "(") #)
17632 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
17633 if (D_is_set
[macro
]) {
17634 # Preserve the white space surrounding the "#".
17635 print prefix
"define", macro P
[macro
] D
[macro
]
17638 # Replace #undef with comments. This is necessary, for example,
17639 # in the case of _POSIX_SOURCE, which is predefined and required
17640 # on some systems where configure will not decide to define it.
17641 if (defundef
== "undef") {
17642 print
"/*", prefix defundef
, macro
, "*/"
17650 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17651 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
17652 fi # test -n "$CONFIG_HEADERS"
17655 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
17660 :[FHLC
]) ac_mode
=$ac_tag; continue;;
17662 case $ac_mode$ac_tag in
17664 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
17665 :[FH
]-) ac_tag
=-:-;;
17666 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
17683 -) ac_f
="$ac_tmp/stdin";;
17684 *) # Look for the file first in the build tree, then in the source tree
17685 # (if the path is not absolute). The absolute path cannot be DOS-style,
17686 # because $ac_f cannot contain `:'.
17690 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
17692 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
17694 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
17695 as_fn_append ac_file_inputs
" '$ac_f'"
17698 # Let's still pretend it is `configure' which instantiates (i.e., don't
17699 # use $as_me), people would be surprised to read:
17700 # /* config.h. Generated by config.status. */
17701 configure_input
='Generated from '`
17702 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
17704 if test x
"$ac_file" != x-
; then
17705 configure_input
="$ac_file. $configure_input"
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
17707 $as_echo "$as_me: creating $ac_file" >&6;}
17709 # Neutralize special characters interpreted by sed in replacement strings.
17710 case $configure_input in #(
17711 *\
&* |
*\|
* |
*\\* )
17712 ac_sed_conf_input
=`$as_echo "$configure_input" |
17713 sed 's/[\\\\&|]/\\\\&/g'`;; #(
17714 *) ac_sed_conf_input
=$configure_input;;
17718 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
17719 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
17724 ac_dir
=`$as_dirname -- "$ac_file" ||
17725 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17726 X"$ac_file" : 'X\(//\)[^/]' \| \
17727 X"$ac_file" : 'X\(//\)$' \| \
17728 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
17729 $as_echo X"$ac_file" |
17730 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17734 /^X\(\/\/\)[^/].*/{
17747 as_dir
="$ac_dir"; as_fn_mkdir_p
17751 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17753 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
17754 # A ".." for each directory in $ac_dir_suffix.
17755 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
17756 case $ac_top_builddir_sub in
17757 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
17758 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
17761 ac_abs_top_builddir
=$ac_pwd
17762 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
17763 # for backward compatibility:
17764 ac_top_builddir
=$ac_top_build_prefix
17767 .
) # We are building in place.
17769 ac_top_srcdir
=$ac_top_builddir_sub
17770 ac_abs_top_srcdir
=$ac_pwd ;;
17771 [\\/]* | ?
:[\\/]* ) # Absolute name.
17772 ac_srcdir
=$srcdir$ac_dir_suffix;
17773 ac_top_srcdir
=$srcdir
17774 ac_abs_top_srcdir
=$srcdir ;;
17775 *) # Relative name.
17776 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
17777 ac_top_srcdir
=$ac_top_build_prefix$srcdir
17778 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
17780 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
17790 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
17791 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
17795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17796 # If the template does not know about datarootdir, expand it.
17797 # FIXME: This hack should be removed a few years after 2.60.
17798 ac_datarootdir_hack
=; ac_datarootdir_seen
=
17809 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
17810 *datarootdir
*) ac_datarootdir_seen
=yes;;
17811 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17813 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
17815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17816 ac_datarootdir_hack='
17817 s&@datadir@&$datadir&g
17818 s&@docdir@&$docdir&g
17819 s&@infodir@&$infodir&g
17820 s&@localedir@&$localedir&g
17821 s&@mandir@&$mandir&g
17822 s&\\\${datarootdir}&$datarootdir&g' ;;
17826 # Neutralize VPATH when `$srcdir' = `.'.
17827 # Shell code in configure.ac might set extrasub.
17828 # FIXME: do we really want to maintain this feature?
17829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17830 ac_sed_extra="$ac_vpsub
17833 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
17835 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
17836 s|@configure_input@|
$ac_sed_conf_input|
;t t
17837 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
17838 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
17839 s
&@srcdir@
&$ac_srcdir&;t t
17840 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
17841 s
&@top_srcdir@
&$ac_top_srcdir&;t t
17842 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
17843 s
&@builddir@
&$ac_builddir&;t t
17844 s
&@abs_builddir@
&$ac_abs_builddir&;t t
17845 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
17846 s
&@INSTALL@
&$ac_INSTALL&;t t
17847 $ac_datarootdir_hack
17849 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" |
17850 if $ac_cs_awk_getline; then
17851 $AWK -f "$ac_tmp/subs.
awk"
17853 $AWK -f "$ac_tmp/subs.
awk" | $SHELL
17855 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
17857 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
17858 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
17859 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
17860 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
17861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
17862 which seems to be undefined. Please make sure it is defined" >&5
17863 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
17864 which seems to be undefined. Please make sure it is defined" >&2;}
17866 rm -f "$ac_tmp/stdin"
17868 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
17869 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
17871 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17877 if test x"$ac_file" != x-; then
17879 $as_echo "/* $configure_input */" \
17880 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
17881 } >"$ac_tmp/config.h" \
17882 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17883 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
17885 $as_echo "$as_me: $ac_file is unchanged" >&6;}
17888 mv "$ac_tmp/config.h" "$ac_file" \
17889 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
17892 $as_echo "/* $configure_input */" \
17893 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
17894 || as_fn_error $? "could not create -" "$LINENO" 5
17902 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.
'; then
17905 # Prefer the file from the source tree if names are identical.
17906 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
17907 ac_source=$srcdir/$ac_source
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
17911 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
17913 if test ! -r "$ac_source"; then
17914 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
17918 # Try a relative symlink, then a hard link, then a copy.
17920 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
17921 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
17923 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
17924 ln "$ac_source" "$ac_file" 2>/dev/null ||
17925 cp -p "$ac_source" "$ac_file" ||
17926 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
17929 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
17930 $as_echo "$as_me: executing $ac_file commands" >&6;}
17935 case $ac_file$ac_mode in
17936 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
17937 "dlls/gdi32/dibdrv":C) test -d "dlls/gdi32/dibdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/dibdrv" >&5
17938 $as_echo "$as_me: creating dlls/gdi32/dibdrv" >&6;}; as_dir="dlls/gdi32/dibdrv"; as_fn_mkdir_p; } ;;
17939 "dlls/gdi32/enhmfdrv":C) test -d "dlls/gdi32/enhmfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/enhmfdrv" >&5
17940 $as_echo "$as_me: creating dlls/gdi32/enhmfdrv" >&6;}; as_dir="dlls/gdi32/enhmfdrv"; as_fn_mkdir_p; } ;;
17941 "dlls/gdi32/mfdrv":C) test -d "dlls/gdi32/mfdrv" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/gdi32/mfdrv" >&5
17942 $as_echo "$as_me: creating dlls/gdi32/mfdrv" >&6;}; as_dir="dlls/gdi32/mfdrv"; as_fn_mkdir_p; } ;;
17943 "dlls/kernel32/nls":C) test -d "dlls/kernel32/nls" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/kernel32/nls" >&5
17944 $as_echo "$as_me: creating dlls/kernel32/nls" >&6;}; as_dir="dlls/kernel32/nls"; as_fn_mkdir_p; } ;;
17945 "dlls/user32/resources":C) test -d "dlls/user32/resources" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/user32/resources" >&5
17946 $as_echo "$as_me: creating dlls/user32/resources" >&6;}; as_dir="dlls/user32/resources"; as_fn_mkdir_p; } ;;
17947 "dlls/wineps.drv/data":C) test -d "dlls/wineps.drv/data" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating dlls/wineps.drv/data" >&5
17948 $as_echo "$as_me: creating dlls/wineps.drv/data" >&6;}; as_dir="dlls/wineps.drv/data"; as_fn_mkdir_p; } ;;
17949 "include/wine":C) test -d "include/wine" || { { $as_echo "$as_me:${as_lineno-$LINENO}: creating include/wine" >&5
17950 $as_echo "$as_me: creating include/wine" >&6;}; as_dir="include/wine"; as_fn_mkdir_p; } ;;
17951 "Makefile":C) wine_fn_output_makefile Makefile ;;
17959 ac_clean_files=$ac_clean_files_save
17961 test $ac_write_fail = 0 ||
17962 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
17965 # configure is writing to config.log, and then calls config.status.
17966 # config.status does its own redirection, appending to config.log.
17967 # Unfortunately, on DOS this fails, as config.log is still kept open
17968 # by configure, so config.status won't be able to
write to it
; its
17969 # output is simply discarded. So we exec the FD to /dev/null,
17970 # effectively closing config.log, so it can be properly (re)opened and
17971 # appended to by config.status. When coming back to configure, we
17972 # need to make the FD available again.
17973 if test "$no_create" != yes; then
17975 ac_config_status_args
=
17976 test "$silent" = yes &&
17977 ac_config_status_args
="$ac_config_status_args --quiet"
17979 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
17981 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
17982 # would make configure fail if this is the last instruction.
17983 $ac_cs_success || as_fn_exit
1
17985 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
17986 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
17987 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
17991 if test "$no_create" = "yes"
17997 if test "x$wine_notices != "x
; then
18000 for msg
in $wine_notices; do
18002 if test -n "$msg"; then
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
18004 $as_echo "$as_me: $msg" >&6;}
18009 for msg
in $wine_warnings; do
18011 if test -n "$msg"; then
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
18014 $as_echo "$as_me: WARNING: $msg" >&2;}
18020 $as_me: Finished. Do '${ac_make}' to compile Wine.