mshtml: Expose IHTMLWindow7 interface to scripts.
[wine.git] / configure
blobec15a9098346180b425e69ca85ac0f6828470cfd
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.8.
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 :
20 emulate sh
21 NULLCMD=:
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+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
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
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
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'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
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.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
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
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
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 || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
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.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
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
158 as_fn_exit 255
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 :
164 emulate sh
165 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
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; }
185 exitcode=0
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 :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || 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 :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
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 :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
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
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
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.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
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
259 exit 255
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."
268 else
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."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
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 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
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
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
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 :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
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.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
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
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
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. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
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).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
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
525 as_ln_s='ln -s'
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 ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
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"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
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
561 exec 6>&1
563 # Name of the host.
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`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='3.8'
584 PACKAGE_STRING='Wine 3.8'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_largeinteger_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_0
945 enable_api_ms_win_core_libraryloader_l1_1_1
946 enable_api_ms_win_core_libraryloader_l1_2_0
947 enable_api_ms_win_core_libraryloader_l1_2_1
948 enable_api_ms_win_core_libraryloader_l1_2_2
949 enable_api_ms_win_core_localization_l1_1_0
950 enable_api_ms_win_core_localization_l1_2_0
951 enable_api_ms_win_core_localization_l1_2_1
952 enable_api_ms_win_core_localization_l2_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_1_0
954 enable_api_ms_win_core_localization_obsolete_l1_2_0
955 enable_api_ms_win_core_localization_obsolete_l1_3_0
956 enable_api_ms_win_core_localization_private_l1_1_0
957 enable_api_ms_win_core_localregistry_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_0
959 enable_api_ms_win_core_memory_l1_1_1
960 enable_api_ms_win_core_memory_l1_1_2
961 enable_api_ms_win_core_misc_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_1_0
963 enable_api_ms_win_core_namedpipe_l1_2_0
964 enable_api_ms_win_core_namespace_l1_1_0
965 enable_api_ms_win_core_normalization_l1_1_0
966 enable_api_ms_win_core_path_l1_1_0
967 enable_api_ms_win_core_privateprofile_l1_1_1
968 enable_api_ms_win_core_processenvironment_l1_1_0
969 enable_api_ms_win_core_processenvironment_l1_2_0
970 enable_api_ms_win_core_processthreads_l1_1_0
971 enable_api_ms_win_core_processthreads_l1_1_1
972 enable_api_ms_win_core_processthreads_l1_1_2
973 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
974 enable_api_ms_win_core_profile_l1_1_0
975 enable_api_ms_win_core_psapi_ansi_l1_1_0
976 enable_api_ms_win_core_psapi_l1_1_0
977 enable_api_ms_win_core_psapi_obsolete_l1_1_0
978 enable_api_ms_win_core_quirks_l1_1_0
979 enable_api_ms_win_core_realtime_l1_1_0
980 enable_api_ms_win_core_registry_l1_1_0
981 enable_api_ms_win_core_registry_l2_1_0
982 enable_api_ms_win_core_registryuserspecific_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_1_0
984 enable_api_ms_win_core_rtlsupport_l1_2_0
985 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
987 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
988 enable_api_ms_win_core_shutdown_l1_1_0
989 enable_api_ms_win_core_sidebyside_l1_1_0
990 enable_api_ms_win_core_string_l1_1_0
991 enable_api_ms_win_core_string_l2_1_0
992 enable_api_ms_win_core_string_obsolete_l1_1_0
993 enable_api_ms_win_core_stringansi_l1_1_0
994 enable_api_ms_win_core_synch_ansi_l1_1_0
995 enable_api_ms_win_core_synch_l1_1_0
996 enable_api_ms_win_core_synch_l1_2_0
997 enable_api_ms_win_core_synch_l1_2_1
998 enable_api_ms_win_core_sysinfo_l1_1_0
999 enable_api_ms_win_core_sysinfo_l1_2_0
1000 enable_api_ms_win_core_sysinfo_l1_2_1
1001 enable_api_ms_win_core_threadpool_l1_1_0
1002 enable_api_ms_win_core_threadpool_l1_2_0
1003 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1004 enable_api_ms_win_core_threadpool_private_l1_1_0
1005 enable_api_ms_win_core_timezone_l1_1_0
1006 enable_api_ms_win_core_toolhelp_l1_1_0
1007 enable_api_ms_win_core_url_l1_1_0
1008 enable_api_ms_win_core_util_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_0
1010 enable_api_ms_win_core_version_l1_1_1
1011 enable_api_ms_win_core_version_private_l1_1_0
1012 enable_api_ms_win_core_versionansi_l1_1_0
1013 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_0
1015 enable_api_ms_win_core_winrt_error_l1_1_1
1016 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1017 enable_api_ms_win_core_winrt_l1_1_0
1018 enable_api_ms_win_core_winrt_registration_l1_1_0
1019 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1020 enable_api_ms_win_core_winrt_string_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_0
1022 enable_api_ms_win_core_wow64_l1_1_1
1023 enable_api_ms_win_core_xstate_l1_1_0
1024 enable_api_ms_win_core_xstate_l2_1_0
1025 enable_api_ms_win_crt_conio_l1_1_0
1026 enable_api_ms_win_crt_convert_l1_1_0
1027 enable_api_ms_win_crt_environment_l1_1_0
1028 enable_api_ms_win_crt_filesystem_l1_1_0
1029 enable_api_ms_win_crt_heap_l1_1_0
1030 enable_api_ms_win_crt_locale_l1_1_0
1031 enable_api_ms_win_crt_math_l1_1_0
1032 enable_api_ms_win_crt_multibyte_l1_1_0
1033 enable_api_ms_win_crt_private_l1_1_0
1034 enable_api_ms_win_crt_process_l1_1_0
1035 enable_api_ms_win_crt_runtime_l1_1_0
1036 enable_api_ms_win_crt_stdio_l1_1_0
1037 enable_api_ms_win_crt_string_l1_1_0
1038 enable_api_ms_win_crt_time_l1_1_0
1039 enable_api_ms_win_crt_utility_l1_1_0
1040 enable_api_ms_win_devices_config_l1_1_1
1041 enable_api_ms_win_devices_query_l1_1_1
1042 enable_api_ms_win_downlevel_advapi32_l1_1_0
1043 enable_api_ms_win_downlevel_advapi32_l2_1_0
1044 enable_api_ms_win_downlevel_normaliz_l1_1_0
1045 enable_api_ms_win_downlevel_ole32_l1_1_0
1046 enable_api_ms_win_downlevel_shell32_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1048 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1049 enable_api_ms_win_downlevel_user32_l1_1_0
1050 enable_api_ms_win_downlevel_version_l1_1_0
1051 enable_api_ms_win_dx_d3dkmt_l1_1_0
1052 enable_api_ms_win_eventing_classicprovider_l1_1_0
1053 enable_api_ms_win_eventing_consumer_l1_1_0
1054 enable_api_ms_win_eventing_controller_l1_1_0
1055 enable_api_ms_win_eventing_legacy_l1_1_0
1056 enable_api_ms_win_eventing_provider_l1_1_0
1057 enable_api_ms_win_eventlog_legacy_l1_1_0
1058 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1059 enable_api_ms_win_mm_joystick_l1_1_0
1060 enable_api_ms_win_mm_misc_l1_1_1
1061 enable_api_ms_win_mm_mme_l1_1_0
1062 enable_api_ms_win_mm_time_l1_1_0
1063 enable_api_ms_win_ntuser_dc_access_l1_1_0
1064 enable_api_ms_win_ntuser_rectangle_l1_1_0
1065 enable_api_ms_win_perf_legacy_l1_1_0
1066 enable_api_ms_win_power_base_l1_1_0
1067 enable_api_ms_win_power_setting_l1_1_0
1068 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1069 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1070 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1071 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1074 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1075 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1076 enable_api_ms_win_security_audit_l1_1_1
1077 enable_api_ms_win_security_base_l1_1_0
1078 enable_api_ms_win_security_base_l1_2_0
1079 enable_api_ms_win_security_base_private_l1_1_1
1080 enable_api_ms_win_security_credentials_l1_1_0
1081 enable_api_ms_win_security_grouppolicy_l1_1_0
1082 enable_api_ms_win_security_lsalookup_l1_1_0
1083 enable_api_ms_win_security_lsalookup_l1_1_1
1084 enable_api_ms_win_security_lsalookup_l2_1_0
1085 enable_api_ms_win_security_lsalookup_l2_1_1
1086 enable_api_ms_win_security_lsapolicy_l1_1_0
1087 enable_api_ms_win_security_provider_l1_1_0
1088 enable_api_ms_win_security_sddl_l1_1_0
1089 enable_api_ms_win_security_systemfunctions_l1_1_0
1090 enable_api_ms_win_service_core_l1_1_0
1091 enable_api_ms_win_service_core_l1_1_1
1092 enable_api_ms_win_service_management_l1_1_0
1093 enable_api_ms_win_service_management_l2_1_0
1094 enable_api_ms_win_service_private_l1_1_1
1095 enable_api_ms_win_service_winsvc_l1_1_0
1096 enable_api_ms_win_service_winsvc_l1_2_0
1097 enable_api_ms_win_shcore_obsolete_l1_1_0
1098 enable_api_ms_win_shcore_scaling_l1_1_1
1099 enable_api_ms_win_shcore_stream_l1_1_0
1100 enable_api_ms_win_shcore_thread_l1_1_0
1101 enable_api_ms_win_shell_shellcom_l1_1_0
1102 enable_api_ms_win_shell_shellfolders_l1_1_0
1103 enable_apphelp
1104 enable_appwiz_cpl
1105 enable_atl
1106 enable_atl100
1107 enable_atl110
1108 enable_atl80
1109 enable_atl90
1110 enable_atmlib
1111 enable_authz
1112 enable_avicap32
1113 enable_avifil32
1114 enable_avrt
1115 enable_bcrypt
1116 enable_bluetoothapis
1117 enable_browseui
1118 enable_bthprops_cpl
1119 enable_cabinet
1120 enable_capi2032
1121 enable_cards
1122 enable_cdosys
1123 enable_cfgmgr32
1124 enable_clusapi
1125 enable_combase
1126 enable_comcat
1127 enable_comctl32
1128 enable_comdlg32
1129 enable_compstui
1130 enable_comsvcs
1131 enable_concrt140
1132 enable_connect
1133 enable_credui
1134 enable_crtdll
1135 enable_crypt32
1136 enable_cryptdlg
1137 enable_cryptdll
1138 enable_cryptext
1139 enable_cryptnet
1140 enable_cryptui
1141 enable_ctapi32
1142 enable_ctl3d32
1143 enable_d2d1
1144 enable_d3d10
1145 enable_d3d10_1
1146 enable_d3d10core
1147 enable_d3d11
1148 enable_d3d12
1149 enable_d3d8
1150 enable_d3d9
1151 enable_d3dcompiler_33
1152 enable_d3dcompiler_34
1153 enable_d3dcompiler_35
1154 enable_d3dcompiler_36
1155 enable_d3dcompiler_37
1156 enable_d3dcompiler_38
1157 enable_d3dcompiler_39
1158 enable_d3dcompiler_40
1159 enable_d3dcompiler_41
1160 enable_d3dcompiler_42
1161 enable_d3dcompiler_43
1162 enable_d3dcompiler_46
1163 enable_d3dcompiler_47
1164 enable_d3dim
1165 enable_d3drm
1166 enable_d3dx10_33
1167 enable_d3dx10_34
1168 enable_d3dx10_35
1169 enable_d3dx10_36
1170 enable_d3dx10_37
1171 enable_d3dx10_38
1172 enable_d3dx10_39
1173 enable_d3dx10_40
1174 enable_d3dx10_41
1175 enable_d3dx10_42
1176 enable_d3dx10_43
1177 enable_d3dx11_42
1178 enable_d3dx11_43
1179 enable_d3dx9_24
1180 enable_d3dx9_25
1181 enable_d3dx9_26
1182 enable_d3dx9_27
1183 enable_d3dx9_28
1184 enable_d3dx9_29
1185 enable_d3dx9_30
1186 enable_d3dx9_31
1187 enable_d3dx9_32
1188 enable_d3dx9_33
1189 enable_d3dx9_34
1190 enable_d3dx9_35
1191 enable_d3dx9_36
1192 enable_d3dx9_37
1193 enable_d3dx9_38
1194 enable_d3dx9_39
1195 enable_d3dx9_40
1196 enable_d3dx9_41
1197 enable_d3dx9_42
1198 enable_d3dx9_43
1199 enable_d3dxof
1200 enable_davclnt
1201 enable_dbgeng
1202 enable_dbghelp
1203 enable_dciman32
1204 enable_ddraw
1205 enable_ddrawex
1206 enable_devenum
1207 enable_dhcpcsvc
1208 enable_dhtmled_ocx
1209 enable_difxapi
1210 enable_dinput
1211 enable_dinput8
1212 enable_dispex
1213 enable_dmband
1214 enable_dmcompos
1215 enable_dmime
1216 enable_dmloader
1217 enable_dmoguids
1218 enable_dmscript
1219 enable_dmstyle
1220 enable_dmsynth
1221 enable_dmusic
1222 enable_dmusic32
1223 enable_dnsapi
1224 enable_dplay
1225 enable_dplayx
1226 enable_dpnaddr
1227 enable_dpnet
1228 enable_dpnhpast
1229 enable_dpnlobby
1230 enable_dpvoice
1231 enable_dpwsockx
1232 enable_drmclien
1233 enable_dsound
1234 enable_dsquery
1235 enable_dssenh
1236 enable_dswave
1237 enable_dwmapi
1238 enable_dwrite
1239 enable_dx8vb
1240 enable_dxdiagn
1241 enable_dxerr8
1242 enable_dxerr9
1243 enable_dxgi
1244 enable_dxguid
1245 enable_dxva2
1246 enable_esent
1247 enable_evr
1248 enable_explorerframe
1249 enable_ext_ms_win_authz_context_l1_1_0
1250 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1251 enable_ext_ms_win_dwmapi_ext_l1_1_0
1252 enable_ext_ms_win_gdi_dc_create_l1_1_1
1253 enable_ext_ms_win_gdi_dc_l1_2_0
1254 enable_ext_ms_win_gdi_devcaps_l1_1_0
1255 enable_ext_ms_win_gdi_draw_l1_1_1
1256 enable_ext_ms_win_gdi_render_l1_1_0
1257 enable_ext_ms_win_kernel32_package_current_l1_1_0
1258 enable_ext_ms_win_kernel32_package_l1_1_1
1259 enable_ext_ms_win_ntuser_draw_l1_1_0
1260 enable_ext_ms_win_ntuser_gui_l1_3_0
1261 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1262 enable_ext_ms_win_ntuser_message_l1_1_1
1263 enable_ext_ms_win_ntuser_misc_l1_5_1
1264 enable_ext_ms_win_ntuser_mouse_l1_1_0
1265 enable_ext_ms_win_ntuser_private_l1_1_1
1266 enable_ext_ms_win_ntuser_private_l1_3_1
1267 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1268 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1269 enable_ext_ms_win_ntuser_window_l1_1_1
1270 enable_ext_ms_win_ntuser_window_l1_1_4
1271 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1272 enable_ext_ms_win_oleacc_l1_1_0
1273 enable_ext_ms_win_ras_rasapi32_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1275 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1276 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1279 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1281 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1282 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1283 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1284 enable_ext_ms_win_security_credui_l1_1_0
1285 enable_ext_ms_win_security_cryptui_l1_1_0
1286 enable_ext_ms_win_uxtheme_themes_l1_1_0
1287 enable_faultrep
1288 enable_feclient
1289 enable_fltlib
1290 enable_fltmgr_sys
1291 enable_fntcache
1292 enable_fontsub
1293 enable_fusion
1294 enable_fwpuclnt
1295 enable_gameux
1296 enable_gdi32
1297 enable_gdiplus
1298 enable_glu32
1299 enable_gphoto2_ds
1300 enable_gpkcsp
1301 enable_hal
1302 enable_hhctrl_ocx
1303 enable_hid
1304 enable_hidclass_sys
1305 enable_hlink
1306 enable_hnetcfg
1307 enable_httpapi
1308 enable_iccvid
1309 enable_icmp
1310 enable_ieframe
1311 enable_ieproxy
1312 enable_imaadp32_acm
1313 enable_imagehlp
1314 enable_imm32
1315 enable_inetcomm
1316 enable_inetcpl_cpl
1317 enable_inetmib1
1318 enable_infosoft
1319 enable_initpki
1320 enable_inkobj
1321 enable_inseng
1322 enable_iphlpapi
1323 enable_iprop
1324 enable_irprops_cpl
1325 enable_itircl
1326 enable_itss
1327 enable_joy_cpl
1328 enable_jscript
1329 enable_jsproxy
1330 enable_kerberos
1331 enable_kernel32
1332 enable_kernelbase
1333 enable_ksuser
1334 enable_ktmw32
1335 enable_l3codeca_acm
1336 enable_loadperf
1337 enable_localspl
1338 enable_localui
1339 enable_lz32
1340 enable_mapi32
1341 enable_mapistub
1342 enable_mciavi32
1343 enable_mcicda
1344 enable_mciqtz32
1345 enable_mciseq
1346 enable_mciwave
1347 enable_mf
1348 enable_mf3216
1349 enable_mfplat
1350 enable_mfreadwrite
1351 enable_mfuuid
1352 enable_mgmtapi
1353 enable_midimap
1354 enable_mlang
1355 enable_mmcndmgr
1356 enable_mmdevapi
1357 enable_mountmgr_sys
1358 enable_mp3dmod
1359 enable_mpr
1360 enable_mprapi
1361 enable_msacm32_drv
1362 enable_msacm32
1363 enable_msadp32_acm
1364 enable_msasn1
1365 enable_mscat32
1366 enable_mscms
1367 enable_mscoree
1368 enable_msctf
1369 enable_msctfp
1370 enable_msdaps
1371 enable_msdelta
1372 enable_msdmo
1373 enable_msdrm
1374 enable_msftedit
1375 enable_msg711_acm
1376 enable_msgsm32_acm
1377 enable_mshtml_tlb
1378 enable_mshtml
1379 enable_msi
1380 enable_msident
1381 enable_msimg32
1382 enable_msimsg
1383 enable_msimtf
1384 enable_msisip
1385 enable_msisys_ocx
1386 enable_msls31
1387 enable_msnet32
1388 enable_mspatcha
1389 enable_msports
1390 enable_msrle32
1391 enable_msscript_ocx
1392 enable_mssign32
1393 enable_mssip32
1394 enable_mstask
1395 enable_msvcirt
1396 enable_msvcm80
1397 enable_msvcm90
1398 enable_msvcp100
1399 enable_msvcp110
1400 enable_msvcp120
1401 enable_msvcp120_app
1402 enable_msvcp140
1403 enable_msvcp60
1404 enable_msvcp70
1405 enable_msvcp71
1406 enable_msvcp80
1407 enable_msvcp90
1408 enable_msvcr100
1409 enable_msvcr110
1410 enable_msvcr120
1411 enable_msvcr120_app
1412 enable_msvcr70
1413 enable_msvcr71
1414 enable_msvcr80
1415 enable_msvcr90
1416 enable_msvcrt
1417 enable_msvcrt20
1418 enable_msvcrt40
1419 enable_msvcrtd
1420 enable_msvfw32
1421 enable_msvidc32
1422 enable_mswsock
1423 enable_msxml
1424 enable_msxml2
1425 enable_msxml3
1426 enable_msxml4
1427 enable_msxml6
1428 enable_mtxdm
1429 enable_ncrypt
1430 enable_nddeapi
1431 enable_ndis_sys
1432 enable_netapi32
1433 enable_netcfgx
1434 enable_netprofm
1435 enable_newdev
1436 enable_ninput
1437 enable_normaliz
1438 enable_npmshtml
1439 enable_npptools
1440 enable_ntdll
1441 enable_ntdsapi
1442 enable_ntoskrnl_exe
1443 enable_ntprint
1444 enable_objsel
1445 enable_odbc32
1446 enable_odbccp32
1447 enable_odbccu32
1448 enable_ole32
1449 enable_oleacc
1450 enable_oleaut32
1451 enable_olecli32
1452 enable_oledb32
1453 enable_oledlg
1454 enable_olepro32
1455 enable_olesvr32
1456 enable_olethk32
1457 enable_openal32
1458 enable_opencl
1459 enable_opengl32
1460 enable_packager
1461 enable_pdh
1462 enable_photometadatahandler
1463 enable_pidgen
1464 enable_powrprof
1465 enable_printui
1466 enable_prntvpt
1467 enable_propsys
1468 enable_psapi
1469 enable_pstorec
1470 enable_qcap
1471 enable_qedit
1472 enable_qmgr
1473 enable_qmgrprxy
1474 enable_quartz
1475 enable_query
1476 enable_rasapi32
1477 enable_rasdlg
1478 enable_regapi
1479 enable_resutils
1480 enable_riched20
1481 enable_riched32
1482 enable_rpcrt4
1483 enable_rsabase
1484 enable_rsaenh
1485 enable_rstrtmgr
1486 enable_rtutils
1487 enable_samlib
1488 enable_sane_ds
1489 enable_sapi
1490 enable_sas
1491 enable_scarddlg
1492 enable_sccbase
1493 enable_schannel
1494 enable_schedsvc
1495 enable_scrobj
1496 enable_scrrun
1497 enable_scsiport_sys
1498 enable_secur32
1499 enable_security
1500 enable_sensapi
1501 enable_serialui
1502 enable_setupapi
1503 enable_sfc
1504 enable_sfc_os
1505 enable_shcore
1506 enable_shdoclc
1507 enable_shdocvw
1508 enable_shell32
1509 enable_shfolder
1510 enable_shlwapi
1511 enable_slbcsp
1512 enable_slc
1513 enable_snmpapi
1514 enable_softpub
1515 enable_spoolss
1516 enable_srclient
1517 enable_sspicli
1518 enable_stdole2_tlb
1519 enable_stdole32_tlb
1520 enable_sti
1521 enable_strmbase
1522 enable_strmdll
1523 enable_strmiids
1524 enable_svrapi
1525 enable_sxs
1526 enable_t2embed
1527 enable_tapi32
1528 enable_taskschd
1529 enable_tdh
1530 enable_tdi_sys
1531 enable_traffic
1532 enable_twain_32
1533 enable_ucrtbase
1534 enable_uiautomationcore
1535 enable_uiribbon
1536 enable_unicows
1537 enable_updspapi
1538 enable_url
1539 enable_urlmon
1540 enable_usbd_sys
1541 enable_user32
1542 enable_userenv
1543 enable_usp10
1544 enable_uuid
1545 enable_uxtheme
1546 enable_vbscript
1547 enable_vcomp
1548 enable_vcomp100
1549 enable_vcomp110
1550 enable_vcomp120
1551 enable_vcomp140
1552 enable_vcomp90
1553 enable_vcruntime140
1554 enable_vdmdbg
1555 enable_version
1556 enable_virtdisk
1557 enable_vssapi
1558 enable_vulkan_1
1559 enable_wbemdisp
1560 enable_wbemprox
1561 enable_wdscore
1562 enable_webservices
1563 enable_wer
1564 enable_wevtapi
1565 enable_wiaservc
1566 enable_wimgapi
1567 enable_windowscodecs
1568 enable_windowscodecsext
1569 enable_winealsa_drv
1570 enable_wineandroid_drv
1571 enable_winebus_sys
1572 enable_winecoreaudio_drv
1573 enable_winecrt0
1574 enable_wined3d
1575 enable_winegstreamer
1576 enable_winehid_sys
1577 enable_winejoystick_drv
1578 enable_winemac_drv
1579 enable_winemapi
1580 enable_wineoss_drv
1581 enable_wineps_drv
1582 enable_winepulse_drv
1583 enable_wineqtdecoder
1584 enable_winevulkan
1585 enable_winex11_drv
1586 enable_wing32
1587 enable_winhttp
1588 enable_wininet
1589 enable_winmm
1590 enable_winnls32
1591 enable_winscard
1592 enable_winspool_drv
1593 enable_winsta
1594 enable_wintab32
1595 enable_wintrust
1596 enable_winusb
1597 enable_wlanapi
1598 enable_wldap32
1599 enable_wmasf
1600 enable_wmcodecdspuuid
1601 enable_wmi
1602 enable_wmiutils
1603 enable_wmp
1604 enable_wmphoto
1605 enable_wmvcore
1606 enable_wnaspi32
1607 enable_wpc
1608 enable_wpcap
1609 enable_ws2_32
1610 enable_wsdapi
1611 enable_wshom_ocx
1612 enable_wsnmp32
1613 enable_wsock32
1614 enable_wtsapi32
1615 enable_wuapi
1616 enable_wuaueng
1617 enable_x3daudio1_0
1618 enable_x3daudio1_1
1619 enable_x3daudio1_2
1620 enable_x3daudio1_3
1621 enable_x3daudio1_4
1622 enable_x3daudio1_5
1623 enable_x3daudio1_6
1624 enable_x3daudio1_7
1625 enable_xapofx1_1
1626 enable_xapofx1_2
1627 enable_xapofx1_3
1628 enable_xapofx1_4
1629 enable_xapofx1_5
1630 enable_xaudio2_0
1631 enable_xaudio2_1
1632 enable_xaudio2_2
1633 enable_xaudio2_3
1634 enable_xaudio2_4
1635 enable_xaudio2_5
1636 enable_xaudio2_6
1637 enable_xaudio2_7
1638 enable_xaudio2_8
1639 enable_xaudio2_9
1640 enable_xinput1_1
1641 enable_xinput1_2
1642 enable_xinput1_3
1643 enable_xinput1_4
1644 enable_xinput9_1_0
1645 enable_xmllite
1646 enable_xolehlp
1647 enable_xpsprint
1648 enable_xpssvcs
1649 enable_fonts
1650 enable_include
1651 enable_port
1652 enable_wine
1653 enable_wpp
1654 enable_loader
1655 enable_po
1656 enable_arp
1657 enable_aspnet_regiis
1658 enable_attrib
1659 enable_cabarc
1660 enable_cacls
1661 enable_clock
1662 enable_cmd
1663 enable_conhost
1664 enable_control
1665 enable_cscript
1666 enable_dpnsvr
1667 enable_dxdiag
1668 enable_eject
1669 enable_expand
1670 enable_explorer
1671 enable_extrac32
1672 enable_findstr
1673 enable_fsutil
1674 enable_hh
1675 enable_hostname
1676 enable_icacls
1677 enable_icinfo
1678 enable_iexplore
1679 enable_ipconfig
1680 enable_lodctr
1681 enable_mofcomp
1682 enable_mshta
1683 enable_msiexec
1684 enable_msinfo32
1685 enable_net
1686 enable_netsh
1687 enable_netstat
1688 enable_ngen
1689 enable_notepad
1690 enable_oleview
1691 enable_ping
1692 enable_plugplay
1693 enable_powershell
1694 enable_presentationfontcache
1695 enable_progman
1696 enable_reg
1697 enable_regasm
1698 enable_regedit
1699 enable_regsvcs
1700 enable_regsvr32
1701 enable_rpcss
1702 enable_rundll32
1703 enable_sc
1704 enable_schtasks
1705 enable_sdbinst
1706 enable_secedit
1707 enable_servicemodelreg
1708 enable_services
1709 enable_shutdown
1710 enable_spoolsv
1711 enable_start
1712 enable_subst
1713 enable_svchost
1714 enable_systeminfo
1715 enable_taskkill
1716 enable_tasklist
1717 enable_taskmgr
1718 enable_termsv
1719 enable_uninstaller
1720 enable_unlodctr
1721 enable_view
1722 enable_wevtutil
1723 enable_wineboot
1724 enable_winebrowser
1725 enable_winecfg
1726 enable_wineconsole
1727 enable_winedbg
1728 enable_winedevice
1729 enable_winefile
1730 enable_winemenubuilder
1731 enable_winemine
1732 enable_winemsibuilder
1733 enable_winepath
1734 enable_winetest
1735 enable_winhlp32
1736 enable_winmgmt
1737 enable_winver
1738 enable_wmic
1739 enable_wmplayer
1740 enable_wordpad
1741 enable_write
1742 enable_wscript
1743 enable_wusa
1744 enable_xcopy
1745 enable_server
1746 enable_tools
1747 enable_sfnt2fon
1748 enable_widl
1749 enable_winebuild
1750 enable_winedump
1751 enable_winegcc
1752 enable_winemaker
1753 enable_wmc
1754 enable_wrc
1756 ac_precious_vars='build_alias
1757 host_alias
1758 target_alias
1760 CFLAGS
1761 LDFLAGS
1762 LIBS
1763 CPPFLAGS
1765 CXXFLAGS
1768 XMKMF
1769 XML2_CFLAGS
1770 XML2_LIBS
1771 XSLT_CFLAGS
1772 XSLT_LIBS
1773 DBUS_CFLAGS
1774 DBUS_LIBS
1775 HAL_CFLAGS
1776 HAL_LIBS
1777 GNUTLS_CFLAGS
1778 GNUTLS_LIBS
1779 SANE_CFLAGS
1780 SANE_LIBS
1781 GPHOTO2_CFLAGS
1782 GPHOTO2_LIBS
1783 GPHOTO2_PORT_CFLAGS
1784 GPHOTO2_PORT_LIBS
1785 LCMS2_CFLAGS
1786 LCMS2_LIBS
1787 FREETYPE_CFLAGS
1788 FREETYPE_LIBS
1789 PULSE_CFLAGS
1790 PULSE_LIBS
1791 GSTREAMER_CFLAGS
1792 GSTREAMER_LIBS
1793 UDEV_CFLAGS
1794 UDEV_LIBS
1795 SDL2_CFLAGS
1796 SDL2_LIBS
1797 CAPI20_CFLAGS
1798 CAPI20_LIBS
1799 CUPS_CFLAGS
1800 CUPS_LIBS
1801 FONTCONFIG_CFLAGS
1802 FONTCONFIG_LIBS
1803 KRB5_CFLAGS
1804 KRB5_LIBS
1805 GSSAPI_CFLAGS
1806 GSSAPI_LIBS
1807 JPEG_CFLAGS
1808 JPEG_LIBS
1809 PNG_CFLAGS
1810 PNG_LIBS
1811 TIFF_CFLAGS
1812 TIFF_LIBS
1813 MPG123_CFLAGS
1814 MPG123_LIBS
1815 NETAPI_CFLAGS
1816 NETAPI_LIBS
1817 LDAP_CFLAGS
1818 LDAP_LIBS'
1821 # Initialize some variables set by options.
1822 ac_init_help=
1823 ac_init_version=false
1824 ac_unrecognized_opts=
1825 ac_unrecognized_sep=
1826 # The variables have the same names as the options, with
1827 # dashes changed to underlines.
1828 cache_file=/dev/null
1829 exec_prefix=NONE
1830 no_create=
1831 no_recursion=
1832 prefix=NONE
1833 program_prefix=NONE
1834 program_suffix=NONE
1835 program_transform_name=s,x,x,
1836 silent=
1837 site=
1838 srcdir=
1839 verbose=
1840 x_includes=NONE
1841 x_libraries=NONE
1843 # Installation directory options.
1844 # These are left unexpanded so users can "make install exec_prefix=/foo"
1845 # and all the variables that are supposed to be based on exec_prefix
1846 # by default will actually change.
1847 # Use braces instead of parens because sh, perl, etc. also accept them.
1848 # (The list follows the same order as the GNU Coding Standards.)
1849 bindir='${exec_prefix}/bin'
1850 sbindir='${exec_prefix}/sbin'
1851 libexecdir='${exec_prefix}/libexec'
1852 datarootdir='${prefix}/share'
1853 datadir='${datarootdir}'
1854 sysconfdir='${prefix}/etc'
1855 sharedstatedir='${prefix}/com'
1856 localstatedir='${prefix}/var'
1857 runstatedir='${localstatedir}/run'
1858 includedir='${prefix}/include'
1859 oldincludedir='/usr/include'
1860 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1861 infodir='${datarootdir}/info'
1862 htmldir='${docdir}'
1863 dvidir='${docdir}'
1864 pdfdir='${docdir}'
1865 psdir='${docdir}'
1866 libdir='${exec_prefix}/lib'
1867 localedir='${datarootdir}/locale'
1868 mandir='${datarootdir}/man'
1870 ac_prev=
1871 ac_dashdash=
1872 for ac_option
1874 # If the previous option needs an argument, assign it.
1875 if test -n "$ac_prev"; then
1876 eval $ac_prev=\$ac_option
1877 ac_prev=
1878 continue
1881 case $ac_option in
1882 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1883 *=) ac_optarg= ;;
1884 *) ac_optarg=yes ;;
1885 esac
1887 # Accept the important Cygnus configure options, so we can diagnose typos.
1889 case $ac_dashdash$ac_option in
1891 ac_dashdash=yes ;;
1893 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1894 ac_prev=bindir ;;
1895 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1896 bindir=$ac_optarg ;;
1898 -build | --build | --buil | --bui | --bu)
1899 ac_prev=build_alias ;;
1900 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1901 build_alias=$ac_optarg ;;
1903 -cache-file | --cache-file | --cache-fil | --cache-fi \
1904 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1905 ac_prev=cache_file ;;
1906 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1907 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1908 cache_file=$ac_optarg ;;
1910 --config-cache | -C)
1911 cache_file=config.cache ;;
1913 -datadir | --datadir | --datadi | --datad)
1914 ac_prev=datadir ;;
1915 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1916 datadir=$ac_optarg ;;
1918 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1919 | --dataroo | --dataro | --datar)
1920 ac_prev=datarootdir ;;
1921 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1922 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1923 datarootdir=$ac_optarg ;;
1925 -disable-* | --disable-*)
1926 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1927 # Reject names that are not valid shell variable names.
1928 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1929 as_fn_error $? "invalid feature name: $ac_useropt"
1930 ac_useropt_orig=$ac_useropt
1931 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1932 case $ac_user_opts in
1934 "enable_$ac_useropt"
1935 "*) ;;
1936 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1937 ac_unrecognized_sep=', ';;
1938 esac
1939 eval enable_$ac_useropt=no ;;
1941 -docdir | --docdir | --docdi | --doc | --do)
1942 ac_prev=docdir ;;
1943 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1944 docdir=$ac_optarg ;;
1946 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1947 ac_prev=dvidir ;;
1948 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1949 dvidir=$ac_optarg ;;
1951 -enable-* | --enable-*)
1952 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1953 # Reject names that are not valid shell variable names.
1954 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1955 as_fn_error $? "invalid feature name: $ac_useropt"
1956 ac_useropt_orig=$ac_useropt
1957 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1958 case $ac_user_opts in
1960 "enable_$ac_useropt"
1961 "*) ;;
1962 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1963 ac_unrecognized_sep=', ';;
1964 esac
1965 eval enable_$ac_useropt=\$ac_optarg ;;
1967 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1968 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1969 | --exec | --exe | --ex)
1970 ac_prev=exec_prefix ;;
1971 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1972 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1973 | --exec=* | --exe=* | --ex=*)
1974 exec_prefix=$ac_optarg ;;
1976 -gas | --gas | --ga | --g)
1977 # Obsolete; use --with-gas.
1978 with_gas=yes ;;
1980 -help | --help | --hel | --he | -h)
1981 ac_init_help=long ;;
1982 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1983 ac_init_help=recursive ;;
1984 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1985 ac_init_help=short ;;
1987 -host | --host | --hos | --ho)
1988 ac_prev=host_alias ;;
1989 -host=* | --host=* | --hos=* | --ho=*)
1990 host_alias=$ac_optarg ;;
1992 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1993 ac_prev=htmldir ;;
1994 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1995 | --ht=*)
1996 htmldir=$ac_optarg ;;
1998 -includedir | --includedir | --includedi | --included | --include \
1999 | --includ | --inclu | --incl | --inc)
2000 ac_prev=includedir ;;
2001 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2002 | --includ=* | --inclu=* | --incl=* | --inc=*)
2003 includedir=$ac_optarg ;;
2005 -infodir | --infodir | --infodi | --infod | --info | --inf)
2006 ac_prev=infodir ;;
2007 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2008 infodir=$ac_optarg ;;
2010 -libdir | --libdir | --libdi | --libd)
2011 ac_prev=libdir ;;
2012 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2013 libdir=$ac_optarg ;;
2015 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2016 | --libexe | --libex | --libe)
2017 ac_prev=libexecdir ;;
2018 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2019 | --libexe=* | --libex=* | --libe=*)
2020 libexecdir=$ac_optarg ;;
2022 -localedir | --localedir | --localedi | --localed | --locale)
2023 ac_prev=localedir ;;
2024 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2025 localedir=$ac_optarg ;;
2027 -localstatedir | --localstatedir | --localstatedi | --localstated \
2028 | --localstate | --localstat | --localsta | --localst | --locals)
2029 ac_prev=localstatedir ;;
2030 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2031 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2032 localstatedir=$ac_optarg ;;
2034 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2035 ac_prev=mandir ;;
2036 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2037 mandir=$ac_optarg ;;
2039 -nfp | --nfp | --nf)
2040 # Obsolete; use --without-fp.
2041 with_fp=no ;;
2043 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2044 | --no-cr | --no-c | -n)
2045 no_create=yes ;;
2047 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2048 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2049 no_recursion=yes ;;
2051 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2052 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2053 | --oldin | --oldi | --old | --ol | --o)
2054 ac_prev=oldincludedir ;;
2055 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2056 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2057 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2058 oldincludedir=$ac_optarg ;;
2060 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2061 ac_prev=prefix ;;
2062 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2063 prefix=$ac_optarg ;;
2065 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2066 | --program-pre | --program-pr | --program-p)
2067 ac_prev=program_prefix ;;
2068 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2069 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2070 program_prefix=$ac_optarg ;;
2072 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2073 | --program-suf | --program-su | --program-s)
2074 ac_prev=program_suffix ;;
2075 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2076 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2077 program_suffix=$ac_optarg ;;
2079 -program-transform-name | --program-transform-name \
2080 | --program-transform-nam | --program-transform-na \
2081 | --program-transform-n | --program-transform- \
2082 | --program-transform | --program-transfor \
2083 | --program-transfo | --program-transf \
2084 | --program-trans | --program-tran \
2085 | --progr-tra | --program-tr | --program-t)
2086 ac_prev=program_transform_name ;;
2087 -program-transform-name=* | --program-transform-name=* \
2088 | --program-transform-nam=* | --program-transform-na=* \
2089 | --program-transform-n=* | --program-transform-=* \
2090 | --program-transform=* | --program-transfor=* \
2091 | --program-transfo=* | --program-transf=* \
2092 | --program-trans=* | --program-tran=* \
2093 | --progr-tra=* | --program-tr=* | --program-t=*)
2094 program_transform_name=$ac_optarg ;;
2096 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2097 ac_prev=pdfdir ;;
2098 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2099 pdfdir=$ac_optarg ;;
2101 -psdir | --psdir | --psdi | --psd | --ps)
2102 ac_prev=psdir ;;
2103 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2104 psdir=$ac_optarg ;;
2106 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2107 | -silent | --silent | --silen | --sile | --sil)
2108 silent=yes ;;
2110 -runstatedir | --runstatedir | --runstatedi | --runstated \
2111 | --runstate | --runstat | --runsta | --runst | --runs \
2112 | --run | --ru | --r)
2113 ac_prev=runstatedir ;;
2114 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2115 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2116 | --run=* | --ru=* | --r=*)
2117 runstatedir=$ac_optarg ;;
2119 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2120 ac_prev=sbindir ;;
2121 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2122 | --sbi=* | --sb=*)
2123 sbindir=$ac_optarg ;;
2125 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2126 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2127 | --sharedst | --shareds | --shared | --share | --shar \
2128 | --sha | --sh)
2129 ac_prev=sharedstatedir ;;
2130 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2131 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2132 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2133 | --sha=* | --sh=*)
2134 sharedstatedir=$ac_optarg ;;
2136 -site | --site | --sit)
2137 ac_prev=site ;;
2138 -site=* | --site=* | --sit=*)
2139 site=$ac_optarg ;;
2141 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2142 ac_prev=srcdir ;;
2143 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2144 srcdir=$ac_optarg ;;
2146 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2147 | --syscon | --sysco | --sysc | --sys | --sy)
2148 ac_prev=sysconfdir ;;
2149 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2150 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2151 sysconfdir=$ac_optarg ;;
2153 -target | --target | --targe | --targ | --tar | --ta | --t)
2154 ac_prev=target_alias ;;
2155 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2156 target_alias=$ac_optarg ;;
2158 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2159 verbose=yes ;;
2161 -version | --version | --versio | --versi | --vers | -V)
2162 ac_init_version=: ;;
2164 -with-* | --with-*)
2165 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2166 # Reject names that are not valid shell variable names.
2167 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2168 as_fn_error $? "invalid package name: $ac_useropt"
2169 ac_useropt_orig=$ac_useropt
2170 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2171 case $ac_user_opts in
2173 "with_$ac_useropt"
2174 "*) ;;
2175 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2176 ac_unrecognized_sep=', ';;
2177 esac
2178 eval with_$ac_useropt=\$ac_optarg ;;
2180 -without-* | --without-*)
2181 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2182 # Reject names that are not valid shell variable names.
2183 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2184 as_fn_error $? "invalid package name: $ac_useropt"
2185 ac_useropt_orig=$ac_useropt
2186 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2187 case $ac_user_opts in
2189 "with_$ac_useropt"
2190 "*) ;;
2191 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2192 ac_unrecognized_sep=', ';;
2193 esac
2194 eval with_$ac_useropt=no ;;
2196 --x)
2197 # Obsolete; use --with-x.
2198 with_x=yes ;;
2200 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2201 | --x-incl | --x-inc | --x-in | --x-i)
2202 ac_prev=x_includes ;;
2203 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2204 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2205 x_includes=$ac_optarg ;;
2207 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2208 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2209 ac_prev=x_libraries ;;
2210 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2211 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2212 x_libraries=$ac_optarg ;;
2214 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2215 Try \`$0 --help' for more information"
2218 *=*)
2219 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2220 # Reject names that are not valid shell variable names.
2221 case $ac_envvar in #(
2222 '' | [0-9]* | *[!_$as_cr_alnum]* )
2223 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2224 esac
2225 eval $ac_envvar=\$ac_optarg
2226 export $ac_envvar ;;
2229 # FIXME: should be removed in autoconf 3.0.
2230 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2231 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2232 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2233 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2236 esac
2237 done
2239 if test -n "$ac_prev"; then
2240 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2241 as_fn_error $? "missing argument to $ac_option"
2244 if test -n "$ac_unrecognized_opts"; then
2245 case $enable_option_checking in
2246 no) ;;
2247 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2248 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2249 esac
2252 # Check all directory arguments for consistency.
2253 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2254 datadir sysconfdir sharedstatedir localstatedir includedir \
2255 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2256 libdir localedir mandir runstatedir
2258 eval ac_val=\$$ac_var
2259 # Remove trailing slashes.
2260 case $ac_val in
2261 */ )
2262 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2263 eval $ac_var=\$ac_val;;
2264 esac
2265 # Be sure to have absolute directory names.
2266 case $ac_val in
2267 [\\/$]* | ?:[\\/]* ) continue;;
2268 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2269 esac
2270 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2271 done
2273 # There might be people who depend on the old broken behavior: `$host'
2274 # used to hold the argument of --host etc.
2275 # FIXME: To remove some day.
2276 build=$build_alias
2277 host=$host_alias
2278 target=$target_alias
2280 # FIXME: To remove some day.
2281 if test "x$host_alias" != x; then
2282 if test "x$build_alias" = x; then
2283 cross_compiling=maybe
2284 elif test "x$build_alias" != "x$host_alias"; then
2285 cross_compiling=yes
2289 ac_tool_prefix=
2290 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2292 test "$silent" = yes && exec 6>/dev/null
2295 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2296 ac_ls_di=`ls -di .` &&
2297 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2298 as_fn_error $? "working directory cannot be determined"
2299 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2300 as_fn_error $? "pwd does not report name of working directory"
2303 # Find the source files, if location was not specified.
2304 if test -z "$srcdir"; then
2305 ac_srcdir_defaulted=yes
2306 # Try the directory containing this script, then the parent directory.
2307 ac_confdir=`$as_dirname -- "$as_myself" ||
2308 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2309 X"$as_myself" : 'X\(//\)[^/]' \| \
2310 X"$as_myself" : 'X\(//\)$' \| \
2311 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2312 $as_echo X"$as_myself" |
2313 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2314 s//\1/
2317 /^X\(\/\/\)[^/].*/{
2318 s//\1/
2321 /^X\(\/\/\)$/{
2322 s//\1/
2325 /^X\(\/\).*/{
2326 s//\1/
2329 s/.*/./; q'`
2330 srcdir=$ac_confdir
2331 if test ! -r "$srcdir/$ac_unique_file"; then
2332 srcdir=..
2334 else
2335 ac_srcdir_defaulted=no
2337 if test ! -r "$srcdir/$ac_unique_file"; then
2338 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2339 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2341 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2342 ac_abs_confdir=`(
2343 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2344 pwd)`
2345 # When building in place, set srcdir=.
2346 if test "$ac_abs_confdir" = "$ac_pwd"; then
2347 srcdir=.
2349 # Remove unnecessary trailing slashes from srcdir.
2350 # Double slashes in file names in object file debugging info
2351 # mess up M-x gdb in Emacs.
2352 case $srcdir in
2353 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2354 esac
2355 for ac_var in $ac_precious_vars; do
2356 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2357 eval ac_env_${ac_var}_value=\$${ac_var}
2358 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2359 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2360 done
2363 # Report the --help message.
2365 if test "$ac_init_help" = "long"; then
2366 # Omit some internal or obsolete options to make the list less imposing.
2367 # This message is too long to be a string in the A/UX 3.1 sh.
2368 cat <<_ACEOF
2369 \`configure' configures Wine 3.8 to adapt to many kinds of systems.
2371 Usage: $0 [OPTION]... [VAR=VALUE]...
2373 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2374 VAR=VALUE. See below for descriptions of some of the useful variables.
2376 Defaults for the options are specified in brackets.
2378 Configuration:
2379 -h, --help display this help and exit
2380 --help=short display options specific to this package
2381 --help=recursive display the short help of all the included packages
2382 -V, --version display version information and exit
2383 -q, --quiet, --silent do not print \`checking ...' messages
2384 --cache-file=FILE cache test results in FILE [disabled]
2385 -C, --config-cache alias for \`--cache-file=config.cache'
2386 -n, --no-create do not create output files
2387 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2389 Installation directories:
2390 --prefix=PREFIX install architecture-independent files in PREFIX
2391 [$ac_default_prefix]
2392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2393 [PREFIX]
2395 By default, \`make install' will install all the files in
2396 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2397 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2398 for instance \`--prefix=\$HOME'.
2400 For better control, use the options below.
2402 Fine tuning of the installation directories:
2403 --bindir=DIR user executables [EPREFIX/bin]
2404 --sbindir=DIR system admin executables [EPREFIX/sbin]
2405 --libexecdir=DIR program executables [EPREFIX/libexec]
2406 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2407 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2408 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2409 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2410 --libdir=DIR object code libraries [EPREFIX/lib]
2411 --includedir=DIR C header files [PREFIX/include]
2412 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2413 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2414 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2415 --infodir=DIR info documentation [DATAROOTDIR/info]
2416 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2417 --mandir=DIR man documentation [DATAROOTDIR/man]
2418 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2419 --htmldir=DIR html documentation [DOCDIR]
2420 --dvidir=DIR dvi documentation [DOCDIR]
2421 --pdfdir=DIR pdf documentation [DOCDIR]
2422 --psdir=DIR ps documentation [DOCDIR]
2423 _ACEOF
2425 cat <<\_ACEOF
2427 X features:
2428 --x-includes=DIR X include files are in DIR
2429 --x-libraries=DIR X library files are in DIR
2431 System types:
2432 --build=BUILD configure for building on BUILD [guessed]
2433 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2434 _ACEOF
2437 if test -n "$ac_init_help"; then
2438 case $ac_init_help in
2439 short | recursive ) echo "Configuration of Wine 3.8:";;
2440 esac
2441 cat <<\_ACEOF
2443 Optional Features:
2444 --disable-option-checking ignore unrecognized --enable/--with options
2445 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2446 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2447 --disable-win16 do not include Win16 support
2448 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2449 binaries)
2450 --disable-tests do not build the regression tests
2451 --enable-maintainer-mode
2452 enable maintainer-specific build rules
2453 --disable-largefile omit support for large files
2455 Optional Packages:
2456 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2457 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2458 --without-alsa do not use the Alsa sound support
2459 --without-capi do not use CAPI (ISDN support)
2460 --without-cms do not use CMS (color management support)
2461 --without-coreaudio do not use the CoreAudio sound support
2462 --without-cups do not use CUPS
2463 --without-curses do not use (n)curses
2464 --without-dbus do not use DBus (dynamic device support)
2465 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2466 --without-fontconfig do not use fontconfig
2467 --without-freetype do not use the FreeType library
2468 --without-gettext do not use gettext
2469 --with-gettextpo use the GetTextPO library to rebuild po files
2470 --without-gphoto do not use gphoto (Digital Camera support)
2471 --without-glu do not use the GLU library
2472 --without-gnutls do not use GnuTLS (schannel support)
2473 --without-gsm do not use libgsm (GSM 06.10 codec support)
2474 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2475 --without-gstreamer do not use GStreamer (codecs support)
2476 --without-hal do not use HAL (dynamic device support)
2477 --without-jpeg do not use JPEG
2478 --without-krb5 do not use krb5 (Kerberos)
2479 --without-ldap do not use LDAP
2480 --without-mpg123 do not use the mpg123 library
2481 --without-netapi do not use the Samba NetAPI library
2482 --without-openal do not use OpenAL
2483 --without-opencl do not use OpenCL
2484 --without-opengl do not use OpenGL
2485 --without-osmesa do not use the OSMesa library
2486 --without-oss do not use the OSS sound support
2487 --without-pcap do not use the Packet Capture library
2488 --without-png do not use PNG
2489 --without-pthread do not use the pthread library
2490 --without-pulse do not use PulseAudio sound support
2491 --without-sane do not use SANE (scanner support)
2492 --without-sdl do not use SDL
2493 --without-tiff do not use TIFF
2494 --without-udev do not use udev (plug and play support)
2495 --without-v4l do not use v4l1 (v4l support)
2496 --without-vulkan do not use Vulkan
2497 --without-xcomposite do not use the Xcomposite extension
2498 --without-xcursor do not use the Xcursor extension
2499 --without-xfixes do not use Xfixes for clipboard change notifications
2500 --without-xinerama do not use Xinerama (multi-monitor support)
2501 --without-xinput do not use the Xinput extension
2502 --without-xinput2 do not use the Xinput 2 extension
2503 --without-xml do not use XML
2504 --without-xrandr do not use Xrandr (resolution changes)
2505 --without-xrender do not use the Xrender extension
2506 --without-xshape do not use the Xshape extension
2507 --without-xshm do not use XShm (shared memory extension)
2508 --without-xslt do not use XSLT
2509 --without-xxf86vm do not use XFree video mode extension
2510 --without-zlib do not use Zlib (data compression)
2511 --with-wine-tools=DIR use Wine tools from directory DIR
2512 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2513 --with-x use the X Window System
2515 Some influential environment variables:
2516 CC C compiler command
2517 CFLAGS C compiler flags
2518 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2519 nonstandard directory <lib dir>
2520 LIBS libraries to pass to the linker, e.g. -l<library>
2521 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2522 you have headers in a nonstandard directory <include dir>
2523 CXX C++ compiler command
2524 CXXFLAGS C++ compiler flags
2525 CPP C preprocessor
2526 XMKMF Path to xmkmf, Makefile generator for X Window System
2527 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2528 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2529 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2530 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2531 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2532 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2533 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2534 HAL_LIBS Linker flags for hal, overriding pkg-config
2535 GNUTLS_CFLAGS
2536 C compiler flags for gnutls, overriding pkg-config
2537 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2538 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2539 SANE_LIBS Linker flags for libsane, overriding pkg-config
2540 GPHOTO2_CFLAGS
2541 C compiler flags for libgphoto2, overriding pkg-config
2542 GPHOTO2_LIBS
2543 Linker flags for libgphoto2, overriding pkg-config
2544 GPHOTO2_PORT_CFLAGS
2545 C compiler flags for libgphoto2_port, overriding pkg-config
2546 GPHOTO2_PORT_LIBS
2547 Linker flags for libgphoto2_port, overriding pkg-config
2548 LCMS2_CFLAGS
2549 C compiler flags for lcms2, overriding pkg-config
2550 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2551 FREETYPE_CFLAGS
2552 C compiler flags for freetype2, overriding pkg-config
2553 FREETYPE_LIBS
2554 Linker flags for freetype2, overriding pkg-config
2555 PULSE_CFLAGS
2556 C compiler flags for libpulse, overriding pkg-config
2557 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2558 GSTREAMER_CFLAGS
2559 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2560 gstreamer-audio-1.0, overriding pkg-config
2561 GSTREAMER_LIBS
2562 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2563 gstreamer-audio-1.0, overriding pkg-config
2564 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2565 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2566 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2567 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2568 CAPI20_CFLAGS
2569 C compiler flags for capi20, overriding pkg-config
2570 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2571 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2572 CUPS_LIBS Linker flags for cups, overriding pkg-config
2573 FONTCONFIG_CFLAGS
2574 C compiler flags for fontconfig, overriding pkg-config
2575 FONTCONFIG_LIBS
2576 Linker flags for fontconfig, overriding pkg-config
2577 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2578 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2579 GSSAPI_CFLAGS
2580 C compiler flags for krb5-gssapi, overriding pkg-config
2581 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2582 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2583 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2584 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2585 PNG_LIBS Linker flags for libpng, overriding pkg-config
2586 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2587 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2588 MPG123_CFLAGS
2589 C compiler flags for libmpg123, overriding pkg-config
2590 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2591 NETAPI_CFLAGS
2592 C compiler flags for netapi, overriding pkg-config
2593 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2594 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2595 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2597 Use these variables to override the choices made by `configure' or to help
2598 it to find libraries and programs with nonstandard names/locations.
2600 Report bugs to <wine-devel@winehq.org>.
2601 Wine home page: <https://www.winehq.org>.
2602 _ACEOF
2603 ac_status=$?
2606 if test "$ac_init_help" = "recursive"; then
2607 # If there are subdirs, report their specific --help.
2608 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2609 test -d "$ac_dir" ||
2610 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2611 continue
2612 ac_builddir=.
2614 case "$ac_dir" in
2615 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2617 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2618 # A ".." for each directory in $ac_dir_suffix.
2619 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2620 case $ac_top_builddir_sub in
2621 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2622 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2623 esac ;;
2624 esac
2625 ac_abs_top_builddir=$ac_pwd
2626 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2627 # for backward compatibility:
2628 ac_top_builddir=$ac_top_build_prefix
2630 case $srcdir in
2631 .) # We are building in place.
2632 ac_srcdir=.
2633 ac_top_srcdir=$ac_top_builddir_sub
2634 ac_abs_top_srcdir=$ac_pwd ;;
2635 [\\/]* | ?:[\\/]* ) # Absolute name.
2636 ac_srcdir=$srcdir$ac_dir_suffix;
2637 ac_top_srcdir=$srcdir
2638 ac_abs_top_srcdir=$srcdir ;;
2639 *) # Relative name.
2640 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2641 ac_top_srcdir=$ac_top_build_prefix$srcdir
2642 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2643 esac
2644 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2646 cd "$ac_dir" || { ac_status=$?; continue; }
2647 # Check for guested configure.
2648 if test -f "$ac_srcdir/configure.gnu"; then
2649 echo &&
2650 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2651 elif test -f "$ac_srcdir/configure"; then
2652 echo &&
2653 $SHELL "$ac_srcdir/configure" --help=recursive
2654 else
2655 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2656 fi || ac_status=$?
2657 cd "$ac_pwd" || { ac_status=$?; break; }
2658 done
2661 test -n "$ac_init_help" && exit $ac_status
2662 if $ac_init_version; then
2663 cat <<\_ACEOF
2664 Wine configure 3.8
2665 generated by GNU Autoconf 2.69
2667 Copyright (C) 2012 Free Software Foundation, Inc.
2668 This configure script is free software; the Free Software Foundation
2669 gives unlimited permission to copy, distribute and modify it.
2670 _ACEOF
2671 exit
2674 ## ------------------------ ##
2675 ## Autoconf initialization. ##
2676 ## ------------------------ ##
2678 # ac_fn_c_try_compile LINENO
2679 # --------------------------
2680 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2681 ac_fn_c_try_compile ()
2683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2684 rm -f conftest.$ac_objext
2685 if { { ac_try="$ac_compile"
2686 case "(($ac_try" in
2687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2688 *) ac_try_echo=$ac_try;;
2689 esac
2690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2691 $as_echo "$ac_try_echo"; } >&5
2692 (eval "$ac_compile") 2>conftest.err
2693 ac_status=$?
2694 if test -s conftest.err; then
2695 grep -v '^ *+' conftest.err >conftest.er1
2696 cat conftest.er1 >&5
2697 mv -f conftest.er1 conftest.err
2699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2700 test $ac_status = 0; } && {
2701 test -z "$ac_c_werror_flag" ||
2702 test ! -s conftest.err
2703 } && test -s conftest.$ac_objext; then :
2704 ac_retval=0
2705 else
2706 $as_echo "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=1
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_c_try_compile
2716 # ac_fn_cxx_try_compile LINENO
2717 # ----------------------------
2718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_cxx_try_compile ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 rm -f conftest.$ac_objext
2723 if { { ac_try="$ac_compile"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 $as_echo "$ac_try_echo"; } >&5
2730 (eval "$ac_compile") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && {
2739 test -z "$ac_cxx_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest.$ac_objext; then :
2742 ac_retval=0
2743 else
2744 $as_echo "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_cxx_try_compile
2754 # ac_fn_c_try_link LINENO
2755 # -----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded.
2757 ac_fn_c_try_link ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 rm -f conftest.$ac_objext conftest$ac_exeext
2761 if { { ac_try="$ac_link"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 $as_echo "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>conftest.err
2769 ac_status=$?
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest$ac_exeext && {
2780 test "$cross_compiling" = yes ||
2781 test -x conftest$ac_exeext
2782 }; then :
2783 ac_retval=0
2784 else
2785 $as_echo "$as_me: failed program was:" >&5
2786 sed 's/^/| /' conftest.$ac_ext >&5
2788 ac_retval=1
2790 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2791 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2792 # interfere with the next link command; also delete a directory that is
2793 # left behind by Apple's compiler. We do this before executing the actions.
2794 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2795 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2796 as_fn_set_status $ac_retval
2798 } # ac_fn_c_try_link
2800 # ac_fn_c_try_cpp LINENO
2801 # ----------------------
2802 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2803 ac_fn_c_try_cpp ()
2805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2806 if { { ac_try="$ac_cpp conftest.$ac_ext"
2807 case "(($ac_try" in
2808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2809 *) ac_try_echo=$ac_try;;
2810 esac
2811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2812 $as_echo "$ac_try_echo"; } >&5
2813 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2814 ac_status=$?
2815 if test -s conftest.err; then
2816 grep -v '^ *+' conftest.err >conftest.er1
2817 cat conftest.er1 >&5
2818 mv -f conftest.er1 conftest.err
2820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2821 test $ac_status = 0; } > conftest.i && {
2822 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2823 test ! -s conftest.err
2824 }; then :
2825 ac_retval=0
2826 else
2827 $as_echo "$as_me: failed program was:" >&5
2828 sed 's/^/| /' conftest.$ac_ext >&5
2830 ac_retval=1
2832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 as_fn_set_status $ac_retval
2835 } # ac_fn_c_try_cpp
2837 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2838 # -------------------------------------------------------
2839 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2840 # the include files in INCLUDES and setting the cache variable VAR
2841 # accordingly.
2842 ac_fn_c_check_header_mongrel ()
2844 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2845 if eval \${$3+:} false; then :
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2847 $as_echo_n "checking for $2... " >&6; }
2848 if eval \${$3+:} false; then :
2849 $as_echo_n "(cached) " >&6
2851 eval ac_res=\$$3
2852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2853 $as_echo "$ac_res" >&6; }
2854 else
2855 # Is the header compilable?
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2857 $as_echo_n "checking $2 usability... " >&6; }
2858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2859 /* end confdefs.h. */
2861 #include <$2>
2862 _ACEOF
2863 if ac_fn_c_try_compile "$LINENO"; then :
2864 ac_header_compiler=yes
2865 else
2866 ac_header_compiler=no
2868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2870 $as_echo "$ac_header_compiler" >&6; }
2872 # Is the header present?
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2874 $as_echo_n "checking $2 presence... " >&6; }
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2877 #include <$2>
2878 _ACEOF
2879 if ac_fn_c_try_cpp "$LINENO"; then :
2880 ac_header_preproc=yes
2881 else
2882 ac_header_preproc=no
2884 rm -f conftest.err conftest.i conftest.$ac_ext
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2886 $as_echo "$ac_header_preproc" >&6; }
2888 # So? What about this header?
2889 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2890 yes:no: )
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2892 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2894 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2896 no:yes:* )
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2898 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2900 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2902 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2904 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2906 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2907 ( $as_echo "## ------------------------------------ ##
2908 ## Report this to wine-devel@winehq.org ##
2909 ## ------------------------------------ ##"
2910 ) | sed "s/^/$as_me: WARNING: /" >&2
2912 esac
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2914 $as_echo_n "checking for $2... " >&6; }
2915 if eval \${$3+:} false; then :
2916 $as_echo_n "(cached) " >&6
2917 else
2918 eval "$3=\$ac_header_compiler"
2920 eval ac_res=\$$3
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2922 $as_echo "$ac_res" >&6; }
2924 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2926 } # ac_fn_c_check_header_mongrel
2928 # ac_fn_c_try_run LINENO
2929 # ----------------------
2930 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2931 # that executables *can* be run.
2932 ac_fn_c_try_run ()
2934 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2935 if { { ac_try="$ac_link"
2936 case "(($ac_try" in
2937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2938 *) ac_try_echo=$ac_try;;
2939 esac
2940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2941 $as_echo "$ac_try_echo"; } >&5
2942 (eval "$ac_link") 2>&5
2943 ac_status=$?
2944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2945 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2946 { { case "(($ac_try" in
2947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2948 *) ac_try_echo=$ac_try;;
2949 esac
2950 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2951 $as_echo "$ac_try_echo"; } >&5
2952 (eval "$ac_try") 2>&5
2953 ac_status=$?
2954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2955 test $ac_status = 0; }; }; then :
2956 ac_retval=0
2957 else
2958 $as_echo "$as_me: program exited with status $ac_status" >&5
2959 $as_echo "$as_me: failed program was:" >&5
2960 sed 's/^/| /' conftest.$ac_ext >&5
2962 ac_retval=$ac_status
2964 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2965 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2966 as_fn_set_status $ac_retval
2968 } # ac_fn_c_try_run
2970 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2971 # -------------------------------------------------------
2972 # Tests whether HEADER exists and can be compiled using the include files in
2973 # INCLUDES, setting the cache variable VAR accordingly.
2974 ac_fn_c_check_header_compile ()
2976 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2978 $as_echo_n "checking for $2... " >&6; }
2979 if eval \${$3+:} false; then :
2980 $as_echo_n "(cached) " >&6
2981 else
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2985 #include <$2>
2986 _ACEOF
2987 if ac_fn_c_try_compile "$LINENO"; then :
2988 eval "$3=yes"
2989 else
2990 eval "$3=no"
2992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2994 eval ac_res=\$$3
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2996 $as_echo "$ac_res" >&6; }
2997 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 } # ac_fn_c_check_header_compile
3001 # ac_fn_c_check_func LINENO FUNC VAR
3002 # ----------------------------------
3003 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3004 ac_fn_c_check_func ()
3006 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3008 $as_echo_n "checking for $2... " >&6; }
3009 if eval \${$3+:} false; then :
3010 $as_echo_n "(cached) " >&6
3011 else
3012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3013 /* end confdefs.h. */
3014 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3016 #define $2 innocuous_$2
3018 /* System header to define __stub macros and hopefully few prototypes,
3019 which can conflict with char $2 (); below.
3020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3021 <limits.h> exists even on freestanding compilers. */
3023 #ifdef __STDC__
3024 # include <limits.h>
3025 #else
3026 # include <assert.h>
3027 #endif
3029 #undef $2
3031 /* Override any GCC internal prototype to avoid an error.
3032 Use char because int might match the return type of a GCC
3033 builtin and then its argument prototype would still apply. */
3034 #ifdef __cplusplus
3035 extern "C"
3036 #endif
3037 char $2 ();
3038 /* The GNU C library defines this for functions which it implements
3039 to always fail with ENOSYS. Some functions are actually named
3040 something starting with __ and the normal name is an alias. */
3041 #if defined __stub_$2 || defined __stub___$2
3042 choke me
3043 #endif
3046 main ()
3048 return $2 ();
3050 return 0;
3052 _ACEOF
3053 if ac_fn_c_try_link "$LINENO"; then :
3054 eval "$3=yes"
3055 else
3056 eval "$3=no"
3058 rm -f core conftest.err conftest.$ac_objext \
3059 conftest$ac_exeext conftest.$ac_ext
3061 eval ac_res=\$$3
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3063 $as_echo "$ac_res" >&6; }
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3066 } # ac_fn_c_check_func
3068 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3069 # ----------------------------------------------------
3070 # Tries to find if the field MEMBER exists in type AGGR, after including
3071 # INCLUDES, setting cache variable VAR accordingly.
3072 ac_fn_c_check_member ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3076 $as_echo_n "checking for $2.$3... " >&6; }
3077 if eval \${$4+:} false; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3084 main ()
3086 static $2 ac_aggr;
3087 if (ac_aggr.$3)
3088 return 0;
3090 return 0;
3092 _ACEOF
3093 if ac_fn_c_try_compile "$LINENO"; then :
3094 eval "$4=yes"
3095 else
3096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3097 /* end confdefs.h. */
3100 main ()
3102 static $2 ac_aggr;
3103 if (sizeof ac_aggr.$3)
3104 return 0;
3106 return 0;
3108 _ACEOF
3109 if ac_fn_c_try_compile "$LINENO"; then :
3110 eval "$4=yes"
3111 else
3112 eval "$4=no"
3114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3118 eval ac_res=\$$4
3119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3120 $as_echo "$ac_res" >&6; }
3121 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3123 } # ac_fn_c_check_member
3125 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3126 # -------------------------------------------
3127 # Tests whether TYPE exists after having included INCLUDES, setting cache
3128 # variable VAR accordingly.
3129 ac_fn_c_check_type ()
3131 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3133 $as_echo_n "checking for $2... " >&6; }
3134 if eval \${$3+:} false; then :
3135 $as_echo_n "(cached) " >&6
3136 else
3137 eval "$3=no"
3138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3139 /* end confdefs.h. */
3142 main ()
3144 if (sizeof ($2))
3145 return 0;
3147 return 0;
3149 _ACEOF
3150 if ac_fn_c_try_compile "$LINENO"; then :
3151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3152 /* end confdefs.h. */
3155 main ()
3157 if (sizeof (($2)))
3158 return 0;
3160 return 0;
3162 _ACEOF
3163 if ac_fn_c_try_compile "$LINENO"; then :
3165 else
3166 eval "$3=yes"
3168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3172 eval ac_res=\$$3
3173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3174 $as_echo "$ac_res" >&6; }
3175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3177 } # ac_fn_c_check_type
3178 cat >config.log <<_ACEOF
3179 This file contains any messages produced by compilers while
3180 running configure, to aid debugging if configure makes a mistake.
3182 It was created by Wine $as_me 3.8, which was
3183 generated by GNU Autoconf 2.69. Invocation command line was
3185 $ $0 $@
3187 _ACEOF
3188 exec 5>>config.log
3190 cat <<_ASUNAME
3191 ## --------- ##
3192 ## Platform. ##
3193 ## --------- ##
3195 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3196 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3197 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3198 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3199 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3201 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3202 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3204 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3205 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3206 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3207 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3208 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3209 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3210 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3212 _ASUNAME
3214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3215 for as_dir in $PATH
3217 IFS=$as_save_IFS
3218 test -z "$as_dir" && as_dir=.
3219 $as_echo "PATH: $as_dir"
3220 done
3221 IFS=$as_save_IFS
3223 } >&5
3225 cat >&5 <<_ACEOF
3228 ## ----------- ##
3229 ## Core tests. ##
3230 ## ----------- ##
3232 _ACEOF
3235 # Keep a trace of the command line.
3236 # Strip out --no-create and --no-recursion so they do not pile up.
3237 # Strip out --silent because we don't want to record it for future runs.
3238 # Also quote any args containing shell meta-characters.
3239 # Make two passes to allow for proper duplicate-argument suppression.
3240 ac_configure_args=
3241 ac_configure_args0=
3242 ac_configure_args1=
3243 ac_must_keep_next=false
3244 for ac_pass in 1 2
3246 for ac_arg
3248 case $ac_arg in
3249 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3250 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3251 | -silent | --silent | --silen | --sile | --sil)
3252 continue ;;
3253 *\'*)
3254 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3255 esac
3256 case $ac_pass in
3257 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3259 as_fn_append ac_configure_args1 " '$ac_arg'"
3260 if test $ac_must_keep_next = true; then
3261 ac_must_keep_next=false # Got value, back to normal.
3262 else
3263 case $ac_arg in
3264 *=* | --config-cache | -C | -disable-* | --disable-* \
3265 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3266 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3267 | -with-* | --with-* | -without-* | --without-* | --x)
3268 case "$ac_configure_args0 " in
3269 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3270 esac
3272 -* ) ac_must_keep_next=true ;;
3273 esac
3275 as_fn_append ac_configure_args " '$ac_arg'"
3277 esac
3278 done
3279 done
3280 { ac_configure_args0=; unset ac_configure_args0;}
3281 { ac_configure_args1=; unset ac_configure_args1;}
3283 # When interrupted or exit'd, cleanup temporary files, and complete
3284 # config.log. We remove comments because anyway the quotes in there
3285 # would cause problems or look ugly.
3286 # WARNING: Use '\'' to represent an apostrophe within the trap.
3287 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3288 trap 'exit_status=$?
3289 # Save into config.log some information that might help in debugging.
3291 echo
3293 $as_echo "## ---------------- ##
3294 ## Cache variables. ##
3295 ## ---------------- ##"
3296 echo
3297 # The following way of writing the cache mishandles newlines in values,
3299 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3300 eval ac_val=\$$ac_var
3301 case $ac_val in #(
3302 *${as_nl}*)
3303 case $ac_var in #(
3304 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3305 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3306 esac
3307 case $ac_var in #(
3308 _ | IFS | as_nl) ;; #(
3309 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3310 *) { eval $ac_var=; unset $ac_var;} ;;
3311 esac ;;
3312 esac
3313 done
3314 (set) 2>&1 |
3315 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3316 *${as_nl}ac_space=\ *)
3317 sed -n \
3318 "s/'\''/'\''\\\\'\'''\''/g;
3319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3320 ;; #(
3322 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3324 esac |
3325 sort
3327 echo
3329 $as_echo "## ----------------- ##
3330 ## Output variables. ##
3331 ## ----------------- ##"
3332 echo
3333 for ac_var in $ac_subst_vars
3335 eval ac_val=\$$ac_var
3336 case $ac_val in
3337 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3338 esac
3339 $as_echo "$ac_var='\''$ac_val'\''"
3340 done | sort
3341 echo
3343 if test -n "$ac_subst_files"; then
3344 $as_echo "## ------------------- ##
3345 ## File substitutions. ##
3346 ## ------------------- ##"
3347 echo
3348 for ac_var in $ac_subst_files
3350 eval ac_val=\$$ac_var
3351 case $ac_val in
3352 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3353 esac
3354 $as_echo "$ac_var='\''$ac_val'\''"
3355 done | sort
3356 echo
3359 if test -s confdefs.h; then
3360 $as_echo "## ----------- ##
3361 ## confdefs.h. ##
3362 ## ----------- ##"
3363 echo
3364 cat confdefs.h
3365 echo
3367 test "$ac_signal" != 0 &&
3368 $as_echo "$as_me: caught signal $ac_signal"
3369 $as_echo "$as_me: exit $exit_status"
3370 } >&5
3371 rm -f core *.core core.conftest.* &&
3372 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3373 exit $exit_status
3375 for ac_signal in 1 2 13 15; do
3376 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3377 done
3378 ac_signal=0
3380 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3381 rm -f -r conftest* confdefs.h
3383 $as_echo "/* confdefs.h */" > confdefs.h
3385 # Predefined preprocessor variables.
3387 cat >>confdefs.h <<_ACEOF
3388 #define PACKAGE_NAME "$PACKAGE_NAME"
3389 _ACEOF
3391 cat >>confdefs.h <<_ACEOF
3392 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3393 _ACEOF
3395 cat >>confdefs.h <<_ACEOF
3396 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3397 _ACEOF
3399 cat >>confdefs.h <<_ACEOF
3400 #define PACKAGE_STRING "$PACKAGE_STRING"
3401 _ACEOF
3403 cat >>confdefs.h <<_ACEOF
3404 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3405 _ACEOF
3407 cat >>confdefs.h <<_ACEOF
3408 #define PACKAGE_URL "$PACKAGE_URL"
3409 _ACEOF
3412 # Let the site file select an alternate cache file if it wants to.
3413 # Prefer an explicitly selected file to automatically selected ones.
3414 ac_site_file1=NONE
3415 ac_site_file2=NONE
3416 if test -n "$CONFIG_SITE"; then
3417 # We do not want a PATH search for config.site.
3418 case $CONFIG_SITE in #((
3419 -*) ac_site_file1=./$CONFIG_SITE;;
3420 */*) ac_site_file1=$CONFIG_SITE;;
3421 *) ac_site_file1=./$CONFIG_SITE;;
3422 esac
3423 elif test "x$prefix" != xNONE; then
3424 ac_site_file1=$prefix/share/config.site
3425 ac_site_file2=$prefix/etc/config.site
3426 else
3427 ac_site_file1=$ac_default_prefix/share/config.site
3428 ac_site_file2=$ac_default_prefix/etc/config.site
3430 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3432 test "x$ac_site_file" = xNONE && continue
3433 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3435 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3436 sed 's/^/| /' "$ac_site_file" >&5
3437 . "$ac_site_file" \
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 $? "failed to load site script $ac_site_file
3441 See \`config.log' for more details" "$LINENO" 5; }
3443 done
3445 if test -r "$cache_file"; then
3446 # Some versions of bash will fail to source /dev/null (special files
3447 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3448 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3450 $as_echo "$as_me: loading cache $cache_file" >&6;}
3451 case $cache_file in
3452 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3453 *) . "./$cache_file";;
3454 esac
3456 else
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3458 $as_echo "$as_me: creating cache $cache_file" >&6;}
3459 >$cache_file
3462 # Check that the precious variables saved in the cache have kept the same
3463 # value.
3464 ac_cache_corrupted=false
3465 for ac_var in $ac_precious_vars; do
3466 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3467 eval ac_new_set=\$ac_env_${ac_var}_set
3468 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3469 eval ac_new_val=\$ac_env_${ac_var}_value
3470 case $ac_old_set,$ac_new_set in
3471 set,)
3472 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3473 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3474 ac_cache_corrupted=: ;;
3475 ,set)
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3477 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3478 ac_cache_corrupted=: ;;
3479 ,);;
3481 if test "x$ac_old_val" != "x$ac_new_val"; then
3482 # differences in whitespace do not lead to failure.
3483 ac_old_val_w=`echo x $ac_old_val`
3484 ac_new_val_w=`echo x $ac_new_val`
3485 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3487 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3488 ac_cache_corrupted=:
3489 else
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3491 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3492 eval $ac_var=\$ac_old_val
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3495 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3497 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3498 fi;;
3499 esac
3500 # Pass precious variables to config.status.
3501 if test "$ac_new_set" = set; then
3502 case $ac_new_val in
3503 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3504 *) ac_arg=$ac_var=$ac_new_val ;;
3505 esac
3506 case " $ac_configure_args " in
3507 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3508 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3509 esac
3511 done
3512 if $ac_cache_corrupted; then
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3515 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3516 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3517 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3519 ## -------------------- ##
3520 ## Main body of script. ##
3521 ## -------------------- ##
3523 ac_ext=c
3524 ac_cpp='$CPP $CPPFLAGS'
3525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3531 ac_config_headers="$ac_config_headers include/config.h"
3533 ac_aux_dir=
3534 for ac_dir in tools "$srcdir"/tools; do
3535 if test -f "$ac_dir/install-sh"; then
3536 ac_aux_dir=$ac_dir
3537 ac_install_sh="$ac_aux_dir/install-sh -c"
3538 break
3539 elif test -f "$ac_dir/install.sh"; then
3540 ac_aux_dir=$ac_dir
3541 ac_install_sh="$ac_aux_dir/install.sh -c"
3542 break
3543 elif test -f "$ac_dir/shtool"; then
3544 ac_aux_dir=$ac_dir
3545 ac_install_sh="$ac_aux_dir/shtool install -c"
3546 break
3548 done
3549 if test -z "$ac_aux_dir"; then
3550 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3553 # These three variables are undocumented and unsupported,
3554 # and are intended to be withdrawn in a future Autoconf release.
3555 # They can cause serious problems if a builder's source tree is in a directory
3556 # whose full name contains unusual characters.
3557 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3558 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3559 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3563 libwine_version="1.0"
3567 # Check whether --enable-win16 was given.
3568 if test "${enable_win16+set}" = set; then :
3569 enableval=$enable_win16;
3572 # Check whether --enable-win64 was given.
3573 if test "${enable_win64+set}" = set; then :
3574 enableval=$enable_win64;
3577 # Check whether --enable-tests was given.
3578 if test "${enable_tests+set}" = set; then :
3579 enableval=$enable_tests;
3582 # Check whether --enable-maintainer-mode was given.
3583 if test "${enable_maintainer_mode+set}" = set; then :
3584 enableval=$enable_maintainer_mode;
3589 # Check whether --with-alsa was given.
3590 if test "${with_alsa+set}" = set; then :
3591 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3595 # Check whether --with-capi was given.
3596 if test "${with_capi+set}" = set; then :
3597 withval=$with_capi;
3601 # Check whether --with-cms was given.
3602 if test "${with_cms+set}" = set; then :
3603 withval=$with_cms;
3607 # Check whether --with-coreaudio was given.
3608 if test "${with_coreaudio+set}" = set; then :
3609 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3613 # Check whether --with-cups was given.
3614 if test "${with_cups+set}" = set; then :
3615 withval=$with_cups;
3619 # Check whether --with-curses was given.
3620 if test "${with_curses+set}" = set; then :
3621 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3625 # Check whether --with-dbus was given.
3626 if test "${with_dbus+set}" = set; then :
3627 withval=$with_dbus;
3631 # Check whether --with-float-abi was given.
3632 if test "${with_float_abi+set}" = set; then :
3633 withval=$with_float_abi;
3637 # Check whether --with-fontconfig was given.
3638 if test "${with_fontconfig+set}" = set; then :
3639 withval=$with_fontconfig;
3643 # Check whether --with-freetype was given.
3644 if test "${with_freetype+set}" = set; then :
3645 withval=$with_freetype;
3649 # Check whether --with-gettext was given.
3650 if test "${with_gettext+set}" = set; then :
3651 withval=$with_gettext;
3655 # Check whether --with-gettextpo was given.
3656 if test "${with_gettextpo+set}" = set; then :
3657 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3661 # Check whether --with-gphoto was given.
3662 if test "${with_gphoto+set}" = set; then :
3663 withval=$with_gphoto;
3667 # Check whether --with-glu was given.
3668 if test "${with_glu+set}" = set; then :
3669 withval=$with_glu;
3673 # Check whether --with-gnutls was given.
3674 if test "${with_gnutls+set}" = set; then :
3675 withval=$with_gnutls;
3679 # Check whether --with-gsm was given.
3680 if test "${with_gsm+set}" = set; then :
3681 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3685 # Check whether --with-gssapi was given.
3686 if test "${with_gssapi+set}" = set; then :
3687 withval=$with_gssapi;
3691 # Check whether --with-gstreamer was given.
3692 if test "${with_gstreamer+set}" = set; then :
3693 withval=$with_gstreamer;
3697 # Check whether --with-hal was given.
3698 if test "${with_hal+set}" = set; then :
3699 withval=$with_hal;
3703 # Check whether --with-jpeg was given.
3704 if test "${with_jpeg+set}" = set; then :
3705 withval=$with_jpeg;
3709 # Check whether --with-krb5 was given.
3710 if test "${with_krb5+set}" = set; then :
3711 withval=$with_krb5;
3715 # Check whether --with-ldap was given.
3716 if test "${with_ldap+set}" = set; then :
3717 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3721 # Check whether --with-mpg123 was given.
3722 if test "${with_mpg123+set}" = set; then :
3723 withval=$with_mpg123;
3727 # Check whether --with-netapi was given.
3728 if test "${with_netapi+set}" = set; then :
3729 withval=$with_netapi;
3733 # Check whether --with-openal was given.
3734 if test "${with_openal+set}" = set; then :
3735 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3739 # Check whether --with-opencl was given.
3740 if test "${with_opencl+set}" = set; then :
3741 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3745 # Check whether --with-opengl was given.
3746 if test "${with_opengl+set}" = set; then :
3747 withval=$with_opengl;
3751 # Check whether --with-osmesa was given.
3752 if test "${with_osmesa+set}" = set; then :
3753 withval=$with_osmesa;
3757 # Check whether --with-oss was given.
3758 if test "${with_oss+set}" = set; then :
3759 withval=$with_oss;
3763 # Check whether --with-pcap was given.
3764 if test "${with_pcap+set}" = set; then :
3765 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3769 # Check whether --with-png was given.
3770 if test "${with_png+set}" = set; then :
3771 withval=$with_png;
3775 # Check whether --with-pthread was given.
3776 if test "${with_pthread+set}" = set; then :
3777 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3781 # Check whether --with-pulse was given.
3782 if test "${with_pulse+set}" = set; then :
3783 withval=$with_pulse;
3787 # Check whether --with-sane was given.
3788 if test "${with_sane+set}" = set; then :
3789 withval=$with_sane;
3793 # Check whether --with-sdl was given.
3794 if test "${with_sdl+set}" = set; then :
3795 withval=$with_sdl;
3799 # Check whether --with-tiff was given.
3800 if test "${with_tiff+set}" = set; then :
3801 withval=$with_tiff;
3805 # Check whether --with-udev was given.
3806 if test "${with_udev+set}" = set; then :
3807 withval=$with_udev;
3811 # Check whether --with-v4l was given.
3812 if test "${with_v4l+set}" = set; then :
3813 withval=$with_v4l;
3817 # Check whether --with-vulkan was given.
3818 if test "${with_vulkan+set}" = set; then :
3819 withval=$with_vulkan;
3823 # Check whether --with-xcomposite was given.
3824 if test "${with_xcomposite+set}" = set; then :
3825 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3829 # Check whether --with-xcursor was given.
3830 if test "${with_xcursor+set}" = set; then :
3831 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3835 # Check whether --with-xfixes was given.
3836 if test "${with_xfixes+set}" = set; then :
3837 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3841 # Check whether --with-xinerama was given.
3842 if test "${with_xinerama+set}" = set; then :
3843 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3847 # Check whether --with-xinput was given.
3848 if test "${with_xinput+set}" = set; then :
3849 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3853 # Check whether --with-xinput2 was given.
3854 if test "${with_xinput2+set}" = set; then :
3855 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3859 # Check whether --with-xml was given.
3860 if test "${with_xml+set}" = set; then :
3861 withval=$with_xml;
3865 # Check whether --with-xrandr was given.
3866 if test "${with_xrandr+set}" = set; then :
3867 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3871 # Check whether --with-xrender was given.
3872 if test "${with_xrender+set}" = set; then :
3873 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3877 # Check whether --with-xshape was given.
3878 if test "${with_xshape+set}" = set; then :
3879 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3883 # Check whether --with-xshm was given.
3884 if test "${with_xshm+set}" = set; then :
3885 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3889 # Check whether --with-xslt was given.
3890 if test "${with_xslt+set}" = set; then :
3891 withval=$with_xslt;
3895 # Check whether --with-xxf86vm was given.
3896 if test "${with_xxf86vm+set}" = set; then :
3897 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
3901 # Check whether --with-zlib was given.
3902 if test "${with_zlib+set}" = set; then :
3903 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3908 # Check whether --with-wine-tools was given.
3909 if test "${with_wine_tools+set}" = set; then :
3910 withval=$with_wine_tools;
3914 # Check whether --with-wine64 was given.
3915 if test "${with_wine64+set}" = set; then :
3916 withval=$with_wine64;
3920 # Make sure we can run config.sub.
3921 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3922 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3925 $as_echo_n "checking build system type... " >&6; }
3926 if ${ac_cv_build+:} false; then :
3927 $as_echo_n "(cached) " >&6
3928 else
3929 ac_build_alias=$build_alias
3930 test "x$ac_build_alias" = x &&
3931 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3932 test "x$ac_build_alias" = x &&
3933 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3934 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3935 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3939 $as_echo "$ac_cv_build" >&6; }
3940 case $ac_cv_build in
3941 *-*-*) ;;
3942 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3943 esac
3944 build=$ac_cv_build
3945 ac_save_IFS=$IFS; IFS='-'
3946 set x $ac_cv_build
3947 shift
3948 build_cpu=$1
3949 build_vendor=$2
3950 shift; shift
3951 # Remember, the first character of IFS is used to create $*,
3952 # except with old shells:
3953 build_os=$*
3954 IFS=$ac_save_IFS
3955 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3959 $as_echo_n "checking host system type... " >&6; }
3960 if ${ac_cv_host+:} false; then :
3961 $as_echo_n "(cached) " >&6
3962 else
3963 if test "x$host_alias" = x; then
3964 ac_cv_host=$ac_cv_build
3965 else
3966 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3967 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3972 $as_echo "$ac_cv_host" >&6; }
3973 case $ac_cv_host in
3974 *-*-*) ;;
3975 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3976 esac
3977 host=$ac_cv_host
3978 ac_save_IFS=$IFS; IFS='-'
3979 set x $ac_cv_host
3980 shift
3981 host_cpu=$1
3982 host_vendor=$2
3983 shift; shift
3984 # Remember, the first character of IFS is used to create $*,
3985 # except with old shells:
3986 host_os=$*
3987 IFS=$ac_save_IFS
3988 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3992 case "$srcdir" in
3993 .) ;;
3994 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3995 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3996 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3997 fi ;;
3998 esac
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4002 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4003 set x ${MAKE-make}
4004 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4005 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4006 $as_echo_n "(cached) " >&6
4007 else
4008 cat >conftest.make <<\_ACEOF
4009 SHELL = /bin/sh
4010 all:
4011 @echo '@@@%%%=$(MAKE)=@@@%%%'
4012 _ACEOF
4013 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4014 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4015 *@@@%%%=?*=@@@%%%*)
4016 eval ac_cv_prog_make_${ac_make}_set=yes;;
4018 eval ac_cv_prog_make_${ac_make}_set=no;;
4019 esac
4020 rm -f conftest.make
4022 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4025 SET_MAKE=
4026 else
4027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4028 $as_echo "no" >&6; }
4029 SET_MAKE="MAKE=${MAKE-make}"
4032 ac_ext=c
4033 ac_cpp='$CPP $CPPFLAGS'
4034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4037 if test -n "$ac_tool_prefix"; then
4038 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4039 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4041 $as_echo_n "checking for $ac_word... " >&6; }
4042 if ${ac_cv_prog_CC+:} false; then :
4043 $as_echo_n "(cached) " >&6
4044 else
4045 if test -n "$CC"; then
4046 ac_cv_prog_CC="$CC" # Let the user override the test.
4047 else
4048 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4049 for as_dir in $PATH
4051 IFS=$as_save_IFS
4052 test -z "$as_dir" && as_dir=.
4053 for ac_exec_ext in '' $ac_executable_extensions; do
4054 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4055 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4056 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4057 break 2
4059 done
4060 done
4061 IFS=$as_save_IFS
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4076 if test -z "$ac_cv_prog_CC"; then
4077 ac_ct_CC=$CC
4078 # Extract the first word of "gcc", so it can be a program name with args.
4079 set dummy gcc; ac_word=$2
4080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4081 $as_echo_n "checking for $ac_word... " >&6; }
4082 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4083 $as_echo_n "(cached) " >&6
4084 else
4085 if test -n "$ac_ct_CC"; then
4086 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4087 else
4088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4089 for as_dir in $PATH
4091 IFS=$as_save_IFS
4092 test -z "$as_dir" && as_dir=.
4093 for ac_exec_ext in '' $ac_executable_extensions; do
4094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4095 ac_cv_prog_ac_ct_CC="gcc"
4096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4097 break 2
4099 done
4100 done
4101 IFS=$as_save_IFS
4105 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4106 if test -n "$ac_ct_CC"; then
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4108 $as_echo "$ac_ct_CC" >&6; }
4109 else
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4111 $as_echo "no" >&6; }
4114 if test "x$ac_ct_CC" = x; then
4115 CC=""
4116 else
4117 case $cross_compiling:$ac_tool_warned in
4118 yes:)
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4120 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4121 ac_tool_warned=yes ;;
4122 esac
4123 CC=$ac_ct_CC
4125 else
4126 CC="$ac_cv_prog_CC"
4129 if test -z "$CC"; then
4130 if test -n "$ac_tool_prefix"; then
4131 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4132 set dummy ${ac_tool_prefix}cc; ac_word=$2
4133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4134 $as_echo_n "checking for $ac_word... " >&6; }
4135 if ${ac_cv_prog_CC+:} false; then :
4136 $as_echo_n "(cached) " >&6
4137 else
4138 if test -n "$CC"; then
4139 ac_cv_prog_CC="$CC" # Let the user override the test.
4140 else
4141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4142 for as_dir in $PATH
4144 IFS=$as_save_IFS
4145 test -z "$as_dir" && as_dir=.
4146 for ac_exec_ext in '' $ac_executable_extensions; do
4147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4148 ac_cv_prog_CC="${ac_tool_prefix}cc"
4149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4150 break 2
4152 done
4153 done
4154 IFS=$as_save_IFS
4158 CC=$ac_cv_prog_CC
4159 if test -n "$CC"; then
4160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4161 $as_echo "$CC" >&6; }
4162 else
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4164 $as_echo "no" >&6; }
4170 if test -z "$CC"; then
4171 # Extract the first word of "cc", so it can be a program name with args.
4172 set dummy cc; ac_word=$2
4173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4174 $as_echo_n "checking for $ac_word... " >&6; }
4175 if ${ac_cv_prog_CC+:} false; then :
4176 $as_echo_n "(cached) " >&6
4177 else
4178 if test -n "$CC"; then
4179 ac_cv_prog_CC="$CC" # Let the user override the test.
4180 else
4181 ac_prog_rejected=no
4182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4183 for as_dir in $PATH
4185 IFS=$as_save_IFS
4186 test -z "$as_dir" && as_dir=.
4187 for ac_exec_ext in '' $ac_executable_extensions; do
4188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4189 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4190 ac_prog_rejected=yes
4191 continue
4193 ac_cv_prog_CC="cc"
4194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4195 break 2
4197 done
4198 done
4199 IFS=$as_save_IFS
4201 if test $ac_prog_rejected = yes; then
4202 # We found a bogon in the path, so make sure we never use it.
4203 set dummy $ac_cv_prog_CC
4204 shift
4205 if test $# != 0; then
4206 # We chose a different compiler from the bogus one.
4207 # However, it has the same basename, so the bogon will be chosen
4208 # first if we set CC to just the basename; use the full file name.
4209 shift
4210 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4215 CC=$ac_cv_prog_CC
4216 if test -n "$CC"; then
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4218 $as_echo "$CC" >&6; }
4219 else
4220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4221 $as_echo "no" >&6; }
4226 if test -z "$CC"; then
4227 if test -n "$ac_tool_prefix"; then
4228 for ac_prog in cl.exe
4230 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4231 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4233 $as_echo_n "checking for $ac_word... " >&6; }
4234 if ${ac_cv_prog_CC+:} false; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 if test -n "$CC"; then
4238 ac_cv_prog_CC="$CC" # Let the user override the test.
4239 else
4240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4241 for as_dir in $PATH
4243 IFS=$as_save_IFS
4244 test -z "$as_dir" && as_dir=.
4245 for ac_exec_ext in '' $ac_executable_extensions; do
4246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4247 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4249 break 2
4251 done
4252 done
4253 IFS=$as_save_IFS
4257 CC=$ac_cv_prog_CC
4258 if test -n "$CC"; then
4259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4260 $as_echo "$CC" >&6; }
4261 else
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4263 $as_echo "no" >&6; }
4267 test -n "$CC" && break
4268 done
4270 if test -z "$CC"; then
4271 ac_ct_CC=$CC
4272 for ac_prog in cl.exe
4274 # Extract the first word of "$ac_prog", so it can be a program name with args.
4275 set dummy $ac_prog; ac_word=$2
4276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4277 $as_echo_n "checking for $ac_word... " >&6; }
4278 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4279 $as_echo_n "(cached) " >&6
4280 else
4281 if test -n "$ac_ct_CC"; then
4282 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4283 else
4284 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 for as_dir in $PATH
4287 IFS=$as_save_IFS
4288 test -z "$as_dir" && as_dir=.
4289 for ac_exec_ext in '' $ac_executable_extensions; do
4290 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4291 ac_cv_prog_ac_ct_CC="$ac_prog"
4292 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4293 break 2
4295 done
4296 done
4297 IFS=$as_save_IFS
4301 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4302 if test -n "$ac_ct_CC"; then
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4304 $as_echo "$ac_ct_CC" >&6; }
4305 else
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4307 $as_echo "no" >&6; }
4311 test -n "$ac_ct_CC" && break
4312 done
4314 if test "x$ac_ct_CC" = x; then
4315 CC=""
4316 else
4317 case $cross_compiling:$ac_tool_warned in
4318 yes:)
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4320 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4321 ac_tool_warned=yes ;;
4322 esac
4323 CC=$ac_ct_CC
4330 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4331 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4332 as_fn_error $? "no acceptable C compiler found in \$PATH
4333 See \`config.log' for more details" "$LINENO" 5; }
4335 # Provide some information about the compiler.
4336 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4337 set X $ac_compile
4338 ac_compiler=$2
4339 for ac_option in --version -v -V -qversion; do
4340 { { ac_try="$ac_compiler $ac_option >&5"
4341 case "(($ac_try" in
4342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4343 *) ac_try_echo=$ac_try;;
4344 esac
4345 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4346 $as_echo "$ac_try_echo"; } >&5
4347 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4348 ac_status=$?
4349 if test -s conftest.err; then
4350 sed '10a\
4351 ... rest of stderr output deleted ...
4352 10q' conftest.err >conftest.er1
4353 cat conftest.er1 >&5
4355 rm -f conftest.er1 conftest.err
4356 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4357 test $ac_status = 0; }
4358 done
4360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4361 /* end confdefs.h. */
4364 main ()
4368 return 0;
4370 _ACEOF
4371 ac_clean_files_save=$ac_clean_files
4372 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4373 # Try to create an executable without -o first, disregard a.out.
4374 # It will help us diagnose broken compilers, and finding out an intuition
4375 # of exeext.
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4377 $as_echo_n "checking whether the C compiler works... " >&6; }
4378 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4380 # The possible output files:
4381 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4383 ac_rmfiles=
4384 for ac_file in $ac_files
4386 case $ac_file in
4387 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4388 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4389 esac
4390 done
4391 rm -f $ac_rmfiles
4393 if { { ac_try="$ac_link_default"
4394 case "(($ac_try" in
4395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4396 *) ac_try_echo=$ac_try;;
4397 esac
4398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4399 $as_echo "$ac_try_echo"; } >&5
4400 (eval "$ac_link_default") 2>&5
4401 ac_status=$?
4402 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4403 test $ac_status = 0; }; then :
4404 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4405 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4406 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4407 # so that the user can short-circuit this test for compilers unknown to
4408 # Autoconf.
4409 for ac_file in $ac_files ''
4411 test -f "$ac_file" || continue
4412 case $ac_file in
4413 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4415 [ab].out )
4416 # We found the default executable, but exeext='' is most
4417 # certainly right.
4418 break;;
4419 *.* )
4420 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4421 then :; else
4422 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4424 # We set ac_cv_exeext here because the later test for it is not
4425 # safe: cross compilers may not add the suffix if given an `-o'
4426 # argument, so we may need to know it at that point already.
4427 # Even if this section looks crufty: it has the advantage of
4428 # actually working.
4429 break;;
4431 break;;
4432 esac
4433 done
4434 test "$ac_cv_exeext" = no && ac_cv_exeext=
4436 else
4437 ac_file=''
4439 if test -z "$ac_file"; then :
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4442 $as_echo "$as_me: failed program was:" >&5
4443 sed 's/^/| /' conftest.$ac_ext >&5
4445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4447 as_fn_error 77 "C compiler cannot create executables
4448 See \`config.log' for more details" "$LINENO" 5; }
4449 else
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4451 $as_echo "yes" >&6; }
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4454 $as_echo_n "checking for C compiler default output file name... " >&6; }
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4456 $as_echo "$ac_file" >&6; }
4457 ac_exeext=$ac_cv_exeext
4459 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4460 ac_clean_files=$ac_clean_files_save
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4462 $as_echo_n "checking for suffix of executables... " >&6; }
4463 if { { ac_try="$ac_link"
4464 case "(($ac_try" in
4465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4466 *) ac_try_echo=$ac_try;;
4467 esac
4468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4469 $as_echo "$ac_try_echo"; } >&5
4470 (eval "$ac_link") 2>&5
4471 ac_status=$?
4472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4473 test $ac_status = 0; }; then :
4474 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4475 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4476 # work properly (i.e., refer to `conftest.exe'), while it won't with
4477 # `rm'.
4478 for ac_file in conftest.exe conftest conftest.*; do
4479 test -f "$ac_file" || continue
4480 case $ac_file in
4481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4482 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4483 break;;
4484 * ) break;;
4485 esac
4486 done
4487 else
4488 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4489 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4490 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4491 See \`config.log' for more details" "$LINENO" 5; }
4493 rm -f conftest conftest$ac_cv_exeext
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4495 $as_echo "$ac_cv_exeext" >&6; }
4497 rm -f conftest.$ac_ext
4498 EXEEXT=$ac_cv_exeext
4499 ac_exeext=$EXEEXT
4500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4501 /* end confdefs.h. */
4502 #include <stdio.h>
4504 main ()
4506 FILE *f = fopen ("conftest.out", "w");
4507 return ferror (f) || fclose (f) != 0;
4510 return 0;
4512 _ACEOF
4513 ac_clean_files="$ac_clean_files conftest.out"
4514 # Check that the compiler produces executables we can run. If not, either
4515 # the compiler is broken, or we cross compile.
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4517 $as_echo_n "checking whether we are cross compiling... " >&6; }
4518 if test "$cross_compiling" != yes; then
4519 { { ac_try="$ac_link"
4520 case "(($ac_try" in
4521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4522 *) ac_try_echo=$ac_try;;
4523 esac
4524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4525 $as_echo "$ac_try_echo"; } >&5
4526 (eval "$ac_link") 2>&5
4527 ac_status=$?
4528 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4529 test $ac_status = 0; }
4530 if { ac_try='./conftest$ac_cv_exeext'
4531 { { case "(($ac_try" in
4532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4533 *) ac_try_echo=$ac_try;;
4534 esac
4535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4536 $as_echo "$ac_try_echo"; } >&5
4537 (eval "$ac_try") 2>&5
4538 ac_status=$?
4539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4540 test $ac_status = 0; }; }; then
4541 cross_compiling=no
4542 else
4543 if test "$cross_compiling" = maybe; then
4544 cross_compiling=yes
4545 else
4546 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4547 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4548 as_fn_error $? "cannot run C compiled programs.
4549 If you meant to cross compile, use \`--host'.
4550 See \`config.log' for more details" "$LINENO" 5; }
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4555 $as_echo "$cross_compiling" >&6; }
4557 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4558 ac_clean_files=$ac_clean_files_save
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4560 $as_echo_n "checking for suffix of object files... " >&6; }
4561 if ${ac_cv_objext+:} false; then :
4562 $as_echo_n "(cached) " >&6
4563 else
4564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4565 /* end confdefs.h. */
4568 main ()
4572 return 0;
4574 _ACEOF
4575 rm -f conftest.o conftest.obj
4576 if { { ac_try="$ac_compile"
4577 case "(($ac_try" in
4578 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4579 *) ac_try_echo=$ac_try;;
4580 esac
4581 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4582 $as_echo "$ac_try_echo"; } >&5
4583 (eval "$ac_compile") 2>&5
4584 ac_status=$?
4585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4586 test $ac_status = 0; }; then :
4587 for ac_file in conftest.o conftest.obj conftest.*; do
4588 test -f "$ac_file" || continue;
4589 case $ac_file in
4590 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4591 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4592 break;;
4593 esac
4594 done
4595 else
4596 $as_echo "$as_me: failed program was:" >&5
4597 sed 's/^/| /' conftest.$ac_ext >&5
4599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4601 as_fn_error $? "cannot compute suffix of object files: cannot compile
4602 See \`config.log' for more details" "$LINENO" 5; }
4604 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4607 $as_echo "$ac_cv_objext" >&6; }
4608 OBJEXT=$ac_cv_objext
4609 ac_objext=$OBJEXT
4610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4611 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4612 if ${ac_cv_c_compiler_gnu+:} false; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4619 main ()
4621 #ifndef __GNUC__
4622 choke me
4623 #endif
4626 return 0;
4628 _ACEOF
4629 if ac_fn_c_try_compile "$LINENO"; then :
4630 ac_compiler_gnu=yes
4631 else
4632 ac_compiler_gnu=no
4634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4635 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4639 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4640 if test $ac_compiler_gnu = yes; then
4641 GCC=yes
4642 else
4643 GCC=
4645 ac_test_CFLAGS=${CFLAGS+set}
4646 ac_save_CFLAGS=$CFLAGS
4647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4648 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4649 if ${ac_cv_prog_cc_g+:} false; then :
4650 $as_echo_n "(cached) " >&6
4651 else
4652 ac_save_c_werror_flag=$ac_c_werror_flag
4653 ac_c_werror_flag=yes
4654 ac_cv_prog_cc_g=no
4655 CFLAGS="-g"
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4664 return 0;
4666 _ACEOF
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 ac_cv_prog_cc_g=yes
4669 else
4670 CFLAGS=""
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4675 main ()
4679 return 0;
4681 _ACEOF
4682 if ac_fn_c_try_compile "$LINENO"; then :
4684 else
4685 ac_c_werror_flag=$ac_save_c_werror_flag
4686 CFLAGS="-g"
4687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688 /* end confdefs.h. */
4691 main ()
4695 return 0;
4697 _ACEOF
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_g=yes
4701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4706 ac_c_werror_flag=$ac_save_c_werror_flag
4708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4709 $as_echo "$ac_cv_prog_cc_g" >&6; }
4710 if test "$ac_test_CFLAGS" = set; then
4711 CFLAGS=$ac_save_CFLAGS
4712 elif test $ac_cv_prog_cc_g = yes; then
4713 if test "$GCC" = yes; then
4714 CFLAGS="-g -O2"
4715 else
4716 CFLAGS="-g"
4718 else
4719 if test "$GCC" = yes; then
4720 CFLAGS="-O2"
4721 else
4722 CFLAGS=
4725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4726 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4727 if ${ac_cv_prog_cc_c89+:} false; then :
4728 $as_echo_n "(cached) " >&6
4729 else
4730 ac_cv_prog_cc_c89=no
4731 ac_save_CC=$CC
4732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4733 /* end confdefs.h. */
4734 #include <stdarg.h>
4735 #include <stdio.h>
4736 struct stat;
4737 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4738 struct buf { int x; };
4739 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4740 static char *e (p, i)
4741 char **p;
4742 int i;
4744 return p[i];
4746 static char *f (char * (*g) (char **, int), char **p, ...)
4748 char *s;
4749 va_list v;
4750 va_start (v,p);
4751 s = g (p, va_arg (v,int));
4752 va_end (v);
4753 return s;
4756 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4757 function prototypes and stuff, but not '\xHH' hex character constants.
4758 These don't provoke an error unfortunately, instead are silently treated
4759 as 'x'. The following induces an error, until -std is added to get
4760 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4761 array size at least. It's necessary to write '\x00'==0 to get something
4762 that's true only with -std. */
4763 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4765 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4766 inside strings and character constants. */
4767 #define FOO(x) 'x'
4768 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4770 int test (int i, double x);
4771 struct s1 {int (*f) (int a);};
4772 struct s2 {int (*f) (double a);};
4773 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4774 int argc;
4775 char **argv;
4777 main ()
4779 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4781 return 0;
4783 _ACEOF
4784 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4785 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4787 CC="$ac_save_CC $ac_arg"
4788 if ac_fn_c_try_compile "$LINENO"; then :
4789 ac_cv_prog_cc_c89=$ac_arg
4791 rm -f core conftest.err conftest.$ac_objext
4792 test "x$ac_cv_prog_cc_c89" != "xno" && break
4793 done
4794 rm -f conftest.$ac_ext
4795 CC=$ac_save_CC
4798 # AC_CACHE_VAL
4799 case "x$ac_cv_prog_cc_c89" in
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4802 $as_echo "none needed" >&6; } ;;
4803 xno)
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4805 $as_echo "unsupported" >&6; } ;;
4807 CC="$CC $ac_cv_prog_cc_c89"
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4809 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4810 esac
4811 if test "x$ac_cv_prog_cc_c89" != xno; then :
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4821 ac_ext=cpp
4822 ac_cpp='$CXXCPP $CPPFLAGS'
4823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4826 if test -z "$CXX"; then
4827 if test -n "$CCC"; then
4828 CXX=$CCC
4829 else
4830 if test -n "$ac_tool_prefix"; then
4831 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4833 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4834 set dummy $ac_tool_prefix$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_CXX+:} false; then :
4838 $as_echo_n "(cached) " >&6
4839 else
4840 if test -n "$CXX"; then
4841 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4842 else
4843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4844 for as_dir in $PATH
4846 IFS=$as_save_IFS
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_CXX="$ac_tool_prefix$ac_prog"
4851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 break 2
4854 done
4855 done
4856 IFS=$as_save_IFS
4860 CXX=$ac_cv_prog_CXX
4861 if test -n "$CXX"; then
4862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4863 $as_echo "$CXX" >&6; }
4864 else
4865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4866 $as_echo "no" >&6; }
4870 test -n "$CXX" && break
4871 done
4873 if test -z "$CXX"; then
4874 ac_ct_CXX=$CXX
4875 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4877 # Extract the first word of "$ac_prog", so it can be a program name with args.
4878 set dummy $ac_prog; ac_word=$2
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4880 $as_echo_n "checking for $ac_word... " >&6; }
4881 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4882 $as_echo_n "(cached) " >&6
4883 else
4884 if test -n "$ac_ct_CXX"; then
4885 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4886 else
4887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4888 for as_dir in $PATH
4890 IFS=$as_save_IFS
4891 test -z "$as_dir" && as_dir=.
4892 for ac_exec_ext in '' $ac_executable_extensions; do
4893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4894 ac_cv_prog_ac_ct_CXX="$ac_prog"
4895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 break 2
4898 done
4899 done
4900 IFS=$as_save_IFS
4904 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4905 if test -n "$ac_ct_CXX"; then
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4907 $as_echo "$ac_ct_CXX" >&6; }
4908 else
4909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4910 $as_echo "no" >&6; }
4914 test -n "$ac_ct_CXX" && break
4915 done
4917 if test "x$ac_ct_CXX" = x; then
4918 CXX="g++"
4919 else
4920 case $cross_compiling:$ac_tool_warned in
4921 yes:)
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4924 ac_tool_warned=yes ;;
4925 esac
4926 CXX=$ac_ct_CXX
4932 # Provide some information about the compiler.
4933 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4934 set X $ac_compile
4935 ac_compiler=$2
4936 for ac_option in --version -v -V -qversion; do
4937 { { ac_try="$ac_compiler $ac_option >&5"
4938 case "(($ac_try" in
4939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4940 *) ac_try_echo=$ac_try;;
4941 esac
4942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4943 $as_echo "$ac_try_echo"; } >&5
4944 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4945 ac_status=$?
4946 if test -s conftest.err; then
4947 sed '10a\
4948 ... rest of stderr output deleted ...
4949 10q' conftest.err >conftest.er1
4950 cat conftest.er1 >&5
4952 rm -f conftest.er1 conftest.err
4953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4954 test $ac_status = 0; }
4955 done
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4958 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4959 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4960 $as_echo_n "(cached) " >&6
4961 else
4962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4963 /* end confdefs.h. */
4966 main ()
4968 #ifndef __GNUC__
4969 choke me
4970 #endif
4973 return 0;
4975 _ACEOF
4976 if ac_fn_cxx_try_compile "$LINENO"; then :
4977 ac_compiler_gnu=yes
4978 else
4979 ac_compiler_gnu=no
4981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4982 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4986 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4987 if test $ac_compiler_gnu = yes; then
4988 GXX=yes
4989 else
4990 GXX=
4992 ac_test_CXXFLAGS=${CXXFLAGS+set}
4993 ac_save_CXXFLAGS=$CXXFLAGS
4994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4995 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4996 if ${ac_cv_prog_cxx_g+:} false; then :
4997 $as_echo_n "(cached) " >&6
4998 else
4999 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5000 ac_cxx_werror_flag=yes
5001 ac_cv_prog_cxx_g=no
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5016 else
5017 CXXFLAGS=""
5018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5019 /* end confdefs.h. */
5022 main ()
5026 return 0;
5028 _ACEOF
5029 if ac_fn_cxx_try_compile "$LINENO"; then :
5031 else
5032 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5033 CXXFLAGS="-g"
5034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5035 /* end confdefs.h. */
5038 main ()
5042 return 0;
5044 _ACEOF
5045 if ac_fn_cxx_try_compile "$LINENO"; then :
5046 ac_cv_prog_cxx_g=yes
5048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5053 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5056 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5057 if test "$ac_test_CXXFLAGS" = set; then
5058 CXXFLAGS=$ac_save_CXXFLAGS
5059 elif test $ac_cv_prog_cxx_g = yes; then
5060 if test "$GXX" = yes; then
5061 CXXFLAGS="-g -O2"
5062 else
5063 CXXFLAGS="-g"
5065 else
5066 if test "$GXX" = yes; then
5067 CXXFLAGS="-O2"
5068 else
5069 CXXFLAGS=
5072 ac_ext=c
5073 ac_cpp='$CPP $CPPFLAGS'
5074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5078 if test -n "$ac_tool_prefix"; then
5079 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5080 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5082 $as_echo_n "checking for $ac_word... " >&6; }
5083 if ${ac_cv_prog_CPPBIN+:} false; then :
5084 $as_echo_n "(cached) " >&6
5085 else
5086 if test -n "$CPPBIN"; then
5087 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5088 else
5089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5090 for as_dir in $PATH
5092 IFS=$as_save_IFS
5093 test -z "$as_dir" && as_dir=.
5094 for ac_exec_ext in '' $ac_executable_extensions; do
5095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5096 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5098 break 2
5100 done
5101 done
5102 IFS=$as_save_IFS
5106 CPPBIN=$ac_cv_prog_CPPBIN
5107 if test -n "$CPPBIN"; then
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5109 $as_echo "$CPPBIN" >&6; }
5110 else
5111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5112 $as_echo "no" >&6; }
5117 if test -z "$ac_cv_prog_CPPBIN"; then
5118 ac_ct_CPPBIN=$CPPBIN
5119 # Extract the first word of "cpp", so it can be a program name with args.
5120 set dummy cpp; ac_word=$2
5121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5122 $as_echo_n "checking for $ac_word... " >&6; }
5123 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5124 $as_echo_n "(cached) " >&6
5125 else
5126 if test -n "$ac_ct_CPPBIN"; then
5127 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5128 else
5129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5130 for as_dir in $PATH
5132 IFS=$as_save_IFS
5133 test -z "$as_dir" && as_dir=.
5134 for ac_exec_ext in '' $ac_executable_extensions; do
5135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5136 ac_cv_prog_ac_ct_CPPBIN="cpp"
5137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5138 break 2
5140 done
5141 done
5142 IFS=$as_save_IFS
5146 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5147 if test -n "$ac_ct_CPPBIN"; then
5148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5149 $as_echo "$ac_ct_CPPBIN" >&6; }
5150 else
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5152 $as_echo "no" >&6; }
5155 if test "x$ac_ct_CPPBIN" = x; then
5156 CPPBIN="cpp"
5157 else
5158 case $cross_compiling:$ac_tool_warned in
5159 yes:)
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5161 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5162 ac_tool_warned=yes ;;
5163 esac
5164 CPPBIN=$ac_ct_CPPBIN
5166 else
5167 CPPBIN="$ac_cv_prog_CPPBIN"
5171 cat >>confdefs.h <<_ACEOF
5172 #define EXEEXT "$ac_exeext"
5173 _ACEOF
5175 if test -n "$ac_tool_prefix"; then
5176 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5177 set dummy ${ac_tool_prefix}ld; ac_word=$2
5178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5179 $as_echo_n "checking for $ac_word... " >&6; }
5180 if ${ac_cv_prog_LD+:} false; then :
5181 $as_echo_n "(cached) " >&6
5182 else
5183 if test -n "$LD"; then
5184 ac_cv_prog_LD="$LD" # Let the user override the test.
5185 else
5186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5187 for as_dir in $PATH
5189 IFS=$as_save_IFS
5190 test -z "$as_dir" && as_dir=.
5191 for ac_exec_ext in '' $ac_executable_extensions; do
5192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5193 ac_cv_prog_LD="${ac_tool_prefix}ld"
5194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5195 break 2
5197 done
5198 done
5199 IFS=$as_save_IFS
5203 LD=$ac_cv_prog_LD
5204 if test -n "$LD"; then
5205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5206 $as_echo "$LD" >&6; }
5207 else
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5209 $as_echo "no" >&6; }
5214 if test -z "$ac_cv_prog_LD"; then
5215 ac_ct_LD=$LD
5216 # Extract the first word of "ld", so it can be a program name with args.
5217 set dummy ld; ac_word=$2
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5219 $as_echo_n "checking for $ac_word... " >&6; }
5220 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5221 $as_echo_n "(cached) " >&6
5222 else
5223 if test -n "$ac_ct_LD"; then
5224 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5225 else
5226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5227 for as_dir in $PATH
5229 IFS=$as_save_IFS
5230 test -z "$as_dir" && as_dir=.
5231 for ac_exec_ext in '' $ac_executable_extensions; do
5232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5233 ac_cv_prog_ac_ct_LD="ld"
5234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5235 break 2
5237 done
5238 done
5239 IFS=$as_save_IFS
5243 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5244 if test -n "$ac_ct_LD"; then
5245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5246 $as_echo "$ac_ct_LD" >&6; }
5247 else
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5249 $as_echo "no" >&6; }
5252 if test "x$ac_ct_LD" = x; then
5253 LD=""
5254 else
5255 case $cross_compiling:$ac_tool_warned in
5256 yes:)
5257 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5258 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5259 ac_tool_warned=yes ;;
5260 esac
5261 LD=$ac_ct_LD
5263 else
5264 LD="$ac_cv_prog_LD"
5268 case $host in
5269 *-darwin*)
5270 with_fontconfig=${with_fontconfig:-no}
5272 *-mingw32*|*-cygwin*)
5273 enable_win16=${enable_win16:-no}
5274 CFLAGS="$CFLAGS -D_WIN32"
5276 esac
5278 case $host in
5279 x86_64*|amd64*)
5280 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5281 then
5282 CC="$CC -m32"
5283 CXX="$CXX -m32"
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5285 $as_echo_n "checking whether $CC works... " >&6; }
5287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5288 /* end confdefs.h. */
5291 main ()
5295 return 0;
5297 _ACEOF
5298 if ac_fn_c_try_link "$LINENO"; then :
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5300 $as_echo "yes" >&6; }
5301 else
5302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5303 $as_echo "no" >&6; }
5304 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5306 rm -f core conftest.err conftest.$ac_objext \
5307 conftest$ac_exeext conftest.$ac_ext
5308 host_cpu="i386"
5309 notice_platform="32-bit "
5310 TARGETFLAGS="-m32"
5312 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5313 export PKG_CONFIG_PATH
5314 enable_win16=${enable_win16:-yes}
5315 else
5316 if test "x${GCC}" = "xyes"
5317 then
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5319 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5322 #include <stdarg.h>
5324 main ()
5326 void func(__builtin_ms_va_list *args);
5328 return 0;
5330 _ACEOF
5331 if ac_fn_c_try_compile "$LINENO"; then :
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5333 $as_echo "yes" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5337 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5341 CC="$CC -m64"
5342 CXX="$CXX -m64"
5343 host_cpu="x86_64"
5344 notice_platform="64-bit "
5345 TARGETFLAGS="-m64"
5349 arm*)
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5351 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5353 /* end confdefs.h. */
5354 int ac_test(int i) { return i; }
5356 main ()
5358 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5360 return 0;
5362 _ACEOF
5363 if ac_fn_c_try_link "$LINENO"; then :
5364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5365 $as_echo "yes" >&6; }
5366 else
5367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5368 $as_echo "no" >&6; }
5369 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5371 rm -f core conftest.err conftest.$ac_objext \
5372 conftest$ac_exeext conftest.$ac_ext
5373 case $with_float_abi in
5374 soft|softfp|hard)
5375 float_abi=$with_float_abi ;;
5377 case $host_os in
5378 *eabihf)
5379 float_abi=hard ;;
5381 float_abi=softfp
5382 saved_CFLAGS=$CFLAGS
5383 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5385 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5387 /* end confdefs.h. */
5390 main ()
5392 asm("vmrs r2,fpscr");
5394 return 0;
5396 _ACEOF
5397 if ac_fn_c_try_link "$LINENO"; then :
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5399 $as_echo "yes" >&6; }
5400 else
5401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5402 $as_echo "no" >&6; }
5403 float_abi=soft
5404 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5406 rm -f core conftest.err conftest.$ac_objext \
5407 conftest$ac_exeext conftest.$ac_ext
5408 CFLAGS=$saved_CFLAGS
5409 esac
5411 esac
5412 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5413 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5416 aarch64*)
5417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5418 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5420 /* end confdefs.h. */
5421 #include <stdarg.h>
5423 main ()
5425 void func(__builtin_ms_va_list *args);
5427 return 0;
5429 _ACEOF
5430 if ac_fn_c_try_compile "$LINENO"; then :
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5432 $as_echo "yes" >&6; }
5433 else
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5436 as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5440 i[3456789]86*)
5441 enable_win16=${enable_win16:-yes}
5443 esac
5445 enable_win16=${enable_win16:-no}
5446 enable_win64=${enable_win64:-no}
5448 enable_winetest=${enable_winetest:-$enable_tests}
5450 if test -n "$with_wine64"
5451 then
5452 if test "x$enable_win64" = "xyes"
5453 then
5454 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5455 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5457 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5458 You should create a separate build directory and run configure from there." "$LINENO" 5
5459 enable_fonts=${enable_fonts:-no}
5460 enable_server=${enable_server:-no}
5461 wine64_disable=\#
5463 elif test "x$enable_win64" = "xyes"
5464 then
5465 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5469 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5470 if ${wine_cv_toolsdir+:} false; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 wine_cv_toolsdir="$with_wine_tools"
5474 if test -z "$with_wine_tools"; then
5475 if test "$cross_compiling" = "yes"; then
5476 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5477 elif test -n "$with_wine64"; then
5478 wine_cv_toolsdir="$with_wine64"
5481 if test -z "$wine_cv_toolsdir"; then
5482 wine_makedep=tools/makedep
5483 wine_cv_toolsdir="\$(top_builddir)"
5484 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5485 wine_makedep=$wine_cv_toolsdir/tools/makedep
5486 case "$wine_cv_toolsdir" in
5487 /*) ;;
5488 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5489 esac
5490 enable_tools=${enable_tools:-no}
5491 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5492 else
5493 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5497 $as_echo "$wine_cv_toolsdir" >&6; }
5498 TOOLSDIR=$wine_cv_toolsdir
5500 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5501 then
5502 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5506 for ac_prog in flex
5508 # Extract the first word of "$ac_prog", so it can be a program name with args.
5509 set dummy $ac_prog; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_FLEX+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$FLEX"; then
5516 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_FLEX="$ac_prog"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 FLEX=$ac_cv_prog_FLEX
5536 if test -n "$FLEX"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5538 $as_echo "$FLEX" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5545 test -n "$FLEX" && break
5546 done
5547 test -n "$FLEX" || FLEX="none"
5549 if test "$FLEX" = "none"
5550 then
5551 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5554 $as_echo_n "checking whether flex is recent enough... " >&6; }
5555 cat >conftest.l <<EOF
5556 %top{
5557 #include "prediluvian.h"
5561 if $FLEX -t conftest.l >/dev/null 2>&5
5562 then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5564 $as_echo "yes" >&6; }
5565 else
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5568 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5571 for ac_prog in bison
5573 # Extract the first word of "$ac_prog", so it can be a program name with args.
5574 set dummy $ac_prog; ac_word=$2
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5576 $as_echo_n "checking for $ac_word... " >&6; }
5577 if ${ac_cv_prog_BISON+:} false; then :
5578 $as_echo_n "(cached) " >&6
5579 else
5580 if test -n "$BISON"; then
5581 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5582 else
5583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5584 for as_dir in $PATH
5586 IFS=$as_save_IFS
5587 test -z "$as_dir" && as_dir=.
5588 for ac_exec_ext in '' $ac_executable_extensions; do
5589 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5590 ac_cv_prog_BISON="$ac_prog"
5591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5592 break 2
5594 done
5595 done
5596 IFS=$as_save_IFS
5600 BISON=$ac_cv_prog_BISON
5601 if test -n "$BISON"; then
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5603 $as_echo "$BISON" >&6; }
5604 else
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5606 $as_echo "no" >&6; }
5610 test -n "$BISON" && break
5611 done
5612 test -n "$BISON" || BISON="none"
5614 if test "$BISON" = "none"
5615 then
5616 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5619 if test -n "$ac_tool_prefix"; then
5620 for ac_prog in ar gar
5622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_AR+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$AR"; then
5630 ac_cv_prog_AR="$AR" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 AR=$ac_cv_prog_AR
5650 if test -n "$AR"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5652 $as_echo "$AR" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5659 test -n "$AR" && break
5660 done
5662 if test -z "$AR"; then
5663 ac_ct_AR=$AR
5664 for ac_prog in ar gar
5666 # Extract the first word of "$ac_prog", so it can be a program name with args.
5667 set dummy $ac_prog; ac_word=$2
5668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5669 $as_echo_n "checking for $ac_word... " >&6; }
5670 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5671 $as_echo_n "(cached) " >&6
5672 else
5673 if test -n "$ac_ct_AR"; then
5674 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5675 else
5676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5677 for as_dir in $PATH
5679 IFS=$as_save_IFS
5680 test -z "$as_dir" && as_dir=.
5681 for ac_exec_ext in '' $ac_executable_extensions; do
5682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5683 ac_cv_prog_ac_ct_AR="$ac_prog"
5684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5685 break 2
5687 done
5688 done
5689 IFS=$as_save_IFS
5693 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5694 if test -n "$ac_ct_AR"; then
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5696 $as_echo "$ac_ct_AR" >&6; }
5697 else
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5699 $as_echo "no" >&6; }
5703 test -n "$ac_ct_AR" && break
5704 done
5706 if test "x$ac_ct_AR" = x; then
5707 AR="ar"
5708 else
5709 case $cross_compiling:$ac_tool_warned in
5710 yes:)
5711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5713 ac_tool_warned=yes ;;
5714 esac
5715 AR=$ac_ct_AR
5719 if test -n "$ac_tool_prefix"; then
5720 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5721 set dummy ${ac_tool_prefix}strip; ac_word=$2
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5723 $as_echo_n "checking for $ac_word... " >&6; }
5724 if ${ac_cv_prog_STRIP+:} false; then :
5725 $as_echo_n "(cached) " >&6
5726 else
5727 if test -n "$STRIP"; then
5728 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5729 else
5730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5731 for as_dir in $PATH
5733 IFS=$as_save_IFS
5734 test -z "$as_dir" && as_dir=.
5735 for ac_exec_ext in '' $ac_executable_extensions; do
5736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5737 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5739 break 2
5741 done
5742 done
5743 IFS=$as_save_IFS
5747 STRIP=$ac_cv_prog_STRIP
5748 if test -n "$STRIP"; then
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5750 $as_echo "$STRIP" >&6; }
5751 else
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5753 $as_echo "no" >&6; }
5758 if test -z "$ac_cv_prog_STRIP"; then
5759 ac_ct_STRIP=$STRIP
5760 # Extract the first word of "strip", so it can be a program name with args.
5761 set dummy strip; ac_word=$2
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5763 $as_echo_n "checking for $ac_word... " >&6; }
5764 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5765 $as_echo_n "(cached) " >&6
5766 else
5767 if test -n "$ac_ct_STRIP"; then
5768 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5769 else
5770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5771 for as_dir in $PATH
5773 IFS=$as_save_IFS
5774 test -z "$as_dir" && as_dir=.
5775 for ac_exec_ext in '' $ac_executable_extensions; do
5776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5777 ac_cv_prog_ac_ct_STRIP="strip"
5778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5779 break 2
5781 done
5782 done
5783 IFS=$as_save_IFS
5787 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5788 if test -n "$ac_ct_STRIP"; then
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5790 $as_echo "$ac_ct_STRIP" >&6; }
5791 else
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5793 $as_echo "no" >&6; }
5796 if test "x$ac_ct_STRIP" = x; then
5797 STRIP="strip"
5798 else
5799 case $cross_compiling:$ac_tool_warned in
5800 yes:)
5801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5803 ac_tool_warned=yes ;;
5804 esac
5805 STRIP=$ac_ct_STRIP
5807 else
5808 STRIP="$ac_cv_prog_STRIP"
5811 ARFLAGS=rc
5813 if test -n "$ac_tool_prefix"; then
5814 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5815 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5817 $as_echo_n "checking for $ac_word... " >&6; }
5818 if ${ac_cv_prog_RANLIB+:} false; then :
5819 $as_echo_n "(cached) " >&6
5820 else
5821 if test -n "$RANLIB"; then
5822 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5823 else
5824 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5825 for as_dir in $PATH
5827 IFS=$as_save_IFS
5828 test -z "$as_dir" && as_dir=.
5829 for ac_exec_ext in '' $ac_executable_extensions; do
5830 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5832 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5833 break 2
5835 done
5836 done
5837 IFS=$as_save_IFS
5841 RANLIB=$ac_cv_prog_RANLIB
5842 if test -n "$RANLIB"; then
5843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5844 $as_echo "$RANLIB" >&6; }
5845 else
5846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5847 $as_echo "no" >&6; }
5852 if test -z "$ac_cv_prog_RANLIB"; then
5853 ac_ct_RANLIB=$RANLIB
5854 # Extract the first word of "ranlib", so it can be a program name with args.
5855 set dummy ranlib; ac_word=$2
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5857 $as_echo_n "checking for $ac_word... " >&6; }
5858 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5859 $as_echo_n "(cached) " >&6
5860 else
5861 if test -n "$ac_ct_RANLIB"; then
5862 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5863 else
5864 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5865 for as_dir in $PATH
5867 IFS=$as_save_IFS
5868 test -z "$as_dir" && as_dir=.
5869 for ac_exec_ext in '' $ac_executable_extensions; do
5870 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5871 ac_cv_prog_ac_ct_RANLIB="ranlib"
5872 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5873 break 2
5875 done
5876 done
5877 IFS=$as_save_IFS
5881 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5882 if test -n "$ac_ct_RANLIB"; then
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5884 $as_echo "$ac_ct_RANLIB" >&6; }
5885 else
5886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5887 $as_echo "no" >&6; }
5890 if test "x$ac_ct_RANLIB" = x; then
5891 RANLIB=":"
5892 else
5893 case $cross_compiling:$ac_tool_warned in
5894 yes:)
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5896 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5897 ac_tool_warned=yes ;;
5898 esac
5899 RANLIB=$ac_ct_RANLIB
5901 else
5902 RANLIB="$ac_cv_prog_RANLIB"
5905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5906 $as_echo_n "checking whether ln -s works... " >&6; }
5907 LN_S=$as_ln_s
5908 if test "$LN_S" = "ln -s"; then
5909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5910 $as_echo "yes" >&6; }
5911 else
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5913 $as_echo "no, using $LN_S" >&6; }
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5917 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5918 if ${ac_cv_path_GREP+:} false; then :
5919 $as_echo_n "(cached) " >&6
5920 else
5921 if test -z "$GREP"; then
5922 ac_path_GREP_found=false
5923 # Loop through the user's path and test for each of PROGNAME-LIST
5924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5925 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5927 IFS=$as_save_IFS
5928 test -z "$as_dir" && as_dir=.
5929 for ac_prog in grep ggrep; do
5930 for ac_exec_ext in '' $ac_executable_extensions; do
5931 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5932 as_fn_executable_p "$ac_path_GREP" || continue
5933 # Check for GNU ac_path_GREP and select it if it is found.
5934 # Check for GNU $ac_path_GREP
5935 case `"$ac_path_GREP" --version 2>&1` in
5936 *GNU*)
5937 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5939 ac_count=0
5940 $as_echo_n 0123456789 >"conftest.in"
5941 while :
5943 cat "conftest.in" "conftest.in" >"conftest.tmp"
5944 mv "conftest.tmp" "conftest.in"
5945 cp "conftest.in" "conftest.nl"
5946 $as_echo 'GREP' >> "conftest.nl"
5947 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5948 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5949 as_fn_arith $ac_count + 1 && ac_count=$as_val
5950 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5951 # Best one so far, save it but keep looking for a better one
5952 ac_cv_path_GREP="$ac_path_GREP"
5953 ac_path_GREP_max=$ac_count
5955 # 10*(2^10) chars as input seems more than enough
5956 test $ac_count -gt 10 && break
5957 done
5958 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5959 esac
5961 $ac_path_GREP_found && break 3
5962 done
5963 done
5964 done
5965 IFS=$as_save_IFS
5966 if test -z "$ac_cv_path_GREP"; then
5967 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5969 else
5970 ac_cv_path_GREP=$GREP
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5975 $as_echo "$ac_cv_path_GREP" >&6; }
5976 GREP="$ac_cv_path_GREP"
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5980 $as_echo_n "checking for egrep... " >&6; }
5981 if ${ac_cv_path_EGREP+:} false; then :
5982 $as_echo_n "(cached) " >&6
5983 else
5984 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5985 then ac_cv_path_EGREP="$GREP -E"
5986 else
5987 if test -z "$EGREP"; then
5988 ac_path_EGREP_found=false
5989 # Loop through the user's path and test for each of PROGNAME-LIST
5990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5993 IFS=$as_save_IFS
5994 test -z "$as_dir" && as_dir=.
5995 for ac_prog in egrep; do
5996 for ac_exec_ext in '' $ac_executable_extensions; do
5997 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5998 as_fn_executable_p "$ac_path_EGREP" || continue
5999 # Check for GNU ac_path_EGREP and select it if it is found.
6000 # Check for GNU $ac_path_EGREP
6001 case `"$ac_path_EGREP" --version 2>&1` in
6002 *GNU*)
6003 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6005 ac_count=0
6006 $as_echo_n 0123456789 >"conftest.in"
6007 while :
6009 cat "conftest.in" "conftest.in" >"conftest.tmp"
6010 mv "conftest.tmp" "conftest.in"
6011 cp "conftest.in" "conftest.nl"
6012 $as_echo 'EGREP' >> "conftest.nl"
6013 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6014 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6015 as_fn_arith $ac_count + 1 && ac_count=$as_val
6016 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6017 # Best one so far, save it but keep looking for a better one
6018 ac_cv_path_EGREP="$ac_path_EGREP"
6019 ac_path_EGREP_max=$ac_count
6021 # 10*(2^10) chars as input seems more than enough
6022 test $ac_count -gt 10 && break
6023 done
6024 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6025 esac
6027 $ac_path_EGREP_found && break 3
6028 done
6029 done
6030 done
6031 IFS=$as_save_IFS
6032 if test -z "$ac_cv_path_EGREP"; then
6033 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6035 else
6036 ac_cv_path_EGREP=$EGREP
6041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6042 $as_echo "$ac_cv_path_EGREP" >&6; }
6043 EGREP="$ac_cv_path_EGREP"
6046 # Extract the first word of "ldconfig", so it can be a program name with args.
6047 set dummy ldconfig; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if ${ac_cv_path_LDCONFIG+:} false; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 case $LDCONFIG in
6054 [\\/]* | ?:[\\/]*)
6055 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6059 for as_dir in /sbin /usr/sbin $PATH
6061 IFS=$as_save_IFS
6062 test -z "$as_dir" && as_dir=.
6063 for ac_exec_ext in '' $ac_executable_extensions; do
6064 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6065 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6067 break 2
6069 done
6070 done
6071 IFS=$as_save_IFS
6073 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6075 esac
6077 LDCONFIG=$ac_cv_path_LDCONFIG
6078 if test -n "$LDCONFIG"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6080 $as_echo "$LDCONFIG" >&6; }
6081 else
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6087 for ac_prog in msgfmt
6089 # Extract the first word of "$ac_prog", so it can be a program name with args.
6090 set dummy $ac_prog; ac_word=$2
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6092 $as_echo_n "checking for $ac_word... " >&6; }
6093 if ${ac_cv_prog_MSGFMT+:} false; then :
6094 $as_echo_n "(cached) " >&6
6095 else
6096 if test -n "$MSGFMT"; then
6097 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6098 else
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_exec_ext in '' $ac_executable_extensions; do
6105 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6106 ac_cv_prog_MSGFMT="$ac_prog"
6107 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6108 break 2
6110 done
6111 done
6112 IFS=$as_save_IFS
6116 MSGFMT=$ac_cv_prog_MSGFMT
6117 if test -n "$MSGFMT"; then
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6119 $as_echo "$MSGFMT" >&6; }
6120 else
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6122 $as_echo "no" >&6; }
6126 test -n "$MSGFMT" && break
6127 done
6128 test -n "$MSGFMT" || MSGFMT="false"
6130 if ${ac_tool_prefix+:} false; then :
6131 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6132 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6134 $as_echo_n "checking for $ac_word... " >&6; }
6135 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6136 $as_echo_n "(cached) " >&6
6137 else
6138 if test -n "$PKG_CONFIG"; then
6139 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6140 else
6141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6142 for as_dir in $PATH
6144 IFS=$as_save_IFS
6145 test -z "$as_dir" && as_dir=.
6146 for ac_exec_ext in '' $ac_executable_extensions; do
6147 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6148 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6150 break 2
6152 done
6153 done
6154 IFS=$as_save_IFS
6158 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6159 if test -n "$PKG_CONFIG"; then
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6161 $as_echo "$PKG_CONFIG" >&6; }
6162 else
6163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6164 $as_echo "no" >&6; }
6169 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6170 if test "x$cross_compiling" = xyes; then :
6172 else
6173 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6174 # Extract the first word of "pkg-config", so it can be a program name with args.
6175 set dummy pkg-config; ac_word=$2
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177 $as_echo_n "checking for $ac_word... " >&6; }
6178 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6179 $as_echo_n "(cached) " >&6
6180 else
6181 if test -n "$PKG_CONFIG"; then
6182 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6183 else
6184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6185 for as_dir in $PATH
6187 IFS=$as_save_IFS
6188 test -z "$as_dir" && as_dir=.
6189 for ac_exec_ext in '' $ac_executable_extensions; do
6190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6191 ac_cv_prog_PKG_CONFIG="pkg-config"
6192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6193 break 2
6195 done
6196 done
6197 IFS=$as_save_IFS
6201 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6202 if test -n "$PKG_CONFIG"; then
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6204 $as_echo "$PKG_CONFIG" >&6; }
6205 else
6206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6207 $as_echo "no" >&6; }
6212 else
6213 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6216 if test "x$enable_maintainer_mode" != "xyes"
6217 then
6218 FONTFORGE=""
6219 RSVG=""
6220 CONVERT=""
6221 ICOTOOL=""
6222 else
6223 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6224 for ac_prog in fontforge
6226 # Extract the first word of "$ac_prog", so it can be a program name with args.
6227 set dummy $ac_prog; ac_word=$2
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6229 $as_echo_n "checking for $ac_word... " >&6; }
6230 if ${ac_cv_prog_FONTFORGE+:} false; then :
6231 $as_echo_n "(cached) " >&6
6232 else
6233 if test -n "$FONTFORGE"; then
6234 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6235 else
6236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6237 for as_dir in $PATH
6239 IFS=$as_save_IFS
6240 test -z "$as_dir" && as_dir=.
6241 for ac_exec_ext in '' $ac_executable_extensions; do
6242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6243 ac_cv_prog_FONTFORGE="$ac_prog"
6244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6245 break 2
6247 done
6248 done
6249 IFS=$as_save_IFS
6253 FONTFORGE=$ac_cv_prog_FONTFORGE
6254 if test -n "$FONTFORGE"; then
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6256 $as_echo "$FONTFORGE" >&6; }
6257 else
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6259 $as_echo "no" >&6; }
6263 test -n "$FONTFORGE" && break
6264 done
6265 test -n "$FONTFORGE" || FONTFORGE="false"
6267 for ac_prog in rsvg-convert rsvg
6269 # Extract the first word of "$ac_prog", so it can be a program name with args.
6270 set dummy $ac_prog; ac_word=$2
6271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272 $as_echo_n "checking for $ac_word... " >&6; }
6273 if ${ac_cv_prog_RSVG+:} false; then :
6274 $as_echo_n "(cached) " >&6
6275 else
6276 if test -n "$RSVG"; then
6277 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6278 else
6279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6280 for as_dir in $PATH
6282 IFS=$as_save_IFS
6283 test -z "$as_dir" && as_dir=.
6284 for ac_exec_ext in '' $ac_executable_extensions; do
6285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6286 ac_cv_prog_RSVG="$ac_prog"
6287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6288 break 2
6290 done
6291 done
6292 IFS=$as_save_IFS
6296 RSVG=$ac_cv_prog_RSVG
6297 if test -n "$RSVG"; then
6298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6299 $as_echo "$RSVG" >&6; }
6300 else
6301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6302 $as_echo "no" >&6; }
6306 test -n "$RSVG" && break
6307 done
6308 test -n "$RSVG" || RSVG="false"
6310 for ac_prog in convert
6312 # Extract the first word of "$ac_prog", so it can be a program name with args.
6313 set dummy $ac_prog; ac_word=$2
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6315 $as_echo_n "checking for $ac_word... " >&6; }
6316 if ${ac_cv_prog_CONVERT+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 if test -n "$CONVERT"; then
6320 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6321 else
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 for as_dir in $PATH
6325 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=.
6327 for ac_exec_ext in '' $ac_executable_extensions; do
6328 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6329 ac_cv_prog_CONVERT="$ac_prog"
6330 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6331 break 2
6333 done
6334 done
6335 IFS=$as_save_IFS
6339 CONVERT=$ac_cv_prog_CONVERT
6340 if test -n "$CONVERT"; then
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6342 $as_echo "$CONVERT" >&6; }
6343 else
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6345 $as_echo "no" >&6; }
6349 test -n "$CONVERT" && break
6350 done
6351 test -n "$CONVERT" || CONVERT="false"
6353 for ac_prog in icotool
6355 # Extract the first word of "$ac_prog", so it can be a program name with args.
6356 set dummy $ac_prog; ac_word=$2
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6358 $as_echo_n "checking for $ac_word... " >&6; }
6359 if ${ac_cv_prog_ICOTOOL+:} false; then :
6360 $as_echo_n "(cached) " >&6
6361 else
6362 if test -n "$ICOTOOL"; then
6363 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6364 else
6365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6366 for as_dir in $PATH
6368 IFS=$as_save_IFS
6369 test -z "$as_dir" && as_dir=.
6370 for ac_exec_ext in '' $ac_executable_extensions; do
6371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6372 ac_cv_prog_ICOTOOL="$ac_prog"
6373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6374 break 2
6376 done
6377 done
6378 IFS=$as_save_IFS
6382 ICOTOOL=$ac_cv_prog_ICOTOOL
6383 if test -n "$ICOTOOL"; then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6385 $as_echo "$ICOTOOL" >&6; }
6386 else
6387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6388 $as_echo "no" >&6; }
6392 test -n "$ICOTOOL" && break
6393 done
6394 test -n "$ICOTOOL" || ICOTOOL="false"
6396 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6397 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6399 if test "$CONVERT" = false
6400 then
6401 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6402 else
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6404 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6405 convert_version=`convert --version | head -n1`
6406 if test "x$convert_version" != "x"
6407 then
6408 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6409 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6410 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6411 then
6412 CONVERT=false
6415 if test "$CONVERT" = false
6416 then
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6418 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6419 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6420 else
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6422 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6426 if test "$ICOTOOL" = false
6427 then
6428 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6429 else
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6431 $as_echo_n "checking for recent enough icotool... " >&6; }
6432 icotool_version=`icotool --version | head -n1`
6433 if test "x$icotool_version" != "x"
6434 then
6435 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6436 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6437 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6438 then
6439 ICOTOOL=false
6440 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6443 if test "$ICOTOOL" = false
6444 then
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6446 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6447 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6448 else
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6450 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6454 with_gettext=yes
6455 with_gettextpo=yes
6456 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6459 test "x$with_gettext" != xno || MSGFMT=false
6460 if test "$MSGFMT" != "false"
6461 then
6462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6463 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6464 cat >conftest.po <<EOF
6465 # comment
6466 msgctxt "ctxt"
6467 msgid "id"
6468 msgstr "str"
6470 if $MSGFMT -o /dev/null conftest.po 2>&5
6471 then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6473 $as_echo "yes" >&6; }
6474 else
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6477 MSGFMT=false
6480 if test "$MSGFMT" = false; then :
6481 case "x$with_gettext" in
6482 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6483 xno) ;;
6484 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6485 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6486 esac
6487 enable_po=${enable_po:-no}
6491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6492 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6493 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6494 $as_echo_n "(cached) " >&6
6495 else
6496 ac_check_lib_save_LIBS=$LIBS
6497 LIBS="-li386 $LIBS"
6498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6499 /* end confdefs.h. */
6501 /* Override any GCC internal prototype to avoid an error.
6502 Use char because int might match the return type of a GCC
6503 builtin and then its argument prototype would still apply. */
6504 #ifdef __cplusplus
6505 extern "C"
6506 #endif
6507 char i386_set_ldt ();
6509 main ()
6511 return i386_set_ldt ();
6513 return 0;
6515 _ACEOF
6516 if ac_fn_c_try_link "$LINENO"; then :
6517 ac_cv_lib_i386_i386_set_ldt=yes
6518 else
6519 ac_cv_lib_i386_i386_set_ldt=no
6521 rm -f core conftest.err conftest.$ac_objext \
6522 conftest$ac_exeext conftest.$ac_ext
6523 LIBS=$ac_check_lib_save_LIBS
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6526 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6527 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6528 cat >>confdefs.h <<_ACEOF
6529 #define HAVE_LIBI386 1
6530 _ACEOF
6532 LIBS="-li386 $LIBS"
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6537 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6538 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6539 $as_echo_n "(cached) " >&6
6540 else
6541 ac_check_lib_save_LIBS=$LIBS
6542 LIBS="-lossaudio $LIBS"
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6546 /* Override any GCC internal prototype to avoid an error.
6547 Use char because int might match the return type of a GCC
6548 builtin and then its argument prototype would still apply. */
6549 #ifdef __cplusplus
6550 extern "C"
6551 #endif
6552 char _oss_ioctl ();
6554 main ()
6556 return _oss_ioctl ();
6558 return 0;
6560 _ACEOF
6561 if ac_fn_c_try_link "$LINENO"; then :
6562 ac_cv_lib_ossaudio__oss_ioctl=yes
6563 else
6564 ac_cv_lib_ossaudio__oss_ioctl=no
6566 rm -f core conftest.err conftest.$ac_objext \
6567 conftest$ac_exeext conftest.$ac_ext
6568 LIBS=$ac_check_lib_save_LIBS
6570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6571 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6572 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6573 cat >>confdefs.h <<_ACEOF
6574 #define HAVE_LIBOSSAUDIO 1
6575 _ACEOF
6577 LIBS="-lossaudio $LIBS"
6582 OPENGL_LIBS=""
6586 # Check whether --enable-largefile was given.
6587 if test "${enable_largefile+set}" = set; then :
6588 enableval=$enable_largefile;
6591 if test "$enable_largefile" != no; then
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6594 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6595 if ${ac_cv_sys_largefile_CC+:} false; then :
6596 $as_echo_n "(cached) " >&6
6597 else
6598 ac_cv_sys_largefile_CC=no
6599 if test "$GCC" != yes; then
6600 ac_save_CC=$CC
6601 while :; do
6602 # IRIX 6.2 and later do not support large files by default,
6603 # so use the C compiler's -n32 option if that helps.
6604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6605 /* end confdefs.h. */
6606 #include <sys/types.h>
6607 /* Check that off_t can represent 2**63 - 1 correctly.
6608 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6609 since some C++ compilers masquerading as C compilers
6610 incorrectly reject 9223372036854775807. */
6611 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6612 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6613 && LARGE_OFF_T % 2147483647 == 1)
6614 ? 1 : -1];
6616 main ()
6620 return 0;
6622 _ACEOF
6623 if ac_fn_c_try_compile "$LINENO"; then :
6624 break
6626 rm -f core conftest.err conftest.$ac_objext
6627 CC="$CC -n32"
6628 if ac_fn_c_try_compile "$LINENO"; then :
6629 ac_cv_sys_largefile_CC=' -n32'; break
6631 rm -f core conftest.err conftest.$ac_objext
6632 break
6633 done
6634 CC=$ac_save_CC
6635 rm -f conftest.$ac_ext
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6639 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6640 if test "$ac_cv_sys_largefile_CC" != no; then
6641 CC=$CC$ac_cv_sys_largefile_CC
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6645 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6646 if ${ac_cv_sys_file_offset_bits+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 while :; do
6650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6651 /* end confdefs.h. */
6652 #include <sys/types.h>
6653 /* Check that off_t can represent 2**63 - 1 correctly.
6654 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6655 since some C++ compilers masquerading as C compilers
6656 incorrectly reject 9223372036854775807. */
6657 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6658 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6659 && LARGE_OFF_T % 2147483647 == 1)
6660 ? 1 : -1];
6662 main ()
6666 return 0;
6668 _ACEOF
6669 if ac_fn_c_try_compile "$LINENO"; then :
6670 ac_cv_sys_file_offset_bits=no; break
6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6675 #define _FILE_OFFSET_BITS 64
6676 #include <sys/types.h>
6677 /* Check that off_t can represent 2**63 - 1 correctly.
6678 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6679 since some C++ compilers masquerading as C compilers
6680 incorrectly reject 9223372036854775807. */
6681 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6682 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6683 && LARGE_OFF_T % 2147483647 == 1)
6684 ? 1 : -1];
6686 main ()
6690 return 0;
6692 _ACEOF
6693 if ac_fn_c_try_compile "$LINENO"; then :
6694 ac_cv_sys_file_offset_bits=64; break
6696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6697 ac_cv_sys_file_offset_bits=unknown
6698 break
6699 done
6701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6702 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6703 case $ac_cv_sys_file_offset_bits in #(
6704 no | unknown) ;;
6706 cat >>confdefs.h <<_ACEOF
6707 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6708 _ACEOF
6710 esac
6711 rm -rf conftest*
6712 if test $ac_cv_sys_file_offset_bits = unknown; then
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6714 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6715 if ${ac_cv_sys_large_files+:} false; then :
6716 $as_echo_n "(cached) " >&6
6717 else
6718 while :; do
6719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6720 /* end confdefs.h. */
6721 #include <sys/types.h>
6722 /* Check that off_t can represent 2**63 - 1 correctly.
6723 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6724 since some C++ compilers masquerading as C compilers
6725 incorrectly reject 9223372036854775807. */
6726 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6727 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6728 && LARGE_OFF_T % 2147483647 == 1)
6729 ? 1 : -1];
6731 main ()
6735 return 0;
6737 _ACEOF
6738 if ac_fn_c_try_compile "$LINENO"; then :
6739 ac_cv_sys_large_files=no; break
6741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6744 #define _LARGE_FILES 1
6745 #include <sys/types.h>
6746 /* Check that off_t can represent 2**63 - 1 correctly.
6747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6748 since some C++ compilers masquerading as C compilers
6749 incorrectly reject 9223372036854775807. */
6750 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6752 && LARGE_OFF_T % 2147483647 == 1)
6753 ? 1 : -1];
6755 main ()
6759 return 0;
6761 _ACEOF
6762 if ac_fn_c_try_compile "$LINENO"; then :
6763 ac_cv_sys_large_files=1; break
6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6766 ac_cv_sys_large_files=unknown
6767 break
6768 done
6770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6771 $as_echo "$ac_cv_sys_large_files" >&6; }
6772 case $ac_cv_sys_large_files in #(
6773 no | unknown) ;;
6775 cat >>confdefs.h <<_ACEOF
6776 #define _LARGE_FILES $ac_cv_sys_large_files
6777 _ACEOF
6779 esac
6780 rm -rf conftest*
6787 ac_ext=c
6788 ac_cpp='$CPP $CPPFLAGS'
6789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6793 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6794 # On Suns, sometimes $CPP names a directory.
6795 if test -n "$CPP" && test -d "$CPP"; then
6796 CPP=
6798 if test -z "$CPP"; then
6799 if ${ac_cv_prog_CPP+:} false; then :
6800 $as_echo_n "(cached) " >&6
6801 else
6802 # Double quotes because CPP needs to be expanded
6803 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6805 ac_preproc_ok=false
6806 for ac_c_preproc_warn_flag in '' yes
6808 # Use a header file that comes with gcc, so configuring glibc
6809 # with a fresh cross-compiler works.
6810 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6811 # <limits.h> exists even on freestanding compilers.
6812 # On the NeXT, cc -E runs the code through the compiler's parser,
6813 # not just through cpp. "Syntax error" is here to catch this case.
6814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6815 /* end confdefs.h. */
6816 #ifdef __STDC__
6817 # include <limits.h>
6818 #else
6819 # include <assert.h>
6820 #endif
6821 Syntax error
6822 _ACEOF
6823 if ac_fn_c_try_cpp "$LINENO"; then :
6825 else
6826 # Broken: fails on valid input.
6827 continue
6829 rm -f conftest.err conftest.i conftest.$ac_ext
6831 # OK, works on sane cases. Now check whether nonexistent headers
6832 # can be detected and how.
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6835 #include <ac_nonexistent.h>
6836 _ACEOF
6837 if ac_fn_c_try_cpp "$LINENO"; then :
6838 # Broken: success on invalid input.
6839 continue
6840 else
6841 # Passes both tests.
6842 ac_preproc_ok=:
6843 break
6845 rm -f conftest.err conftest.i conftest.$ac_ext
6847 done
6848 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6849 rm -f conftest.i conftest.err conftest.$ac_ext
6850 if $ac_preproc_ok; then :
6851 break
6854 done
6855 ac_cv_prog_CPP=$CPP
6858 CPP=$ac_cv_prog_CPP
6859 else
6860 ac_cv_prog_CPP=$CPP
6862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6863 $as_echo "$CPP" >&6; }
6864 ac_preproc_ok=false
6865 for ac_c_preproc_warn_flag in '' yes
6867 # Use a header file that comes with gcc, so configuring glibc
6868 # with a fresh cross-compiler works.
6869 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6870 # <limits.h> exists even on freestanding compilers.
6871 # On the NeXT, cc -E runs the code through the compiler's parser,
6872 # not just through cpp. "Syntax error" is here to catch this case.
6873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6874 /* end confdefs.h. */
6875 #ifdef __STDC__
6876 # include <limits.h>
6877 #else
6878 # include <assert.h>
6879 #endif
6880 Syntax error
6881 _ACEOF
6882 if ac_fn_c_try_cpp "$LINENO"; then :
6884 else
6885 # Broken: fails on valid input.
6886 continue
6888 rm -f conftest.err conftest.i conftest.$ac_ext
6890 # OK, works on sane cases. Now check whether nonexistent headers
6891 # can be detected and how.
6892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6893 /* end confdefs.h. */
6894 #include <ac_nonexistent.h>
6895 _ACEOF
6896 if ac_fn_c_try_cpp "$LINENO"; then :
6897 # Broken: success on invalid input.
6898 continue
6899 else
6900 # Passes both tests.
6901 ac_preproc_ok=:
6902 break
6904 rm -f conftest.err conftest.i conftest.$ac_ext
6906 done
6907 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6908 rm -f conftest.i conftest.err conftest.$ac_ext
6909 if $ac_preproc_ok; then :
6911 else
6912 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6913 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6914 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6915 See \`config.log' for more details" "$LINENO" 5; }
6918 ac_ext=c
6919 ac_cpp='$CPP $CPPFLAGS'
6920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6926 $as_echo_n "checking for ANSI C header files... " >&6; }
6927 if ${ac_cv_header_stdc+:} false; then :
6928 $as_echo_n "(cached) " >&6
6929 else
6930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6931 /* end confdefs.h. */
6932 #include <stdlib.h>
6933 #include <stdarg.h>
6934 #include <string.h>
6935 #include <float.h>
6938 main ()
6942 return 0;
6944 _ACEOF
6945 if ac_fn_c_try_compile "$LINENO"; then :
6946 ac_cv_header_stdc=yes
6947 else
6948 ac_cv_header_stdc=no
6950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6952 if test $ac_cv_header_stdc = yes; then
6953 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6955 /* end confdefs.h. */
6956 #include <string.h>
6958 _ACEOF
6959 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6960 $EGREP "memchr" >/dev/null 2>&1; then :
6962 else
6963 ac_cv_header_stdc=no
6965 rm -f conftest*
6969 if test $ac_cv_header_stdc = yes; then
6970 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6972 /* end confdefs.h. */
6973 #include <stdlib.h>
6975 _ACEOF
6976 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6977 $EGREP "free" >/dev/null 2>&1; then :
6979 else
6980 ac_cv_header_stdc=no
6982 rm -f conftest*
6986 if test $ac_cv_header_stdc = yes; then
6987 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6988 if test "$cross_compiling" = yes; then :
6990 else
6991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6992 /* end confdefs.h. */
6993 #include <ctype.h>
6994 #include <stdlib.h>
6995 #if ((' ' & 0x0FF) == 0x020)
6996 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6997 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6998 #else
6999 # define ISLOWER(c) \
7000 (('a' <= (c) && (c) <= 'i') \
7001 || ('j' <= (c) && (c) <= 'r') \
7002 || ('s' <= (c) && (c) <= 'z'))
7003 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7004 #endif
7006 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7008 main ()
7010 int i;
7011 for (i = 0; i < 256; i++)
7012 if (XOR (islower (i), ISLOWER (i))
7013 || toupper (i) != TOUPPER (i))
7014 return 2;
7015 return 0;
7017 _ACEOF
7018 if ac_fn_c_try_run "$LINENO"; then :
7020 else
7021 ac_cv_header_stdc=no
7023 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7024 conftest.$ac_objext conftest.beam conftest.$ac_ext
7029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7030 $as_echo "$ac_cv_header_stdc" >&6; }
7031 if test $ac_cv_header_stdc = yes; then
7033 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7037 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7038 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7039 inttypes.h stdint.h unistd.h
7040 do :
7041 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7042 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7044 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7045 cat >>confdefs.h <<_ACEOF
7046 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7047 _ACEOF
7051 done
7054 for ac_header in \
7055 AL/al.h \
7056 ApplicationServices/ApplicationServices.h \
7057 AudioToolbox/AudioConverter.h \
7058 AudioUnit/AudioUnit.h \
7059 AudioUnit/AudioComponent.h \
7060 CL/cl.h \
7061 Carbon/Carbon.h \
7062 CommonCrypto/CommonCryptor.h \
7063 CoreAudio/CoreAudio.h \
7064 CoreServices/CoreServices.h \
7065 DiskArbitration/DiskArbitration.h \
7066 EGL/egl.h \
7067 IOKit/IOKitLib.h \
7068 IOKit/hid/IOHIDLib.h \
7069 OpenAL/al.h \
7070 OpenCL/opencl.h \
7071 QuickTime/ImageCompression.h \
7072 Security/Security.h \
7073 alias.h \
7074 alsa/asoundlib.h \
7075 arpa/inet.h \
7076 arpa/nameser.h \
7077 asm/types.h \
7078 asm/user.h \
7079 curses.h \
7080 direct.h \
7081 dirent.h \
7082 dlfcn.h \
7083 elf.h \
7084 float.h \
7085 fnmatch.h \
7086 getopt.h \
7087 gettext-po.h \
7088 grp.h \
7089 gsm.h \
7090 gsm/gsm.h \
7091 ieeefp.h \
7092 inet/mib2.h \
7093 io.h \
7094 kstat.h \
7095 libproc.h \
7096 link.h \
7097 linux/cdrom.h \
7098 linux/compiler.h \
7099 linux/filter.h \
7100 linux/hdreg.h \
7101 linux/hidraw.h \
7102 linux/input.h \
7103 linux/ioctl.h \
7104 linux/joystick.h \
7105 linux/major.h \
7106 linux/param.h \
7107 linux/serial.h \
7108 linux/types.h \
7109 linux/ucdrom.h \
7110 lwp.h \
7111 mach-o/nlist.h \
7112 mach-o/loader.h \
7113 mach/mach.h \
7114 mach/machine.h \
7115 machine/cpu.h \
7116 machine/limits.h \
7117 machine/sysarch.h \
7118 mntent.h \
7119 ncurses.h \
7120 netdb.h \
7121 netinet/in.h \
7122 netinet/in_systm.h \
7123 netinet/tcp.h \
7124 netinet/tcp_fsm.h \
7125 pcap/pcap.h \
7126 poll.h \
7127 port.h \
7128 process.h \
7129 pthread.h \
7130 pwd.h \
7131 sched.h \
7132 scsi/scsi.h \
7133 scsi/scsi_ioctl.h \
7134 scsi/sg.h \
7135 stdbool.h \
7136 stdint.h \
7137 stropts.h \
7138 sys/asoundlib.h \
7139 sys/attr.h \
7140 sys/auxv.h \
7141 sys/cdio.h \
7142 sys/elf32.h \
7143 sys/epoll.h \
7144 sys/event.h \
7145 sys/exec_elf.h \
7146 sys/filio.h \
7147 sys/inotify.h \
7148 sys/ioctl.h \
7149 sys/ipc.h \
7150 sys/limits.h \
7151 sys/link.h \
7152 sys/mman.h \
7153 sys/modem.h \
7154 sys/msg.h \
7155 sys/mtio.h \
7156 sys/param.h \
7157 sys/poll.h \
7158 sys/prctl.h \
7159 sys/protosw.h \
7160 sys/ptrace.h \
7161 sys/queue.h \
7162 sys/resource.h \
7163 sys/scsiio.h \
7164 sys/shm.h \
7165 sys/signal.h \
7166 sys/socket.h \
7167 sys/socketvar.h \
7168 sys/sockio.h \
7169 sys/statvfs.h \
7170 sys/strtio.h \
7171 sys/syscall.h \
7172 sys/sysinfo.h \
7173 sys/tihdr.h \
7174 sys/time.h \
7175 sys/timeout.h \
7176 sys/times.h \
7177 sys/uio.h \
7178 sys/user.h \
7179 sys/utsname.h \
7180 sys/vnode.h \
7181 sys/wait.h \
7182 syscall.h \
7183 termios.h \
7184 unistd.h \
7185 utime.h \
7186 valgrind/memcheck.h \
7187 valgrind/valgrind.h \
7188 zlib.h
7190 do :
7191 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7192 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7193 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7194 cat >>confdefs.h <<_ACEOF
7195 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7196 _ACEOF
7200 done
7202 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7203 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7205 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7210 if test $ac_cv_header_sys_mkdev_h = no; then
7211 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7212 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7214 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7221 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7222 if ${ac_cv_header_stat_broken+:} false; then :
7223 $as_echo_n "(cached) " >&6
7224 else
7225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7226 /* end confdefs.h. */
7227 #include <sys/types.h>
7228 #include <sys/stat.h>
7230 #if defined S_ISBLK && defined S_IFDIR
7231 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7232 #endif
7234 #if defined S_ISBLK && defined S_IFCHR
7235 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7236 #endif
7238 #if defined S_ISLNK && defined S_IFREG
7239 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7240 #endif
7242 #if defined S_ISSOCK && defined S_IFREG
7243 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7244 #endif
7246 _ACEOF
7247 if ac_fn_c_try_compile "$LINENO"; then :
7248 ac_cv_header_stat_broken=no
7249 else
7250 ac_cv_header_stat_broken=yes
7252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7255 $as_echo "$ac_cv_header_stat_broken" >&6; }
7256 if test $ac_cv_header_stat_broken = yes; then
7258 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7264 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7265 do :
7266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7267 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7268 #ifdef HAVE_SYS_PARAM_H
7269 # include <sys/param.h>
7270 #endif
7272 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7273 cat >>confdefs.h <<_ACEOF
7274 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7275 _ACEOF
7279 done
7282 for ac_header in \
7283 netinet/ip.h \
7284 net/if.h \
7285 net/if_arp.h \
7286 net/if_dl.h \
7287 net/if_types.h \
7288 net/route.h \
7289 netinet/if_ether.h \
7290 netinet/if_inarp.h \
7291 netinet/in_pcb.h \
7292 netinet/ip_icmp.h \
7293 netinet/ip_var.h \
7294 netinet/udp.h \
7295 netipx/ipx.h \
7296 sys/un.h \
7298 do :
7299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7300 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7301 #ifdef HAVE_SYS_SOCKET_H
7302 # include <sys/socket.h>
7303 #endif
7304 #ifdef HAVE_SYS_SOCKETVAR_H
7305 # include <sys/socketvar.h>
7306 #endif
7307 #ifdef HAVE_NET_ROUTE_H
7308 # include <net/route.h>
7309 #endif
7310 #ifdef HAVE_NETINET_IN_H
7311 # include <netinet/in.h>
7312 #endif
7313 #ifdef HAVE_NETINET_IN_SYSTM_H
7314 # include <netinet/in_systm.h>
7315 #endif
7316 #ifdef HAVE_NET_IF_H
7317 # include <net/if.h>
7318 #endif
7319 #ifdef HAVE_NETINET_IP_H
7320 # include <netinet/ip.h>
7321 #endif
7323 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7324 cat >>confdefs.h <<_ACEOF
7325 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7326 _ACEOF
7330 done
7333 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7334 do :
7335 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7336 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7337 #ifdef HAVE_ALIAS_H
7338 # include <alias.h>
7339 #endif
7340 #ifdef HAVE_SYS_SOCKET_H
7341 # include <sys/socket.h>
7342 #endif
7343 #ifdef HAVE_SYS_SOCKETVAR_H
7344 # include <sys/socketvar.h>
7345 #endif
7346 #ifdef HAVE_SYS_TIMEOUT_H
7347 # include <sys/timeout.h>
7348 #endif
7349 #ifdef HAVE_NETINET_IN_H
7350 # include <netinet/in.h>
7351 #endif
7352 #ifdef HAVE_NETINET_IN_SYSTM_H
7353 # include <netinet/in_systm.h>
7354 #endif
7355 #ifdef HAVE_NETINET_IP_H
7356 # include <netinet/ip.h>
7357 #endif
7358 #ifdef HAVE_NETINET_IP_VAR_H
7359 # include <netinet/ip_var.h>
7360 #endif
7361 #ifdef HAVE_NETINET_IP_ICMP_H
7362 # include <netinet/ip_icmp.h>
7363 #endif
7364 #ifdef HAVE_NETINET_UDP_H
7365 # include <netinet/udp.h>
7366 #endif
7367 #ifdef HAVE_NETINET_TCP_H
7368 # include <netinet/tcp.h>
7369 #endif
7370 #ifdef HAVE_NETINET_TCP_TIMER_H
7371 #include <netinet/tcp_timer.h>
7372 #endif
7374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7375 cat >>confdefs.h <<_ACEOF
7376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7377 _ACEOF
7381 done
7384 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7385 do :
7386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7387 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7388 #ifdef HAVE_ASM_TYPES_H
7389 # include <asm/types.h>
7390 #endif
7391 #ifdef HAVE_SYS_SOCKET_H
7392 # include <sys/socket.h>
7393 #endif
7394 #ifdef HAVE_LINUX_TYPES_H
7395 # include <linux/types.h>
7396 #endif
7398 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7399 cat >>confdefs.h <<_ACEOF
7400 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7401 _ACEOF
7405 done
7408 for ac_header in mach-o/dyld_images.h
7409 do :
7410 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7411 # include <stdbool.h>
7412 #endif
7413 #ifdef HAVE_STDINT_H
7414 # include <stdint.h>
7415 #endif
7417 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7418 cat >>confdefs.h <<_ACEOF
7419 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7420 _ACEOF
7424 done
7427 for ac_header in resolv.h
7428 do :
7429 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7430 #ifdef HAVE_SYS_SOCKET_H
7431 # include <sys/socket.h>
7432 #endif
7433 #ifdef HAVE_NETINET_IN_H
7434 # include <netinet/in.h>
7435 #endif
7436 #ifdef HAVE_ARPA_NAMESER_H
7437 # include <arpa/nameser.h>
7438 #endif
7440 if test "x$ac_cv_header_resolv_h" = xyes; then :
7441 cat >>confdefs.h <<_ACEOF
7442 #define HAVE_RESOLV_H 1
7443 _ACEOF
7447 done
7450 for ac_header in ifaddrs.h
7451 do :
7452 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7454 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7455 cat >>confdefs.h <<_ACEOF
7456 #define HAVE_IFADDRS_H 1
7457 _ACEOF
7461 done
7464 for ac_header in sys/ucontext.h
7465 do :
7466 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7468 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7469 cat >>confdefs.h <<_ACEOF
7470 #define HAVE_SYS_UCONTEXT_H 1
7471 _ACEOF
7475 done
7478 for ac_header in sys/thr.h
7479 do :
7480 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7481 #ifdef HAVE_SYS_UCONTEXT_H
7482 #include <sys/ucontext.h>
7483 #endif
7485 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7486 cat >>confdefs.h <<_ACEOF
7487 #define HAVE_SYS_THR_H 1
7488 _ACEOF
7492 done
7495 for ac_header in pthread_np.h
7496 do :
7497 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7498 #include <pthread.h>
7499 #endif
7501 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7502 cat >>confdefs.h <<_ACEOF
7503 #define HAVE_PTHREAD_NP_H 1
7504 _ACEOF
7508 done
7511 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7512 do :
7513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7514 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7515 #include <sys/time.h>
7516 #endif
7517 #include <sys/types.h>
7518 #ifdef HAVE_ASM_TYPES_H
7519 #include <asm/types.h>
7520 #endif
7522 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7523 cat >>confdefs.h <<_ACEOF
7524 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7525 _ACEOF
7529 done
7532 for ac_header in libprocstat.h
7533 do :
7534 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7535 #include <sys/param.h>
7536 #endif
7537 #ifdef HAVE_SYS_QUEUE_H
7538 #include <sys/queue.h>
7539 #endif
7540 #ifdef HAVE_SYS_SOCKET_H
7541 #include <sys/socket.h>
7542 #endif
7544 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7545 cat >>confdefs.h <<_ACEOF
7546 #define HAVE_LIBPROCSTAT_H 1
7547 _ACEOF
7551 done
7555 DLLFLAGS="-D_REENTRANT"
7557 LDRPATH_INSTALL=""
7559 LDRPATH_LOCAL=""
7561 LDEXECFLAGS=""
7563 WINELOADER_LDFLAGS=""
7565 LIBEXT="so"
7566 DLLEXT=".so"
7567 IMPLIBEXT="def"
7568 # Extract the first word of "ldd", so it can be a program name with args.
7569 set dummy ldd; ac_word=$2
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7571 $as_echo_n "checking for $ac_word... " >&6; }
7572 if ${ac_cv_path_LDD+:} false; then :
7573 $as_echo_n "(cached) " >&6
7574 else
7575 case $LDD in
7576 [\\/]* | ?:[\\/]*)
7577 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7581 as_dummy="/sbin:/usr/sbin:$PATH"
7582 for as_dir in $as_dummy
7584 IFS=$as_save_IFS
7585 test -z "$as_dir" && as_dir=.
7586 for ac_exec_ext in '' $ac_executable_extensions; do
7587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7588 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7590 break 2
7592 done
7593 done
7594 IFS=$as_save_IFS
7596 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7598 esac
7600 LDD=$ac_cv_path_LDD
7601 if test -n "$LDD"; then
7602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7603 $as_echo "$LDD" >&6; }
7604 else
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7606 $as_echo "no" >&6; }
7610 if test -n "$ac_tool_prefix"; then
7611 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7612 set dummy ${ac_tool_prefix}otool; ac_word=$2
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7614 $as_echo_n "checking for $ac_word... " >&6; }
7615 if ${ac_cv_prog_OTOOL+:} false; then :
7616 $as_echo_n "(cached) " >&6
7617 else
7618 if test -n "$OTOOL"; then
7619 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7620 else
7621 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7622 for as_dir in $PATH
7624 IFS=$as_save_IFS
7625 test -z "$as_dir" && as_dir=.
7626 for ac_exec_ext in '' $ac_executable_extensions; do
7627 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7628 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7629 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7630 break 2
7632 done
7633 done
7634 IFS=$as_save_IFS
7638 OTOOL=$ac_cv_prog_OTOOL
7639 if test -n "$OTOOL"; then
7640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7641 $as_echo "$OTOOL" >&6; }
7642 else
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7644 $as_echo "no" >&6; }
7649 if test -z "$ac_cv_prog_OTOOL"; then
7650 ac_ct_OTOOL=$OTOOL
7651 # Extract the first word of "otool", so it can be a program name with args.
7652 set dummy otool; ac_word=$2
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7654 $as_echo_n "checking for $ac_word... " >&6; }
7655 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7656 $as_echo_n "(cached) " >&6
7657 else
7658 if test -n "$ac_ct_OTOOL"; then
7659 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7660 else
7661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7662 for as_dir in $PATH
7664 IFS=$as_save_IFS
7665 test -z "$as_dir" && as_dir=.
7666 for ac_exec_ext in '' $ac_executable_extensions; do
7667 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7668 ac_cv_prog_ac_ct_OTOOL="otool"
7669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7670 break 2
7672 done
7673 done
7674 IFS=$as_save_IFS
7678 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7679 if test -n "$ac_ct_OTOOL"; then
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7681 $as_echo "$ac_ct_OTOOL" >&6; }
7682 else
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7684 $as_echo "no" >&6; }
7687 if test "x$ac_ct_OTOOL" = x; then
7688 OTOOL="otool"
7689 else
7690 case $cross_compiling:$ac_tool_warned in
7691 yes:)
7692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7693 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7694 ac_tool_warned=yes ;;
7695 esac
7696 OTOOL=$ac_ct_OTOOL
7698 else
7699 OTOOL="$ac_cv_prog_OTOOL"
7702 if test -n "$ac_tool_prefix"; then
7703 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7704 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7706 $as_echo_n "checking for $ac_word... " >&6; }
7707 if ${ac_cv_prog_READELF+:} false; then :
7708 $as_echo_n "(cached) " >&6
7709 else
7710 if test -n "$READELF"; then
7711 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7712 else
7713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7714 for as_dir in $PATH
7716 IFS=$as_save_IFS
7717 test -z "$as_dir" && as_dir=.
7718 for ac_exec_ext in '' $ac_executable_extensions; do
7719 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7720 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7721 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7722 break 2
7724 done
7725 done
7726 IFS=$as_save_IFS
7730 READELF=$ac_cv_prog_READELF
7731 if test -n "$READELF"; then
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7733 $as_echo "$READELF" >&6; }
7734 else
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7736 $as_echo "no" >&6; }
7741 if test -z "$ac_cv_prog_READELF"; then
7742 ac_ct_READELF=$READELF
7743 # Extract the first word of "readelf", so it can be a program name with args.
7744 set dummy readelf; ac_word=$2
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7746 $as_echo_n "checking for $ac_word... " >&6; }
7747 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 if test -n "$ac_ct_READELF"; then
7751 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7752 else
7753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7754 for as_dir in $PATH
7756 IFS=$as_save_IFS
7757 test -z "$as_dir" && as_dir=.
7758 for ac_exec_ext in '' $ac_executable_extensions; do
7759 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7760 ac_cv_prog_ac_ct_READELF="readelf"
7761 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7762 break 2
7764 done
7765 done
7766 IFS=$as_save_IFS
7770 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7771 if test -n "$ac_ct_READELF"; then
7772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7773 $as_echo "$ac_ct_READELF" >&6; }
7774 else
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7776 $as_echo "no" >&6; }
7779 if test "x$ac_ct_READELF" = x; then
7780 READELF="true"
7781 else
7782 case $cross_compiling:$ac_tool_warned in
7783 yes:)
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7785 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7786 ac_tool_warned=yes ;;
7787 esac
7788 READELF=$ac_ct_READELF
7790 else
7791 READELF="$ac_cv_prog_READELF"
7794 wine_rules_file=conf$$rules.make
7795 rm -f $wine_rules_file
7796 SUBDIRS=""
7798 DISABLED_SUBDIRS=""
7800 CONFIGURE_TARGETS=""
7803 wine_fn_append_file ()
7805 as_fn_append $1 " \\$as_nl $2"
7808 wine_fn_append_rule ()
7810 $as_echo "$1" >>$wine_rules_file
7813 wine_fn_config_makefile ()
7815 wine_fn_append_file SUBDIRS $1
7816 if eval test \"x\$"$2"\" = x"no"; then :
7817 wine_fn_append_file DISABLED_SUBDIRS $1
7821 wine_fn_config_symlink ()
7823 ac_links=$@
7824 wine_fn_append_rule \
7825 "$ac_links:
7826 @./config.status \$@"
7827 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7830 wine_binary="wine"
7831 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7832 WINELOADER_PROGRAMS="$wine_binary"
7834 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7836 case $host_os in
7837 cygwin*|mingw32*)
7838 if test -n "$ac_tool_prefix"; then
7839 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7840 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7842 $as_echo_n "checking for $ac_word... " >&6; }
7843 if ${ac_cv_prog_DLLTOOL+:} false; then :
7844 $as_echo_n "(cached) " >&6
7845 else
7846 if test -n "$DLLTOOL"; then
7847 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7848 else
7849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7850 for as_dir in $PATH
7852 IFS=$as_save_IFS
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7856 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 break 2
7860 done
7861 done
7862 IFS=$as_save_IFS
7866 DLLTOOL=$ac_cv_prog_DLLTOOL
7867 if test -n "$DLLTOOL"; then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7869 $as_echo "$DLLTOOL" >&6; }
7870 else
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7872 $as_echo "no" >&6; }
7877 if test -z "$ac_cv_prog_DLLTOOL"; then
7878 ac_ct_DLLTOOL=$DLLTOOL
7879 # Extract the first word of "dlltool", so it can be a program name with args.
7880 set dummy dlltool; ac_word=$2
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7882 $as_echo_n "checking for $ac_word... " >&6; }
7883 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7884 $as_echo_n "(cached) " >&6
7885 else
7886 if test -n "$ac_ct_DLLTOOL"; then
7887 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7888 else
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 for as_dir in $PATH
7892 IFS=$as_save_IFS
7893 test -z "$as_dir" && as_dir=.
7894 for ac_exec_ext in '' $ac_executable_extensions; do
7895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7896 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7898 break 2
7900 done
7901 done
7902 IFS=$as_save_IFS
7906 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7907 if test -n "$ac_ct_DLLTOOL"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7909 $as_echo "$ac_ct_DLLTOOL" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7915 if test "x$ac_ct_DLLTOOL" = x; then
7916 DLLTOOL="false"
7917 else
7918 case $cross_compiling:$ac_tool_warned in
7919 yes:)
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7921 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7922 ac_tool_warned=yes ;;
7923 esac
7924 DLLTOOL=$ac_ct_DLLTOOL
7926 else
7927 DLLTOOL="$ac_cv_prog_DLLTOOL"
7930 LIBEXT="dll"
7931 DLLEXT=""
7932 IMPLIBEXT="a"
7933 enable_iphlpapi=${enable_iphlpapi:-no}
7934 enable_kernel32=${enable_kernel32:-no}
7935 enable_msvcrt=${enable_msvcrt:-no}
7936 enable_ntdll=${enable_ntdll:-no}
7937 enable_ws2_32=${enable_ws2_32:-no}
7938 enable_loader=${enable_loader:-no}
7939 enable_server=${enable_server:-no}
7940 with_x=${with_x:-no}
7941 with_pthread=${with_pthread:-no}
7943 crtlibs=""
7944 case $host_os in
7945 mingw32*)
7946 crtlibs="-lmsvcrt"
7947 SOCKET_LIBS="-lws2_32"
7949 esac
7951 LIBWINE_SHAREDLIB="libwine.dll"
7953 LIBWINE_IMPORTLIB="libwine.a"
7955 LIBWINE_INSTALL_LIB="libwine.dll"
7957 LIBWINE_INSTALL_DEV="libwine.a"
7959 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7961 LIBWINE_DEPENDS="wine.def"
7965 darwin*|macosx*)
7966 for ac_header in libunwind.h
7967 do :
7968 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7969 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7970 cat >>confdefs.h <<_ACEOF
7971 #define HAVE_LIBUNWIND_H 1
7972 _ACEOF
7976 done
7978 LIBEXT="dylib"
7979 DLLFLAGS="$DLLFLAGS -fPIC"
7980 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7981 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7982 COREFOUNDATION_LIBS="-framework CoreFoundation"
7984 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7986 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7988 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7990 CORESERVICES_LIBS="-framework CoreServices"
7992 APPKIT_LIBS="-framework AppKit"
7994 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7996 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7997 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7998 $as_echo_n "(cached) " >&6
7999 else
8000 ac_wine_try_cflags_saved=$CFLAGS
8001 CFLAGS="$CFLAGS -Wl,-no_pie"
8002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8003 /* end confdefs.h. */
8004 int main(int argc, char **argv) { return 0; }
8005 _ACEOF
8006 if ac_fn_c_try_link "$LINENO"; then :
8007 ac_cv_cflags__Wl__no_pie=yes
8008 else
8009 ac_cv_cflags__Wl__no_pie=no
8011 rm -f core conftest.err conftest.$ac_objext \
8012 conftest$ac_exeext conftest.$ac_ext
8013 CFLAGS=$ac_wine_try_cflags_saved
8015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8016 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8017 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8018 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
8020 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8021 then
8022 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8025 if test "$ac_cv_header_Security_Security_h" = "yes"
8026 then
8027 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8029 ac_save_LIBS="$LIBS"
8030 LIBS="$LIBS $SECURITY_LIBS"
8031 for ac_func in SSLCopyPeerCertificates
8032 do :
8033 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8034 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8035 cat >>confdefs.h <<_ACEOF
8036 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8037 _ACEOF
8040 done
8042 LIBS="$ac_save_LIBS"
8043 with_gnutls=${with_gnutls:-no}
8045 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8046 then
8047 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8048 then
8049 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8051 else
8052 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8055 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8056 ac_save_LIBS="$LIBS"
8057 LIBS="$LIBS $COREAUDIO_LIBS"
8058 for ac_func in AUGraphAddNode
8059 do :
8060 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8061 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8062 cat >>confdefs.h <<_ACEOF
8063 #define HAVE_AUGRAPHADDNODE 1
8064 _ACEOF
8067 done
8069 LIBS="$ac_save_LIBS"
8071 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8072 then
8073 OPENAL_LIBS="-framework OpenAL"
8076 cat >>confdefs.h <<_ACEOF
8077 #define HAVE_OPENAL 1
8078 _ACEOF
8080 ac_cv_lib_openal=yes
8082 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8083 then
8084 OPENCL_LIBS="-framework OpenCL"
8086 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8088 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8089 then
8090 ac_save_LIBS="$LIBS"
8091 LIBS="$LIBS $IOKIT_LIBS"
8092 for ac_func in IOHIDManagerCreate
8093 do :
8094 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8095 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8096 cat >>confdefs.h <<_ACEOF
8097 #define HAVE_IOHIDMANAGERCREATE 1
8098 _ACEOF
8101 done
8103 LIBS="$ac_save_LIBS"
8105 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8106 then
8107 ac_save_LIBS="$LIBS"
8108 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8110 $as_echo_n "checking for the QuickTime framework... " >&6; }
8111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8112 /* end confdefs.h. */
8113 #include <QuickTime/ImageCompression.h>
8115 main ()
8117 CodecManagerVersion(NULL);
8119 return 0;
8121 _ACEOF
8122 if ac_fn_c_try_link "$LINENO"; then :
8123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8124 $as_echo "yes" >&6; }
8125 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8127 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8128 else
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8130 $as_echo "no" >&6; }
8131 ac_cv_header_QuickTime_ImageCompression_h=no
8133 rm -f core conftest.err conftest.$ac_objext \
8134 conftest$ac_exeext conftest.$ac_ext
8135 LIBS="$ac_save_LIBS"
8137 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8138 then
8139 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8141 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8142 then
8143 CARBON_LIBS="-framework Carbon"
8147 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8148 then
8149 ac_save_LIBS="$LIBS"
8150 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8151 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8152 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8153 enable_winemac_drv=${enable_winemac_drv:-yes}
8156 LIBS="$ac_save_LIBS"
8159 if test "x$enable_win16" = "xyes"
8160 then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8162 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8163 if test "$cross_compiling" = yes; then :
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8165 $as_echo "cross-compiling, assuming yes" >&6; }
8166 else
8167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8168 /* end confdefs.h. */
8169 asm(".text\n"
8170 "bad:\tnop;nop\n"
8171 "good:\tnop;nop\n\t"
8172 ".globl _testfunc\n"
8173 "_testfunc:\tcallw good");
8174 extern void testfunc();
8176 main ()
8178 unsigned short *p = (unsigned short *)testfunc;
8179 return p[0] != 0xe866 || p[1] != 0xfffa
8181 return 0;
8183 _ACEOF
8184 if ac_fn_c_try_run "$LINENO"; then :
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8186 $as_echo "yes" >&6; }
8187 else
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8189 $as_echo "no" >&6; }
8190 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
8192 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8193 conftest.$ac_objext conftest.beam conftest.$ac_ext
8198 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8200 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8202 LIBWINE_INSTALL_DEV="libwine.dylib"
8204 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8206 WINELOADER_DEPENDS="wine_info.plist"
8210 linux-android*)
8211 DLLFLAGS="$DLLFLAGS -fPIC"
8212 LDEXECFLAGS="-Wl,-pie"
8213 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8215 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8216 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8217 $as_echo_n "(cached) " >&6
8218 else
8219 ac_wine_try_cflags_saved=$CFLAGS
8220 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8222 /* end confdefs.h. */
8223 int main(int argc, char **argv) { return 0; }
8224 _ACEOF
8225 if ac_fn_c_try_link "$LINENO"; then :
8226 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8227 else
8228 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8230 rm -f core conftest.err conftest.$ac_objext \
8231 conftest$ac_exeext conftest.$ac_ext
8232 CFLAGS=$ac_wine_try_cflags_saved
8234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8235 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8236 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8237 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8239 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8241 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8242 if eval \${$as_ac_var+:} false; then :
8243 $as_echo_n "(cached) " >&6
8244 else
8245 ac_wine_try_cflags_saved=$CFLAGS
8246 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8248 /* end confdefs.h. */
8249 int main(int argc, char **argv) { return 0; }
8250 _ACEOF
8251 if ac_fn_c_try_link "$LINENO"; then :
8252 eval "$as_ac_var=yes"
8253 else
8254 eval "$as_ac_var=no"
8256 rm -f core conftest.err conftest.$ac_objext \
8257 conftest$ac_exeext conftest.$ac_ext
8258 CFLAGS=$ac_wine_try_cflags_saved
8260 eval ac_res=\$$as_ac_var
8261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8262 $as_echo "$ac_res" >&6; }
8263 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8264 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8265 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8266 else
8267 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8269 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8270 if eval \${$as_ac_var+:} false; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 ac_wine_try_cflags_saved=$CFLAGS
8274 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8276 /* end confdefs.h. */
8277 int main(int argc, char **argv) { return 0; }
8278 _ACEOF
8279 if ac_fn_c_try_link "$LINENO"; then :
8280 eval "$as_ac_var=yes"
8281 else
8282 eval "$as_ac_var=no"
8284 rm -f core conftest.err conftest.$ac_objext \
8285 conftest$ac_exeext conftest.$ac_ext
8286 CFLAGS=$ac_wine_try_cflags_saved
8288 eval ac_res=\$$as_ac_var
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8290 $as_echo "$ac_res" >&6; }
8291 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8292 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8293 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8297 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8298 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_wine_try_cflags_saved=$CFLAGS
8302 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8305 int main(int argc, char **argv) { return 0; }
8306 _ACEOF
8307 if ac_fn_c_try_link "$LINENO"; then :
8308 ac_cv_cflags__Wl___enable_new_dtags=yes
8309 else
8310 ac_cv_cflags__Wl___enable_new_dtags=no
8312 rm -f core conftest.err conftest.$ac_objext \
8313 conftest$ac_exeext conftest.$ac_ext
8314 CFLAGS=$ac_wine_try_cflags_saved
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8317 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8318 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8319 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8322 LIBWINE_SHAREDLIB="libwine.so"
8324 LIBWINE_INSTALL_LIB="libwine.so"
8326 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8330 $as_echo_n "checking for -lEGL... " >&6; }
8331 if ${ac_cv_lib_soname_EGL+:} false; then :
8332 $as_echo_n "(cached) " >&6
8333 else
8334 ac_check_soname_save_LIBS=$LIBS
8335 LIBS="-lEGL $LIBS"
8336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8337 /* end confdefs.h. */
8339 /* Override any GCC internal prototype to avoid an error.
8340 Use char because int might match the return type of a GCC
8341 builtin and then its argument prototype would still apply. */
8342 #ifdef __cplusplus
8343 extern "C"
8344 #endif
8345 char eglGetProcAddress ();
8347 main ()
8349 return eglGetProcAddress ();
8351 return 0;
8353 _ACEOF
8354 if ac_fn_c_try_link "$LINENO"; then :
8355 case "$LIBEXT" in
8356 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8357 dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8358 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8359 if ${ac_cv_lib_soname_EGL:+false} :; then :
8360 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8361 fi ;;
8362 esac
8364 rm -f core conftest.err conftest.$ac_objext \
8365 conftest$ac_exeext conftest.$ac_ext
8366 LIBS=$ac_check_soname_save_LIBS
8368 if ${ac_cv_lib_soname_EGL:+false} :; then :
8369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8370 $as_echo "not found" >&6; }
8372 else
8373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8374 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8376 cat >>confdefs.h <<_ACEOF
8377 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8378 _ACEOF
8382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8383 $as_echo_n "checking for -lGLESv2... " >&6; }
8384 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8385 $as_echo_n "(cached) " >&6
8386 else
8387 ac_check_soname_save_LIBS=$LIBS
8388 LIBS="-lGLESv2 $LIBS"
8389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8390 /* end confdefs.h. */
8392 /* Override any GCC internal prototype to avoid an error.
8393 Use char because int might match the return type of a GCC
8394 builtin and then its argument prototype would still apply. */
8395 #ifdef __cplusplus
8396 extern "C"
8397 #endif
8398 char glFlush ();
8400 main ()
8402 return glFlush ();
8404 return 0;
8406 _ACEOF
8407 if ac_fn_c_try_link "$LINENO"; then :
8408 case "$LIBEXT" in
8409 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8410 dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
8411 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8412 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8413 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8414 fi ;;
8415 esac
8417 rm -f core conftest.err conftest.$ac_objext \
8418 conftest$ac_exeext conftest.$ac_ext
8419 LIBS=$ac_check_soname_save_LIBS
8421 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8423 $as_echo "not found" >&6; }
8425 else
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8427 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8429 cat >>confdefs.h <<_ACEOF
8430 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8431 _ACEOF
8436 if test "x$exec_prefix" = xNONE
8437 then
8438 case $host_cpu in
8439 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8440 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8441 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8442 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8443 esac
8448 DLLFLAGS="$DLLFLAGS -fPIC"
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8450 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8451 if ${ac_cv_c_dll_gnuelf+:} false; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 ac_wine_try_cflags_saved=$CFLAGS
8455 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8457 /* end confdefs.h. */
8458 void myfunc() {}
8459 _ACEOF
8460 if ac_fn_c_try_link "$LINENO"; then :
8461 ac_cv_c_dll_gnuelf="yes"
8462 else
8463 ac_cv_c_dll_gnuelf="no"
8465 rm -f core conftest.err conftest.$ac_objext \
8466 conftest$ac_exeext conftest.$ac_ext
8467 CFLAGS=$ac_wine_try_cflags_saved
8469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8470 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8471 if test "$ac_cv_c_dll_gnuelf" = "yes"
8472 then
8473 LIBWINE_LDFLAGS="-shared"
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8475 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8476 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 ac_wine_try_cflags_saved=$CFLAGS
8480 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8482 /* end confdefs.h. */
8483 int main(int argc, char **argv) { return 0; }
8484 _ACEOF
8485 if ac_fn_c_try_link "$LINENO"; then :
8486 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8487 else
8488 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8490 rm -f core conftest.err conftest.$ac_objext \
8491 conftest$ac_exeext conftest.$ac_ext
8492 CFLAGS=$ac_wine_try_cflags_saved
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8495 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8496 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8497 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8498 else
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8500 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8501 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8502 $as_echo_n "(cached) " >&6
8503 else
8504 ac_wine_try_cflags_saved=$CFLAGS
8505 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8507 /* end confdefs.h. */
8508 int main(int argc, char **argv) { return 0; }
8509 _ACEOF
8510 if ac_fn_c_try_link "$LINENO"; then :
8511 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8512 else
8513 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8515 rm -f core conftest.err conftest.$ac_objext \
8516 conftest$ac_exeext conftest.$ac_ext
8517 CFLAGS=$ac_wine_try_cflags_saved
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8520 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8521 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8522 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8526 echo '{ global: *; };' >conftest.map
8527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8528 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8529 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8530 $as_echo_n "(cached) " >&6
8531 else
8532 ac_wine_try_cflags_saved=$CFLAGS
8533 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 int main(int argc, char **argv) { return 0; }
8537 _ACEOF
8538 if ac_fn_c_try_link "$LINENO"; then :
8539 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8540 else
8541 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8543 rm -f core conftest.err conftest.$ac_objext \
8544 conftest$ac_exeext conftest.$ac_ext
8545 CFLAGS=$ac_wine_try_cflags_saved
8547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8548 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8549 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8550 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8552 rm -f conftest.map
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8555 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8556 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 ac_wine_try_cflags_saved=$CFLAGS
8560 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8562 /* end confdefs.h. */
8563 int main(int argc, char **argv) { return 0; }
8564 _ACEOF
8565 if ac_fn_c_try_link "$LINENO"; then :
8566 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8567 else
8568 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8570 rm -f core conftest.err conftest.$ac_objext \
8571 conftest$ac_exeext conftest.$ac_ext
8572 CFLAGS=$ac_wine_try_cflags_saved
8574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8575 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8576 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8577 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8580 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8582 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8583 if eval \${$as_ac_var+:} false; then :
8584 $as_echo_n "(cached) " >&6
8585 else
8586 ac_wine_try_cflags_saved=$CFLAGS
8587 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8589 /* end confdefs.h. */
8590 int main(int argc, char **argv) { return 0; }
8591 _ACEOF
8592 if ac_fn_c_try_link "$LINENO"; then :
8593 eval "$as_ac_var=yes"
8594 else
8595 eval "$as_ac_var=no"
8597 rm -f core conftest.err conftest.$ac_objext \
8598 conftest$ac_exeext conftest.$ac_ext
8599 CFLAGS=$ac_wine_try_cflags_saved
8601 eval ac_res=\$$as_ac_var
8602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8603 $as_echo "$ac_res" >&6; }
8604 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8605 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8606 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8607 else
8608 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8610 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8611 if eval \${$as_ac_var+:} false; then :
8612 $as_echo_n "(cached) " >&6
8613 else
8614 ac_wine_try_cflags_saved=$CFLAGS
8615 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8617 /* end confdefs.h. */
8618 int main(int argc, char **argv) { return 0; }
8619 _ACEOF
8620 if ac_fn_c_try_link "$LINENO"; then :
8621 eval "$as_ac_var=yes"
8622 else
8623 eval "$as_ac_var=no"
8625 rm -f core conftest.err conftest.$ac_objext \
8626 conftest$ac_exeext conftest.$ac_ext
8627 CFLAGS=$ac_wine_try_cflags_saved
8629 eval ac_res=\$$as_ac_var
8630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8631 $as_echo "$ac_res" >&6; }
8632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8633 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8634 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8639 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8640 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8641 $as_echo_n "(cached) " >&6
8642 else
8643 ac_wine_try_cflags_saved=$CFLAGS
8644 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8646 /* end confdefs.h. */
8647 int main(int argc, char **argv) { return 0; }
8648 _ACEOF
8649 if ac_fn_c_try_link "$LINENO"; then :
8650 ac_cv_cflags__Wl___enable_new_dtags=yes
8651 else
8652 ac_cv_cflags__Wl___enable_new_dtags=no
8654 rm -f core conftest.err conftest.$ac_objext \
8655 conftest$ac_exeext conftest.$ac_ext
8656 CFLAGS=$ac_wine_try_cflags_saved
8658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8659 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8660 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8661 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8664 case $host_cpu in
8665 *i[3456789]86* | x86_64 | *aarch64*)
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8667 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8668 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8669 $as_echo_n "(cached) " >&6
8670 else
8671 ac_wine_try_cflags_saved=$CFLAGS
8672 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8674 /* end confdefs.h. */
8675 int main(int argc, char **argv) { return 0; }
8676 _ACEOF
8677 if ac_fn_c_try_link "$LINENO"; then :
8678 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8679 else
8680 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8682 rm -f core conftest.err conftest.$ac_objext \
8683 conftest$ac_exeext conftest.$ac_ext
8684 CFLAGS=$ac_wine_try_cflags_saved
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8687 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8688 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8689 case $host_os in
8690 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8691 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8692 esac
8693 else
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8695 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8696 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 int main(int argc, char **argv) { return 0; }
8704 _ACEOF
8705 if ac_fn_c_try_link "$LINENO"; then :
8706 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8707 else
8708 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8715 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8716 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8717 case $host_os in
8718 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8719 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8720 esac
8722 # Extract the first word of "prelink", so it can be a program name with args.
8723 set dummy prelink; ac_word=$2
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8725 $as_echo_n "checking for $ac_word... " >&6; }
8726 if ${ac_cv_path_PRELINK+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 case $PRELINK in
8730 [\\/]* | ?:[\\/]*)
8731 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8735 for as_dir in /sbin /usr/sbin $PATH
8737 IFS=$as_save_IFS
8738 test -z "$as_dir" && as_dir=.
8739 for ac_exec_ext in '' $ac_executable_extensions; do
8740 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8741 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8743 break 2
8745 done
8746 done
8747 IFS=$as_save_IFS
8749 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8751 esac
8753 PRELINK=$ac_cv_path_PRELINK
8754 if test -n "$PRELINK"; then
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8756 $as_echo "$PRELINK" >&6; }
8757 else
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8759 $as_echo "no" >&6; }
8763 if test "x$PRELINK" = xfalse
8764 then
8765 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8769 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8770 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8771 $as_echo_n "(cached) " >&6
8772 else
8773 ac_wine_try_cflags_saved=$CFLAGS
8774 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8776 /* end confdefs.h. */
8777 int main(int argc, char **argv) { return 0; }
8778 _ACEOF
8779 if ac_fn_c_try_link "$LINENO"; then :
8780 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8781 else
8782 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8784 rm -f core conftest.err conftest.$ac_objext \
8785 conftest$ac_exeext conftest.$ac_ext
8786 CFLAGS=$ac_wine_try_cflags_saved
8788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8789 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8790 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8791 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8794 esac
8796 else
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8798 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8799 if ${ac_cv_c_dll_unixware+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 void myfunc() {}
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_c_dll_unixware="yes"
8810 else
8811 ac_cv_c_dll_unixware="no"
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8818 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8819 if test "$ac_cv_c_dll_unixware" = "yes"
8820 then
8821 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8824 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8826 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8828 LIBWINE_INSTALL_DEV="libwine.so"
8830 LIBWINE_DEPENDS="wine.map"
8833 esac
8835 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8836 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8837 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8838 enable_winemac_drv=${enable_winemac_drv:-no}
8839 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8841 CROSSTARGET=""
8843 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8844 then
8845 case "$host_cpu" in
8846 aarch64*)
8847 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
8848 arm*)
8849 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8850 i[3456789]86*)
8851 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
8852 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8853 mingw32-gcc" ;;
8854 x86_64)
8855 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
8856 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8858 ac_prefix_list="" ;;
8859 esac
8860 for ac_prog in $ac_prefix_list
8862 # Extract the first word of "$ac_prog", so it can be a program name with args.
8863 set dummy $ac_prog; ac_word=$2
8864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8865 $as_echo_n "checking for $ac_word... " >&6; }
8866 if ${ac_cv_prog_CROSSCC+:} false; then :
8867 $as_echo_n "(cached) " >&6
8868 else
8869 if test -n "$CROSSCC"; then
8870 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8871 else
8872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8873 for as_dir in $PATH
8875 IFS=$as_save_IFS
8876 test -z "$as_dir" && as_dir=.
8877 for ac_exec_ext in '' $ac_executable_extensions; do
8878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8879 ac_cv_prog_CROSSCC="$ac_prog"
8880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8881 break 2
8883 done
8884 done
8885 IFS=$as_save_IFS
8889 CROSSCC=$ac_cv_prog_CROSSCC
8890 if test -n "$CROSSCC"; then
8891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8892 $as_echo "$CROSSCC" >&6; }
8893 else
8894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8895 $as_echo "no" >&6; }
8899 test -n "$CROSSCC" && break
8900 done
8901 test -n "$CROSSCC" || CROSSCC="false"
8903 if test "$CROSSCC" != "false"
8904 then
8905 ac_save_CC="$CC"
8906 CC="$CROSSCC"
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8908 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8910 /* end confdefs.h. */
8913 main ()
8917 return 0;
8919 _ACEOF
8920 if ac_fn_c_try_compile "$LINENO"; then :
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8922 $as_echo "yes" >&6; }
8923 set x $CROSSCC
8924 shift
8925 while test $# -ge 1
8927 case "$1" in
8928 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8929 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8930 esac
8931 shift
8932 done
8933 else
8934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8935 $as_echo "no" >&6; }
8937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8938 CC="$ac_save_CC"
8939 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8945 if test "$ac_cv_header_pthread_h" = "yes"
8946 then
8947 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8948 if test "x$ac_cv_func_pthread_create" = xyes; then :
8950 else
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8952 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8953 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8954 $as_echo_n "(cached) " >&6
8955 else
8956 ac_check_lib_save_LIBS=$LIBS
8957 LIBS="-lpthread $LIBS"
8958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8959 /* end confdefs.h. */
8961 /* Override any GCC internal prototype to avoid an error.
8962 Use char because int might match the return type of a GCC
8963 builtin and then its argument prototype would still apply. */
8964 #ifdef __cplusplus
8965 extern "C"
8966 #endif
8967 char pthread_create ();
8969 main ()
8971 return pthread_create ();
8973 return 0;
8975 _ACEOF
8976 if ac_fn_c_try_link "$LINENO"; then :
8977 ac_cv_lib_pthread_pthread_create=yes
8978 else
8979 ac_cv_lib_pthread_pthread_create=no
8981 rm -f core conftest.err conftest.$ac_objext \
8982 conftest$ac_exeext conftest.$ac_ext
8983 LIBS=$ac_check_lib_save_LIBS
8985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8986 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8987 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8988 PTHREAD_LIBS="-lpthread"
8995 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8996 case "x$with_pthread" in
8997 xno) ;;
8998 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8999 Wine cannot support threads without libpthread.
9000 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
9001 esac
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
9007 $as_echo_n "checking for X... " >&6; }
9010 # Check whether --with-x was given.
9011 if test "${with_x+set}" = set; then :
9012 withval=$with_x;
9015 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9016 if test "x$with_x" = xno; then
9017 # The user explicitly disabled X.
9018 have_x=disabled
9019 else
9020 case $x_includes,$x_libraries in #(
9021 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
9022 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
9023 $as_echo_n "(cached) " >&6
9024 else
9025 # One or both of the vars are not set, and there is no cached value.
9026 ac_x_includes=no ac_x_libraries=no
9027 rm -f -r conftest.dir
9028 if mkdir conftest.dir; then
9029 cd conftest.dir
9030 cat >Imakefile <<'_ACEOF'
9031 incroot:
9032 @echo incroot='${INCROOT}'
9033 usrlibdir:
9034 @echo usrlibdir='${USRLIBDIR}'
9035 libdir:
9036 @echo libdir='${LIBDIR}'
9037 _ACEOF
9038 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9039 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9040 for ac_var in incroot usrlibdir libdir; do
9041 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9042 done
9043 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9044 for ac_extension in a so sl dylib la dll; do
9045 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9046 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9047 ac_im_usrlibdir=$ac_im_libdir; break
9049 done
9050 # Screen out bogus values from the imake configuration. They are
9051 # bogus both because they are the default anyway, and because
9052 # using them would break gcc on systems where it needs fixed includes.
9053 case $ac_im_incroot in
9054 /usr/include) ac_x_includes= ;;
9055 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9056 esac
9057 case $ac_im_usrlibdir in
9058 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9059 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9060 esac
9062 cd ..
9063 rm -f -r conftest.dir
9066 # Standard set of common directories for X headers.
9067 # Check X11 before X11Rn because it is often a symlink to the current release.
9068 ac_x_header_dirs='
9069 /usr/X11/include
9070 /usr/X11R7/include
9071 /usr/X11R6/include
9072 /usr/X11R5/include
9073 /usr/X11R4/include
9075 /usr/include/X11
9076 /usr/include/X11R7
9077 /usr/include/X11R6
9078 /usr/include/X11R5
9079 /usr/include/X11R4
9081 /usr/local/X11/include
9082 /usr/local/X11R7/include
9083 /usr/local/X11R6/include
9084 /usr/local/X11R5/include
9085 /usr/local/X11R4/include
9087 /usr/local/include/X11
9088 /usr/local/include/X11R7
9089 /usr/local/include/X11R6
9090 /usr/local/include/X11R5
9091 /usr/local/include/X11R4
9093 /usr/X386/include
9094 /usr/x386/include
9095 /usr/XFree86/include/X11
9097 /usr/include
9098 /usr/local/include
9099 /usr/unsupported/include
9100 /usr/athena/include
9101 /usr/local/x11r5/include
9102 /usr/lpp/Xamples/include
9104 /usr/openwin/include
9105 /usr/openwin/share/include'
9107 if test "$ac_x_includes" = no; then
9108 # Guess where to find include files, by looking for Xlib.h.
9109 # First, try using that file with no special directory specified.
9110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9111 /* end confdefs.h. */
9112 #include <X11/Xlib.h>
9113 _ACEOF
9114 if ac_fn_c_try_cpp "$LINENO"; then :
9115 # We can compile using X headers with no special include directory.
9116 ac_x_includes=
9117 else
9118 for ac_dir in $ac_x_header_dirs; do
9119 if test -r "$ac_dir/X11/Xlib.h"; then
9120 ac_x_includes=$ac_dir
9121 break
9123 done
9125 rm -f conftest.err conftest.i conftest.$ac_ext
9126 fi # $ac_x_includes = no
9128 if test "$ac_x_libraries" = no; then
9129 # Check for the libraries.
9130 # See if we find them without any special options.
9131 # Don't add to $LIBS permanently.
9132 ac_save_LIBS=$LIBS
9133 LIBS="-lX11 $LIBS"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 #include <X11/Xlib.h>
9138 main ()
9140 XrmInitialize ()
9142 return 0;
9144 _ACEOF
9145 if ac_fn_c_try_link "$LINENO"; then :
9146 LIBS=$ac_save_LIBS
9147 # We can link X programs with no special library path.
9148 ac_x_libraries=
9149 else
9150 LIBS=$ac_save_LIBS
9151 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9153 # Don't even attempt the hair of trying to link an X program!
9154 for ac_extension in a so sl dylib la dll; do
9155 if test -r "$ac_dir/libX11.$ac_extension"; then
9156 ac_x_libraries=$ac_dir
9157 break 2
9159 done
9160 done
9162 rm -f core conftest.err conftest.$ac_objext \
9163 conftest$ac_exeext conftest.$ac_ext
9164 fi # $ac_x_libraries = no
9166 case $ac_x_includes,$ac_x_libraries in #(
9167 no,* | *,no | *\'*)
9168 # Didn't find X, or a directory has "'" in its name.
9169 ac_cv_have_x="have_x=no";; #(
9171 # Record where we found X for the cache.
9172 ac_cv_have_x="have_x=yes\
9173 ac_x_includes='$ac_x_includes'\
9174 ac_x_libraries='$ac_x_libraries'"
9175 esac
9177 ;; #(
9178 *) have_x=yes;;
9179 esac
9180 eval "$ac_cv_have_x"
9181 fi # $with_x != no
9183 if test "$have_x" != yes; then
9184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9185 $as_echo "$have_x" >&6; }
9186 no_x=yes
9187 else
9188 # If each of the values was on the command line, it overrides each guess.
9189 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9190 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9191 # Update the cache value to reflect the command line values.
9192 ac_cv_have_x="have_x=yes\
9193 ac_x_includes='$x_includes'\
9194 ac_x_libraries='$x_libraries'"
9195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9196 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9199 if test "$no_x" = yes; then
9200 # Not all programs may use this symbol, but it does not hurt to define it.
9202 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9204 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9205 else
9206 if test -n "$x_includes"; then
9207 X_CFLAGS="$X_CFLAGS -I$x_includes"
9210 # It would also be nice to do this for all -L options, not just this one.
9211 if test -n "$x_libraries"; then
9212 X_LIBS="$X_LIBS -L$x_libraries"
9213 # For Solaris; some versions of Sun CC require a space after -R and
9214 # others require no space. Words are not sufficient . . . .
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9216 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9217 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9218 ac_xsave_c_werror_flag=$ac_c_werror_flag
9219 ac_c_werror_flag=yes
9220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9221 /* end confdefs.h. */
9224 main ()
9228 return 0;
9230 _ACEOF
9231 if ac_fn_c_try_link "$LINENO"; then :
9232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9233 $as_echo "no" >&6; }
9234 X_LIBS="$X_LIBS -R$x_libraries"
9235 else
9236 LIBS="$ac_xsave_LIBS -R $x_libraries"
9237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9238 /* end confdefs.h. */
9241 main ()
9245 return 0;
9247 _ACEOF
9248 if ac_fn_c_try_link "$LINENO"; then :
9249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9250 $as_echo "yes" >&6; }
9251 X_LIBS="$X_LIBS -R $x_libraries"
9252 else
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9254 $as_echo "neither works" >&6; }
9256 rm -f core conftest.err conftest.$ac_objext \
9257 conftest$ac_exeext conftest.$ac_ext
9259 rm -f core conftest.err conftest.$ac_objext \
9260 conftest$ac_exeext conftest.$ac_ext
9261 ac_c_werror_flag=$ac_xsave_c_werror_flag
9262 LIBS=$ac_xsave_LIBS
9265 # Check for system-dependent libraries X programs must link with.
9266 # Do this before checking for the system-independent R6 libraries
9267 # (-lICE), since we may need -lsocket or whatever for X linking.
9269 if test "$ISC" = yes; then
9270 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9271 else
9272 # Martyn Johnson says this is needed for Ultrix, if the X
9273 # libraries were built with DECnet support. And Karl Berry says
9274 # the Alpha needs dnet_stub (dnet does not exist).
9275 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9277 /* end confdefs.h. */
9279 /* Override any GCC internal prototype to avoid an error.
9280 Use char because int might match the return type of a GCC
9281 builtin and then its argument prototype would still apply. */
9282 #ifdef __cplusplus
9283 extern "C"
9284 #endif
9285 char XOpenDisplay ();
9287 main ()
9289 return XOpenDisplay ();
9291 return 0;
9293 _ACEOF
9294 if ac_fn_c_try_link "$LINENO"; then :
9296 else
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9298 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9299 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_check_lib_save_LIBS=$LIBS
9303 LIBS="-ldnet $LIBS"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9310 #ifdef __cplusplus
9311 extern "C"
9312 #endif
9313 char dnet_ntoa ();
9315 main ()
9317 return dnet_ntoa ();
9319 return 0;
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_lib_dnet_dnet_ntoa=yes
9324 else
9325 ac_cv_lib_dnet_dnet_ntoa=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_lib_save_LIBS
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9332 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9333 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9334 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9337 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9339 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9340 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9341 $as_echo_n "(cached) " >&6
9342 else
9343 ac_check_lib_save_LIBS=$LIBS
9344 LIBS="-ldnet_stub $LIBS"
9345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9346 /* end confdefs.h. */
9348 /* Override any GCC internal prototype to avoid an error.
9349 Use char because int might match the return type of a GCC
9350 builtin and then its argument prototype would still apply. */
9351 #ifdef __cplusplus
9352 extern "C"
9353 #endif
9354 char dnet_ntoa ();
9356 main ()
9358 return dnet_ntoa ();
9360 return 0;
9362 _ACEOF
9363 if ac_fn_c_try_link "$LINENO"; then :
9364 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9365 else
9366 ac_cv_lib_dnet_stub_dnet_ntoa=no
9368 rm -f core conftest.err conftest.$ac_objext \
9369 conftest$ac_exeext conftest.$ac_ext
9370 LIBS=$ac_check_lib_save_LIBS
9372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9373 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9374 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9375 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9380 rm -f core conftest.err conftest.$ac_objext \
9381 conftest$ac_exeext conftest.$ac_ext
9382 LIBS="$ac_xsave_LIBS"
9384 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9385 # to get the SysV transport functions.
9386 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9387 # needs -lnsl.
9388 # The nsl library prevents programs from opening the X display
9389 # on Irix 5.2, according to T.E. Dickey.
9390 # The functions gethostbyname, getservbyname, and inet_addr are
9391 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9392 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9393 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9397 if test $ac_cv_func_gethostbyname = no; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9399 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9400 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_check_lib_save_LIBS=$LIBS
9404 LIBS="-lnsl $LIBS"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9411 #ifdef __cplusplus
9412 extern "C"
9413 #endif
9414 char gethostbyname ();
9416 main ()
9418 return gethostbyname ();
9420 return 0;
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"; then :
9424 ac_cv_lib_nsl_gethostbyname=yes
9425 else
9426 ac_cv_lib_nsl_gethostbyname=no
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 LIBS=$ac_check_lib_save_LIBS
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9433 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9434 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9435 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9438 if test $ac_cv_lib_nsl_gethostbyname = no; then
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9440 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9441 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9442 $as_echo_n "(cached) " >&6
9443 else
9444 ac_check_lib_save_LIBS=$LIBS
9445 LIBS="-lbsd $LIBS"
9446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9447 /* end confdefs.h. */
9449 /* Override any GCC internal prototype to avoid an error.
9450 Use char because int might match the return type of a GCC
9451 builtin and then its argument prototype would still apply. */
9452 #ifdef __cplusplus
9453 extern "C"
9454 #endif
9455 char gethostbyname ();
9457 main ()
9459 return gethostbyname ();
9461 return 0;
9463 _ACEOF
9464 if ac_fn_c_try_link "$LINENO"; then :
9465 ac_cv_lib_bsd_gethostbyname=yes
9466 else
9467 ac_cv_lib_bsd_gethostbyname=no
9469 rm -f core conftest.err conftest.$ac_objext \
9470 conftest$ac_exeext conftest.$ac_ext
9471 LIBS=$ac_check_lib_save_LIBS
9473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9474 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9475 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9476 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9482 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9483 # socket/setsockopt and other routines are undefined under SCO ODT
9484 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9485 # on later versions), says Simon Leinen: it contains gethostby*
9486 # variants that don't use the name server (or something). -lsocket
9487 # must be given before -lnsl if both are needed. We assume that
9488 # if connect needs -lnsl, so does gethostbyname.
9489 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9490 if test "x$ac_cv_func_connect" = xyes; then :
9494 if test $ac_cv_func_connect = no; then
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9496 $as_echo_n "checking for connect in -lsocket... " >&6; }
9497 if ${ac_cv_lib_socket_connect+:} false; then :
9498 $as_echo_n "(cached) " >&6
9499 else
9500 ac_check_lib_save_LIBS=$LIBS
9501 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9503 /* end confdefs.h. */
9505 /* Override any GCC internal prototype to avoid an error.
9506 Use char because int might match the return type of a GCC
9507 builtin and then its argument prototype would still apply. */
9508 #ifdef __cplusplus
9509 extern "C"
9510 #endif
9511 char connect ();
9513 main ()
9515 return connect ();
9517 return 0;
9519 _ACEOF
9520 if ac_fn_c_try_link "$LINENO"; then :
9521 ac_cv_lib_socket_connect=yes
9522 else
9523 ac_cv_lib_socket_connect=no
9525 rm -f core conftest.err conftest.$ac_objext \
9526 conftest$ac_exeext conftest.$ac_ext
9527 LIBS=$ac_check_lib_save_LIBS
9529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9530 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9531 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9532 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9537 # Guillermo Gomez says -lposix is necessary on A/UX.
9538 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9539 if test "x$ac_cv_func_remove" = xyes; then :
9543 if test $ac_cv_func_remove = no; then
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9545 $as_echo_n "checking for remove in -lposix... " >&6; }
9546 if ${ac_cv_lib_posix_remove+:} false; then :
9547 $as_echo_n "(cached) " >&6
9548 else
9549 ac_check_lib_save_LIBS=$LIBS
9550 LIBS="-lposix $LIBS"
9551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9552 /* end confdefs.h. */
9554 /* Override any GCC internal prototype to avoid an error.
9555 Use char because int might match the return type of a GCC
9556 builtin and then its argument prototype would still apply. */
9557 #ifdef __cplusplus
9558 extern "C"
9559 #endif
9560 char remove ();
9562 main ()
9564 return remove ();
9566 return 0;
9568 _ACEOF
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 ac_cv_lib_posix_remove=yes
9571 else
9572 ac_cv_lib_posix_remove=no
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9576 LIBS=$ac_check_lib_save_LIBS
9578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9579 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9580 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9581 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9586 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9587 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9588 if test "x$ac_cv_func_shmat" = xyes; then :
9592 if test $ac_cv_func_shmat = no; then
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9594 $as_echo_n "checking for shmat in -lipc... " >&6; }
9595 if ${ac_cv_lib_ipc_shmat+:} false; then :
9596 $as_echo_n "(cached) " >&6
9597 else
9598 ac_check_lib_save_LIBS=$LIBS
9599 LIBS="-lipc $LIBS"
9600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9601 /* end confdefs.h. */
9603 /* Override any GCC internal prototype to avoid an error.
9604 Use char because int might match the return type of a GCC
9605 builtin and then its argument prototype would still apply. */
9606 #ifdef __cplusplus
9607 extern "C"
9608 #endif
9609 char shmat ();
9611 main ()
9613 return shmat ();
9615 return 0;
9617 _ACEOF
9618 if ac_fn_c_try_link "$LINENO"; then :
9619 ac_cv_lib_ipc_shmat=yes
9620 else
9621 ac_cv_lib_ipc_shmat=no
9623 rm -f core conftest.err conftest.$ac_objext \
9624 conftest$ac_exeext conftest.$ac_ext
9625 LIBS=$ac_check_lib_save_LIBS
9627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9628 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9629 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9630 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9636 # Check for libraries that X11R6 Xt/Xaw programs need.
9637 ac_save_LDFLAGS=$LDFLAGS
9638 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9639 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9640 # check for ICE first), but we must link in the order -lSM -lICE or
9641 # we get undefined symbols. So assume we have SM if we have ICE.
9642 # These have to be linked with before -lX11, unlike the other
9643 # libraries we check for below, so use a different variable.
9644 # John Interrante, Karl Berry
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9646 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9647 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9648 $as_echo_n "(cached) " >&6
9649 else
9650 ac_check_lib_save_LIBS=$LIBS
9651 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9653 /* end confdefs.h. */
9655 /* Override any GCC internal prototype to avoid an error.
9656 Use char because int might match the return type of a GCC
9657 builtin and then its argument prototype would still apply. */
9658 #ifdef __cplusplus
9659 extern "C"
9660 #endif
9661 char IceConnectionNumber ();
9663 main ()
9665 return IceConnectionNumber ();
9667 return 0;
9669 _ACEOF
9670 if ac_fn_c_try_link "$LINENO"; then :
9671 ac_cv_lib_ICE_IceConnectionNumber=yes
9672 else
9673 ac_cv_lib_ICE_IceConnectionNumber=no
9675 rm -f core conftest.err conftest.$ac_objext \
9676 conftest$ac_exeext conftest.$ac_ext
9677 LIBS=$ac_check_lib_save_LIBS
9679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9680 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9681 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9682 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9685 LDFLAGS=$ac_save_LDFLAGS
9690 if test "$have_x" = "yes"
9691 then
9692 ac_save_CPPFLAGS="$CPPFLAGS"
9693 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9696 $as_echo_n "checking for -lX11... " >&6; }
9697 if ${ac_cv_lib_soname_X11+:} false; then :
9698 $as_echo_n "(cached) " >&6
9699 else
9700 ac_check_soname_save_LIBS=$LIBS
9701 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9703 /* end confdefs.h. */
9705 /* Override any GCC internal prototype to avoid an error.
9706 Use char because int might match the return type of a GCC
9707 builtin and then its argument prototype would still apply. */
9708 #ifdef __cplusplus
9709 extern "C"
9710 #endif
9711 char XCreateWindow ();
9713 main ()
9715 return XCreateWindow ();
9717 return 0;
9719 _ACEOF
9720 if ac_fn_c_try_link "$LINENO"; then :
9721 case "$LIBEXT" in
9722 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9723 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'` ;;
9724 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9725 if ${ac_cv_lib_soname_X11:+false} :; then :
9726 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9727 fi ;;
9728 esac
9730 rm -f core conftest.err conftest.$ac_objext \
9731 conftest$ac_exeext conftest.$ac_ext
9732 LIBS=$ac_check_soname_save_LIBS
9734 if ${ac_cv_lib_soname_X11:+false} :; then :
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9736 $as_echo "not found" >&6; }
9738 else
9739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9740 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9742 cat >>confdefs.h <<_ACEOF
9743 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9744 _ACEOF
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9749 $as_echo_n "checking for -lXext... " >&6; }
9750 if ${ac_cv_lib_soname_Xext+:} false; then :
9751 $as_echo_n "(cached) " >&6
9752 else
9753 ac_check_soname_save_LIBS=$LIBS
9754 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9756 /* end confdefs.h. */
9758 /* Override any GCC internal prototype to avoid an error.
9759 Use char because int might match the return type of a GCC
9760 builtin and then its argument prototype would still apply. */
9761 #ifdef __cplusplus
9762 extern "C"
9763 #endif
9764 char XextCreateExtension ();
9766 main ()
9768 return XextCreateExtension ();
9770 return 0;
9772 _ACEOF
9773 if ac_fn_c_try_link "$LINENO"; then :
9774 case "$LIBEXT" in
9775 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9776 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'` ;;
9777 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9778 if ${ac_cv_lib_soname_Xext:+false} :; then :
9779 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9780 fi ;;
9781 esac
9783 rm -f core conftest.err conftest.$ac_objext \
9784 conftest$ac_exeext conftest.$ac_ext
9785 LIBS=$ac_check_soname_save_LIBS
9787 if ${ac_cv_lib_soname_Xext:+false} :; then :
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9789 $as_echo "not found" >&6; }
9791 else
9792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9793 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9795 cat >>confdefs.h <<_ACEOF
9796 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9797 _ACEOF
9799 X_LIBS="$X_LIBS -lXext"
9801 X_LIBS="$X_LIBS -lX11"
9803 for ac_header in X11/Xlib.h \
9804 X11/XKBlib.h \
9805 X11/Xutil.h \
9806 X11/Xcursor/Xcursor.h \
9807 X11/extensions/shape.h \
9808 X11/extensions/XInput.h \
9809 X11/extensions/XInput2.h \
9810 X11/extensions/XShm.h \
9811 X11/extensions/Xcomposite.h \
9812 X11/extensions/Xfixes.h \
9813 X11/extensions/Xinerama.h \
9814 X11/extensions/Xrandr.h \
9815 X11/extensions/Xrender.h \
9816 X11/extensions/xf86vmode.h \
9817 X11/extensions/xf86vmproto.h
9818 do :
9819 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9820 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9821 # include <X11/Xlib.h>
9822 #endif
9823 #ifdef HAVE_X11_XUTIL_H
9824 # include <X11/Xutil.h>
9825 #endif
9827 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9828 cat >>confdefs.h <<_ACEOF
9829 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9830 _ACEOF
9834 done
9837 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9838 then
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9840 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9841 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9842 $as_echo_n "(cached) " >&6
9843 else
9844 ac_check_lib_save_LIBS=$LIBS
9845 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9847 /* end confdefs.h. */
9849 /* Override any GCC internal prototype to avoid an error.
9850 Use char because int might match the return type of a GCC
9851 builtin and then its argument prototype would still apply. */
9852 #ifdef __cplusplus
9853 extern "C"
9854 #endif
9855 char XkbQueryExtension ();
9857 main ()
9859 return XkbQueryExtension ();
9861 return 0;
9863 _ACEOF
9864 if ac_fn_c_try_link "$LINENO"; then :
9865 ac_cv_lib_X11_XkbQueryExtension=yes
9866 else
9867 ac_cv_lib_X11_XkbQueryExtension=no
9869 rm -f core conftest.err conftest.$ac_objext \
9870 conftest$ac_exeext conftest.$ac_ext
9871 LIBS=$ac_check_lib_save_LIBS
9873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9874 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9875 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9877 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9883 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9884 then
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9886 $as_echo_n "checking for -lXcursor... " >&6; }
9887 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9888 $as_echo_n "(cached) " >&6
9889 else
9890 ac_check_soname_save_LIBS=$LIBS
9891 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9893 /* end confdefs.h. */
9895 /* Override any GCC internal prototype to avoid an error.
9896 Use char because int might match the return type of a GCC
9897 builtin and then its argument prototype would still apply. */
9898 #ifdef __cplusplus
9899 extern "C"
9900 #endif
9901 char XcursorImageLoadCursor ();
9903 main ()
9905 return XcursorImageLoadCursor ();
9907 return 0;
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 case "$LIBEXT" in
9912 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9913 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'` ;;
9914 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9915 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9916 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9917 fi ;;
9918 esac
9920 rm -f core conftest.err conftest.$ac_objext \
9921 conftest$ac_exeext conftest.$ac_ext
9922 LIBS=$ac_check_soname_save_LIBS
9924 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9926 $as_echo "not found" >&6; }
9928 else
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9930 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9932 cat >>confdefs.h <<_ACEOF
9933 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9934 _ACEOF
9939 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9940 case "x$with_xcursor" in
9941 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9942 xno) ;;
9943 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9944 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9945 esac
9949 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9950 then
9951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9952 $as_echo_n "checking for -lXi... " >&6; }
9953 if ${ac_cv_lib_soname_Xi+:} false; then :
9954 $as_echo_n "(cached) " >&6
9955 else
9956 ac_check_soname_save_LIBS=$LIBS
9957 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9959 /* end confdefs.h. */
9961 /* Override any GCC internal prototype to avoid an error.
9962 Use char because int might match the return type of a GCC
9963 builtin and then its argument prototype would still apply. */
9964 #ifdef __cplusplus
9965 extern "C"
9966 #endif
9967 char XOpenDevice ();
9969 main ()
9971 return XOpenDevice ();
9973 return 0;
9975 _ACEOF
9976 if ac_fn_c_try_link "$LINENO"; then :
9977 case "$LIBEXT" in
9978 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9979 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'` ;;
9980 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9981 if ${ac_cv_lib_soname_Xi:+false} :; then :
9982 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9983 fi ;;
9984 esac
9986 rm -f core conftest.err conftest.$ac_objext \
9987 conftest$ac_exeext conftest.$ac_ext
9988 LIBS=$ac_check_soname_save_LIBS
9990 if ${ac_cv_lib_soname_Xi:+false} :; then :
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9992 $as_echo "not found" >&6; }
9994 else
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9996 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9998 cat >>confdefs.h <<_ACEOF
9999 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
10000 _ACEOF
10005 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
10006 case "x$with_xinput" in
10007 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
10008 xno) ;;
10009 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
10010 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
10011 esac
10015 if test "x$ac_cv_lib_soname_Xi" != x
10016 then
10017 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
10018 case "x$with_xinput2" in
10019 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
10020 xno) ;;
10021 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
10022 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
10023 esac
10028 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
10029 then
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
10031 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
10032 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
10033 $as_echo_n "(cached) " >&6
10034 else
10035 ac_check_lib_save_LIBS=$LIBS
10036 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 #ifdef __cplusplus
10044 extern "C"
10045 #endif
10046 char XShmQueryExtension ();
10048 main ()
10050 return XShmQueryExtension ();
10052 return 0;
10054 _ACEOF
10055 if ac_fn_c_try_link "$LINENO"; then :
10056 ac_cv_lib_Xext_XShmQueryExtension=yes
10057 else
10058 ac_cv_lib_Xext_XShmQueryExtension=no
10060 rm -f core conftest.err conftest.$ac_objext \
10061 conftest$ac_exeext conftest.$ac_ext
10062 LIBS=$ac_check_lib_save_LIBS
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10065 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10066 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10068 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10073 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10074 case "x$with_xshm" in
10075 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10076 xno) ;;
10077 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10078 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10079 esac
10083 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10084 then
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10086 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10087 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10088 $as_echo_n "(cached) " >&6
10089 else
10090 ac_check_lib_save_LIBS=$LIBS
10091 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10095 /* Override any GCC internal prototype to avoid an error.
10096 Use char because int might match the return type of a GCC
10097 builtin and then its argument prototype would still apply. */
10098 #ifdef __cplusplus
10099 extern "C"
10100 #endif
10101 char XShapeQueryExtension ();
10103 main ()
10105 return XShapeQueryExtension ();
10107 return 0;
10109 _ACEOF
10110 if ac_fn_c_try_link "$LINENO"; then :
10111 ac_cv_lib_Xext_XShapeQueryExtension=yes
10112 else
10113 ac_cv_lib_Xext_XShapeQueryExtension=no
10115 rm -f core conftest.err conftest.$ac_objext \
10116 conftest$ac_exeext conftest.$ac_ext
10117 LIBS=$ac_check_lib_save_LIBS
10119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10120 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10121 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10123 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10128 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10129 case "x$with_xshape" in
10130 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10131 xno) ;;
10132 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10133 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10134 esac
10138 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10139 then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10141 $as_echo_n "checking for -lXxf86vm... " >&6; }
10142 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10143 $as_echo_n "(cached) " >&6
10144 else
10145 ac_check_soname_save_LIBS=$LIBS
10146 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10150 /* Override any GCC internal prototype to avoid an error.
10151 Use char because int might match the return type of a GCC
10152 builtin and then its argument prototype would still apply. */
10153 #ifdef __cplusplus
10154 extern "C"
10155 #endif
10156 char XF86VidModeQueryExtension ();
10158 main ()
10160 return XF86VidModeQueryExtension ();
10162 return 0;
10164 _ACEOF
10165 if ac_fn_c_try_link "$LINENO"; then :
10166 case "$LIBEXT" in
10167 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10168 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'` ;;
10169 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10170 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10171 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10172 fi ;;
10173 esac
10175 rm -f core conftest.err conftest.$ac_objext \
10176 conftest$ac_exeext conftest.$ac_ext
10177 LIBS=$ac_check_soname_save_LIBS
10179 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10181 $as_echo "not found" >&6; }
10183 else
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10185 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10187 cat >>confdefs.h <<_ACEOF
10188 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10189 _ACEOF
10194 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10195 case "x$with_xxf86vm" in
10196 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10197 xno) ;;
10198 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10199 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10200 esac
10204 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10205 then
10206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10207 $as_echo_n "checking for -lXrender... " >&6; }
10208 if ${ac_cv_lib_soname_Xrender+:} false; then :
10209 $as_echo_n "(cached) " >&6
10210 else
10211 ac_check_soname_save_LIBS=$LIBS
10212 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10214 /* end confdefs.h. */
10216 /* Override any GCC internal prototype to avoid an error.
10217 Use char because int might match the return type of a GCC
10218 builtin and then its argument prototype would still apply. */
10219 #ifdef __cplusplus
10220 extern "C"
10221 #endif
10222 char XRenderQueryExtension ();
10224 main ()
10226 return XRenderQueryExtension ();
10228 return 0;
10230 _ACEOF
10231 if ac_fn_c_try_link "$LINENO"; then :
10232 case "$LIBEXT" in
10233 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10234 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'` ;;
10235 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10236 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10237 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10238 fi ;;
10239 esac
10241 rm -f core conftest.err conftest.$ac_objext \
10242 conftest$ac_exeext conftest.$ac_ext
10243 LIBS=$ac_check_soname_save_LIBS
10245 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10247 $as_echo "not found" >&6; }
10249 else
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10251 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10253 cat >>confdefs.h <<_ACEOF
10254 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10255 _ACEOF
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10258 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10259 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10260 $as_echo_n "(cached) " >&6
10261 else
10262 ac_check_lib_save_LIBS=$LIBS
10263 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10265 /* end confdefs.h. */
10267 /* Override any GCC internal prototype to avoid an error.
10268 Use char because int might match the return type of a GCC
10269 builtin and then its argument prototype would still apply. */
10270 #ifdef __cplusplus
10271 extern "C"
10272 #endif
10273 char XRenderSetPictureTransform ();
10275 main ()
10277 return XRenderSetPictureTransform ();
10279 return 0;
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10284 else
10285 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 LIBS=$ac_check_lib_save_LIBS
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10292 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10293 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10295 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10300 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10301 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10302 $as_echo_n "(cached) " >&6
10303 else
10304 ac_check_lib_save_LIBS=$LIBS
10305 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $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. */
10312 #ifdef __cplusplus
10313 extern "C"
10314 #endif
10315 char XRenderCreateLinearGradient ();
10317 main ()
10319 return XRenderCreateLinearGradient ();
10321 return 0;
10323 _ACEOF
10324 if ac_fn_c_try_link "$LINENO"; then :
10325 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10326 else
10327 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10329 rm -f core conftest.err conftest.$ac_objext \
10330 conftest$ac_exeext conftest.$ac_ext
10331 LIBS=$ac_check_lib_save_LIBS
10333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10334 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10335 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10337 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10344 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10345 case "x$with_xrender" in
10346 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10347 xno) ;;
10348 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10349 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10350 esac
10354 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10355 then
10356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10357 /* end confdefs.h. */
10358 #include <X11/Xlib.h>
10359 #include <X11/extensions/Xrandr.h>
10361 main ()
10363 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10365 return 0;
10367 _ACEOF
10368 if ac_fn_c_try_compile "$LINENO"; then :
10369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10370 $as_echo_n "checking for -lXrandr... " >&6; }
10371 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10372 $as_echo_n "(cached) " >&6
10373 else
10374 ac_check_soname_save_LIBS=$LIBS
10375 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10377 /* end confdefs.h. */
10379 /* Override any GCC internal prototype to avoid an error.
10380 Use char because int might match the return type of a GCC
10381 builtin and then its argument prototype would still apply. */
10382 #ifdef __cplusplus
10383 extern "C"
10384 #endif
10385 char XRRQueryExtension ();
10387 main ()
10389 return XRRQueryExtension ();
10391 return 0;
10393 _ACEOF
10394 if ac_fn_c_try_link "$LINENO"; then :
10395 case "$LIBEXT" in
10396 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10397 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'` ;;
10398 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10399 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10400 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10401 fi ;;
10402 esac
10404 rm -f core conftest.err conftest.$ac_objext \
10405 conftest$ac_exeext conftest.$ac_ext
10406 LIBS=$ac_check_soname_save_LIBS
10408 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10410 $as_echo "not found" >&6; }
10412 else
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10414 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10416 cat >>confdefs.h <<_ACEOF
10417 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10418 _ACEOF
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 #include <X11/Xlib.h>
10423 #include <X11/extensions/Xrandr.h>
10425 main ()
10427 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_compile "$LINENO"; then :
10434 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10442 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10443 case "x$with_xrandr" in
10444 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10445 xno) ;;
10446 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10447 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10448 esac
10452 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10453 then
10454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10455 /* end confdefs.h. */
10456 #include <X11/Xlib.h>
10457 #include <X11/extensions/Xfixes.h>
10459 main ()
10461 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10463 return 0;
10465 _ACEOF
10466 if ac_fn_c_try_compile "$LINENO"; then :
10467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10468 $as_echo_n "checking for -lXfixes... " >&6; }
10469 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10470 $as_echo_n "(cached) " >&6
10471 else
10472 ac_check_soname_save_LIBS=$LIBS
10473 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10475 /* end confdefs.h. */
10477 /* Override any GCC internal prototype to avoid an error.
10478 Use char because int might match the return type of a GCC
10479 builtin and then its argument prototype would still apply. */
10480 #ifdef __cplusplus
10481 extern "C"
10482 #endif
10483 char XFixesQueryVersion ();
10485 main ()
10487 return XFixesQueryVersion ();
10489 return 0;
10491 _ACEOF
10492 if ac_fn_c_try_link "$LINENO"; then :
10493 case "$LIBEXT" in
10494 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10495 dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10496 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10497 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10498 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10499 fi ;;
10500 esac
10502 rm -f core conftest.err conftest.$ac_objext \
10503 conftest$ac_exeext conftest.$ac_ext
10504 LIBS=$ac_check_soname_save_LIBS
10506 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10508 $as_echo "not found" >&6; }
10510 else
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10512 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10514 cat >>confdefs.h <<_ACEOF
10515 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10516 _ACEOF
10521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10523 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10524 case "x$with_xfixes" in
10525 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10526 xno) ;;
10527 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10528 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10529 esac
10533 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10534 then
10535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10536 /* end confdefs.h. */
10537 #include <X11/Xlib.h>
10538 #include <X11/extensions/Xinerama.h>
10540 main ()
10542 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_compile "$LINENO"; then :
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10549 $as_echo_n "checking for -lXinerama... " >&6; }
10550 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10551 $as_echo_n "(cached) " >&6
10552 else
10553 ac_check_soname_save_LIBS=$LIBS
10554 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10556 /* end confdefs.h. */
10558 /* Override any GCC internal prototype to avoid an error.
10559 Use char because int might match the return type of a GCC
10560 builtin and then its argument prototype would still apply. */
10561 #ifdef __cplusplus
10562 extern "C"
10563 #endif
10564 char XineramaQueryScreens ();
10566 main ()
10568 return XineramaQueryScreens ();
10570 return 0;
10572 _ACEOF
10573 if ac_fn_c_try_link "$LINENO"; then :
10574 case "$LIBEXT" in
10575 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10576 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'` ;;
10577 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10578 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10579 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10580 fi ;;
10581 esac
10583 rm -f core conftest.err conftest.$ac_objext \
10584 conftest$ac_exeext conftest.$ac_ext
10585 LIBS=$ac_check_soname_save_LIBS
10587 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10589 $as_echo "not found" >&6; }
10591 else
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10593 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10595 cat >>confdefs.h <<_ACEOF
10596 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10597 _ACEOF
10602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10604 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10605 case "x$with_xinerama" in
10606 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10607 xno) ;;
10608 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10609 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10610 esac
10614 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10615 then
10616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10617 $as_echo_n "checking for -lXcomposite... " >&6; }
10618 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10619 $as_echo_n "(cached) " >&6
10620 else
10621 ac_check_soname_save_LIBS=$LIBS
10622 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10624 /* end confdefs.h. */
10626 /* Override any GCC internal prototype to avoid an error.
10627 Use char because int might match the return type of a GCC
10628 builtin and then its argument prototype would still apply. */
10629 #ifdef __cplusplus
10630 extern "C"
10631 #endif
10632 char XCompositeRedirectWindow ();
10634 main ()
10636 return XCompositeRedirectWindow ();
10638 return 0;
10640 _ACEOF
10641 if ac_fn_c_try_link "$LINENO"; then :
10642 case "$LIBEXT" in
10643 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10644 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'` ;;
10645 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10646 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10647 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10648 fi ;;
10649 esac
10651 rm -f core conftest.err conftest.$ac_objext \
10652 conftest$ac_exeext conftest.$ac_ext
10653 LIBS=$ac_check_soname_save_LIBS
10655 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10657 $as_echo "not found" >&6; }
10659 else
10660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10661 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10663 cat >>confdefs.h <<_ACEOF
10664 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10665 _ACEOF
10670 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10671 case "x$with_xcomposite" in
10672 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10673 xno) ;;
10674 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10675 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10676 esac
10680 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10681 #include <X11/Xlib.h>
10682 #endif
10684 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10686 cat >>confdefs.h <<_ACEOF
10687 #define HAVE_XICCALLBACK_CALLBACK 1
10688 _ACEOF
10692 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10693 #include <X11/Xlib.h>
10694 #endif
10696 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10698 cat >>confdefs.h <<_ACEOF
10699 #define HAVE_XEVENT_XCOOKIE 1
10700 _ACEOF
10707 opengl_msg=""
10708 if test "x$with_opengl" != "xno"
10709 then
10710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10711 $as_echo_n "checking for -lGL... " >&6; }
10712 if ${ac_cv_lib_soname_GL+:} false; then :
10713 $as_echo_n "(cached) " >&6
10714 else
10715 ac_check_soname_save_LIBS=$LIBS
10716 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10718 /* end confdefs.h. */
10720 /* Override any GCC internal prototype to avoid an error.
10721 Use char because int might match the return type of a GCC
10722 builtin and then its argument prototype would still apply. */
10723 #ifdef __cplusplus
10724 extern "C"
10725 #endif
10726 char glXCreateContext ();
10728 main ()
10730 return glXCreateContext ();
10732 return 0;
10734 _ACEOF
10735 if ac_fn_c_try_link "$LINENO"; then :
10736 case "$LIBEXT" in
10737 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10738 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'` ;;
10739 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10740 if ${ac_cv_lib_soname_GL:+false} :; then :
10741 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10742 fi ;;
10743 esac
10745 rm -f core conftest.err conftest.$ac_objext \
10746 conftest$ac_exeext conftest.$ac_ext
10747 LIBS=$ac_check_soname_save_LIBS
10749 if ${ac_cv_lib_soname_GL:+false} :; then :
10750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10751 $as_echo "not found" >&6; }
10752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10753 $as_echo_n "checking for -lGL... " >&6; }
10754 if ${ac_cv_lib_soname_GL+:} false; then :
10755 $as_echo_n "(cached) " >&6
10756 else
10757 ac_check_soname_save_LIBS=$LIBS
10758 LIBS="-lGL $X_LIBS -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"
10759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10760 /* end confdefs.h. */
10762 /* Override any GCC internal prototype to avoid an error.
10763 Use char because int might match the return type of a GCC
10764 builtin and then its argument prototype would still apply. */
10765 #ifdef __cplusplus
10766 extern "C"
10767 #endif
10768 char glXCreateContext ();
10770 main ()
10772 return glXCreateContext ();
10774 return 0;
10776 _ACEOF
10777 if ac_fn_c_try_link "$LINENO"; then :
10778 case "$LIBEXT" in
10779 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10780 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'` ;;
10781 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10782 if ${ac_cv_lib_soname_GL:+false} :; then :
10783 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10784 fi ;;
10785 esac
10787 rm -f core conftest.err conftest.$ac_objext \
10788 conftest$ac_exeext conftest.$ac_ext
10789 LIBS=$ac_check_soname_save_LIBS
10791 if ${ac_cv_lib_soname_GL:+false} :; then :
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10793 $as_echo "not found" >&6; }
10794 if test -f /usr/X11R6/lib/libGL.a
10795 then
10796 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10797 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10798 else
10799 opengl_msg="No OpenGL library found on this system."
10801 else
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10803 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10805 cat >>confdefs.h <<_ACEOF
10806 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10807 _ACEOF
10809 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"
10811 else
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10813 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10815 cat >>confdefs.h <<_ACEOF
10816 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10817 _ACEOF
10819 OPENGL_LIBS="-lGL"
10821 if test "x$with_glu" != "xno"
10822 then
10823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10824 $as_echo_n "checking for -lGLU... " >&6; }
10825 if ${ac_cv_lib_soname_GLU+:} false; then :
10826 $as_echo_n "(cached) " >&6
10827 else
10828 ac_check_soname_save_LIBS=$LIBS
10829 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10831 /* end confdefs.h. */
10833 /* Override any GCC internal prototype to avoid an error.
10834 Use char because int might match the return type of a GCC
10835 builtin and then its argument prototype would still apply. */
10836 #ifdef __cplusplus
10837 extern "C"
10838 #endif
10839 char gluLookAt ();
10841 main ()
10843 return gluLookAt ();
10845 return 0;
10847 _ACEOF
10848 if ac_fn_c_try_link "$LINENO"; then :
10849 case "$LIBEXT" in
10850 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10851 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
10852 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10853 if ${ac_cv_lib_soname_GLU:+false} :; then :
10854 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10855 fi ;;
10856 esac
10858 rm -f core conftest.err conftest.$ac_objext \
10859 conftest$ac_exeext conftest.$ac_ext
10860 LIBS=$ac_check_soname_save_LIBS
10862 if ${ac_cv_lib_soname_GLU:+false} :; then :
10863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10864 $as_echo "not found" >&6; }
10866 else
10867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10868 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10870 cat >>confdefs.h <<_ACEOF
10871 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10872 _ACEOF
10876 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10877 case "x$with_glu" in
10878 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10879 xno) ;;
10880 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10881 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10882 esac
10887 if test "x$with_osmesa" != "xno"
10888 then
10889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10890 $as_echo_n "checking for -lOSMesa... " >&6; }
10891 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10892 $as_echo_n "(cached) " >&6
10893 else
10894 ac_check_soname_save_LIBS=$LIBS
10895 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10897 /* end confdefs.h. */
10899 /* Override any GCC internal prototype to avoid an error.
10900 Use char because int might match the return type of a GCC
10901 builtin and then its argument prototype would still apply. */
10902 #ifdef __cplusplus
10903 extern "C"
10904 #endif
10905 char OSMesaGetProcAddress ();
10907 main ()
10909 return OSMesaGetProcAddress ();
10911 return 0;
10913 _ACEOF
10914 if ac_fn_c_try_link "$LINENO"; then :
10915 case "$LIBEXT" in
10916 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10917 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'` ;;
10918 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10919 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10920 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10921 fi ;;
10922 esac
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LIBS=$ac_check_soname_save_LIBS
10928 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10930 $as_echo "not found" >&6; }
10932 else
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10934 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10936 cat >>confdefs.h <<_ACEOF
10937 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10938 _ACEOF
10942 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10943 case "x$with_osmesa" in
10944 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10945 xno) ;;
10946 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10947 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10948 esac
10953 if test -n "$opengl_msg"; then :
10954 case "x$with_opengl" in
10955 x) as_fn_append wine_warnings "|$opengl_msg
10956 OpenGL and Direct3D won't be supported." ;;
10957 xno) ;;
10958 *) as_fn_error $? "$opengl_msg
10959 OpenGL and Direct3D won't be supported.
10960 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10961 esac
10965 CPPFLAGS="$ac_save_CPPFLAGS"
10966 else
10967 X_CFLAGS=""
10968 X_LIBS=""
10971 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10972 then
10973 if test "x$X_LIBS" = "x"; then :
10974 case "x$with_x" in
10975 xno) ;;
10976 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10977 without X support, which probably isn't what you want. You will need
10978 to install ${notice_platform}development packages of Xlib at the very least.
10979 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10980 esac
10981 enable_winex11_drv=${enable_winex11_drv:-no}
10983 else
10984 if test "x$X_LIBS" = "x"; then :
10985 case "x$with_x" in
10986 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10987 xno) ;;
10988 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10989 This is an error since --with-x was requested." "$LINENO" 5 ;;
10990 esac
10991 enable_winex11_drv=${enable_winex11_drv:-no}
10995 if test "$ac_cv_header_CL_cl_h" = "yes"
10996 then
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10998 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10999 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
11000 $as_echo_n "(cached) " >&6
11001 else
11002 ac_check_lib_save_LIBS=$LIBS
11003 LIBS="-lOpenCL $LIBS"
11004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11005 /* end confdefs.h. */
11007 /* Override any GCC internal prototype to avoid an error.
11008 Use char because int might match the return type of a GCC
11009 builtin and then its argument prototype would still apply. */
11010 #ifdef __cplusplus
11011 extern "C"
11012 #endif
11013 char clGetPlatformInfo ();
11015 main ()
11017 return clGetPlatformInfo ();
11019 return 0;
11021 _ACEOF
11022 if ac_fn_c_try_link "$LINENO"; then :
11023 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
11024 else
11025 ac_cv_lib_OpenCL_clGetPlatformInfo=no
11027 rm -f core conftest.err conftest.$ac_objext \
11028 conftest$ac_exeext conftest.$ac_ext
11029 LIBS=$ac_check_lib_save_LIBS
11031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
11032 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
11033 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11034 OPENCL_LIBS="-lOpenCL"
11039 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11040 case "x$with_opencl" in
11041 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11042 xno) ;;
11043 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11044 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11045 esac
11046 enable_opencl=${enable_opencl:-no}
11049 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11050 then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11052 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11053 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lpcap $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. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char pcap_create ();
11069 main ()
11071 return pcap_create ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_pcap_pcap_create=yes
11078 else
11079 ac_cv_lib_pcap_pcap_create=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_pcap_pcap_create" >&5
11086 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11087 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11088 PCAP_LIBS="-lpcap"
11093 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11094 case "x$with_pcap" in
11095 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11096 xno) ;;
11097 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11098 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11099 esac
11100 enable_wpcap=${enable_wpcap:-no}
11104 if test "x$with_xml" != "xno"
11105 then
11106 if ${XML2_CFLAGS:+false} :; then :
11107 if ${PKG_CONFIG+:} false; then :
11108 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11111 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11112 if ${XML2_LIBS:+false} :; then :
11113 if ${PKG_CONFIG+:} false; then :
11114 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11117 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11118 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11119 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11120 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11121 ac_save_CPPFLAGS=$CPPFLAGS
11122 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11123 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11124 do :
11125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11126 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11128 cat >>confdefs.h <<_ACEOF
11129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11130 _ACEOF
11134 done
11136 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"
11137 then
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11139 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11140 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11141 $as_echo_n "(cached) " >&6
11142 else
11143 ac_check_lib_save_LIBS=$LIBS
11144 LIBS="-lxml2 $XML2_LIBS $LIBS"
11145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11146 /* end confdefs.h. */
11148 /* Override any GCC internal prototype to avoid an error.
11149 Use char because int might match the return type of a GCC
11150 builtin and then its argument prototype would still apply. */
11151 #ifdef __cplusplus
11152 extern "C"
11153 #endif
11154 char xmlParseMemory ();
11156 main ()
11158 return xmlParseMemory ();
11160 return 0;
11162 _ACEOF
11163 if ac_fn_c_try_link "$LINENO"; then :
11164 ac_cv_lib_xml2_xmlParseMemory=yes
11165 else
11166 ac_cv_lib_xml2_xmlParseMemory=no
11168 rm -f core conftest.err conftest.$ac_objext \
11169 conftest$ac_exeext conftest.$ac_ext
11170 LIBS=$ac_check_lib_save_LIBS
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11173 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11174 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11176 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11178 else
11179 XML2_LIBS=""
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11183 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11184 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11185 $as_echo_n "(cached) " >&6
11186 else
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-lxml2 $XML2_LIBS $LIBS"
11189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11190 /* end confdefs.h. */
11192 /* Override any GCC internal prototype to avoid an error.
11193 Use char because int might match the return type of a GCC
11194 builtin and then its argument prototype would still apply. */
11195 #ifdef __cplusplus
11196 extern "C"
11197 #endif
11198 char xmlReadMemory ();
11200 main ()
11202 return xmlReadMemory ();
11204 return 0;
11206 _ACEOF
11207 if ac_fn_c_try_link "$LINENO"; then :
11208 ac_cv_lib_xml2_xmlReadMemory=yes
11209 else
11210 ac_cv_lib_xml2_xmlReadMemory=no
11212 rm -f core conftest.err conftest.$ac_objext \
11213 conftest$ac_exeext conftest.$ac_ext
11214 LIBS=$ac_check_lib_save_LIBS
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11217 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11218 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11220 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11225 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11226 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11227 $as_echo_n "(cached) " >&6
11228 else
11229 ac_check_lib_save_LIBS=$LIBS
11230 LIBS="-lxml2 $XML2_LIBS $LIBS"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11234 /* Override any GCC internal prototype to avoid an error.
11235 Use char because int might match the return type of a GCC
11236 builtin and then its argument prototype would still apply. */
11237 #ifdef __cplusplus
11238 extern "C"
11239 #endif
11240 char xmlNewDocPI ();
11242 main ()
11244 return xmlNewDocPI ();
11246 return 0;
11248 _ACEOF
11249 if ac_fn_c_try_link "$LINENO"; then :
11250 ac_cv_lib_xml2_xmlNewDocPI=yes
11251 else
11252 ac_cv_lib_xml2_xmlNewDocPI=no
11254 rm -f core conftest.err conftest.$ac_objext \
11255 conftest$ac_exeext conftest.$ac_ext
11256 LIBS=$ac_check_lib_save_LIBS
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11259 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11260 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11262 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11267 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11268 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_lib_save_LIBS=$LIBS
11272 LIBS="-lxml2 $XML2_LIBS $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char xmlSchemaSetParserStructuredErrors ();
11284 main ()
11286 return xmlSchemaSetParserStructuredErrors ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11293 else
11294 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11296 rm -f core conftest.err conftest.$ac_objext \
11297 conftest$ac_exeext conftest.$ac_ext
11298 LIBS=$ac_check_lib_save_LIBS
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11301 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11302 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11304 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11309 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11310 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11311 $as_echo_n "(cached) " >&6
11312 else
11313 ac_check_lib_save_LIBS=$LIBS
11314 LIBS="-lxml2 $XML2_LIBS $LIBS"
11315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11316 /* end confdefs.h. */
11318 /* Override any GCC internal prototype to avoid an error.
11319 Use char because int might match the return type of a GCC
11320 builtin and then its argument prototype would still apply. */
11321 #ifdef __cplusplus
11322 extern "C"
11323 #endif
11324 char xmlSchemaSetValidStructuredErrors ();
11326 main ()
11328 return xmlSchemaSetValidStructuredErrors ();
11330 return 0;
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"; then :
11334 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11335 else
11336 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11338 rm -f core conftest.err conftest.$ac_objext \
11339 conftest$ac_exeext conftest.$ac_ext
11340 LIBS=$ac_check_lib_save_LIBS
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11343 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11344 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11346 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11351 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11352 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11353 $as_echo_n "(cached) " >&6
11354 else
11355 ac_check_lib_save_LIBS=$LIBS
11356 LIBS="-lxml2 $XML2_LIBS $LIBS"
11357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11358 /* end confdefs.h. */
11360 /* Override any GCC internal prototype to avoid an error.
11361 Use char because int might match the return type of a GCC
11362 builtin and then its argument prototype would still apply. */
11363 #ifdef __cplusplus
11364 extern "C"
11365 #endif
11366 char xmlFirstElementChild ();
11368 main ()
11370 return xmlFirstElementChild ();
11372 return 0;
11374 _ACEOF
11375 if ac_fn_c_try_link "$LINENO"; then :
11376 ac_cv_lib_xml2_xmlFirstElementChild=yes
11377 else
11378 ac_cv_lib_xml2_xmlFirstElementChild=no
11380 rm -f core conftest.err conftest.$ac_objext \
11381 conftest$ac_exeext conftest.$ac_ext
11382 LIBS=$ac_check_lib_save_LIBS
11384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11385 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11386 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11388 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11392 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11394 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11396 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11400 else
11401 XML2_CFLAGS=""
11402 XML2_LIBS=""
11404 CPPFLAGS=$ac_save_CPPFLAGS
11405 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11406 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11409 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11410 case "x$with_xml" in
11411 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11412 xno) ;;
11413 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11414 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11415 esac
11419 if test "x$with_xslt" != "xno"
11420 then
11421 if ${XSLT_CFLAGS:+false} :; then :
11422 if ${PKG_CONFIG+:} false; then :
11423 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11426 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11427 if ${XSLT_LIBS:+false} :; then :
11428 if ${PKG_CONFIG+:} false; then :
11429 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11432 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11433 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11434 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11435 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11436 ac_save_CPPFLAGS=$CPPFLAGS
11437 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11438 for ac_header in libxslt/pattern.h libxslt/transform.h
11439 do :
11440 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11441 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11442 # include <libxslt/pattern.h>
11443 #endif
11445 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11446 cat >>confdefs.h <<_ACEOF
11447 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11448 _ACEOF
11452 done
11454 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11455 then
11456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11457 $as_echo_n "checking for -lxslt... " >&6; }
11458 if ${ac_cv_lib_soname_xslt+:} false; then :
11459 $as_echo_n "(cached) " >&6
11460 else
11461 ac_check_soname_save_LIBS=$LIBS
11462 LIBS="-lxslt $XSLT_LIBS $LIBS"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11466 /* Override any GCC internal prototype to avoid an error.
11467 Use char because int might match the return type of a GCC
11468 builtin and then its argument prototype would still apply. */
11469 #ifdef __cplusplus
11470 extern "C"
11471 #endif
11472 char xsltCompilePattern ();
11474 main ()
11476 return xsltCompilePattern ();
11478 return 0;
11480 _ACEOF
11481 if ac_fn_c_try_link "$LINENO"; then :
11482 case "$LIBEXT" in
11483 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11484 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'` ;;
11485 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11486 if ${ac_cv_lib_soname_xslt:+false} :; then :
11487 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11488 fi ;;
11489 esac
11491 rm -f core conftest.err conftest.$ac_objext \
11492 conftest$ac_exeext conftest.$ac_ext
11493 LIBS=$ac_check_soname_save_LIBS
11495 if ${ac_cv_lib_soname_xslt:+false} :; then :
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11497 $as_echo "not found" >&6; }
11499 else
11500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11501 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11503 cat >>confdefs.h <<_ACEOF
11504 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11505 _ACEOF
11509 else
11510 XSLT_CFLAGS=""
11512 CPPFLAGS=$ac_save_CPPFLAGS
11513 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11514 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11517 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11518 case "x$with_xslt" in
11519 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11520 xno) ;;
11521 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11522 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11523 esac
11527 if test "x$with_dbus" != "xno"
11528 then
11529 if ${DBUS_CFLAGS:+false} :; then :
11530 if ${PKG_CONFIG+:} false; then :
11531 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11535 if ${DBUS_LIBS:+false} :; then :
11536 if ${PKG_CONFIG+:} false; then :
11537 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11542 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11543 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11544 ac_save_CPPFLAGS=$CPPFLAGS
11545 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11546 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11547 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11549 $as_echo_n "checking for -ldbus-1... " >&6; }
11550 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11551 $as_echo_n "(cached) " >&6
11552 else
11553 ac_check_soname_save_LIBS=$LIBS
11554 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11556 /* end confdefs.h. */
11558 /* Override any GCC internal prototype to avoid an error.
11559 Use char because int might match the return type of a GCC
11560 builtin and then its argument prototype would still apply. */
11561 #ifdef __cplusplus
11562 extern "C"
11563 #endif
11564 char dbus_connection_close ();
11566 main ()
11568 return dbus_connection_close ();
11570 return 0;
11572 _ACEOF
11573 if ac_fn_c_try_link "$LINENO"; then :
11574 case "$LIBEXT" in
11575 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11576 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'` ;;
11577 *) 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'`
11578 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11579 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11580 fi ;;
11581 esac
11583 rm -f core conftest.err conftest.$ac_objext \
11584 conftest$ac_exeext conftest.$ac_ext
11585 LIBS=$ac_check_soname_save_LIBS
11587 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11589 $as_echo "not found" >&6; }
11590 DBUS_CFLAGS=""
11591 else
11592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11593 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11595 cat >>confdefs.h <<_ACEOF
11596 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11597 _ACEOF
11601 else
11602 DBUS_CFLAGS=""
11606 CPPFLAGS=$ac_save_CPPFLAGS
11607 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11608 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11611 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11612 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11613 case "x$with_dbus" in
11614 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11615 xno) ;;
11616 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11617 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11618 esac
11622 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11623 then
11624 if ${HAL_CFLAGS:+false} :; then :
11625 if ${PKG_CONFIG+:} false; then :
11626 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11630 if ${HAL_LIBS:+false} :; then :
11631 if ${PKG_CONFIG+:} false; then :
11632 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11636 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11637 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11638 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11639 ac_save_CPPFLAGS=$CPPFLAGS
11640 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11641 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11642 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11644 $as_echo_n "checking for -lhal... " >&6; }
11645 if ${ac_cv_lib_soname_hal+:} false; then :
11646 $as_echo_n "(cached) " >&6
11647 else
11648 ac_check_soname_save_LIBS=$LIBS
11649 LIBS="-lhal $HAL_LIBS $LIBS"
11650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11651 /* end confdefs.h. */
11653 /* Override any GCC internal prototype to avoid an error.
11654 Use char because int might match the return type of a GCC
11655 builtin and then its argument prototype would still apply. */
11656 #ifdef __cplusplus
11657 extern "C"
11658 #endif
11659 char libhal_ctx_new ();
11661 main ()
11663 return libhal_ctx_new ();
11665 return 0;
11667 _ACEOF
11668 if ac_fn_c_try_link "$LINENO"; then :
11669 case "$LIBEXT" in
11670 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11671 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'` ;;
11672 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11673 if ${ac_cv_lib_soname_hal:+false} :; then :
11674 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11675 fi ;;
11676 esac
11678 rm -f core conftest.err conftest.$ac_objext \
11679 conftest$ac_exeext conftest.$ac_ext
11680 LIBS=$ac_check_soname_save_LIBS
11682 if ${ac_cv_lib_soname_hal:+false} :; then :
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11684 $as_echo "not found" >&6; }
11685 HAL_CFLAGS=""
11686 else
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11688 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11690 cat >>confdefs.h <<_ACEOF
11691 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11692 _ACEOF
11696 else
11697 HAL_CFLAGS=""
11701 CPPFLAGS=$ac_save_CPPFLAGS
11702 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11703 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11705 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11706 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11707 case "x$with_hal" in
11708 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11709 xno) ;;
11710 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11711 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11712 esac
11717 if test "x$with_gnutls" != "xno"
11718 then
11719 if ${GNUTLS_CFLAGS:+false} :; then :
11720 if ${PKG_CONFIG+:} false; then :
11721 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11725 if ${GNUTLS_LIBS:+false} :; then :
11726 if ${PKG_CONFIG+:} false; then :
11727 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11732 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11733 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11734 ac_save_CPPFLAGS=$CPPFLAGS
11735 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11736 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11737 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11739 /* end confdefs.h. */
11740 #include <gnutls/gnutls.h>
11741 #include <gnutls/crypto.h>
11743 main ()
11745 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11747 return 0;
11749 _ACEOF
11750 if ac_fn_c_try_compile "$LINENO"; then :
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11752 $as_echo_n "checking for -lgnutls... " >&6; }
11753 if ${ac_cv_lib_soname_gnutls+:} false; then :
11754 $as_echo_n "(cached) " >&6
11755 else
11756 ac_check_soname_save_LIBS=$LIBS
11757 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11759 /* end confdefs.h. */
11761 /* Override any GCC internal prototype to avoid an error.
11762 Use char because int might match the return type of a GCC
11763 builtin and then its argument prototype would still apply. */
11764 #ifdef __cplusplus
11765 extern "C"
11766 #endif
11767 char gnutls_global_init ();
11769 main ()
11771 return gnutls_global_init ();
11773 return 0;
11775 _ACEOF
11776 if ac_fn_c_try_link "$LINENO"; then :
11777 case "$LIBEXT" in
11778 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11779 dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11780 *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11781 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11782 ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11783 fi ;;
11784 esac
11786 rm -f core conftest.err conftest.$ac_objext \
11787 conftest$ac_exeext conftest.$ac_ext
11788 LIBS=$ac_check_soname_save_LIBS
11790 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11792 $as_echo "not found" >&6; }
11793 GNUTLS_CFLAGS=""
11794 else
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11796 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11798 cat >>confdefs.h <<_ACEOF
11799 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11800 _ACEOF
11804 ac_wine_check_funcs_save_LIBS="$LIBS"
11805 LIBS="$LIBS $GNUTLS_LIBS"
11806 for ac_func in gnutls_cipher_init
11807 do :
11808 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11809 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11810 cat >>confdefs.h <<_ACEOF
11811 #define HAVE_GNUTLS_CIPHER_INIT 1
11812 _ACEOF
11814 else
11815 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11817 done
11819 LIBS="$ac_wine_check_funcs_save_LIBS"
11821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11822 else
11823 GNUTLS_CFLAGS=""
11827 CPPFLAGS=$ac_save_CPPFLAGS
11828 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11829 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11832 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11833 case "x$with_gnutls" in
11834 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11835 xno) ;;
11836 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11837 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11838 esac
11842 CURSES_LIBS=""
11843 if test "$ac_cv_header_ncurses_h" = "yes"
11844 then
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11846 $as_echo_n "checking for -lncurses... " >&6; }
11847 if ${ac_cv_lib_soname_ncurses+:} false; then :
11848 $as_echo_n "(cached) " >&6
11849 else
11850 ac_check_soname_save_LIBS=$LIBS
11851 LIBS="-lncurses $LIBS"
11852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11853 /* end confdefs.h. */
11855 /* Override any GCC internal prototype to avoid an error.
11856 Use char because int might match the return type of a GCC
11857 builtin and then its argument prototype would still apply. */
11858 #ifdef __cplusplus
11859 extern "C"
11860 #endif
11861 char waddch ();
11863 main ()
11865 return waddch ();
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_link "$LINENO"; then :
11871 case "$LIBEXT" in
11872 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11873 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
11874 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11875 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11876 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11877 fi ;;
11878 esac
11880 rm -f core conftest.err conftest.$ac_objext \
11881 conftest$ac_exeext conftest.$ac_ext
11882 LIBS=$ac_check_soname_save_LIBS
11884 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11886 $as_echo "not found" >&6; }
11888 else
11889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11890 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11892 cat >>confdefs.h <<_ACEOF
11893 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11894 _ACEOF
11896 CURSES_LIBS="-lncurses"
11898 elif test "$ac_cv_header_curses_h" = "yes"
11899 then
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11901 $as_echo_n "checking for -lcurses... " >&6; }
11902 if ${ac_cv_lib_soname_curses+:} false; then :
11903 $as_echo_n "(cached) " >&6
11904 else
11905 ac_check_soname_save_LIBS=$LIBS
11906 LIBS="-lcurses $LIBS"
11907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11908 /* end confdefs.h. */
11910 /* Override any GCC internal prototype to avoid an error.
11911 Use char because int might match the return type of a GCC
11912 builtin and then its argument prototype would still apply. */
11913 #ifdef __cplusplus
11914 extern "C"
11915 #endif
11916 char waddch ();
11918 main ()
11920 return waddch ();
11922 return 0;
11924 _ACEOF
11925 if ac_fn_c_try_link "$LINENO"; then :
11926 case "$LIBEXT" in
11927 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11928 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'` ;;
11929 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11930 if ${ac_cv_lib_soname_curses:+false} :; then :
11931 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11932 fi ;;
11933 esac
11935 rm -f core conftest.err conftest.$ac_objext \
11936 conftest$ac_exeext conftest.$ac_ext
11937 LIBS=$ac_check_soname_save_LIBS
11939 if ${ac_cv_lib_soname_curses:+false} :; then :
11940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11941 $as_echo "not found" >&6; }
11943 else
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11945 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11947 cat >>confdefs.h <<_ACEOF
11948 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11949 _ACEOF
11951 CURSES_LIBS="-lcurses"
11954 ac_save_LIBS="$LIBS"
11955 LIBS="$LIBS $CURSES_LIBS"
11956 for ac_func in mousemask
11957 do :
11958 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11959 if test "x$ac_cv_func_mousemask" = xyes; then :
11960 cat >>confdefs.h <<_ACEOF
11961 #define HAVE_MOUSEMASK 1
11962 _ACEOF
11965 done
11967 LIBS="$ac_save_LIBS"
11968 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11969 case "x$with_curses" in
11970 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11971 xno) ;;
11972 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11973 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11974 esac
11978 if test "x$with_sane" != "xno"
11979 then
11980 if ${SANE_CFLAGS:+false} :; then :
11981 if ${PKG_CONFIG+:} false; then :
11982 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11985 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11986 if ${SANE_LIBS:+false} :; then :
11987 if ${PKG_CONFIG+:} false; then :
11988 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11991 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11993 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11994 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11995 ac_save_CPPFLAGS=$CPPFLAGS
11996 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11997 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11998 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
12000 $as_echo_n "checking for -lsane... " >&6; }
12001 if ${ac_cv_lib_soname_sane+:} false; then :
12002 $as_echo_n "(cached) " >&6
12003 else
12004 ac_check_soname_save_LIBS=$LIBS
12005 LIBS="-lsane $SANE_LIBS $LIBS"
12006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12007 /* end confdefs.h. */
12009 /* Override any GCC internal prototype to avoid an error.
12010 Use char because int might match the return type of a GCC
12011 builtin and then its argument prototype would still apply. */
12012 #ifdef __cplusplus
12013 extern "C"
12014 #endif
12015 char sane_init ();
12017 main ()
12019 return sane_init ();
12021 return 0;
12023 _ACEOF
12024 if ac_fn_c_try_link "$LINENO"; then :
12025 case "$LIBEXT" in
12026 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12027 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'` ;;
12028 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12029 if ${ac_cv_lib_soname_sane:+false} :; then :
12030 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12031 fi ;;
12032 esac
12034 rm -f core conftest.err conftest.$ac_objext \
12035 conftest$ac_exeext conftest.$ac_ext
12036 LIBS=$ac_check_soname_save_LIBS
12038 if ${ac_cv_lib_soname_sane:+false} :; then :
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12040 $as_echo "not found" >&6; }
12041 SANE_CFLAGS=""
12042 else
12043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12044 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12046 cat >>confdefs.h <<_ACEOF
12047 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12048 _ACEOF
12052 else
12053 SANE_CFLAGS=""
12057 CPPFLAGS=$ac_save_CPPFLAGS
12058 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12059 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12062 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12063 case "x$with_sane" in
12064 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12065 xno) ;;
12066 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12067 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12068 esac
12072 if test "x$with_v4l" != "xno"
12073 then
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12075 $as_echo_n "checking for -lv4l1... " >&6; }
12076 if ${ac_cv_lib_soname_v4l1+:} false; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_soname_save_LIBS=$LIBS
12080 LIBS="-lv4l1 $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char v4l1_open ();
12092 main ()
12094 return v4l1_open ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"; then :
12100 case "$LIBEXT" in
12101 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12102 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'` ;;
12103 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12104 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12105 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12106 fi ;;
12107 esac
12109 rm -f core conftest.err conftest.$ac_objext \
12110 conftest$ac_exeext conftest.$ac_ext
12111 LIBS=$ac_check_soname_save_LIBS
12113 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12115 $as_echo "not found" >&6; }
12117 else
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12119 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12121 cat >>confdefs.h <<_ACEOF
12122 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12123 _ACEOF
12128 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12129 case "x$with_v4l" in
12130 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12131 xno) ;;
12132 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12133 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12134 esac
12138 if test "x$with_gphoto" != "xno"
12139 then
12140 if ${GPHOTO2_CFLAGS:+false} :; then :
12141 if ${PKG_CONFIG+:} false; then :
12142 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12145 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12146 if ${GPHOTO2_LIBS:+false} :; then :
12147 if ${PKG_CONFIG+:} false; then :
12148 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12151 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12152 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12153 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12154 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12155 ac_save_CPPFLAGS=$CPPFLAGS
12156 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12157 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12158 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12160 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12161 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12162 $as_echo_n "(cached) " >&6
12163 else
12164 ac_check_lib_save_LIBS=$LIBS
12165 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12167 /* end confdefs.h. */
12169 /* Override any GCC internal prototype to avoid an error.
12170 Use char because int might match the return type of a GCC
12171 builtin and then its argument prototype would still apply. */
12172 #ifdef __cplusplus
12173 extern "C"
12174 #endif
12175 char gp_camera_new ();
12177 main ()
12179 return gp_camera_new ();
12181 return 0;
12183 _ACEOF
12184 if ac_fn_c_try_link "$LINENO"; then :
12185 ac_cv_lib_gphoto2_gp_camera_new=yes
12186 else
12187 ac_cv_lib_gphoto2_gp_camera_new=no
12189 rm -f core conftest.err conftest.$ac_objext \
12190 conftest$ac_exeext conftest.$ac_ext
12191 LIBS=$ac_check_lib_save_LIBS
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12194 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12195 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12197 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12199 else
12200 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12203 else
12204 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12208 CPPFLAGS=$ac_save_CPPFLAGS
12209 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12210 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12212 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12213 if ${PKG_CONFIG+:} false; then :
12214 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12217 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12218 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12219 if ${PKG_CONFIG+:} false; then :
12220 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12223 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12224 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12225 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12226 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12227 ac_save_CPPFLAGS=$CPPFLAGS
12228 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12229 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12230 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12232 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12233 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12234 $as_echo_n "(cached) " >&6
12235 else
12236 ac_check_lib_save_LIBS=$LIBS
12237 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12239 /* end confdefs.h. */
12241 /* Override any GCC internal prototype to avoid an error.
12242 Use char because int might match the return type of a GCC
12243 builtin and then its argument prototype would still apply. */
12244 #ifdef __cplusplus
12245 extern "C"
12246 #endif
12247 char gp_port_info_list_new ();
12249 main ()
12251 return gp_port_info_list_new ();
12253 return 0;
12255 _ACEOF
12256 if ac_fn_c_try_link "$LINENO"; then :
12257 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12258 else
12259 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12261 rm -f core conftest.err conftest.$ac_objext \
12262 conftest$ac_exeext conftest.$ac_ext
12263 LIBS=$ac_check_lib_save_LIBS
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12266 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12267 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12269 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12271 else
12272 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12275 else
12276 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12280 CPPFLAGS=$ac_save_CPPFLAGS
12281 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12282 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12285 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12286 case "x$with_gphoto" in
12287 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12288 xno) ;;
12289 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12290 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12291 esac
12294 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12295 case "x$with_gphoto" in
12296 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12297 xno) ;;
12298 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12299 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12300 esac
12305 if test "$ac_cv_header_resolv_h" = "yes"
12306 then
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12308 $as_echo_n "checking for resolver library... " >&6; }
12309 if ${ac_cv_have_resolv+:} false; then :
12310 $as_echo_n "(cached) " >&6
12311 else
12312 ac_save_LIBS="$LIBS"
12313 for lib in '' -lresolv
12315 LIBS="$lib $ac_save_LIBS"
12316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317 /* end confdefs.h. */
12318 #ifdef HAVE_NETINET_IN_H
12319 #include <netinet/in.h>
12320 #endif
12321 #include <resolv.h>
12323 main ()
12325 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12327 return 0;
12329 _ACEOF
12330 if ac_fn_c_try_link "$LINENO"; then :
12331 ac_cv_have_resolv=${lib:-"none required"}
12332 else
12333 ac_cv_have_resolv="not found"
12335 rm -f core conftest.err conftest.$ac_objext \
12336 conftest$ac_exeext conftest.$ac_ext
12337 test "x$ac_cv_have_resolv" = "xnot found" || break
12338 done
12339 LIBS="$ac_save_LIBS"
12341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12342 $as_echo "$ac_cv_have_resolv" >&6; }
12344 case "$ac_cv_have_resolv" in
12345 "not found") ;;
12346 "none required")
12348 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12351 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12353 RESOLV_LIBS=$ac_cv_have_resolv
12355 esac
12358 if test "x$with_cms" != "xno"
12359 then
12360 if ${LCMS2_CFLAGS:+false} :; then :
12361 if ${PKG_CONFIG+:} false; then :
12362 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12366 if ${LCMS2_LIBS:+false} :; then :
12367 if ${PKG_CONFIG+:} false; then :
12368 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12372 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12373 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12374 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12375 ac_save_CPPFLAGS=$CPPFLAGS
12376 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12377 for ac_header in lcms2.h
12378 do :
12379 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12380 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12381 cat >>confdefs.h <<_ACEOF
12382 #define HAVE_LCMS2_H 1
12383 _ACEOF
12387 done
12389 if test "$ac_cv_header_lcms2_h" = "yes"
12390 then
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12392 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12393 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12394 $as_echo_n "(cached) " >&6
12395 else
12396 ac_check_lib_save_LIBS=$LIBS
12397 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12401 /* Override any GCC internal prototype to avoid an error.
12402 Use char because int might match the return type of a GCC
12403 builtin and then its argument prototype would still apply. */
12404 #ifdef __cplusplus
12405 extern "C"
12406 #endif
12407 char cmsOpenProfileFromFile ();
12409 main ()
12411 return cmsOpenProfileFromFile ();
12413 return 0;
12415 _ACEOF
12416 if ac_fn_c_try_link "$LINENO"; then :
12417 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12418 else
12419 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12421 rm -f core conftest.err conftest.$ac_objext \
12422 conftest$ac_exeext conftest.$ac_ext
12423 LIBS=$ac_check_lib_save_LIBS
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12426 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12427 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12429 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12431 else
12432 LCMS2_LIBS=""
12435 else
12436 LCMS2_CFLAGS=""
12437 LCMS2_LIBS=""
12439 CPPFLAGS=$ac_save_CPPFLAGS
12440 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12441 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12444 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12445 case "x$with_cms" in
12446 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12447 xno) ;;
12448 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12449 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12450 esac
12454 if test "x$with_freetype" != "xno"
12455 then
12456 if ${FREETYPE_CFLAGS:+false} :; then :
12457 if ${PKG_CONFIG+:} false; then :
12458 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12461 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12462 if ${FREETYPE_LIBS:+false} :; then :
12463 if ${PKG_CONFIG+:} false; then :
12464 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12467 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12468 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12469 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12470 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12471 ac_save_CPPFLAGS=$CPPFLAGS
12472 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12473 for ac_header in ft2build.h
12474 do :
12475 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12476 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12477 cat >>confdefs.h <<_ACEOF
12478 #define HAVE_FT2BUILD_H 1
12479 _ACEOF
12483 done
12485 if test "$ac_cv_header_ft2build_h" = "yes"
12486 then
12487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12488 $as_echo_n "checking for -lfreetype... " >&6; }
12489 if ${ac_cv_lib_soname_freetype+:} false; then :
12490 $as_echo_n "(cached) " >&6
12491 else
12492 ac_check_soname_save_LIBS=$LIBS
12493 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12495 /* end confdefs.h. */
12497 /* Override any GCC internal prototype to avoid an error.
12498 Use char because int might match the return type of a GCC
12499 builtin and then its argument prototype would still apply. */
12500 #ifdef __cplusplus
12501 extern "C"
12502 #endif
12503 char FT_Init_FreeType ();
12505 main ()
12507 return FT_Init_FreeType ();
12509 return 0;
12511 _ACEOF
12512 if ac_fn_c_try_link "$LINENO"; then :
12513 case "$LIBEXT" in
12514 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12515 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'` ;;
12516 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12517 if ${ac_cv_lib_soname_freetype:+false} :; then :
12518 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12519 fi ;;
12520 esac
12522 rm -f core conftest.err conftest.$ac_objext \
12523 conftest$ac_exeext conftest.$ac_ext
12524 LIBS=$ac_check_soname_save_LIBS
12526 if ${ac_cv_lib_soname_freetype:+false} :; then :
12527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12528 $as_echo "not found" >&6; }
12529 FREETYPE_LIBS=""
12530 else
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12532 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12534 cat >>confdefs.h <<_ACEOF
12535 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12536 _ACEOF
12539 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12541 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12542 #include FT_MODULE_H
12544 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12546 cat >>confdefs.h <<_ACEOF
12547 #define HAVE_FT_TRUETYPEENGINETYPE 1
12548 _ACEOF
12554 else
12555 FREETYPE_CFLAGS=""
12556 FREETYPE_LIBS=""
12558 CPPFLAGS=$ac_save_CPPFLAGS
12559 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12560 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12563 if test "x$ac_cv_lib_soname_freetype" = x; then :
12564 case "x$with_freetype" in
12565 xno) ;;
12566 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12567 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12568 esac
12569 enable_fonts=${enable_fonts:-no}
12572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12573 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12574 if ${ac_cv_c_ppdev+:} false; then :
12575 $as_echo_n "(cached) " >&6
12576 else
12577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12578 /* end confdefs.h. */
12579 #ifdef HAVE_SYS_IOCTL_H
12580 # include <sys/ioctl.h>
12581 #endif
12582 #include <linux/ppdev.h>
12584 main ()
12586 ioctl (1,PPCLAIM,0)
12588 return 0;
12590 _ACEOF
12591 if ac_fn_c_try_compile "$LINENO"; then :
12592 ac_cv_c_ppdev="yes"
12593 else
12594 ac_cv_c_ppdev="no"
12596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12599 $as_echo "$ac_cv_c_ppdev" >&6; }
12600 if test "$ac_cv_c_ppdev" = "yes"
12601 then
12603 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12607 ac_wine_check_funcs_save_LIBS="$LIBS"
12608 LIBS="$LIBS $PTHREAD_LIBS"
12609 for ac_func in \
12610 pthread_attr_get_np \
12611 pthread_getattr_np \
12612 pthread_getthreadid_np \
12613 pthread_get_stackaddr_np \
12614 pthread_get_stacksize_np
12615 do :
12616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12618 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12619 cat >>confdefs.h <<_ACEOF
12620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12621 _ACEOF
12624 done
12626 LIBS="$ac_wine_check_funcs_save_LIBS"
12628 if test "$ac_cv_header_zlib_h" = "yes"
12629 then
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12631 $as_echo_n "checking for inflate in -lz... " >&6; }
12632 if ${ac_cv_lib_z_inflate+:} false; then :
12633 $as_echo_n "(cached) " >&6
12634 else
12635 ac_check_lib_save_LIBS=$LIBS
12636 LIBS="-lz $LIBS"
12637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12638 /* end confdefs.h. */
12640 /* Override any GCC internal prototype to avoid an error.
12641 Use char because int might match the return type of a GCC
12642 builtin and then its argument prototype would still apply. */
12643 #ifdef __cplusplus
12644 extern "C"
12645 #endif
12646 char inflate ();
12648 main ()
12650 return inflate ();
12652 return 0;
12654 _ACEOF
12655 if ac_fn_c_try_link "$LINENO"; then :
12656 ac_cv_lib_z_inflate=yes
12657 else
12658 ac_cv_lib_z_inflate=no
12660 rm -f core conftest.err conftest.$ac_objext \
12661 conftest$ac_exeext conftest.$ac_ext
12662 LIBS=$ac_check_lib_save_LIBS
12664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12665 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12666 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12668 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12670 Z_LIBS="-lz"
12675 if test "x$Z_LIBS" = "x"; then :
12676 case "x$with_zlib" in
12677 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12678 xno) ;;
12679 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12680 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12681 esac
12685 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12686 then
12687 if test "$ac_cv_header_gettext_po_h" = "yes"
12688 then
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12690 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12691 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12692 $as_echo_n "(cached) " >&6
12693 else
12694 ac_check_lib_save_LIBS=$LIBS
12695 LIBS="-lgettextpo $LIBS"
12696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12697 /* end confdefs.h. */
12699 /* Override any GCC internal prototype to avoid an error.
12700 Use char because int might match the return type of a GCC
12701 builtin and then its argument prototype would still apply. */
12702 #ifdef __cplusplus
12703 extern "C"
12704 #endif
12705 char po_message_msgctxt ();
12707 main ()
12709 return po_message_msgctxt ();
12711 return 0;
12713 _ACEOF
12714 if ac_fn_c_try_link "$LINENO"; then :
12715 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12716 else
12717 ac_cv_lib_gettextpo_po_message_msgctxt=no
12719 rm -f core conftest.err conftest.$ac_objext \
12720 conftest$ac_exeext conftest.$ac_ext
12721 LIBS=$ac_check_lib_save_LIBS
12723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12724 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12725 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12727 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12729 GETTEXTPO_LIBS="-lgettextpo"
12734 if test "x$GETTEXTPO_LIBS" = "x"; then :
12735 case "x$with_gettextpo" in
12736 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12737 xno) ;;
12738 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12739 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12740 esac
12743 if test "$srcdir" != .; then :
12744 case "x$with_gettextpo" in
12745 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12746 xno) ;;
12747 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12748 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12749 esac
12754 if test "x$with_pulse" != "xno";
12755 then
12756 if ${PULSE_CFLAGS:+false} :; then :
12757 if ${PKG_CONFIG+:} false; then :
12758 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12762 if ${PULSE_LIBS:+false} :; then :
12763 if ${PKG_CONFIG+:} false; then :
12764 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12769 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12770 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12771 ac_save_CPPFLAGS=$CPPFLAGS
12772 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12773 for ac_header in pulse/pulseaudio.h
12774 do :
12775 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12776 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12777 cat >>confdefs.h <<_ACEOF
12778 #define HAVE_PULSE_PULSEAUDIO_H 1
12779 _ACEOF
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12781 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12782 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12783 $as_echo_n "(cached) " >&6
12784 else
12785 ac_check_lib_save_LIBS=$LIBS
12786 LIBS="-lpulse $PULSE_LIBS $LIBS"
12787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12788 /* end confdefs.h. */
12790 /* Override any GCC internal prototype to avoid an error.
12791 Use char because int might match the return type of a GCC
12792 builtin and then its argument prototype would still apply. */
12793 #ifdef __cplusplus
12794 extern "C"
12795 #endif
12796 char pa_stream_is_corked ();
12798 main ()
12800 return pa_stream_is_corked ();
12802 return 0;
12804 _ACEOF
12805 if ac_fn_c_try_link "$LINENO"; then :
12806 ac_cv_lib_pulse_pa_stream_is_corked=yes
12807 else
12808 ac_cv_lib_pulse_pa_stream_is_corked=no
12810 rm -f core conftest.err conftest.$ac_objext \
12811 conftest$ac_exeext conftest.$ac_ext
12812 LIBS=$ac_check_lib_save_LIBS
12814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12815 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12816 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12818 else
12819 PULSE_LIBS=""
12822 else
12823 PULSE_LIBS=""
12826 done
12828 CPPFLAGS=$ac_save_CPPFLAGS
12829 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12830 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12833 if test -z "$PULSE_LIBS"; then :
12834 case "x$with_pulse" in
12835 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12836 xno) ;;
12837 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12838 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12839 esac
12840 enable_winepulse_drv=${enable_winepulse_drv:-no}
12843 if test "x$with_gstreamer" != "xno"
12844 then
12845 if ${GSTREAMER_CFLAGS:+false} :; then :
12846 if ${PKG_CONFIG+:} false; then :
12847 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12851 if ${GSTREAMER_LIBS:+false} :; then :
12852 if ${PKG_CONFIG+:} false; then :
12853 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12858 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12859 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12860 ac_save_CPPFLAGS=$CPPFLAGS
12861 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12862 ac_gst_incl=""
12863 for i in $GSTREAMER_CFLAGS
12865 case "$i" in
12866 -I*) ac_gst_incl="$ac_gst_incl $i";;
12867 esac
12868 done
12869 GSTREAMER_CFLAGS=$ac_gst_incl
12870 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12871 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12872 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12874 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12876 /* end confdefs.h. */
12877 #include <gst/gst.h>
12879 main ()
12881 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12883 return 0;
12885 _ACEOF
12886 if ac_fn_c_try_compile "$LINENO"; then :
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12888 $as_echo "yes" >&6; }
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12890 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12891 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12892 $as_echo_n "(cached) " >&6
12893 else
12894 ac_check_lib_save_LIBS=$LIBS
12895 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12897 /* end confdefs.h. */
12899 /* Override any GCC internal prototype to avoid an error.
12900 Use char because int might match the return type of a GCC
12901 builtin and then its argument prototype would still apply. */
12902 #ifdef __cplusplus
12903 extern "C"
12904 #endif
12905 char gst_pad_new ();
12907 main ()
12909 return gst_pad_new ();
12911 return 0;
12913 _ACEOF
12914 if ac_fn_c_try_link "$LINENO"; then :
12915 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12916 else
12917 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12919 rm -f core conftest.err conftest.$ac_objext \
12920 conftest$ac_exeext conftest.$ac_ext
12921 LIBS=$ac_check_lib_save_LIBS
12923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12924 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12925 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12929 else
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12931 $as_echo "no" >&6; }
12932 ac_glib2_broken=yes
12933 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12939 CPPFLAGS=$ac_save_CPPFLAGS
12940 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12941 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12944 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
12945 case "x$with_gstreamer" in
12946 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12947 xno) ;;
12948 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12949 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12950 esac
12953 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12955 ALSA_LIBS=""
12957 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12958 then
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12960 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12961 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12962 $as_echo_n "(cached) " >&6
12963 else
12964 ac_check_lib_save_LIBS=$LIBS
12965 LIBS="-lasound $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 #ifdef __cplusplus
12973 extern "C"
12974 #endif
12975 char snd_pcm_hw_params_get_access_mask ();
12977 main ()
12979 return snd_pcm_hw_params_get_access_mask ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"; then :
12985 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12986 else
12987 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12989 rm -f core conftest.err conftest.$ac_objext \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_lib_save_LIBS
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12994 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12995 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12997 /* end confdefs.h. */
12998 #ifdef HAVE_ALSA_ASOUNDLIB_H
12999 #include <alsa/asoundlib.h>
13000 #elif defined(HAVE_SYS_ASOUNDLIB_H)
13001 #include <sys/asoundlib.h>
13002 #endif
13004 main ()
13006 snd_pcm_hw_params_get_access_mask(NULL, NULL)
13008 return 0;
13010 _ACEOF
13011 if ac_fn_c_try_compile "$LINENO"; then :
13012 ALSA_LIBS="-lasound"
13014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13018 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
13020 if test "x$with_oss" != xno
13021 then
13022 ac_save_CPPFLAGS="$CPPFLAGS"
13023 if test -f /etc/oss.conf
13024 then
13025 . /etc/oss.conf
13027 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
13028 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
13029 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
13030 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
13031 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
13033 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13035 cat >>confdefs.h <<_ACEOF
13036 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13037 _ACEOF
13039 OSS4_CFLAGS="$ac_oss_incl"
13046 CPPFLAGS="$ac_save_CPPFLAGS"
13048 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13049 case "x$with_oss" in
13050 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13051 xno) ;;
13052 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13053 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13054 esac
13055 enable_wineoss_drv=${enable_wineoss_drv:-no}
13058 if test "x$with_udev" != "xno"
13059 then
13060 if ${UDEV_CFLAGS:+false} :; then :
13061 if ${PKG_CONFIG+:} false; then :
13062 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13066 if ${UDEV_LIBS:+false} :; then :
13067 if ${PKG_CONFIG+:} false; then :
13068 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13072 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13073 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13074 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13075 ac_save_CPPFLAGS=$CPPFLAGS
13076 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13077 for ac_header in libudev.h
13078 do :
13079 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13080 if test "x$ac_cv_header_libudev_h" = xyes; then :
13081 cat >>confdefs.h <<_ACEOF
13082 #define HAVE_LIBUDEV_H 1
13083 _ACEOF
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13085 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13086 if ${ac_cv_lib_udev_udev_new+:} false; then :
13087 $as_echo_n "(cached) " >&6
13088 else
13089 ac_check_lib_save_LIBS=$LIBS
13090 LIBS="-ludev $UDEV_LIBS $LIBS"
13091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13092 /* end confdefs.h. */
13094 /* Override any GCC internal prototype to avoid an error.
13095 Use char because int might match the return type of a GCC
13096 builtin and then its argument prototype would still apply. */
13097 #ifdef __cplusplus
13098 extern "C"
13099 #endif
13100 char udev_new ();
13102 main ()
13104 return udev_new ();
13106 return 0;
13108 _ACEOF
13109 if ac_fn_c_try_link "$LINENO"; then :
13110 ac_cv_lib_udev_udev_new=yes
13111 else
13112 ac_cv_lib_udev_udev_new=no
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_lib_save_LIBS
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13119 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13120 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13122 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13124 else
13125 UDEV_LIBS=""
13128 else
13129 UDEV_LIBS=""
13132 done
13134 CPPFLAGS=$ac_save_CPPFLAGS
13135 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13136 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13139 if test "x$UDEV_LIBS" = "x"; then :
13140 case "x$with_udev" in
13141 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13142 xno) ;;
13143 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13144 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13145 esac
13149 if test "x$with_sdl" != "xno"
13150 then
13151 if ${SDL2_CFLAGS:+false} :; then :
13152 if ${PKG_CONFIG+:} false; then :
13153 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13157 if ${SDL2_LIBS:+false} :; then :
13158 if ${PKG_CONFIG+:} false; then :
13159 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13163 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13164 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13165 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13166 ac_save_CPPFLAGS=$CPPFLAGS
13167 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13168 for ac_header in SDL2/SDL.h
13169 do :
13170 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13171 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13172 cat >>confdefs.h <<_ACEOF
13173 #define HAVE_SDL2_SDL_H 1
13174 _ACEOF
13175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13176 $as_echo_n "checking for -lSDL2... " >&6; }
13177 if ${ac_cv_lib_soname_SDL2+:} false; then :
13178 $as_echo_n "(cached) " >&6
13179 else
13180 ac_check_soname_save_LIBS=$LIBS
13181 LIBS="-lSDL2 $LIBS"
13182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13183 /* end confdefs.h. */
13185 /* Override any GCC internal prototype to avoid an error.
13186 Use char because int might match the return type of a GCC
13187 builtin and then its argument prototype would still apply. */
13188 #ifdef __cplusplus
13189 extern "C"
13190 #endif
13191 char SDL_Init ();
13193 main ()
13195 return SDL_Init ();
13197 return 0;
13199 _ACEOF
13200 if ac_fn_c_try_link "$LINENO"; then :
13201 case "$LIBEXT" in
13202 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13203 dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13204 *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13205 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13206 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13207 fi ;;
13208 esac
13210 rm -f core conftest.err conftest.$ac_objext \
13211 conftest$ac_exeext conftest.$ac_ext
13212 LIBS=$ac_check_soname_save_LIBS
13214 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13216 $as_echo "not found" >&6; }
13218 else
13219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13220 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13222 cat >>confdefs.h <<_ACEOF
13223 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13224 _ACEOF
13230 done
13232 CPPFLAGS=$ac_save_CPPFLAGS
13233 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13234 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13237 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13238 case "x$with_sdl" in
13239 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13240 xno) ;;
13241 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13242 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13243 esac
13247 if test "x$with_capi" != "xno"
13248 then
13249 if ${CAPI20_CFLAGS:+false} :; then :
13250 if ${PKG_CONFIG+:} false; then :
13251 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13255 if ${CAPI20_LIBS:+false} :; then :
13256 if ${PKG_CONFIG+:} false; then :
13257 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13262 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13263 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13264 ac_save_CPPFLAGS=$CPPFLAGS
13265 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13266 for ac_header in capi20.h linux/capi.h
13267 do :
13268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13269 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13271 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13272 cat >>confdefs.h <<_ACEOF
13273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13274 _ACEOF
13278 done
13280 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13281 then
13282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13283 $as_echo_n "checking for -lcapi20... " >&6; }
13284 if ${ac_cv_lib_soname_capi20+:} false; then :
13285 $as_echo_n "(cached) " >&6
13286 else
13287 ac_check_soname_save_LIBS=$LIBS
13288 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13290 /* end confdefs.h. */
13292 /* Override any GCC internal prototype to avoid an error.
13293 Use char because int might match the return type of a GCC
13294 builtin and then its argument prototype would still apply. */
13295 #ifdef __cplusplus
13296 extern "C"
13297 #endif
13298 char capi20_register ();
13300 main ()
13302 return capi20_register ();
13304 return 0;
13306 _ACEOF
13307 if ac_fn_c_try_link "$LINENO"; then :
13308 case "$LIBEXT" in
13309 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13310 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'` ;;
13311 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13312 if ${ac_cv_lib_soname_capi20:+false} :; then :
13313 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13314 fi ;;
13315 esac
13317 rm -f core conftest.err conftest.$ac_objext \
13318 conftest$ac_exeext conftest.$ac_ext
13319 LIBS=$ac_check_soname_save_LIBS
13321 if ${ac_cv_lib_soname_capi20:+false} :; then :
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13323 $as_echo "not found" >&6; }
13325 else
13326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13327 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13329 cat >>confdefs.h <<_ACEOF
13330 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13331 _ACEOF
13336 CPPFLAGS=$ac_save_CPPFLAGS
13337 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13338 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13341 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13342 case "x$with_capi" in
13343 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13344 xno) ;;
13345 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13346 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13347 esac
13351 if test "x$with_cups" != "xno"
13352 then
13353 if ${CUPS_CFLAGS:+false} :; then :
13354 if ${PKG_CONFIG+:} false; then :
13355 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13358 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13359 if ${CUPS_LIBS:+false} :; then :
13360 if ${PKG_CONFIG+:} false; then :
13361 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13364 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13365 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13366 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13367 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13368 ac_save_CPPFLAGS=$CPPFLAGS
13369 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13370 for ac_header in cups/cups.h cups/ppd.h
13371 do :
13372 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13373 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13374 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13375 cat >>confdefs.h <<_ACEOF
13376 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13377 _ACEOF
13381 done
13383 if test "$ac_cv_header_cups_cups_h" = "yes"
13384 then
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13386 $as_echo_n "checking for -lcups... " >&6; }
13387 if ${ac_cv_lib_soname_cups+:} false; then :
13388 $as_echo_n "(cached) " >&6
13389 else
13390 ac_check_soname_save_LIBS=$LIBS
13391 LIBS="-lcups $CUPS_LIBS $LIBS"
13392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13393 /* end confdefs.h. */
13395 /* Override any GCC internal prototype to avoid an error.
13396 Use char because int might match the return type of a GCC
13397 builtin and then its argument prototype would still apply. */
13398 #ifdef __cplusplus
13399 extern "C"
13400 #endif
13401 char cupsGetDefault ();
13403 main ()
13405 return cupsGetDefault ();
13407 return 0;
13409 _ACEOF
13410 if ac_fn_c_try_link "$LINENO"; then :
13411 case "$LIBEXT" in
13412 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13413 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'` ;;
13414 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13415 if ${ac_cv_lib_soname_cups:+false} :; then :
13416 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13417 fi ;;
13418 esac
13420 rm -f core conftest.err conftest.$ac_objext \
13421 conftest$ac_exeext conftest.$ac_ext
13422 LIBS=$ac_check_soname_save_LIBS
13424 if ${ac_cv_lib_soname_cups:+false} :; then :
13425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13426 $as_echo "not found" >&6; }
13427 CUPS_LIBS=""
13428 else
13429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13430 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13432 cat >>confdefs.h <<_ACEOF
13433 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13434 _ACEOF
13438 else
13439 CUPS_CFLAGS=""
13440 CUPS_LIBS=""
13442 CPPFLAGS=$ac_save_CPPFLAGS
13443 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13444 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13447 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13448 case "x$with_cups" in
13449 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13450 xno) ;;
13451 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13452 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13453 esac
13457 if test "x$with_fontconfig" != "xno"
13458 then
13459 if ${FONTCONFIG_CFLAGS:+false} :; then :
13460 if ${PKG_CONFIG+:} false; then :
13461 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13464 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13465 if ${FONTCONFIG_LIBS:+false} :; then :
13466 if ${PKG_CONFIG+:} false; then :
13467 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13470 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13472 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13473 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13474 ac_save_CPPFLAGS=$CPPFLAGS
13475 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13476 for ac_header in fontconfig/fontconfig.h
13477 do :
13478 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13479 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13480 cat >>confdefs.h <<_ACEOF
13481 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13482 _ACEOF
13486 done
13488 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13489 then
13490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13491 $as_echo_n "checking for -lfontconfig... " >&6; }
13492 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13493 $as_echo_n "(cached) " >&6
13494 else
13495 ac_check_soname_save_LIBS=$LIBS
13496 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13498 /* end confdefs.h. */
13500 /* Override any GCC internal prototype to avoid an error.
13501 Use char because int might match the return type of a GCC
13502 builtin and then its argument prototype would still apply. */
13503 #ifdef __cplusplus
13504 extern "C"
13505 #endif
13506 char FcInit ();
13508 main ()
13510 return FcInit ();
13512 return 0;
13514 _ACEOF
13515 if ac_fn_c_try_link "$LINENO"; then :
13516 case "$LIBEXT" in
13517 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13518 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'` ;;
13519 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13520 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13521 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13522 fi ;;
13523 esac
13525 rm -f core conftest.err conftest.$ac_objext \
13526 conftest$ac_exeext conftest.$ac_ext
13527 LIBS=$ac_check_soname_save_LIBS
13529 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13531 $as_echo "not found" >&6; }
13532 FONTCONFIG_CFLAGS=""
13533 else
13534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13535 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13537 cat >>confdefs.h <<_ACEOF
13538 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13539 _ACEOF
13543 else
13544 FONTCONFIG_CFLAGS=""
13546 CPPFLAGS=$ac_save_CPPFLAGS
13547 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13548 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13551 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13552 case "x$with_fontconfig" in
13553 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13554 xno) ;;
13555 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13556 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13557 esac
13561 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13562 then
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13564 $as_echo_n "checking for -lgsm... " >&6; }
13565 if ${ac_cv_lib_soname_gsm+:} false; then :
13566 $as_echo_n "(cached) " >&6
13567 else
13568 ac_check_soname_save_LIBS=$LIBS
13569 LIBS="-lgsm $LIBS"
13570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13571 /* end confdefs.h. */
13573 /* Override any GCC internal prototype to avoid an error.
13574 Use char because int might match the return type of a GCC
13575 builtin and then its argument prototype would still apply. */
13576 #ifdef __cplusplus
13577 extern "C"
13578 #endif
13579 char gsm_create ();
13581 main ()
13583 return gsm_create ();
13585 return 0;
13587 _ACEOF
13588 if ac_fn_c_try_link "$LINENO"; then :
13589 case "$LIBEXT" in
13590 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13591 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'` ;;
13592 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13593 if ${ac_cv_lib_soname_gsm:+false} :; then :
13594 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13595 fi ;;
13596 esac
13598 rm -f core conftest.err conftest.$ac_objext \
13599 conftest$ac_exeext conftest.$ac_ext
13600 LIBS=$ac_check_soname_save_LIBS
13602 if ${ac_cv_lib_soname_gsm:+false} :; then :
13603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13604 $as_echo "not found" >&6; }
13606 else
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13608 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13610 cat >>confdefs.h <<_ACEOF
13611 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13612 _ACEOF
13617 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13618 case "x$with_gsm" in
13619 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13620 xno) ;;
13621 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13622 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13623 esac
13627 if test "x$with_krb5" != "xno"
13628 then
13629 if ${KRB5_CFLAGS:+false} :; then :
13630 if ${PKG_CONFIG+:} false; then :
13631 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13634 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13635 if ${KRB5_LIBS:+false} :; then :
13636 if ${PKG_CONFIG+:} false; then :
13637 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13640 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13642 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13643 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13644 ac_save_CPPFLAGS=$CPPFLAGS
13645 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13646 for ac_header in krb5/krb5.h
13647 do :
13648 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13649 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13650 cat >>confdefs.h <<_ACEOF
13651 #define HAVE_KRB5_KRB5_H 1
13652 _ACEOF
13656 done
13658 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13659 then
13660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13661 $as_echo_n "checking for -lkrb5... " >&6; }
13662 if ${ac_cv_lib_soname_krb5+:} false; then :
13663 $as_echo_n "(cached) " >&6
13664 else
13665 ac_check_soname_save_LIBS=$LIBS
13666 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13668 /* end confdefs.h. */
13670 /* Override any GCC internal prototype to avoid an error.
13671 Use char because int might match the return type of a GCC
13672 builtin and then its argument prototype would still apply. */
13673 #ifdef __cplusplus
13674 extern "C"
13675 #endif
13676 char krb5_is_config_principal ();
13678 main ()
13680 return krb5_is_config_principal ();
13682 return 0;
13684 _ACEOF
13685 if ac_fn_c_try_link "$LINENO"; then :
13686 case "$LIBEXT" in
13687 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13688 dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13689 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13690 if ${ac_cv_lib_soname_krb5:+false} :; then :
13691 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13692 fi ;;
13693 esac
13695 rm -f core conftest.err conftest.$ac_objext \
13696 conftest$ac_exeext conftest.$ac_ext
13697 LIBS=$ac_check_soname_save_LIBS
13699 if ${ac_cv_lib_soname_krb5:+false} :; then :
13700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13701 $as_echo "not found" >&6; }
13702 KRB5_CFLAGS=""
13703 else
13704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13705 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13707 cat >>confdefs.h <<_ACEOF
13708 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13709 _ACEOF
13713 else
13714 KRB5_CFLAGS=""
13716 CPPFLAGS=$ac_save_CPPFLAGS
13717 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13718 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13720 else
13721 with_gssapi=${with_gssapi:-no}
13723 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13724 case "x$with_krb5" in
13725 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
13726 xno) ;;
13727 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
13728 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13729 esac
13733 if test "x$with_gssapi" != "xno"
13734 then
13735 if ${GSSAPI_CFLAGS:+false} :; then :
13736 if ${PKG_CONFIG+:} false; then :
13737 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13740 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13741 if ${GSSAPI_LIBS:+false} :; then :
13742 if ${PKG_CONFIG+:} false; then :
13743 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13746 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13748 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13749 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13750 ac_save_CPPFLAGS=$CPPFLAGS
13751 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13752 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13753 do :
13754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13755 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13756 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13757 cat >>confdefs.h <<_ACEOF
13758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13759 _ACEOF
13763 done
13765 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13766 then
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13768 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13769 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13770 $as_echo_n "(cached) " >&6
13771 else
13772 ac_check_soname_save_LIBS=$LIBS
13773 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13775 /* end confdefs.h. */
13777 /* Override any GCC internal prototype to avoid an error.
13778 Use char because int might match the return type of a GCC
13779 builtin and then its argument prototype would still apply. */
13780 #ifdef __cplusplus
13781 extern "C"
13782 #endif
13783 char gss_init_sec_context ();
13785 main ()
13787 return gss_init_sec_context ();
13789 return 0;
13791 _ACEOF
13792 if ac_fn_c_try_link "$LINENO"; then :
13793 case "$LIBEXT" in
13794 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13795 dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13796 *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13797 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13798 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13799 fi ;;
13800 esac
13802 rm -f core conftest.err conftest.$ac_objext \
13803 conftest$ac_exeext conftest.$ac_ext
13804 LIBS=$ac_check_soname_save_LIBS
13806 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13808 $as_echo "not found" >&6; }
13809 GSSAPI_CFLAGS=""
13810 else
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13812 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13814 cat >>confdefs.h <<_ACEOF
13815 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13816 _ACEOF
13820 else
13821 GSSAPI_CFLAGS=""
13823 CPPFLAGS=$ac_save_CPPFLAGS
13824 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13825 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13828 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13829 case "x$with_gssapi" in
13830 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13831 xno) ;;
13832 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13833 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13834 esac
13838 if test "x$with_jpeg" != "xno"
13839 then
13840 if ${JPEG_CFLAGS:+false} :; then :
13841 if ${PKG_CONFIG+:} false; then :
13842 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13846 if ${JPEG_LIBS:+false} :; then :
13847 if ${PKG_CONFIG+:} false; then :
13848 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13853 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13854 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13855 ac_save_CPPFLAGS=$CPPFLAGS
13856 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13857 for ac_header in jpeglib.h
13858 do :
13859 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13860 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13861 cat >>confdefs.h <<_ACEOF
13862 #define HAVE_JPEGLIB_H 1
13863 _ACEOF
13867 done
13869 if test "$ac_cv_header_jpeglib_h" = "yes"
13870 then
13871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13872 $as_echo_n "checking for -ljpeg... " >&6; }
13873 if ${ac_cv_lib_soname_jpeg+:} false; then :
13874 $as_echo_n "(cached) " >&6
13875 else
13876 ac_check_soname_save_LIBS=$LIBS
13877 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13879 /* end confdefs.h. */
13881 /* Override any GCC internal prototype to avoid an error.
13882 Use char because int might match the return type of a GCC
13883 builtin and then its argument prototype would still apply. */
13884 #ifdef __cplusplus
13885 extern "C"
13886 #endif
13887 char jpeg_start_decompress ();
13889 main ()
13891 return jpeg_start_decompress ();
13893 return 0;
13895 _ACEOF
13896 if ac_fn_c_try_link "$LINENO"; then :
13897 case "$LIBEXT" in
13898 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13899 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'` ;;
13900 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13901 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13902 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13903 fi ;;
13904 esac
13906 rm -f core conftest.err conftest.$ac_objext \
13907 conftest$ac_exeext conftest.$ac_ext
13908 LIBS=$ac_check_soname_save_LIBS
13910 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13912 $as_echo "not found" >&6; }
13913 JPEG_CFLAGS=""
13914 else
13915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13916 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13918 cat >>confdefs.h <<_ACEOF
13919 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13920 _ACEOF
13924 else
13925 JPEG_CFLAGS=""
13927 CPPFLAGS=$ac_save_CPPFLAGS
13928 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13929 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13932 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13933 case "x$with_jpeg" in
13934 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13935 xno) ;;
13936 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13937 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13938 esac
13942 if test "x$with_png" != "xno"
13943 then
13944 if ${PNG_CFLAGS:+false} :; then :
13945 if ${PKG_CONFIG+:} false; then :
13946 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13949 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13950 if ${PNG_LIBS:+false} :; then :
13951 if ${PKG_CONFIG+:} false; then :
13952 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13955 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13957 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13958 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13959 ac_save_CPPFLAGS=$CPPFLAGS
13960 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13961 for ac_header in png.h
13962 do :
13963 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13964 if test "x$ac_cv_header_png_h" = xyes; then :
13965 cat >>confdefs.h <<_ACEOF
13966 #define HAVE_PNG_H 1
13967 _ACEOF
13971 done
13973 if test "$ac_cv_header_png_h" = "yes"
13974 then
13975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13976 $as_echo_n "checking for -lpng... " >&6; }
13977 if ${ac_cv_lib_soname_png+:} false; then :
13978 $as_echo_n "(cached) " >&6
13979 else
13980 ac_check_soname_save_LIBS=$LIBS
13981 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 #ifdef __cplusplus
13989 extern "C"
13990 #endif
13991 char png_create_read_struct ();
13993 main ()
13995 return png_create_read_struct ();
13997 return 0;
13999 _ACEOF
14000 if ac_fn_c_try_link "$LINENO"; then :
14001 case "$LIBEXT" in
14002 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14003 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'` ;;
14004 *) 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'`
14005 if ${ac_cv_lib_soname_png:+false} :; then :
14006 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14007 fi ;;
14008 esac
14010 rm -f core conftest.err conftest.$ac_objext \
14011 conftest$ac_exeext conftest.$ac_ext
14012 LIBS=$ac_check_soname_save_LIBS
14014 if ${ac_cv_lib_soname_png:+false} :; then :
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14016 $as_echo "not found" >&6; }
14017 PNG_CFLAGS=""
14018 else
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
14020 $as_echo "$ac_cv_lib_soname_png" >&6; }
14022 cat >>confdefs.h <<_ACEOF
14023 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
14024 _ACEOF
14028 else
14029 PNG_CFLAGS=""
14031 CPPFLAGS=$ac_save_CPPFLAGS
14032 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14033 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14036 if test "x$ac_cv_lib_soname_png" = "x"; then :
14037 case "x$with_png" in
14038 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14039 xno) ;;
14040 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14041 This is an error since --with-png was requested." "$LINENO" 5 ;;
14042 esac
14046 if test "x$with_tiff" != "xno"
14047 then
14048 if ${TIFF_CFLAGS:+false} :; then :
14049 if ${PKG_CONFIG+:} false; then :
14050 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14054 if ${TIFF_LIBS:+false} :; then :
14055 if ${PKG_CONFIG+:} false; then :
14056 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14061 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14062 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14063 ac_save_CPPFLAGS=$CPPFLAGS
14064 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14065 for ac_header in tiffio.h
14066 do :
14067 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14068 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14069 cat >>confdefs.h <<_ACEOF
14070 #define HAVE_TIFFIO_H 1
14071 _ACEOF
14075 done
14077 if test "$ac_cv_header_tiffio_h" = "yes"
14078 then
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14080 $as_echo_n "checking for -ltiff... " >&6; }
14081 if ${ac_cv_lib_soname_tiff+:} false; then :
14082 $as_echo_n "(cached) " >&6
14083 else
14084 ac_check_soname_save_LIBS=$LIBS
14085 LIBS="-ltiff $TIFF_LIBS $LIBS"
14086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14087 /* end confdefs.h. */
14089 /* Override any GCC internal prototype to avoid an error.
14090 Use char because int might match the return type of a GCC
14091 builtin and then its argument prototype would still apply. */
14092 #ifdef __cplusplus
14093 extern "C"
14094 #endif
14095 char TIFFClientOpen ();
14097 main ()
14099 return TIFFClientOpen ();
14101 return 0;
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"; then :
14105 case "$LIBEXT" in
14106 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14107 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'` ;;
14108 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14109 if ${ac_cv_lib_soname_tiff:+false} :; then :
14110 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14111 fi ;;
14112 esac
14114 rm -f core conftest.err conftest.$ac_objext \
14115 conftest$ac_exeext conftest.$ac_ext
14116 LIBS=$ac_check_soname_save_LIBS
14118 if ${ac_cv_lib_soname_tiff:+false} :; then :
14119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14120 $as_echo "not found" >&6; }
14122 else
14123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14124 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14126 cat >>confdefs.h <<_ACEOF
14127 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14128 _ACEOF
14133 CPPFLAGS=$ac_save_CPPFLAGS
14134 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14135 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14138 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14139 case "x$with_tiff" in
14140 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14141 xno) ;;
14142 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14143 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14144 esac
14148 if test "x$with_mpg123" != "xno"
14149 then
14150 if ${MPG123_CFLAGS:+false} :; then :
14151 if ${PKG_CONFIG+:} false; then :
14152 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14156 if ${MPG123_LIBS:+false} :; then :
14157 if ${PKG_CONFIG+:} false; then :
14158 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14162 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14163 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14164 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14165 ac_save_CPPFLAGS=$CPPFLAGS
14166 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14167 for ac_header in mpg123.h
14168 do :
14169 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14170 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14171 cat >>confdefs.h <<_ACEOF
14172 #define HAVE_MPG123_H 1
14173 _ACEOF
14177 done
14179 if test "$ac_cv_header_mpg123_h" = "yes"
14180 then
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14182 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14183 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14184 $as_echo_n "(cached) " >&6
14185 else
14186 ac_check_lib_save_LIBS=$LIBS
14187 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14189 /* end confdefs.h. */
14191 /* Override any GCC internal prototype to avoid an error.
14192 Use char because int might match the return type of a GCC
14193 builtin and then its argument prototype would still apply. */
14194 #ifdef __cplusplus
14195 extern "C"
14196 #endif
14197 char mpg123_feed ();
14199 main ()
14201 return mpg123_feed ();
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"; then :
14207 ac_cv_lib_mpg123_mpg123_feed=yes
14208 else
14209 ac_cv_lib_mpg123_mpg123_feed=no
14211 rm -f core conftest.err conftest.$ac_objext \
14212 conftest$ac_exeext conftest.$ac_ext
14213 LIBS=$ac_check_lib_save_LIBS
14215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14216 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14217 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14219 else
14220 MPG123_LIBS=""
14223 else
14224 MPG123_CFLAGS=""
14225 MPG123_LIBS=""
14227 CPPFLAGS=$ac_save_CPPFLAGS
14228 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14229 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14232 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14233 case "x$with_mpg123" in
14234 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14235 xno) ;;
14236 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14237 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14238 esac
14239 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14241 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
14243 if test "$ac_cv_header_AL_al_h" = "yes"
14244 then
14245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14246 $as_echo_n "checking for -lopenal... " >&6; }
14247 if ${ac_cv_lib_soname_openal+:} false; then :
14248 $as_echo_n "(cached) " >&6
14249 else
14250 ac_check_soname_save_LIBS=$LIBS
14251 LIBS="-lopenal $LIBS"
14252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14253 /* end confdefs.h. */
14255 /* Override any GCC internal prototype to avoid an error.
14256 Use char because int might match the return type of a GCC
14257 builtin and then its argument prototype would still apply. */
14258 #ifdef __cplusplus
14259 extern "C"
14260 #endif
14261 char alGetSource3i ();
14263 main ()
14265 return alGetSource3i ();
14267 return 0;
14269 _ACEOF
14270 if ac_fn_c_try_link "$LINENO"; then :
14271 case "$LIBEXT" in
14272 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14273 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'` ;;
14274 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14275 if ${ac_cv_lib_soname_openal:+false} :; then :
14276 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14277 fi ;;
14278 esac
14280 rm -f core conftest.err conftest.$ac_objext \
14281 conftest$ac_exeext conftest.$ac_ext
14282 LIBS=$ac_check_soname_save_LIBS
14284 if ${ac_cv_lib_soname_openal:+false} :; then :
14285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14286 $as_echo "not found" >&6; }
14288 else
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14290 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14292 cat >>confdefs.h <<_ACEOF
14293 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14294 _ACEOF
14296 OPENAL_LIBS="-lopenal"
14298 ac_cv_lib_openal=yes
14300 cat >>confdefs.h <<_ACEOF
14301 #define HAVE_OPENAL 1
14302 _ACEOF
14306 if test "x$ac_cv_lib_openal" != xyes; then :
14307 case "x$with_openal" in
14308 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14309 xno) ;;
14310 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14311 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14312 esac
14313 enable_openal32=${enable_openal32:-no}
14316 if test "x$ac_cv_lib_openal" = xyes
14317 then
14318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14319 $as_echo_n "checking for openal-soft... " >&6; }
14320 if ${ac_cv_have_openalsoft+:} false; then :
14321 $as_echo_n "(cached) " >&6
14322 else
14323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14324 /* end confdefs.h. */
14325 #include <AL/al.h>
14326 #include <AL/alc.h>
14327 #include <AL/alext.h>
14328 LPALCRENDERSAMPLESSOFT x;
14330 main ()
14334 return 0;
14336 _ACEOF
14337 if ac_fn_c_try_compile "$LINENO"; then :
14338 ac_cv_have_openalsoft=yes
14339 else
14340 ac_cv_have_openalsoft=no
14342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14345 $as_echo "$ac_cv_have_openalsoft" >&6; }
14347 if test "x$ac_cv_have_openalsoft" != xyes
14348 then
14349 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14350 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14351 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14352 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14353 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14354 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14355 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14356 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14357 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14358 enable_xapofx1_1=${enable_xapofx1_1:-no}
14359 enable_xapofx1_2=${enable_xapofx1_2:-no}
14360 enable_xapofx1_3=${enable_xapofx1_3:-no}
14361 enable_xapofx1_4=${enable_xapofx1_4:-no}
14362 enable_xapofx1_5=${enable_xapofx1_5:-no}
14363 enable_xaudio2_0=${enable_xaudio2_0:-no}
14364 enable_xaudio2_1=${enable_xaudio2_1:-no}
14365 enable_xaudio2_2=${enable_xaudio2_2:-no}
14366 enable_xaudio2_3=${enable_xaudio2_3:-no}
14367 enable_xaudio2_4=${enable_xaudio2_4:-no}
14368 enable_xaudio2_5=${enable_xaudio2_5:-no}
14369 enable_xaudio2_6=${enable_xaudio2_6:-no}
14370 enable_xaudio2_7=${enable_xaudio2_7:-no}
14371 enable_xaudio2_8=${enable_xaudio2_8:-no}
14372 enable_xaudio2_9=${enable_xaudio2_9:-no}
14375 if test "$ac_cv_header_kstat_h" = "yes"
14376 then
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14378 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14379 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14380 $as_echo_n "(cached) " >&6
14381 else
14382 ac_check_lib_save_LIBS=$LIBS
14383 LIBS="-lkstat $LIBS"
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14387 /* Override any GCC internal prototype to avoid an error.
14388 Use char because int might match the return type of a GCC
14389 builtin and then its argument prototype would still apply. */
14390 #ifdef __cplusplus
14391 extern "C"
14392 #endif
14393 char kstat_open ();
14395 main ()
14397 return kstat_open ();
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_lib_kstat_kstat_open=yes
14404 else
14405 ac_cv_lib_kstat_kstat_open=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_lib_save_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14412 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14413 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14415 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14417 KSTAT_LIBS="-lkstat"
14423 if test "$ac_cv_header_libprocstat_h" = "yes"
14424 then
14425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14426 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14427 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14428 $as_echo_n "(cached) " >&6
14429 else
14430 ac_check_lib_save_LIBS=$LIBS
14431 LIBS="-lprocstat $LIBS"
14432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14433 /* end confdefs.h. */
14435 /* Override any GCC internal prototype to avoid an error.
14436 Use char because int might match the return type of a GCC
14437 builtin and then its argument prototype would still apply. */
14438 #ifdef __cplusplus
14439 extern "C"
14440 #endif
14441 char procstat_open_sysctl ();
14443 main ()
14445 return procstat_open_sysctl ();
14447 return 0;
14449 _ACEOF
14450 if ac_fn_c_try_link "$LINENO"; then :
14451 ac_cv_lib_procstat_procstat_open_sysctl=yes
14452 else
14453 ac_cv_lib_procstat_procstat_open_sysctl=no
14455 rm -f core conftest.err conftest.$ac_objext \
14456 conftest$ac_exeext conftest.$ac_ext
14457 LIBS=$ac_check_lib_save_LIBS
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14460 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14461 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14463 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14465 PROCSTAT_LIBS="-lprocstat"
14471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14472 $as_echo_n "checking for -lodbc... " >&6; }
14473 if ${ac_cv_lib_soname_odbc+:} false; then :
14474 $as_echo_n "(cached) " >&6
14475 else
14476 ac_check_soname_save_LIBS=$LIBS
14477 LIBS="-lodbc $LIBS"
14478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14479 /* end confdefs.h. */
14481 /* Override any GCC internal prototype to avoid an error.
14482 Use char because int might match the return type of a GCC
14483 builtin and then its argument prototype would still apply. */
14484 #ifdef __cplusplus
14485 extern "C"
14486 #endif
14487 char SQLConnect ();
14489 main ()
14491 return SQLConnect ();
14493 return 0;
14495 _ACEOF
14496 if ac_fn_c_try_link "$LINENO"; then :
14497 case "$LIBEXT" in
14498 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14499 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'` ;;
14500 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14501 if ${ac_cv_lib_soname_odbc:+false} :; then :
14502 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14503 fi ;;
14504 esac
14506 rm -f core conftest.err conftest.$ac_objext \
14507 conftest$ac_exeext conftest.$ac_ext
14508 LIBS=$ac_check_soname_save_LIBS
14510 if ${ac_cv_lib_soname_odbc:+false} :; then :
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14512 $as_echo "not found" >&6; }
14513 cat >>confdefs.h <<_ACEOF
14514 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14515 _ACEOF
14517 else
14518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14519 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14521 cat >>confdefs.h <<_ACEOF
14522 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14523 _ACEOF
14528 if test "x$with_netapi" != "xno"
14529 then
14530 if ${NETAPI_CFLAGS:+false} :; then :
14531 if ${PKG_CONFIG+:} false; then :
14532 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14536 if ${NETAPI_LIBS:+false} :; then :
14537 if ${PKG_CONFIG+:} false; then :
14538 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14543 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14544 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14545 ac_save_CPPFLAGS=$CPPFLAGS
14546 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14548 $as_echo_n "checking for -lnetapi... " >&6; }
14549 if ${ac_cv_lib_soname_netapi+:} false; then :
14550 $as_echo_n "(cached) " >&6
14551 else
14552 ac_check_soname_save_LIBS=$LIBS
14553 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14555 /* end confdefs.h. */
14557 /* Override any GCC internal prototype to avoid an error.
14558 Use char because int might match the return type of a GCC
14559 builtin and then its argument prototype would still apply. */
14560 #ifdef __cplusplus
14561 extern "C"
14562 #endif
14563 char libnetapi_init ();
14565 main ()
14567 return libnetapi_init ();
14569 return 0;
14571 _ACEOF
14572 if ac_fn_c_try_link "$LINENO"; then :
14573 case "$LIBEXT" in
14574 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14575 dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14576 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14577 if ${ac_cv_lib_soname_netapi:+false} :; then :
14578 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14579 fi ;;
14580 esac
14582 rm -f core conftest.err conftest.$ac_objext \
14583 conftest$ac_exeext conftest.$ac_ext
14584 LIBS=$ac_check_soname_save_LIBS
14586 if ${ac_cv_lib_soname_netapi:+false} :; then :
14587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14588 $as_echo "not found" >&6; }
14589 cat >>confdefs.h <<_ACEOF
14590 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14591 _ACEOF
14593 else
14594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14595 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14597 cat >>confdefs.h <<_ACEOF
14598 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14599 _ACEOF
14603 CPPFLAGS=$ac_save_CPPFLAGS
14604 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14605 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14609 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14610 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14611 then
14612 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14615 if test "x$with_vulkan" != "xno"
14616 then
14617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14618 $as_echo_n "checking for -lvulkan... " >&6; }
14619 if ${ac_cv_lib_soname_vulkan+:} false; then :
14620 $as_echo_n "(cached) " >&6
14621 else
14622 ac_check_soname_save_LIBS=$LIBS
14623 LIBS="-lvulkan $LIBS"
14624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14625 /* end confdefs.h. */
14627 /* Override any GCC internal prototype to avoid an error.
14628 Use char because int might match the return type of a GCC
14629 builtin and then its argument prototype would still apply. */
14630 #ifdef __cplusplus
14631 extern "C"
14632 #endif
14633 char vkGetInstanceProcAddr ();
14635 main ()
14637 return vkGetInstanceProcAddr ();
14639 return 0;
14641 _ACEOF
14642 if ac_fn_c_try_link "$LINENO"; then :
14643 case "$LIBEXT" in
14644 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14645 dylib) ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
14646 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14647 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14648 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14649 fi ;;
14650 esac
14652 rm -f core conftest.err conftest.$ac_objext \
14653 conftest$ac_exeext conftest.$ac_ext
14654 LIBS=$ac_check_soname_save_LIBS
14656 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14658 $as_echo "not found" >&6; }
14660 else
14661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14662 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14664 cat >>confdefs.h <<_ACEOF
14665 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14666 _ACEOF
14671 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14672 case "x$with_vulkan" in
14673 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14674 xno) ;;
14675 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14676 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14677 esac
14682 EXTRACFLAGS=""
14684 if test "x${GCC}" = "xyes"
14685 then
14686 EXTRACFLAGS="-Wall -pipe"
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14689 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14690 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 if test "$cross_compiling" = yes; then :
14694 ac_cv_c_gcc_strength_bug="no"
14695 else
14696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14697 /* end confdefs.h. */
14698 int L[4] = {0,1,2,3};
14700 main ()
14702 static int Array[3];
14703 unsigned int B = 3;
14704 int i;
14705 for(i=0; i<B; i++) Array[i] = i - 3;
14706 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14707 L[i] = 4;
14708 return (Array[1] != -2 || L[2] != 3)
14710 return 0;
14712 _ACEOF
14713 if ac_fn_c_try_run "$LINENO"; then :
14714 ac_cv_c_gcc_strength_bug="no"
14715 else
14716 ac_cv_c_gcc_strength_bug="yes"
14718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14719 conftest.$ac_objext conftest.beam conftest.$ac_ext
14723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14724 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14725 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14726 then
14727 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14731 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14732 if ${ac_cv_cflags__fno_builtin+:} false; then :
14733 $as_echo_n "(cached) " >&6
14734 else
14735 ac_wine_try_cflags_saved=$CFLAGS
14736 CFLAGS="$CFLAGS -fno-builtin"
14737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14738 /* end confdefs.h. */
14739 int main(int argc, char **argv) { return 0; }
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_cflags__fno_builtin=yes
14743 else
14744 ac_cv_cflags__fno_builtin=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 CFLAGS=$ac_wine_try_cflags_saved
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14751 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14752 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14753 BUILTINFLAG="-fno-builtin"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14757 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14758 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14759 $as_echo_n "(cached) " >&6
14760 else
14761 ac_wine_try_cflags_saved=$CFLAGS
14762 CFLAGS="$CFLAGS -fno-strict-aliasing"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14765 int main(int argc, char **argv) { return 0; }
14766 _ACEOF
14767 if ac_fn_c_try_link "$LINENO"; then :
14768 ac_cv_cflags__fno_strict_aliasing=yes
14769 else
14770 ac_cv_cflags__fno_strict_aliasing=no
14772 rm -f core conftest.err conftest.$ac_objext \
14773 conftest$ac_exeext conftest.$ac_ext
14774 CFLAGS=$ac_wine_try_cflags_saved
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14777 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14778 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14779 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14782 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14783 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14784 $as_echo_n "(cached) " >&6
14785 else
14786 ac_wine_try_cflags_saved=$CFLAGS
14787 CFLAGS="$CFLAGS -fexcess-precision=standard"
14788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14789 /* end confdefs.h. */
14790 int main(int argc, char **argv) { return 0; }
14791 _ACEOF
14792 if ac_fn_c_try_link "$LINENO"; then :
14793 ac_cv_cflags__fexcess_precision_standard=yes
14794 else
14795 ac_cv_cflags__fexcess_precision_standard=no
14797 rm -f core conftest.err conftest.$ac_objext \
14798 conftest$ac_exeext conftest.$ac_ext
14799 CFLAGS=$ac_wine_try_cflags_saved
14801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14802 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14803 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14804 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14807 saved_CFLAGS=$CFLAGS
14808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14809 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14810 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14811 $as_echo_n "(cached) " >&6
14812 else
14813 ac_wine_try_cflags_saved=$CFLAGS
14814 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14816 /* end confdefs.h. */
14817 int main(int argc, char **argv) { return 0; }
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_cflags__Werror_unknown_warning_option=yes
14821 else
14822 ac_cv_cflags__Werror_unknown_warning_option=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 CFLAGS=$ac_wine_try_cflags_saved
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14829 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14830 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14831 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14834 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14835 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14836 $as_echo_n "(cached) " >&6
14837 else
14838 ac_wine_try_cflags_saved=$CFLAGS
14839 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14841 /* end confdefs.h. */
14842 int main(int argc, char **argv) { return 0; }
14843 _ACEOF
14844 if ac_fn_c_try_link "$LINENO"; then :
14845 ac_cv_cflags__Wdeclaration_after_statement=yes
14846 else
14847 ac_cv_cflags__Wdeclaration_after_statement=no
14849 rm -f core conftest.err conftest.$ac_objext \
14850 conftest$ac_exeext conftest.$ac_ext
14851 CFLAGS=$ac_wine_try_cflags_saved
14853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14854 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14855 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14856 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14859 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14860 if ${ac_cv_cflags__Wempty_body+:} false; then :
14861 $as_echo_n "(cached) " >&6
14862 else
14863 ac_wine_try_cflags_saved=$CFLAGS
14864 CFLAGS="$CFLAGS -Wempty-body"
14865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14866 /* end confdefs.h. */
14867 int main(int argc, char **argv) { return 0; }
14868 _ACEOF
14869 if ac_fn_c_try_link "$LINENO"; then :
14870 ac_cv_cflags__Wempty_body=yes
14871 else
14872 ac_cv_cflags__Wempty_body=no
14874 rm -f core conftest.err conftest.$ac_objext \
14875 conftest$ac_exeext conftest.$ac_ext
14876 CFLAGS=$ac_wine_try_cflags_saved
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14879 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14880 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14881 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14884 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14885 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14886 $as_echo_n "(cached) " >&6
14887 else
14888 ac_wine_try_cflags_saved=$CFLAGS
14889 CFLAGS="$CFLAGS -Wignored-qualifiers"
14890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14891 /* end confdefs.h. */
14892 int main(int argc, char **argv) { return 0; }
14893 _ACEOF
14894 if ac_fn_c_try_link "$LINENO"; then :
14895 ac_cv_cflags__Wignored_qualifiers=yes
14896 else
14897 ac_cv_cflags__Wignored_qualifiers=no
14899 rm -f core conftest.err conftest.$ac_objext \
14900 conftest$ac_exeext conftest.$ac_ext
14901 CFLAGS=$ac_wine_try_cflags_saved
14903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14904 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14905 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14906 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14909 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14910 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14911 $as_echo_n "(cached) " >&6
14912 else
14913 ac_wine_try_cflags_saved=$CFLAGS
14914 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14916 /* end confdefs.h. */
14917 int main(int argc, char **argv) { return 0; }
14918 _ACEOF
14919 if ac_fn_c_try_link "$LINENO"; then :
14920 ac_cv_cflags__Wpacked_not_aligned=yes
14921 else
14922 ac_cv_cflags__Wpacked_not_aligned=no
14924 rm -f core conftest.err conftest.$ac_objext \
14925 conftest$ac_exeext conftest.$ac_ext
14926 CFLAGS=$ac_wine_try_cflags_saved
14928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14929 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14930 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14931 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14934 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14935 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14936 $as_echo_n "(cached) " >&6
14937 else
14938 ac_wine_try_cflags_saved=$CFLAGS
14939 CFLAGS="$CFLAGS -Wpragma-pack"
14940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14941 /* end confdefs.h. */
14942 int main(int argc, char **argv) { return 0; }
14943 _ACEOF
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_cflags__Wpragma_pack=yes
14946 else
14947 ac_cv_cflags__Wpragma_pack=no
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 CFLAGS=$ac_wine_try_cflags_saved
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14954 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14955 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14956 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14959 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14960 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14961 $as_echo_n "(cached) " >&6
14962 else
14963 ac_wine_try_cflags_saved=$CFLAGS
14964 CFLAGS="$CFLAGS -Wshift-overflow=2"
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 int main(int argc, char **argv) { return 0; }
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 ac_cv_cflags__Wshift_overflow_2=yes
14971 else
14972 ac_cv_cflags__Wshift_overflow_2=no
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14976 CFLAGS=$ac_wine_try_cflags_saved
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14979 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14980 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14981 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14984 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14985 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 ac_wine_try_cflags_saved=$CFLAGS
14989 CFLAGS="$CFLAGS -Wstrict-prototypes"
14990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14991 /* end confdefs.h. */
14992 int main(int argc, char **argv) { return 0; }
14993 _ACEOF
14994 if ac_fn_c_try_link "$LINENO"; then :
14995 ac_cv_cflags__Wstrict_prototypes=yes
14996 else
14997 ac_cv_cflags__Wstrict_prototypes=no
14999 rm -f core conftest.err conftest.$ac_objext \
15000 conftest$ac_exeext conftest.$ac_ext
15001 CFLAGS=$ac_wine_try_cflags_saved
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
15004 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
15005 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
15006 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
15009 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
15010 if ${ac_cv_cflags__Wtype_limits+:} false; then :
15011 $as_echo_n "(cached) " >&6
15012 else
15013 ac_wine_try_cflags_saved=$CFLAGS
15014 CFLAGS="$CFLAGS -Wtype-limits"
15015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15016 /* end confdefs.h. */
15017 int main(int argc, char **argv) { return 0; }
15018 _ACEOF
15019 if ac_fn_c_try_link "$LINENO"; then :
15020 ac_cv_cflags__Wtype_limits=yes
15021 else
15022 ac_cv_cflags__Wtype_limits=no
15024 rm -f core conftest.err conftest.$ac_objext \
15025 conftest$ac_exeext conftest.$ac_ext
15026 CFLAGS=$ac_wine_try_cflags_saved
15028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
15029 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
15030 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
15031 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
15034 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15035 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15036 $as_echo_n "(cached) " >&6
15037 else
15038 ac_wine_try_cflags_saved=$CFLAGS
15039 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15041 /* end confdefs.h. */
15042 int main(int argc, char **argv) { return 0; }
15043 _ACEOF
15044 if ac_fn_c_try_link "$LINENO"; then :
15045 ac_cv_cflags__Wunused_but_set_parameter=yes
15046 else
15047 ac_cv_cflags__Wunused_but_set_parameter=no
15049 rm -f core conftest.err conftest.$ac_objext \
15050 conftest$ac_exeext conftest.$ac_ext
15051 CFLAGS=$ac_wine_try_cflags_saved
15053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15054 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15055 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15056 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15059 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15060 if ${ac_cv_cflags__Wvla+:} false; then :
15061 $as_echo_n "(cached) " >&6
15062 else
15063 ac_wine_try_cflags_saved=$CFLAGS
15064 CFLAGS="$CFLAGS -Wvla"
15065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15066 /* end confdefs.h. */
15067 int main(int argc, char **argv) { return 0; }
15068 _ACEOF
15069 if ac_fn_c_try_link "$LINENO"; then :
15070 ac_cv_cflags__Wvla=yes
15071 else
15072 ac_cv_cflags__Wvla=no
15074 rm -f core conftest.err conftest.$ac_objext \
15075 conftest$ac_exeext conftest.$ac_ext
15076 CFLAGS=$ac_wine_try_cflags_saved
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15079 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15080 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15081 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15084 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15085 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15086 $as_echo_n "(cached) " >&6
15087 else
15088 ac_wine_try_cflags_saved=$CFLAGS
15089 CFLAGS="$CFLAGS -Wwrite-strings"
15090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15091 /* end confdefs.h. */
15092 int main(int argc, char **argv) { return 0; }
15093 _ACEOF
15094 if ac_fn_c_try_link "$LINENO"; then :
15095 ac_cv_cflags__Wwrite_strings=yes
15096 else
15097 ac_cv_cflags__Wwrite_strings=no
15099 rm -f core conftest.err conftest.$ac_objext \
15100 conftest$ac_exeext conftest.$ac_ext
15101 CFLAGS=$ac_wine_try_cflags_saved
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15104 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15105 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15106 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15110 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15111 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_wine_try_cflags_saved=$CFLAGS
15115 CFLAGS="$CFLAGS -Wpointer-arith"
15116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15117 /* end confdefs.h. */
15118 int main(int argc, char **argv) { return 0; }
15119 _ACEOF
15120 if ac_fn_c_try_link "$LINENO"; then :
15121 ac_cv_cflags__Wpointer_arith=yes
15122 else
15123 ac_cv_cflags__Wpointer_arith=no
15125 rm -f core conftest.err conftest.$ac_objext \
15126 conftest$ac_exeext conftest.$ac_ext
15127 CFLAGS=$ac_wine_try_cflags_saved
15129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15130 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15131 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15132 saved_string_h_CFLAGS=$CFLAGS
15133 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15135 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15136 if ${ac_cv_c_string_h_warnings+:} false; then :
15137 $as_echo_n "(cached) " >&6
15138 else
15139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15140 /* end confdefs.h. */
15141 #include <string.h>
15143 main ()
15147 return 0;
15149 _ACEOF
15150 if ac_fn_c_try_compile "$LINENO"; then :
15151 ac_cv_c_string_h_warnings=no
15152 else
15153 ac_cv_c_string_h_warnings=yes
15155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15158 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15159 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15160 CFLAGS=$saved_string_h_CFLAGS
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15164 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15165 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168 ac_wine_try_cflags_saved=$CFLAGS
15169 CFLAGS="$CFLAGS -Wlogical-op"
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15172 int main(int argc, char **argv) { return 0; }
15173 _ACEOF
15174 if ac_fn_c_try_link "$LINENO"; then :
15175 ac_cv_cflags__Wlogical_op=yes
15176 else
15177 ac_cv_cflags__Wlogical_op=no
15179 rm -f core conftest.err conftest.$ac_objext \
15180 conftest$ac_exeext conftest.$ac_ext
15181 CFLAGS=$ac_wine_try_cflags_saved
15183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15184 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15185 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15186 saved_string_h_CFLAGS=$CFLAGS
15187 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15189 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15190 if ${ac_cv_c_logicalop_noisy+:} false; then :
15191 $as_echo_n "(cached) " >&6
15192 else
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 #include <string.h>
15196 char*f(const char *h,char n) {return strchr(h,n);}
15198 main ()
15202 return 0;
15204 _ACEOF
15205 if ac_fn_c_try_compile "$LINENO"; then :
15206 ac_cv_c_logicalop_noisy=no
15207 else
15208 ac_cv_c_logicalop_noisy=yes
15210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15213 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15214 CFLAGS=$saved_string_h_CFLAGS
15215 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15218 CFLAGS=$saved_CFLAGS
15220 for ac_flag in $CFLAGS; do
15221 case $ac_flag in
15222 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15223 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15224 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15225 $as_echo_n "(cached) " >&6
15226 else
15227 ac_wine_try_cflags_saved=$CFLAGS
15228 CFLAGS="$CFLAGS -gdwarf-2"
15229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15230 /* end confdefs.h. */
15231 int main(int argc, char **argv) { return 0; }
15232 _ACEOF
15233 if ac_fn_c_try_link "$LINENO"; then :
15234 ac_cv_cflags__gdwarf_2=yes
15235 else
15236 ac_cv_cflags__gdwarf_2=no
15238 rm -f core conftest.err conftest.$ac_objext \
15239 conftest$ac_exeext conftest.$ac_ext
15240 CFLAGS=$ac_wine_try_cflags_saved
15242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15243 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15244 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15245 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15248 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15249 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15250 $as_echo_n "(cached) " >&6
15251 else
15252 ac_wine_try_cflags_saved=$CFLAGS
15253 CFLAGS="$CFLAGS -gstrict-dwarf"
15254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15255 /* end confdefs.h. */
15256 int main(int argc, char **argv) { return 0; }
15257 _ACEOF
15258 if ac_fn_c_try_link "$LINENO"; then :
15259 ac_cv_cflags__gstrict_dwarf=yes
15260 else
15261 ac_cv_cflags__gstrict_dwarf=no
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15265 CFLAGS=$ac_wine_try_cflags_saved
15267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15268 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15269 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15270 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15271 fi ;;
15272 esac
15273 done
15275 case $host_cpu in
15276 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15277 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15278 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15279 $as_echo_n "(cached) " >&6
15280 else
15281 ac_wine_try_cflags_saved=$CFLAGS
15282 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15284 /* end confdefs.h. */
15285 int main(int argc, char **argv) { return 0; }
15286 _ACEOF
15287 if ac_fn_c_try_link "$LINENO"; then :
15288 ac_cv_cflags__fno_omit_frame_pointer=yes
15289 else
15290 ac_cv_cflags__fno_omit_frame_pointer=no
15292 rm -f core conftest.err conftest.$ac_objext \
15293 conftest$ac_exeext conftest.$ac_ext
15294 CFLAGS=$ac_wine_try_cflags_saved
15296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15297 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15298 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15299 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15300 fi ;;
15301 esac
15303 case $host in
15304 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15305 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15306 if ${ac_cv_cflags__Wno_format+:} false; then :
15307 $as_echo_n "(cached) " >&6
15308 else
15309 ac_wine_try_cflags_saved=$CFLAGS
15310 CFLAGS="$CFLAGS -Wno-format"
15311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15312 /* end confdefs.h. */
15313 int main(int argc, char **argv) { return 0; }
15314 _ACEOF
15315 if ac_fn_c_try_link "$LINENO"; then :
15316 ac_cv_cflags__Wno_format=yes
15317 else
15318 ac_cv_cflags__Wno_format=no
15320 rm -f core conftest.err conftest.$ac_objext \
15321 conftest$ac_exeext conftest.$ac_ext
15322 CFLAGS=$ac_wine_try_cflags_saved
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15325 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15326 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15327 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15328 fi ;;
15329 esac
15331 if test "x$enable_maintainer_mode" = "xyes"
15332 then
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15334 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15335 if ${ac_cv_cflags__Werror+:} false; then :
15336 $as_echo_n "(cached) " >&6
15337 else
15338 ac_wine_try_cflags_saved=$CFLAGS
15339 CFLAGS="$CFLAGS -Werror"
15340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15341 /* end confdefs.h. */
15342 int main(int argc, char **argv) { return 0; }
15343 _ACEOF
15344 if ac_fn_c_try_link "$LINENO"; then :
15345 ac_cv_cflags__Werror=yes
15346 else
15347 ac_cv_cflags__Werror=no
15349 rm -f core conftest.err conftest.$ac_objext \
15350 conftest$ac_exeext conftest.$ac_ext
15351 CFLAGS=$ac_wine_try_cflags_saved
15353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15354 $as_echo "$ac_cv_cflags__Werror" >&6; }
15355 if test "x$ac_cv_cflags__Werror" = xyes; then :
15356 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15360 saved_CFLAGS="$CFLAGS"
15361 CFLAGS="$CFLAGS -Werror"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15363 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15364 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15365 $as_echo_n "(cached) " >&6
15366 else
15367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15368 /* end confdefs.h. */
15369 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15371 main ()
15375 return 0;
15377 _ACEOF
15378 if ac_fn_c_try_compile "$LINENO"; then :
15379 ac_cv_have_ms_hook_prologue="yes"
15380 else
15381 ac_cv_have_ms_hook_prologue="no"
15383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15386 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15387 CFLAGS="$saved_CFLAGS"
15388 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15389 then
15391 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15393 else
15394 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15401 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15402 if ${ac_cv_c_fortify_enabled+:} false; then :
15403 $as_echo_n "(cached) " >&6
15404 else
15405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15406 /* end confdefs.h. */
15407 #include <string.h>
15409 main ()
15411 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15412 #error Fortify enabled
15413 #endif
15415 return 0;
15417 _ACEOF
15418 if ac_fn_c_try_compile "$LINENO"; then :
15419 ac_cv_c_fortify_enabled=no
15420 else
15421 ac_cv_c_fortify_enabled=yes
15423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15426 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15427 if test "$ac_cv_c_fortify_enabled" = yes
15428 then
15429 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15434 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15435 if ${ac_cv_c_extern_prefix+:} false; then :
15436 $as_echo_n "(cached) " >&6
15437 else
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15440 extern int ac_test;
15442 main ()
15444 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15446 return 0;
15448 _ACEOF
15449 if ac_fn_c_try_link "$LINENO"; then :
15450 ac_cv_c_extern_prefix="yes"
15451 else
15452 ac_cv_c_extern_prefix="no"
15454 rm -f core conftest.err conftest.$ac_objext \
15455 conftest$ac_exeext conftest.$ac_ext
15457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15458 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15460 case $host_cpu in
15461 *i[3456789]86*)
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15463 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15464 if ${ac_cv_c_stdcall_suffix+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15468 /* end confdefs.h. */
15469 #ifndef _MSC_VER
15470 #define __stdcall __attribute__((__stdcall__))
15471 #endif
15472 int __stdcall ac_test(int i) { return i; }
15474 main ()
15476 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15478 return 0;
15480 _ACEOF
15481 if ac_fn_c_try_link "$LINENO"; then :
15482 ac_cv_c_stdcall_suffix="yes"
15483 else
15484 ac_cv_c_stdcall_suffix="no"
15486 rm -f core conftest.err conftest.$ac_objext \
15487 conftest$ac_exeext conftest.$ac_ext
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15490 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15491 *) ac_cv_c_stdcall_suffix="no" ;;
15492 esac
15495 if test "$ac_cv_c_extern_prefix" = "yes"
15496 then
15497 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15499 asm_name_prefix="_"
15500 else
15501 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15503 asm_name_prefix=""
15507 if test "$ac_cv_c_stdcall_suffix" = "yes"
15508 then
15509 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15511 else
15512 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15518 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15519 if ${ac_cv_asm_func_def+:} false; then :
15520 $as_echo_n "(cached) " >&6
15521 else
15522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15523 /* end confdefs.h. */
15526 main ()
15528 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15530 return 0;
15532 _ACEOF
15533 if ac_fn_c_try_link "$LINENO"; then :
15534 ac_cv_asm_func_def=".def"
15535 else
15536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15537 /* end confdefs.h. */
15540 main ()
15542 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15544 return 0;
15546 _ACEOF
15547 if ac_fn_c_try_link "$LINENO"; then :
15548 ac_cv_asm_func_def=".type @function"
15549 else
15550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15551 /* end confdefs.h. */
15554 main ()
15556 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15558 return 0;
15560 _ACEOF
15561 if ac_fn_c_try_link "$LINENO"; then :
15562 ac_cv_asm_func_def=".type 2"
15563 else
15564 ac_cv_asm_func_def="unknown"
15566 rm -f core conftest.err conftest.$ac_objext \
15567 conftest$ac_exeext conftest.$ac_ext
15569 rm -f core conftest.err conftest.$ac_objext \
15570 conftest$ac_exeext conftest.$ac_ext
15572 rm -f core conftest.err conftest.$ac_objext \
15573 conftest$ac_exeext conftest.$ac_ext
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15576 $as_echo "$ac_cv_asm_func_def" >&6; }
15579 case "$ac_cv_asm_func_def" in
15580 ".def")
15581 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15583 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15584 ".type @function")
15585 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15587 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15588 ".type 2")
15589 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15591 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15593 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15595 asm_func_header="" ;;
15596 esac
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15599 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15600 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15601 $as_echo_n "(cached) " >&6
15602 else
15603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15604 /* end confdefs.h. */
15605 asm(".text\n\t.long 0");
15607 main ()
15611 return 0;
15613 _ACEOF
15614 if ac_fn_c_try_compile "$LINENO"; then :
15615 ac_cv_c_asm_outside_funcs="yes"
15616 else
15617 ac_cv_c_asm_outside_funcs="no"
15619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15622 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15625 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15626 if ${ac_cv_c_dot_previous+:} false; then :
15627 $as_echo_n "(cached) " >&6
15628 else
15629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15630 /* end confdefs.h. */
15633 main ()
15635 asm(".text\nac_test:\t.long 0\n\t.previous");
15637 return 0;
15639 _ACEOF
15640 if ac_fn_c_try_link "$LINENO"; then :
15641 ac_cv_c_dot_previous="yes"
15642 else
15643 ac_cv_c_dot_previous="no"
15645 rm -f core conftest.err conftest.$ac_objext \
15646 conftest$ac_exeext conftest.$ac_ext
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15649 $as_echo "$ac_cv_c_dot_previous" >&6; }
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15652 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15653 if ${ac_cv_c_cfi_support+:} false; then :
15654 $as_echo_n "(cached) " >&6
15655 else
15656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15657 /* end confdefs.h. */
15658 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15660 main ()
15664 return 0;
15666 _ACEOF
15667 if ac_fn_c_try_compile "$LINENO"; then :
15668 ac_cv_c_cfi_support="yes"
15669 else
15670 ac_cv_c_cfi_support="no"
15672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15675 $as_echo "$ac_cv_c_cfi_support" >&6; }
15677 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15678 asm_func_trailer=""
15679 if test "$ac_cv_c_dot_previous" = "yes"
15680 then
15681 asm_func_trailer="\\n\\t.previous"
15683 if test "$ac_cv_c_cfi_support" = "yes"
15684 then
15685 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15686 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15688 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15690 UNWINDFLAGS=-fasynchronous-unwind-tables
15692 else
15693 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15695 if test "x$enable_win64" = "xyes"
15696 then
15697 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15701 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15704 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15705 then
15706 cat >>confdefs.h <<_ACEOF
15707 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15708 _ACEOF
15710 else
15711 cat >>confdefs.h <<_ACEOF
15712 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15713 _ACEOF
15717 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15720 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15724 case $build_os in
15725 cygwin*|mingw32*) TOOLSEXT=".exe"
15727 esac
15729 case $host_os in
15730 linux*)
15731 case $host_cpu in
15732 *i[3456789]86*|x86_64*|*aarch64*)
15733 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15734 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15736 esac
15738 esac
15741 ac_save_CFLAGS="$CFLAGS"
15742 CFLAGS="$CFLAGS $BUILTINFLAG"
15743 for ac_func in \
15744 __res_get_state \
15745 __res_getservers \
15746 _finite \
15747 _isnan \
15748 _pclose \
15749 _popen \
15750 _snprintf \
15751 _spawnvp \
15752 _strdup \
15753 _stricmp \
15754 _strnicmp \
15755 _strtoi64 \
15756 _strtoui64 \
15757 _vsnprintf \
15758 asctime_r \
15759 chsize \
15760 dlopen \
15761 epoll_create \
15762 ffs \
15763 finitef \
15764 fnmatch \
15765 fork \
15766 fpclass \
15767 fstatfs \
15768 fstatvfs \
15769 ftruncate \
15770 futimens \
15771 futimes \
15772 futimesat \
15773 getattrlist \
15774 getauxval \
15775 getifaddrs \
15776 getopt_long_only \
15777 getpwuid \
15778 gettimeofday \
15779 getuid \
15780 isnanf \
15781 kqueue \
15782 lstat \
15783 memmove \
15784 mmap \
15785 pclose \
15786 pipe2 \
15787 poll \
15788 popen \
15789 port_create \
15790 prctl \
15791 pread \
15792 proc_pidinfo \
15793 pwrite \
15794 readdir \
15795 readlink \
15796 sched_yield \
15797 select \
15798 setproctitle \
15799 setprogname \
15800 setrlimit \
15801 settimeofday \
15802 sigaltstack \
15803 sigprocmask \
15804 snprintf \
15805 statfs \
15806 statvfs \
15807 strcasecmp \
15808 strdup \
15809 strerror \
15810 strncasecmp \
15811 strnlen \
15812 strtold \
15813 strtoll \
15814 strtoull \
15815 symlink \
15816 sysinfo \
15817 tcdrain \
15818 thr_kill2 \
15819 timegm \
15820 usleep \
15821 vsnprintf
15823 do :
15824 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15825 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15826 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15827 cat >>confdefs.h <<_ACEOF
15828 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15829 _ACEOF
15832 done
15834 CFLAGS="$ac_save_CFLAGS"
15836 if test "$ac_cv_func_dlopen" = no
15837 then
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15839 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15840 if ${ac_cv_lib_dl_dlopen+:} false; then :
15841 $as_echo_n "(cached) " >&6
15842 else
15843 ac_check_lib_save_LIBS=$LIBS
15844 LIBS="-ldl $LIBS"
15845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15846 /* end confdefs.h. */
15848 /* Override any GCC internal prototype to avoid an error.
15849 Use char because int might match the return type of a GCC
15850 builtin and then its argument prototype would still apply. */
15851 #ifdef __cplusplus
15852 extern "C"
15853 #endif
15854 char dlopen ();
15856 main ()
15858 return dlopen ();
15860 return 0;
15862 _ACEOF
15863 if ac_fn_c_try_link "$LINENO"; then :
15864 ac_cv_lib_dl_dlopen=yes
15865 else
15866 ac_cv_lib_dl_dlopen=no
15868 rm -f core conftest.err conftest.$ac_objext \
15869 conftest$ac_exeext conftest.$ac_ext
15870 LIBS=$ac_check_lib_save_LIBS
15872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15873 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15874 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15875 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15876 DL_LIBS="-ldl"
15881 ac_wine_check_funcs_save_LIBS="$LIBS"
15882 LIBS="$LIBS $DL_LIBS"
15883 for ac_func in dladdr
15884 do :
15885 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15886 if test "x$ac_cv_func_dladdr" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_DLADDR 1
15889 _ACEOF
15892 done
15894 LIBS="$ac_wine_check_funcs_save_LIBS"
15896 if test "$ac_cv_func_poll" = no
15897 then
15898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15899 $as_echo_n "checking for poll in -lpoll... " >&6; }
15900 if ${ac_cv_lib_poll_poll+:} false; then :
15901 $as_echo_n "(cached) " >&6
15902 else
15903 ac_check_lib_save_LIBS=$LIBS
15904 LIBS="-lpoll $LIBS"
15905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15906 /* end confdefs.h. */
15908 /* Override any GCC internal prototype to avoid an error.
15909 Use char because int might match the return type of a GCC
15910 builtin and then its argument prototype would still apply. */
15911 #ifdef __cplusplus
15912 extern "C"
15913 #endif
15914 char poll ();
15916 main ()
15918 return poll ();
15920 return 0;
15922 _ACEOF
15923 if ac_fn_c_try_link "$LINENO"; then :
15924 ac_cv_lib_poll_poll=yes
15925 else
15926 ac_cv_lib_poll_poll=no
15928 rm -f core conftest.err conftest.$ac_objext \
15929 conftest$ac_exeext conftest.$ac_ext
15930 LIBS=$ac_check_lib_save_LIBS
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15933 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15934 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15935 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15936 POLL_LIBS="-lpoll"
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15943 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15944 if ${ac_cv_search_gethostbyname+:} false; then :
15945 $as_echo_n "(cached) " >&6
15946 else
15947 ac_func_search_save_LIBS=$LIBS
15948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15949 /* end confdefs.h. */
15951 /* Override any GCC internal prototype to avoid an error.
15952 Use char because int might match the return type of a GCC
15953 builtin and then its argument prototype would still apply. */
15954 #ifdef __cplusplus
15955 extern "C"
15956 #endif
15957 char gethostbyname ();
15959 main ()
15961 return gethostbyname ();
15963 return 0;
15965 _ACEOF
15966 for ac_lib in '' nsl; do
15967 if test -z "$ac_lib"; then
15968 ac_res="none required"
15969 else
15970 ac_res=-l$ac_lib
15971 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15973 if ac_fn_c_try_link "$LINENO"; then :
15974 ac_cv_search_gethostbyname=$ac_res
15976 rm -f core conftest.err conftest.$ac_objext \
15977 conftest$ac_exeext
15978 if ${ac_cv_search_gethostbyname+:} false; then :
15979 break
15981 done
15982 if ${ac_cv_search_gethostbyname+:} false; then :
15984 else
15985 ac_cv_search_gethostbyname=no
15987 rm conftest.$ac_ext
15988 LIBS=$ac_func_search_save_LIBS
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15991 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15992 ac_res=$ac_cv_search_gethostbyname
15993 if test "$ac_res" != no; then :
15994 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
16000 $as_echo_n "checking for library containing connect... " >&6; }
16001 if ${ac_cv_search_connect+:} false; then :
16002 $as_echo_n "(cached) " >&6
16003 else
16004 ac_func_search_save_LIBS=$LIBS
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16011 #ifdef __cplusplus
16012 extern "C"
16013 #endif
16014 char connect ();
16016 main ()
16018 return connect ();
16020 return 0;
16022 _ACEOF
16023 for ac_lib in '' socket; do
16024 if test -z "$ac_lib"; then
16025 ac_res="none required"
16026 else
16027 ac_res=-l$ac_lib
16028 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16030 if ac_fn_c_try_link "$LINENO"; then :
16031 ac_cv_search_connect=$ac_res
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext
16035 if ${ac_cv_search_connect+:} false; then :
16036 break
16038 done
16039 if ${ac_cv_search_connect+:} false; then :
16041 else
16042 ac_cv_search_connect=no
16044 rm conftest.$ac_ext
16045 LIBS=$ac_func_search_save_LIBS
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16048 $as_echo "$ac_cv_search_connect" >&6; }
16049 ac_res=$ac_cv_search_connect
16050 if test "$ac_res" != no; then :
16051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16057 $as_echo_n "checking for library containing inet_aton... " >&6; }
16058 if ${ac_cv_search_inet_aton+:} false; then :
16059 $as_echo_n "(cached) " >&6
16060 else
16061 ac_func_search_save_LIBS=$LIBS
16062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16063 /* end confdefs.h. */
16065 /* Override any GCC internal prototype to avoid an error.
16066 Use char because int might match the return type of a GCC
16067 builtin and then its argument prototype would still apply. */
16068 #ifdef __cplusplus
16069 extern "C"
16070 #endif
16071 char inet_aton ();
16073 main ()
16075 return inet_aton ();
16077 return 0;
16079 _ACEOF
16080 for ac_lib in '' resolv; do
16081 if test -z "$ac_lib"; then
16082 ac_res="none required"
16083 else
16084 ac_res=-l$ac_lib
16085 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16087 if ac_fn_c_try_link "$LINENO"; then :
16088 ac_cv_search_inet_aton=$ac_res
16090 rm -f core conftest.err conftest.$ac_objext \
16091 conftest$ac_exeext
16092 if ${ac_cv_search_inet_aton+:} false; then :
16093 break
16095 done
16096 if ${ac_cv_search_inet_aton+:} false; then :
16098 else
16099 ac_cv_search_inet_aton=no
16101 rm conftest.$ac_ext
16102 LIBS=$ac_func_search_save_LIBS
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16105 $as_echo "$ac_cv_search_inet_aton" >&6; }
16106 ac_res=$ac_cv_search_inet_aton
16107 if test "$ac_res" != no; then :
16108 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16113 for ac_func in \
16114 getaddrinfo \
16115 getnameinfo \
16116 getnetbyname \
16117 getprotobyname \
16118 getprotobynumber \
16119 getservbyport \
16120 inet_addr \
16121 inet_network \
16122 inet_ntop \
16123 inet_pton \
16124 sendmsg \
16125 socketpair \
16127 do :
16128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16131 cat >>confdefs.h <<_ACEOF
16132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16133 _ACEOF
16136 done
16139 ac_save_LIBS=$LIBS
16140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16141 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16142 if ${ac_cv_search_clock_gettime+:} false; then :
16143 $as_echo_n "(cached) " >&6
16144 else
16145 ac_func_search_save_LIBS=$LIBS
16146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16147 /* end confdefs.h. */
16149 /* Override any GCC internal prototype to avoid an error.
16150 Use char because int might match the return type of a GCC
16151 builtin and then its argument prototype would still apply. */
16152 #ifdef __cplusplus
16153 extern "C"
16154 #endif
16155 char clock_gettime ();
16157 main ()
16159 return clock_gettime ();
16161 return 0;
16163 _ACEOF
16164 for ac_lib in '' rt; do
16165 if test -z "$ac_lib"; then
16166 ac_res="none required"
16167 else
16168 ac_res=-l$ac_lib
16169 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16171 if ac_fn_c_try_link "$LINENO"; then :
16172 ac_cv_search_clock_gettime=$ac_res
16174 rm -f core conftest.err conftest.$ac_objext \
16175 conftest$ac_exeext
16176 if ${ac_cv_search_clock_gettime+:} false; then :
16177 break
16179 done
16180 if ${ac_cv_search_clock_gettime+:} false; then :
16182 else
16183 ac_cv_search_clock_gettime=no
16185 rm conftest.$ac_ext
16186 LIBS=$ac_func_search_save_LIBS
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16189 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16190 ac_res=$ac_cv_search_clock_gettime
16191 if test "$ac_res" != no; then :
16192 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16194 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16196 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16200 LIBS=$ac_save_LIBS
16202 if test "x$with_ldap" != "xno"
16203 then
16204 if ${LDAP_CFLAGS:+false} :; then :
16205 if ${PKG_CONFIG+:} false; then :
16206 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16210 if ${LDAP_LIBS:+false} :; then :
16211 if ${PKG_CONFIG+:} false; then :
16212 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16216 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16217 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16218 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16219 ac_save_CPPFLAGS=$CPPFLAGS
16220 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16221 for ac_header in ldap.h lber.h
16222 do :
16223 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16224 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16225 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16226 cat >>confdefs.h <<_ACEOF
16227 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16228 _ACEOF
16232 done
16234 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16235 then
16236 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16238 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16240 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16241 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16242 $as_echo_n "(cached) " >&6
16243 else
16244 ac_check_lib_save_LIBS=$LIBS
16245 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16247 /* end confdefs.h. */
16249 /* Override any GCC internal prototype to avoid an error.
16250 Use char because int might match the return type of a GCC
16251 builtin and then its argument prototype would still apply. */
16252 #ifdef __cplusplus
16253 extern "C"
16254 #endif
16255 char ldap_initialize ();
16257 main ()
16259 return ldap_initialize ();
16261 return 0;
16263 _ACEOF
16264 if ac_fn_c_try_link "$LINENO"; then :
16265 ac_cv_lib_ldap_r_ldap_initialize=yes
16266 else
16267 ac_cv_lib_ldap_r_ldap_initialize=no
16269 rm -f core conftest.err conftest.$ac_objext \
16270 conftest$ac_exeext conftest.$ac_ext
16271 LIBS=$ac_check_lib_save_LIBS
16273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16274 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16275 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16277 $as_echo_n "checking for ber_init in -llber... " >&6; }
16278 if ${ac_cv_lib_lber_ber_init+:} false; then :
16279 $as_echo_n "(cached) " >&6
16280 else
16281 ac_check_lib_save_LIBS=$LIBS
16282 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16284 /* end confdefs.h. */
16286 /* Override any GCC internal prototype to avoid an error.
16287 Use char because int might match the return type of a GCC
16288 builtin and then its argument prototype would still apply. */
16289 #ifdef __cplusplus
16290 extern "C"
16291 #endif
16292 char ber_init ();
16294 main ()
16296 return ber_init ();
16298 return 0;
16300 _ACEOF
16301 if ac_fn_c_try_link "$LINENO"; then :
16302 ac_cv_lib_lber_ber_init=yes
16303 else
16304 ac_cv_lib_lber_ber_init=no
16306 rm -f core conftest.err conftest.$ac_objext \
16307 conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_lib_save_LIBS
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16311 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16312 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16314 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16316 else
16317 LDAP_LIBS=""
16320 else
16321 LDAP_LIBS=""
16324 else
16325 LDAP_LIBS=""
16328 ac_wine_check_funcs_save_LIBS="$LIBS"
16329 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16330 for ac_func in \
16331 ldap_count_references \
16332 ldap_first_reference \
16333 ldap_next_reference \
16334 ldap_parse_reference \
16335 ldap_parse_sort_control \
16336 ldap_parse_sortresponse_control \
16337 ldap_parse_vlv_control \
16338 ldap_parse_vlvresponse_control
16339 do :
16340 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16341 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16342 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16343 cat >>confdefs.h <<_ACEOF
16344 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16345 _ACEOF
16348 done
16350 LIBS="$ac_wine_check_funcs_save_LIBS"
16351 else
16352 LDAP_LIBS=""
16354 CPPFLAGS=$ac_save_CPPFLAGS
16355 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16356 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16359 if test "x$LDAP_LIBS" = "x"; then :
16360 case "x$with_ldap" in
16361 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16362 xno) ;;
16363 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16364 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16365 esac
16369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16370 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16371 if ${wine_cv_one_arg_mkdir+:} false; then :
16372 $as_echo_n "(cached) " >&6
16373 else
16374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16375 /* end confdefs.h. */
16376 #include <sys/stat.h>
16378 main ()
16380 mkdir("foo");
16382 return 0;
16384 _ACEOF
16385 if ac_fn_c_try_compile "$LINENO"; then :
16386 wine_cv_one_arg_mkdir=yes
16387 else
16388 wine_cv_one_arg_mkdir=no
16390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16393 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16394 if test "$wine_cv_one_arg_mkdir" = "yes"
16395 then
16397 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16402 $as_echo_n "checking for sched_setaffinity... " >&6; }
16403 if ${wine_cv_have_sched_setaffinity+:} false; then :
16404 $as_echo_n "(cached) " >&6
16405 else
16406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16407 /* end confdefs.h. */
16408 #define _GNU_SOURCE
16409 #include <sched.h>
16411 main ()
16413 sched_setaffinity(0, 0, 0);
16415 return 0;
16417 _ACEOF
16418 if ac_fn_c_try_link "$LINENO"; then :
16419 wine_cv_have_sched_setaffinity=yes
16420 else
16421 wine_cv_have_sched_setaffinity=no
16423 rm -f core conftest.err conftest.$ac_objext \
16424 conftest$ac_exeext conftest.$ac_ext
16426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16427 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16428 if test "$wine_cv_have_sched_setaffinity" = "yes"
16429 then
16431 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16436 $as_echo_n "checking for fallocate... " >&6; }
16437 if ${wine_cv_have_fallocate+:} false; then :
16438 $as_echo_n "(cached) " >&6
16439 else
16440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16441 /* end confdefs.h. */
16442 #define _GNU_SOURCE
16443 #include <fcntl.h>
16445 main ()
16447 fallocate(-1, 0, 0, 0);
16449 return 0;
16451 _ACEOF
16452 if ac_fn_c_try_link "$LINENO"; then :
16453 wine_cv_have_fallocate=yes
16454 else
16455 wine_cv_have_fallocate=no
16457 rm -f core conftest.err conftest.$ac_objext \
16458 conftest$ac_exeext conftest.$ac_ext
16460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16461 $as_echo "$wine_cv_have_fallocate" >&6; }
16462 if test "$wine_cv_have_fallocate" = "yes"
16463 then
16465 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16471 $as_echo_n "checking for inline... " >&6; }
16472 if ${ac_cv_c_inline+:} false; then :
16473 $as_echo_n "(cached) " >&6
16474 else
16475 ac_cv_c_inline=no
16476 for ac_kw in inline __inline__ __inline; do
16477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16478 /* end confdefs.h. */
16479 #ifndef __cplusplus
16480 typedef int foo_t;
16481 static $ac_kw foo_t static_foo () {return 0; }
16482 $ac_kw foo_t foo () {return 0; }
16483 #endif
16485 _ACEOF
16486 if ac_fn_c_try_compile "$LINENO"; then :
16487 ac_cv_c_inline=$ac_kw
16489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16490 test "$ac_cv_c_inline" != no && break
16491 done
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16495 $as_echo "$ac_cv_c_inline" >&6; }
16497 case $ac_cv_c_inline in
16498 inline | yes) ;;
16500 case $ac_cv_c_inline in
16501 no) ac_val=;;
16502 *) ac_val=$ac_cv_c_inline;;
16503 esac
16504 cat >>confdefs.h <<_ACEOF
16505 #ifndef __cplusplus
16506 #define inline $ac_val
16507 #endif
16508 _ACEOF
16510 esac
16512 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16513 if test "x$ac_cv_type_mode_t" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_MODE_T 1
16517 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16522 if test "x$ac_cv_type_off_t" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_OFF_T 1
16526 _ACEOF
16530 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16531 if test "x$ac_cv_type_pid_t" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_PID_T 1
16535 _ACEOF
16539 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16540 if test "x$ac_cv_type_size_t" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_SIZE_T 1
16544 _ACEOF
16548 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16549 if test "x$ac_cv_type_ssize_t" = xyes; then :
16551 cat >>confdefs.h <<_ACEOF
16552 #define HAVE_SSIZE_T 1
16553 _ACEOF
16557 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16558 if test "x$ac_cv_type_long_long" = xyes; then :
16560 cat >>confdefs.h <<_ACEOF
16561 #define HAVE_LONG_LONG 1
16562 _ACEOF
16566 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16567 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16569 cat >>confdefs.h <<_ACEOF
16570 #define HAVE_FSBLKCNT_T 1
16571 _ACEOF
16575 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16576 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16578 cat >>confdefs.h <<_ACEOF
16579 #define HAVE_FSFILCNT_T 1
16580 _ACEOF
16585 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16586 #include <signal.h>
16588 if test "x$ac_cv_type_sigset_t" = xyes; then :
16590 cat >>confdefs.h <<_ACEOF
16591 #define HAVE_SIGSET_T 1
16592 _ACEOF
16597 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16599 if test "x$ac_cv_type_request_sense" = xyes; then :
16601 cat >>confdefs.h <<_ACEOF
16602 #define HAVE_REQUEST_SENSE 1
16603 _ACEOF
16609 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16610 #ifdef HAVE_SYS_SOCKET_H
16611 #include <sys/socket.h>
16612 #endif
16613 #ifdef HAVE_SYS_SOCKETVAR_H
16614 #include <sys/socketvar.h>
16615 #endif
16616 #ifdef HAVE_NET_ROUTE_H
16617 #include <net/route.h>
16618 #endif
16619 #ifdef HAVE_NETINET_IN_H
16620 #include <netinet/in.h>
16621 #endif
16622 #ifdef HAVE_NETINET_IN_SYSTM_H
16623 #include <netinet/in_systm.h>
16624 #endif
16625 #ifdef HAVE_NETINET_IP_H
16626 #include <netinet/ip.h>
16627 #endif
16628 #ifdef HAVE_NETINET_IN_PCB_H
16629 #include <netinet/in_pcb.h>
16630 #endif
16632 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16634 cat >>confdefs.h <<_ACEOF
16635 #define HAVE_STRUCT_XINPGEN 1
16636 _ACEOF
16642 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16643 #include <link.h>
16644 #endif
16645 #ifdef HAVE_SYS_LINK_H
16646 #include <sys/link.h>
16647 #endif
16649 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16651 cat >>confdefs.h <<_ACEOF
16652 #define HAVE_STRUCT_R_DEBUG 1
16653 _ACEOF
16657 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16658 #include <link.h>
16659 #endif
16660 #ifdef HAVE_SYS_LINK_H
16661 #include <sys/link.h>
16662 #endif
16664 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16666 cat >>confdefs.h <<_ACEOF
16667 #define HAVE_STRUCT_LINK_MAP 1
16668 _ACEOF
16674 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16675 #include <linux/input.h>
16676 #endif
16678 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16680 cat >>confdefs.h <<_ACEOF
16681 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16682 _ACEOF
16688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16689 $as_echo_n "checking for if_nameindex... " >&6; }
16690 if ${wine_cv_have_if_nameindex+:} false; then :
16691 $as_echo_n "(cached) " >&6
16692 else
16693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16694 /* end confdefs.h. */
16695 #ifdef HAVE_SYS_TYPES_H
16696 #include <sys/types.h>
16697 #endif
16698 #ifdef HAVE_SYS_SOCKET_H
16699 #include <sys/socket.h>
16700 #endif
16701 #ifdef HAVE_NET_IF_H
16702 # include <net/if.h>
16703 #endif
16705 main ()
16707 struct if_nameindex *p = if_nameindex(); return p->if_index;
16709 return 0;
16711 _ACEOF
16712 if ac_fn_c_try_link "$LINENO"; then :
16713 wine_cv_have_if_nameindex=yes
16714 else
16715 wine_cv_have_if_nameindex=no
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16721 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16722 if test "$wine_cv_have_if_nameindex" = "yes"
16723 then
16725 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16730 $as_echo_n "checking for sigaddset... " >&6; }
16731 if ${wine_cv_have_sigaddset+:} false; then :
16732 $as_echo_n "(cached) " >&6
16733 else
16734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16735 /* end confdefs.h. */
16736 #include <signal.h>
16738 main ()
16740 sigset_t set; sigaddset(&set,SIGTERM);
16742 return 0;
16744 _ACEOF
16745 if ac_fn_c_try_link "$LINENO"; then :
16746 wine_cv_have_sigaddset=yes
16747 else
16748 wine_cv_have_sigaddset=no
16750 rm -f core conftest.err conftest.$ac_objext \
16751 conftest$ac_exeext conftest.$ac_ext
16753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16754 $as_echo "$wine_cv_have_sigaddset" >&6; }
16755 if test "$wine_cv_have_sigaddset" = "yes"
16756 then
16758 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16764 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16765 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16766 $as_echo_n "(cached) " >&6
16767 else
16768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16769 /* end confdefs.h. */
16770 #include <netdb.h>
16772 main ()
16775 char *name=0;
16776 struct hostent he;
16777 struct hostent *result;
16778 char *buf=0;
16779 int bufsize=0;
16780 int errnr;
16781 char *addr=0;
16782 int addrlen=0;
16783 int addrtype=0;
16784 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16785 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 wine_cv_linux_gethostbyname_r_6=yes
16793 else
16794 wine_cv_linux_gethostbyname_r_6=no
16797 rm -f core conftest.err conftest.$ac_objext \
16798 conftest$ac_exeext conftest.$ac_ext
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16802 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16803 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16804 then
16806 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16810 if test "$ac_cv_header_linux_joystick_h" = "yes"
16811 then
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16813 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16814 if ${wine_cv_linux_joystick_22_api+:} false; then :
16815 $as_echo_n "(cached) " >&6
16816 else
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16820 #include <sys/ioctl.h>
16821 #include <sys/types.h>
16822 #include <linux/joystick.h>
16824 struct js_event blub;
16825 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16826 #error "no 2.2 header"
16827 #endif
16830 main ()
16832 /*empty*/
16834 return 0;
16836 _ACEOF
16837 if ac_fn_c_try_compile "$LINENO"; then :
16838 wine_cv_linux_joystick_22_api=yes
16839 else
16840 wine_cv_linux_joystick_22_api=no
16842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16846 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16847 if test "$wine_cv_linux_joystick_22_api" = "yes"
16848 then
16850 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16856 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16857 #ifdef HAVE_SYS_PARAM_H
16858 # include <sys/param.h>
16859 #endif
16860 #ifdef HAVE_SYS_MOUNT_H
16861 # include <sys/mount.h>
16862 #endif
16863 #ifdef HAVE_SYS_VFS_H
16864 # include <sys/vfs.h>
16865 #endif
16866 #ifdef HAVE_SYS_STATFS_H
16867 # include <sys/statfs.h>
16868 #endif
16870 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16872 cat >>confdefs.h <<_ACEOF
16873 #define HAVE_STRUCT_STATFS_F_BFREE 1
16874 _ACEOF
16878 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16879 #ifdef HAVE_SYS_PARAM_H
16880 # include <sys/param.h>
16881 #endif
16882 #ifdef HAVE_SYS_MOUNT_H
16883 # include <sys/mount.h>
16884 #endif
16885 #ifdef HAVE_SYS_VFS_H
16886 # include <sys/vfs.h>
16887 #endif
16888 #ifdef HAVE_SYS_STATFS_H
16889 # include <sys/statfs.h>
16890 #endif
16892 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16894 cat >>confdefs.h <<_ACEOF
16895 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16896 _ACEOF
16900 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16901 #ifdef HAVE_SYS_PARAM_H
16902 # include <sys/param.h>
16903 #endif
16904 #ifdef HAVE_SYS_MOUNT_H
16905 # include <sys/mount.h>
16906 #endif
16907 #ifdef HAVE_SYS_VFS_H
16908 # include <sys/vfs.h>
16909 #endif
16910 #ifdef HAVE_SYS_STATFS_H
16911 # include <sys/statfs.h>
16912 #endif
16914 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16916 cat >>confdefs.h <<_ACEOF
16917 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16918 _ACEOF
16922 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16923 #ifdef HAVE_SYS_PARAM_H
16924 # include <sys/param.h>
16925 #endif
16926 #ifdef HAVE_SYS_MOUNT_H
16927 # include <sys/mount.h>
16928 #endif
16929 #ifdef HAVE_SYS_VFS_H
16930 # include <sys/vfs.h>
16931 #endif
16932 #ifdef HAVE_SYS_STATFS_H
16933 # include <sys/statfs.h>
16934 #endif
16936 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16938 cat >>confdefs.h <<_ACEOF
16939 #define HAVE_STRUCT_STATFS_F_FFREE 1
16940 _ACEOF
16944 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16945 #ifdef HAVE_SYS_PARAM_H
16946 # include <sys/param.h>
16947 #endif
16948 #ifdef HAVE_SYS_MOUNT_H
16949 # include <sys/mount.h>
16950 #endif
16951 #ifdef HAVE_SYS_VFS_H
16952 # include <sys/vfs.h>
16953 #endif
16954 #ifdef HAVE_SYS_STATFS_H
16955 # include <sys/statfs.h>
16956 #endif
16958 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16962 _ACEOF
16966 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16967 #ifdef HAVE_SYS_PARAM_H
16968 # include <sys/param.h>
16969 #endif
16970 #ifdef HAVE_SYS_MOUNT_H
16971 # include <sys/mount.h>
16972 #endif
16973 #ifdef HAVE_SYS_VFS_H
16974 # include <sys/vfs.h>
16975 #endif
16976 #ifdef HAVE_SYS_STATFS_H
16977 # include <sys/statfs.h>
16978 #endif
16980 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16982 cat >>confdefs.h <<_ACEOF
16983 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16984 _ACEOF
16990 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16991 #include <sys/statvfs.h>
16992 #endif
16994 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16998 _ACEOF
17004 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
17005 #include <dirent.h>
17006 #endif
17008 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
17010 cat >>confdefs.h <<_ACEOF
17011 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
17012 _ACEOF
17018 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
17019 #ifdef HAVE_SYS_SOCKET_H
17020 # include <sys/socket.h>
17021 #endif
17022 #ifdef HAVE_SYS_UN_H
17023 # include <sys/un.h>
17024 #endif
17026 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
17030 _ACEOF
17034 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17035 #ifdef HAVE_SYS_SOCKET_H
17036 # include <sys/socket.h>
17037 #endif
17038 #ifdef HAVE_SYS_UN_H
17039 # include <sys/un.h>
17040 #endif
17042 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17044 cat >>confdefs.h <<_ACEOF
17045 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17046 _ACEOF
17050 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17051 #ifdef HAVE_SYS_SOCKET_H
17052 # include <sys/socket.h>
17053 #endif
17054 #ifdef HAVE_SYS_UN_H
17055 # include <sys/un.h>
17056 #endif
17058 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17060 cat >>confdefs.h <<_ACEOF
17061 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17062 _ACEOF
17068 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17069 #ifdef HAVE_SCSI_SG_H
17070 #include <scsi/sg.h>
17071 #endif
17073 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17075 cat >>confdefs.h <<_ACEOF
17076 #define HAVE_SCSIREQ_T_CMD 1
17077 _ACEOF
17081 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>
17082 #ifdef HAVE_SCSI_SG_H
17083 #include <scsi/sg.h>
17084 #endif
17086 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17088 cat >>confdefs.h <<_ACEOF
17089 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17090 _ACEOF
17096 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17098 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17100 cat >>confdefs.h <<_ACEOF
17101 #define HAVE_SIGINFO_T_SI_FD 1
17102 _ACEOF
17108 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17109 #ifdef HAVE_SYS_MTIO_H
17110 #include <sys/mtio.h>
17111 #endif
17113 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17115 cat >>confdefs.h <<_ACEOF
17116 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17117 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17122 #ifdef HAVE_SYS_MTIO_H
17123 #include <sys/mtio.h>
17124 #endif
17126 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17128 cat >>confdefs.h <<_ACEOF
17129 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17130 _ACEOF
17134 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17135 #ifdef HAVE_SYS_MTIO_H
17136 #include <sys/mtio.h>
17137 #endif
17139 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17141 cat >>confdefs.h <<_ACEOF
17142 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17143 _ACEOF
17149 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17150 #include <getopt.h>
17151 #endif
17153 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17155 cat >>confdefs.h <<_ACEOF
17156 #define HAVE_STRUCT_OPTION_NAME 1
17157 _ACEOF
17163 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17164 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17168 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17173 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_STRUCT_STAT_ST_MTIM 1
17177 _ACEOF
17181 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17182 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17186 _ACEOF
17190 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17191 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_STRUCT_STAT_ST_CTIM 1
17195 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17200 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17204 _ACEOF
17208 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17209 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17211 cat >>confdefs.h <<_ACEOF
17212 #define HAVE_STRUCT_STAT_ST_ATIM 1
17213 _ACEOF
17217 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17218 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17222 _ACEOF
17226 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17227 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17229 cat >>confdefs.h <<_ACEOF
17230 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17231 _ACEOF
17235 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17236 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17238 cat >>confdefs.h <<_ACEOF
17239 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17240 _ACEOF
17244 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17245 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17249 _ACEOF
17253 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17254 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17256 cat >>confdefs.h <<_ACEOF
17257 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17258 _ACEOF
17262 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17263 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17265 cat >>confdefs.h <<_ACEOF
17266 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17267 _ACEOF
17273 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
17274 #include <sys/types.h>
17275 #endif
17276 #ifdef HAVE_NETINET_IN_H
17277 #include <netinet/in.h>
17278 #endif
17280 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17282 cat >>confdefs.h <<_ACEOF
17283 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17284 _ACEOF
17290 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17291 #include <sys/types.h>
17292 #endif
17293 #ifdef HAVE_NETINET_IN_H
17294 #include <netinet/in.h>
17295 #endif
17296 #ifdef HAVE_RESOLV_H
17297 #include <resolv.h>
17298 #endif
17300 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define HAVE_STRUCT___RES_STATE 1
17304 _ACEOF
17310 ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
17311 #include <resolv.h>
17312 #endif
17314 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17316 cat >>confdefs.h <<_ACEOF
17317 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17318 _ACEOF
17324 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17325 #include <sys/types.h>
17326 #endif
17327 #ifdef HAVE_NETINET_IN_H
17328 # include <netinet/in.h>
17329 #endif
17330 #ifdef HAVE_ARPA_NAMESER_H
17331 # include <arpa/nameser.h>
17332 #endif
17334 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17336 cat >>confdefs.h <<_ACEOF
17337 #define HAVE_NS_MSG__MSG_PTR 1
17338 _ACEOF
17344 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17345 #include <sys/types.h>
17346 #endif
17347 #ifdef HAVE_NETINET_IN_H
17348 #include <netinet/in.h>
17349 #endif
17350 #ifdef HAVE_NETINET_IP_H
17351 #include <netinet/ip.h>
17352 #endif
17353 #ifdef HAVE_NETINET_IP_ICMP_H
17354 #include <netinet/ip_icmp.h>
17355 #endif
17356 #ifdef HAVE_NETINET_ICMP_VAR_H
17357 #include <netinet/icmp_var.h>
17358 #endif
17360 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17362 cat >>confdefs.h <<_ACEOF
17363 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17364 _ACEOF
17370 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17371 #include <sys/types.h>
17372 #endif
17373 #ifdef HAVE_ALIAS_H
17374 #include <alias.h>
17375 #endif
17376 #ifdef HAVE_SYS_SOCKET_H
17377 #include <sys/socket.h>
17378 #endif
17379 #ifdef HAVE_SYS_SOCKETVAR_H
17380 #include <sys/socketvar.h>
17381 #endif
17382 #ifdef HAVE_SYS_TIMEOUT_H
17383 #include <sys/timeout.h>
17384 #endif
17385 #ifdef HAVE_NETINET_IN_H
17386 #include <netinet/in.h>
17387 #endif
17388 #ifdef HAVE_NETINET_IN_SYSTM_H
17389 #include <netinet/in_systm.h>
17390 #endif
17391 #ifdef HAVE_NETINET_IP_H
17392 #include <netinet/ip.h>
17393 #endif
17394 #ifdef HAVE_NETINET_IP_VAR_H
17395 #include <netinet/ip_var.h>
17396 #endif
17397 #ifdef HAVE_NETINET_IP_ICMP_H
17398 #include <netinet/ip_icmp.h>
17399 #endif
17400 #ifdef HAVE_NETINET_ICMP_VAR_H
17401 #include <netinet/icmp_var.h>
17402 #endif
17404 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17406 cat >>confdefs.h <<_ACEOF
17407 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17408 _ACEOF
17414 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17415 #include <sys/types.h>
17416 #endif
17417 #ifdef HAVE_SYS_SOCKETVAR_H
17418 #include <sys/socketvar.h>
17419 #endif
17420 #ifdef HAVE_NETINET_IN_H
17421 #include <netinet/in.h>
17422 #endif
17423 #ifdef HAVE_NETINET_IP_VAR_H
17424 #include <netinet/ip_var.h>
17425 #endif
17427 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17429 cat >>confdefs.h <<_ACEOF
17430 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17431 _ACEOF
17437 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
17438 #include <netinet/ip_var.h>
17439 #endif
17441 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17443 cat >>confdefs.h <<_ACEOF
17444 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17445 _ACEOF
17451 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17452 #include <sys/types.h>
17453 #endif
17454 #ifdef HAVE_SYS_SOCKETVAR_H
17455 #include <sys/socketvar.h>
17456 #endif
17457 #ifdef HAVE_NETINET_IN_H
17458 #include <netinet/in.h>
17459 #endif
17460 #ifdef HAVE_NETINET_TCP_H
17461 #include <netinet/tcp.h>
17462 #endif
17463 #ifdef HAVE_NETINET_TCP_VAR_H
17464 #include <netinet/tcp_var.h>
17465 #endif
17467 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17469 cat >>confdefs.h <<_ACEOF
17470 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17471 _ACEOF
17477 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
17478 #include <netinet/tcp_var.h>
17479 #endif
17481 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17483 cat >>confdefs.h <<_ACEOF
17484 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17485 _ACEOF
17491 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17492 #include <sys/types.h>
17493 #endif
17494 #ifdef HAVE_NETINET_IN_H
17495 #include <netinet/in.h>
17496 #endif
17497 #ifdef HAVE_NETINET_IP_VAR_H
17498 #include <netinet/ip_var.h>
17499 #endif
17500 #ifdef HAVE_NETINET_UDP_H
17501 #include <netinet/udp.h>
17502 #endif
17503 #ifdef HAVE_NETINET_UDP_VAR_H
17504 #include <netinet/udp_var.h>
17505 #endif
17507 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17509 cat >>confdefs.h <<_ACEOF
17510 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17511 _ACEOF
17517 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17518 #include <sys/types.h>
17519 #endif
17520 #ifdef HAVE_NET_IF_H
17521 # include <net/if.h>
17522 #endif
17524 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17526 cat >>confdefs.h <<_ACEOF
17527 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17528 _ACEOF
17534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17535 $as_echo_n "checking for timezone variable... " >&6; }
17536 if ${ac_cv_have_timezone+:} false; then :
17537 $as_echo_n "(cached) " >&6
17538 else
17539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17540 /* end confdefs.h. */
17541 #include <time.h>
17543 main ()
17545 timezone = 1
17547 return 0;
17549 _ACEOF
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_have_timezone="yes"
17552 else
17553 ac_cv_have_timezone="no"
17555 rm -f core conftest.err conftest.$ac_objext \
17556 conftest$ac_exeext conftest.$ac_ext
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17559 $as_echo "$ac_cv_have_timezone" >&6; }
17560 if test "$ac_cv_have_timezone" = "yes"
17561 then
17563 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17567 $as_echo_n "checking for daylight variable... " >&6; }
17568 if ${ac_cv_have_daylight+:} false; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573 #include <time.h>
17575 main ()
17577 daylight = 1
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_link "$LINENO"; then :
17583 ac_cv_have_daylight="yes"
17584 else
17585 ac_cv_have_daylight="no"
17587 rm -f core conftest.err conftest.$ac_objext \
17588 conftest$ac_exeext conftest.$ac_ext
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17591 $as_echo "$ac_cv_have_daylight" >&6; }
17592 if test "$ac_cv_have_daylight" = "yes"
17593 then
17595 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17599 ac_save_LIBS="$LIBS"
17600 LIBS="$LIBS -lm"
17601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17602 $as_echo_n "checking for isfinite... " >&6; }
17603 if ${ac_cv_have_isfinite+:} false; then :
17604 $as_echo_n "(cached) " >&6
17605 else
17606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17607 /* end confdefs.h. */
17608 #define _GNU_SOURCE
17609 #include <math.h>
17611 main ()
17613 float f = 0.0; return isfinite(f)
17615 return 0;
17617 _ACEOF
17618 if ac_fn_c_try_link "$LINENO"; then :
17619 ac_cv_have_isfinite="yes"
17620 else
17621 ac_cv_have_isfinite="no"
17623 rm -f core conftest.err conftest.$ac_objext \
17624 conftest$ac_exeext conftest.$ac_ext
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17627 $as_echo "$ac_cv_have_isfinite" >&6; }
17628 if test "$ac_cv_have_isfinite" = "yes"
17629 then
17631 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17636 $as_echo_n "checking for isinf... " >&6; }
17637 if ${ac_cv_have_isinf+:} false; then :
17638 $as_echo_n "(cached) " >&6
17639 else
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #include <math.h>
17644 main ()
17646 float f = 0.0; return isinf(f)
17648 return 0;
17650 _ACEOF
17651 if ac_fn_c_try_link "$LINENO"; then :
17652 ac_cv_have_isinf="yes"
17653 else
17654 ac_cv_have_isinf="no"
17656 rm -f core conftest.err conftest.$ac_objext \
17657 conftest$ac_exeext conftest.$ac_ext
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17660 $as_echo "$ac_cv_have_isinf" >&6; }
17661 if test "$ac_cv_have_isinf" = "yes"
17662 then
17664 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17669 $as_echo_n "checking for isnan... " >&6; }
17670 if ${ac_cv_have_isnan+:} false; then :
17671 $as_echo_n "(cached) " >&6
17672 else
17673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17674 /* end confdefs.h. */
17675 #include <math.h>
17677 main ()
17679 float f = 0.0; return isnan(f)
17681 return 0;
17683 _ACEOF
17684 if ac_fn_c_try_link "$LINENO"; then :
17685 ac_cv_have_isnan="yes"
17686 else
17687 ac_cv_have_isnan="no"
17689 rm -f core conftest.err conftest.$ac_objext \
17690 conftest$ac_exeext conftest.$ac_ext
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17693 $as_echo "$ac_cv_have_isnan" >&6; }
17694 if test "$ac_cv_have_isnan" = "yes"
17695 then
17697 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17701 for ac_func in \
17702 acosh \
17703 acoshf \
17704 asinh \
17705 asinhf \
17706 atanh \
17707 atanhf \
17708 cbrt \
17709 cbrtf \
17710 erf \
17711 erfc \
17712 erfcf \
17713 erff \
17714 exp2 \
17715 exp2f \
17716 expm1 \
17717 expm1f \
17718 j0 \
17719 j1 \
17720 jn \
17721 lgamma \
17722 lgammaf \
17723 llrint \
17724 llrintf \
17725 llround \
17726 llroundf \
17727 log1p \
17728 log1pf \
17729 log2 \
17730 log2f \
17731 lrint \
17732 lrintf \
17733 lround \
17734 lroundf \
17735 nearbyint \
17736 nearbyintf \
17737 powl \
17738 remainder \
17739 remainderf \
17740 rint \
17741 rintf \
17742 round \
17743 roundf \
17744 trunc \
17745 truncf \
17746 y0 \
17747 y1 \
17750 do :
17751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17753 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17754 cat >>confdefs.h <<_ACEOF
17755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17756 _ACEOF
17759 done
17761 LIBS="$ac_save_LIBS"
17763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17764 $as_echo_n "checking for __builtin_clz... " >&6; }
17765 if ${ac_cv_have___builtin_clz+:} false; then :
17766 $as_echo_n "(cached) " >&6
17767 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17772 main ()
17774 return __builtin_clz(1)
17776 return 0;
17778 _ACEOF
17779 if ac_fn_c_try_link "$LINENO"; then :
17780 ac_cv_have___builtin_clz="yes"
17781 else
17782 ac_cv_have___builtin_clz="no"
17784 rm -f core conftest.err conftest.$ac_objext \
17785 conftest$ac_exeext conftest.$ac_ext
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17788 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17789 if test "$ac_cv_have___builtin_clz" = "yes"
17790 then
17792 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17797 $as_echo_n "checking for __builtin_popcount... " >&6; }
17798 if ${ac_cv_have___builtin_popcount+:} false; then :
17799 $as_echo_n "(cached) " >&6
17800 else
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17805 main ()
17807 return __builtin_popcount(1)
17809 return 0;
17811 _ACEOF
17812 if ac_fn_c_try_link "$LINENO"; then :
17813 ac_cv_have___builtin_popcount="yes"
17814 else
17815 ac_cv_have___builtin_popcount="no"
17817 rm -f core conftest.err conftest.$ac_objext \
17818 conftest$ac_exeext conftest.$ac_ext
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17821 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17822 if test "$ac_cv_have___builtin_popcount" = "yes"
17823 then
17825 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17830 $as_echo_n "checking for __clear_cache... " >&6; }
17831 if ${ac_cv_have___clear_cache+:} false; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17838 main ()
17840 __clear_cache((void*)0, (void*)0); return 0;
17842 return 0;
17844 _ACEOF
17845 if ac_fn_c_try_link "$LINENO"; then :
17846 ac_cv_have___clear_cache="yes"
17847 else
17848 ac_cv_have___clear_cache="no"
17850 rm -f core conftest.err conftest.$ac_objext \
17851 conftest$ac_exeext conftest.$ac_ext
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17854 $as_echo "$ac_cv_have___clear_cache" >&6; }
17855 if test "$ac_cv_have___clear_cache" = "yes"
17856 then
17858 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17863 case $host_cpu in
17864 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17865 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17866 if ${ac_cv_cpp_def___i386__+:} false; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17870 /* end confdefs.h. */
17871 #ifndef __i386__
17873 #endif
17874 _ACEOF
17875 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17876 $EGREP "yes" >/dev/null 2>&1; then :
17877 ac_cv_cpp_def___i386__=yes
17878 else
17879 ac_cv_cpp_def___i386__=no
17881 rm -f conftest*
17884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17885 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17886 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17887 CFLAGS="$CFLAGS -D__i386__"
17888 LINTFLAGS="$LINTFLAGS -D__i386__"
17889 fi ;;
17890 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17891 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17892 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17896 /* end confdefs.h. */
17897 #ifndef __x86_64__
17899 #endif
17900 _ACEOF
17901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17902 $EGREP "yes" >/dev/null 2>&1; then :
17903 ac_cv_cpp_def___x86_64__=yes
17904 else
17905 ac_cv_cpp_def___x86_64__=no
17907 rm -f conftest*
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17911 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17912 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17913 CFLAGS="$CFLAGS -D__x86_64__"
17914 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17915 fi ;;
17916 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17917 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17918 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17919 $as_echo_n "(cached) " >&6
17920 else
17921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17922 /* end confdefs.h. */
17923 #ifndef __sparc64__
17925 #endif
17926 _ACEOF
17927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17928 $EGREP "yes" >/dev/null 2>&1; then :
17929 ac_cv_cpp_def___sparc64__=yes
17930 else
17931 ac_cv_cpp_def___sparc64__=no
17933 rm -f conftest*
17936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17937 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17938 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17939 CFLAGS="$CFLAGS -D__sparc64__"
17940 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17941 fi ;;
17942 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17943 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17944 if ${ac_cv_cpp_def___sparc__+:} false; then :
17945 $as_echo_n "(cached) " >&6
17946 else
17947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17948 /* end confdefs.h. */
17949 #ifndef __sparc__
17951 #endif
17952 _ACEOF
17953 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17954 $EGREP "yes" >/dev/null 2>&1; then :
17955 ac_cv_cpp_def___sparc__=yes
17956 else
17957 ac_cv_cpp_def___sparc__=no
17959 rm -f conftest*
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17963 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17964 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17965 CFLAGS="$CFLAGS -D__sparc__"
17966 LINTFLAGS="$LINTFLAGS -D__sparc__"
17967 fi ;;
17968 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17969 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17970 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17974 /* end confdefs.h. */
17975 #ifndef __powerpc64__
17977 #endif
17978 _ACEOF
17979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17980 $EGREP "yes" >/dev/null 2>&1; then :
17981 ac_cv_cpp_def___powerpc64__=yes
17982 else
17983 ac_cv_cpp_def___powerpc64__=no
17985 rm -f conftest*
17988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17989 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17990 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17991 CFLAGS="$CFLAGS -D__powerpc64__"
17992 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17993 fi ;;
17994 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17995 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17996 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17997 $as_echo_n "(cached) " >&6
17998 else
17999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18000 /* end confdefs.h. */
18001 #ifndef __powerpc__
18003 #endif
18004 _ACEOF
18005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18006 $EGREP "yes" >/dev/null 2>&1; then :
18007 ac_cv_cpp_def___powerpc__=yes
18008 else
18009 ac_cv_cpp_def___powerpc__=no
18011 rm -f conftest*
18014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
18015 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
18016 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
18017 CFLAGS="$CFLAGS -D__powerpc__"
18018 LINTFLAGS="$LINTFLAGS -D__powerpc__"
18019 fi ;;
18020 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
18021 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
18022 if ${ac_cv_cpp_def___aarch64__+:} false; then :
18023 $as_echo_n "(cached) " >&6
18024 else
18025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18026 /* end confdefs.h. */
18027 #ifndef __aarch64__
18029 #endif
18030 _ACEOF
18031 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18032 $EGREP "yes" >/dev/null 2>&1; then :
18033 ac_cv_cpp_def___aarch64__=yes
18034 else
18035 ac_cv_cpp_def___aarch64__=no
18037 rm -f conftest*
18040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18041 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18042 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18043 CFLAGS="$CFLAGS -D__aarch64__"
18044 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18045 fi ;;
18046 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18047 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18048 if ${ac_cv_cpp_def___arm__+:} false; then :
18049 $as_echo_n "(cached) " >&6
18050 else
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18053 #ifndef __arm__
18055 #endif
18056 _ACEOF
18057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18058 $EGREP "yes" >/dev/null 2>&1; then :
18059 ac_cv_cpp_def___arm__=yes
18060 else
18061 ac_cv_cpp_def___arm__=no
18063 rm -f conftest*
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18067 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18068 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18069 CFLAGS="$CFLAGS -D__arm__"
18070 LINTFLAGS="$LINTFLAGS -D__arm__"
18071 fi ;;
18072 esac
18074 case $host_vendor in
18075 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18076 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18077 if ${ac_cv_cpp_def___sun__+:} false; then :
18078 $as_echo_n "(cached) " >&6
18079 else
18080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18081 /* end confdefs.h. */
18082 #ifndef __sun__
18084 #endif
18085 _ACEOF
18086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18087 $EGREP "yes" >/dev/null 2>&1; then :
18088 ac_cv_cpp_def___sun__=yes
18089 else
18090 ac_cv_cpp_def___sun__=no
18092 rm -f conftest*
18095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18096 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18097 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18098 CFLAGS="$CFLAGS -D__sun__"
18099 LINTFLAGS="$LINTFLAGS -D__sun__"
18100 fi ;;
18101 esac
18107 ac_config_commands="$ac_config_commands include/stamp-h"
18109 $as_echo_n "creating Makefile rules..." >&6
18111 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18112 SOCKET_LIBS = $SOCKET_LIBS
18113 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18114 IOKIT_LIBS = $IOKIT_LIBS
18115 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18116 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18117 CORESERVICES_LIBS = $CORESERVICES_LIBS
18118 APPKIT_LIBS = $APPKIT_LIBS
18119 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18120 SECURITY_LIBS = $SECURITY_LIBS
18121 COREAUDIO_LIBS = $COREAUDIO_LIBS
18122 OPENAL_LIBS = $OPENAL_LIBS
18123 OPENCL_LIBS = $OPENCL_LIBS
18124 QUICKTIME_LIBS = $QUICKTIME_LIBS
18125 CARBON_LIBS = $CARBON_LIBS
18126 PTHREAD_LIBS = $PTHREAD_LIBS
18127 X_CFLAGS = $X_CFLAGS
18128 X_PRE_LIBS = $X_PRE_LIBS
18129 X_LIBS = $X_LIBS
18130 X_EXTRA_LIBS = $X_EXTRA_LIBS
18131 PCAP_LIBS = $PCAP_LIBS
18132 XML2_CFLAGS = $XML2_CFLAGS
18133 XML2_LIBS = $XML2_LIBS
18134 XSLT_CFLAGS = $XSLT_CFLAGS
18135 XSLT_LIBS = $XSLT_LIBS
18136 DBUS_CFLAGS = $DBUS_CFLAGS
18137 DBUS_LIBS = $DBUS_LIBS
18138 HAL_CFLAGS = $HAL_CFLAGS
18139 HAL_LIBS = $HAL_LIBS
18140 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18141 GNUTLS_LIBS = $GNUTLS_LIBS
18142 SANE_CFLAGS = $SANE_CFLAGS
18143 SANE_LIBS = $SANE_LIBS
18144 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18145 GPHOTO2_LIBS = $GPHOTO2_LIBS
18146 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18147 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18148 RESOLV_LIBS = $RESOLV_LIBS
18149 LCMS2_CFLAGS = $LCMS2_CFLAGS
18150 LCMS2_LIBS = $LCMS2_LIBS
18151 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18152 FREETYPE_LIBS = $FREETYPE_LIBS
18153 Z_LIBS = $Z_LIBS
18154 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18155 PULSE_CFLAGS = $PULSE_CFLAGS
18156 PULSE_LIBS = $PULSE_LIBS
18157 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18158 GSTREAMER_LIBS = $GSTREAMER_LIBS
18159 ALSA_LIBS = $ALSA_LIBS
18160 OSS4_CFLAGS = $OSS4_CFLAGS
18161 UDEV_CFLAGS = $UDEV_CFLAGS
18162 UDEV_LIBS = $UDEV_LIBS
18163 SDL2_CFLAGS = $SDL2_CFLAGS
18164 SDL2_LIBS = $SDL2_LIBS
18165 CAPI20_CFLAGS = $CAPI20_CFLAGS
18166 CAPI20_LIBS = $CAPI20_LIBS
18167 CUPS_CFLAGS = $CUPS_CFLAGS
18168 CUPS_LIBS = $CUPS_LIBS
18169 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18170 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18171 KRB5_CFLAGS = $KRB5_CFLAGS
18172 KRB5_LIBS = $KRB5_LIBS
18173 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18174 GSSAPI_LIBS = $GSSAPI_LIBS
18175 JPEG_CFLAGS = $JPEG_CFLAGS
18176 JPEG_LIBS = $JPEG_LIBS
18177 PNG_CFLAGS = $PNG_CFLAGS
18178 PNG_LIBS = $PNG_LIBS
18179 TIFF_CFLAGS = $TIFF_CFLAGS
18180 TIFF_LIBS = $TIFF_LIBS
18181 MPG123_CFLAGS = $MPG123_CFLAGS
18182 MPG123_LIBS = $MPG123_LIBS
18183 KSTAT_LIBS = $KSTAT_LIBS
18184 PROCSTAT_LIBS = $PROCSTAT_LIBS
18185 NETAPI_CFLAGS = $NETAPI_CFLAGS
18186 NETAPI_LIBS = $NETAPI_LIBS
18187 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18188 DL_LIBS = $DL_LIBS
18189 POLL_LIBS = $POLL_LIBS
18190 RT_LIBS = $RT_LIBS
18191 LDAP_CFLAGS = $LDAP_CFLAGS
18192 LDAP_LIBS = $LDAP_LIBS
18197 wine_fn_append_rule "
18198 # Rules automatically generated by configure
18200 .INIT: Makefile
18201 .MAKEFILEDEPS:
18202 all: Makefile
18203 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18204 @./config.status Make.tmp Makefile
18205 depend: \$(MAKEDEP) dummy
18206 \$(MAKEDEP)"
18208 if test "x$enable_fonts" != xno; then
18209 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18210 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18211 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18212 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18213 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18214 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18216 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18217 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18218 ac_config_links="$ac_config_links wine:tools/winewrapper"
18219 wine_fn_config_symlink wine
18220 if test "x$enable_win64" != xno; then
18221 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18222 wine_fn_config_symlink wine64
18225 wine_fn_config_makefile dlls/acledit enable_acledit
18226 wine_fn_config_makefile dlls/aclui enable_aclui
18227 wine_fn_config_makefile dlls/activeds enable_activeds
18228 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18229 wine_fn_config_makefile dlls/adsiid enable_adsiid
18230 wine_fn_config_makefile dlls/adsldp enable_adsldp
18231 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18232 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18233 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18234 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18235 wine_fn_config_makefile dlls/advpack enable_advpack
18236 wine_fn_config_makefile dlls/advpack/tests enable_tests
18237 wine_fn_config_makefile dlls/amstream enable_amstream
18238 wine_fn_config_makefile dlls/amstream/tests enable_tests
18239 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18241 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18242 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18244 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18249 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18251 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18256 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18258 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18260 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18262 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18263 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18264 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18266 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18269 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18270 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18272 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18273 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18282 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18286 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18287 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18290 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18292 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18293 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18296 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18304 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18305 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18312 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18316 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18317 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18325 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18329 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18332 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18341 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18342 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18344 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18345 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18347 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18355 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18360 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18361 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18367 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18385 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18386 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18405 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18412 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18413 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18414 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18415 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18416 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18417 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18418 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18419 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18420 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18421 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18422 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18423 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18424 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18425 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18426 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18427 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18428 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18429 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18430 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18431 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18432 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18433 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18434 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18435 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18436 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18437 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18438 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18439 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18440 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18441 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18442 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18443 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18444 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18445 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18446 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18447 wine_fn_config_makefile dlls/apphelp enable_apphelp
18448 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18449 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18450 wine_fn_config_makefile dlls/atl enable_atl
18451 wine_fn_config_makefile dlls/atl/tests enable_tests
18452 wine_fn_config_makefile dlls/atl100 enable_atl100
18453 wine_fn_config_makefile dlls/atl100/tests enable_tests
18454 wine_fn_config_makefile dlls/atl110 enable_atl110
18455 wine_fn_config_makefile dlls/atl80 enable_atl80
18456 wine_fn_config_makefile dlls/atl80/tests enable_tests
18457 wine_fn_config_makefile dlls/atl90 enable_atl90
18458 wine_fn_config_makefile dlls/atmlib enable_atmlib
18459 wine_fn_config_makefile dlls/authz enable_authz
18460 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18461 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18462 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18463 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18464 wine_fn_config_makefile dlls/avrt enable_avrt
18465 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18466 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18467 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18468 wine_fn_config_makefile dlls/browseui enable_browseui
18469 wine_fn_config_makefile dlls/browseui/tests enable_tests
18470 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18471 wine_fn_config_makefile dlls/cabinet enable_cabinet
18472 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18473 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18474 wine_fn_config_makefile dlls/cards enable_cards
18475 wine_fn_config_makefile dlls/cdosys enable_cdosys
18476 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18477 wine_fn_config_makefile dlls/clusapi enable_clusapi
18478 wine_fn_config_makefile dlls/combase enable_combase
18479 wine_fn_config_makefile dlls/combase/tests enable_tests
18480 wine_fn_config_makefile dlls/comcat enable_comcat
18481 wine_fn_config_makefile dlls/comcat/tests enable_tests
18482 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18483 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18484 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18485 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18486 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18487 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18488 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18489 wine_fn_config_makefile dlls/compstui enable_compstui
18490 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18491 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18492 wine_fn_config_makefile dlls/connect enable_connect
18493 wine_fn_config_makefile dlls/credui enable_credui
18494 wine_fn_config_makefile dlls/credui/tests enable_tests
18495 wine_fn_config_makefile dlls/crtdll enable_crtdll
18496 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18497 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18498 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18499 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18500 wine_fn_config_makefile dlls/cryptext enable_cryptext
18501 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18502 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18503 wine_fn_config_makefile dlls/cryptui enable_cryptui
18504 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18505 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18506 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18507 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18508 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18509 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18510 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18511 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18512 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18513 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18514 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18515 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18516 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18517 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18518 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18519 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18520 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18521 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18522 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18523 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18524 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18525 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18526 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18527 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18528 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18529 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18530 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18531 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18532 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18533 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18534 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18535 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18536 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18537 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18538 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18539 wine_fn_config_makefile dlls/d3dim enable_d3dim
18540 wine_fn_config_makefile dlls/d3drm enable_d3drm
18541 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18542 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18543 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18544 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18545 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18546 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18547 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18548 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18549 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18550 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18551 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18552 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18553 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18554 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18555 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18556 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18557 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18558 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18559 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18560 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18561 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18562 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18563 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18564 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18565 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18566 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18567 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18568 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18569 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18570 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18571 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18572 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18573 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18574 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18575 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18576 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18577 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18578 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18579 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18580 wine_fn_config_makefile dlls/davclnt enable_davclnt
18581 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18582 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18583 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18584 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18585 wine_fn_config_makefile dlls/ddraw enable_ddraw
18586 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18587 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18588 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18589 wine_fn_config_makefile dlls/devenum enable_devenum
18590 wine_fn_config_makefile dlls/devenum/tests enable_tests
18591 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18592 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18593 wine_fn_config_makefile dlls/difxapi enable_difxapi
18594 wine_fn_config_makefile dlls/dinput enable_dinput
18595 wine_fn_config_makefile dlls/dinput/tests enable_tests
18596 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18597 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18598 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18599 wine_fn_config_makefile dlls/dispex enable_dispex
18600 wine_fn_config_makefile dlls/dispex/tests enable_tests
18601 wine_fn_config_makefile dlls/display.drv16 enable_win16
18602 wine_fn_config_makefile dlls/dmband enable_dmband
18603 wine_fn_config_makefile dlls/dmband/tests enable_tests
18604 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18605 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18606 wine_fn_config_makefile dlls/dmime enable_dmime
18607 wine_fn_config_makefile dlls/dmime/tests enable_tests
18608 wine_fn_config_makefile dlls/dmloader enable_dmloader
18609 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18610 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
18611 wine_fn_config_makefile dlls/dmscript enable_dmscript
18612 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18613 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18614 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18615 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18616 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18617 wine_fn_config_makefile dlls/dmusic enable_dmusic
18618 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18619 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18620 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18621 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18622 wine_fn_config_makefile dlls/dplay enable_dplay
18623 wine_fn_config_makefile dlls/dplayx enable_dplayx
18624 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18625 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18626 wine_fn_config_makefile dlls/dpnet enable_dpnet
18627 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18628 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18629 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18630 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18631 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18632 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18633 wine_fn_config_makefile dlls/drmclien enable_drmclien
18634 wine_fn_config_makefile dlls/dsound enable_dsound
18635 wine_fn_config_makefile dlls/dsound/tests enable_tests
18636 wine_fn_config_makefile dlls/dsquery enable_dsquery
18637 wine_fn_config_makefile dlls/dssenh enable_dssenh
18638 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18639 wine_fn_config_makefile dlls/dswave enable_dswave
18640 wine_fn_config_makefile dlls/dswave/tests enable_tests
18641 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18642 wine_fn_config_makefile dlls/dwrite enable_dwrite
18643 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18644 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18645 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18646 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18647 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18648 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18649 wine_fn_config_makefile dlls/dxgi enable_dxgi
18650 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18651 wine_fn_config_makefile dlls/dxguid enable_dxguid
18652 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18653 wine_fn_config_makefile dlls/esent enable_esent
18654 wine_fn_config_makefile dlls/evr enable_evr
18655 wine_fn_config_makefile dlls/evr/tests enable_tests
18656 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18657 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18658 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18659 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18660 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18661 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18662 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18663 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18664 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18665 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18666 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18667 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18668 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18669 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18670 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18671 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18672 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18673 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18674 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18675 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18676 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18677 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18678 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18679 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18680 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18681 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18682 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18683 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18684 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18685 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18686 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18687 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
18688 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18689 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18690 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18691 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18692 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18693 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18694 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18695 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
18696 wine_fn_config_makefile dlls/faultrep enable_faultrep
18697 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18698 wine_fn_config_makefile dlls/feclient enable_feclient
18699 wine_fn_config_makefile dlls/fltlib enable_fltlib
18700 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18701 wine_fn_config_makefile dlls/fntcache enable_fntcache
18702 wine_fn_config_makefile dlls/fontsub enable_fontsub
18703 wine_fn_config_makefile dlls/fusion enable_fusion
18704 wine_fn_config_makefile dlls/fusion/tests enable_tests
18705 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18706 wine_fn_config_makefile dlls/gameux enable_gameux
18707 wine_fn_config_makefile dlls/gameux/tests enable_tests
18708 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18709 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18710 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18711 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18712 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18713 wine_fn_config_makefile dlls/glu32 enable_glu32
18714 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18715 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18716 wine_fn_config_makefile dlls/hal enable_hal
18717 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18718 wine_fn_config_makefile dlls/hid enable_hid
18719 wine_fn_config_makefile dlls/hid/tests enable_tests
18720 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18721 wine_fn_config_makefile dlls/hlink enable_hlink
18722 wine_fn_config_makefile dlls/hlink/tests enable_tests
18723 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18724 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18725 wine_fn_config_makefile dlls/httpapi enable_httpapi
18726 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18727 wine_fn_config_makefile dlls/iccvid enable_iccvid
18728 wine_fn_config_makefile dlls/icmp enable_icmp
18729 wine_fn_config_makefile dlls/ieframe enable_ieframe
18730 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18731 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18732 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18733 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18734 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18735 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18736 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18737 wine_fn_config_makefile dlls/imm32 enable_imm32
18738 wine_fn_config_makefile dlls/imm32/tests enable_tests
18739 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18740 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18741 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18742 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18743 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18744 wine_fn_config_makefile dlls/infosoft enable_infosoft
18745 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18746 wine_fn_config_makefile dlls/initpki enable_initpki
18747 wine_fn_config_makefile dlls/inkobj enable_inkobj
18748 wine_fn_config_makefile dlls/inseng enable_inseng
18749 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18750 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18751 wine_fn_config_makefile dlls/iprop enable_iprop
18752 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18753 wine_fn_config_makefile dlls/itircl enable_itircl
18754 wine_fn_config_makefile dlls/itss enable_itss
18755 wine_fn_config_makefile dlls/itss/tests enable_tests
18756 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18757 wine_fn_config_makefile dlls/jscript enable_jscript
18758 wine_fn_config_makefile dlls/jscript/tests enable_tests
18759 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18760 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18761 wine_fn_config_makefile dlls/kerberos enable_kerberos
18762 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18763 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18764 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18765 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18766 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18767 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18768 wine_fn_config_makefile dlls/ksuser enable_ksuser
18769 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18770 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18771 wine_fn_config_makefile dlls/loadperf enable_loadperf
18772 wine_fn_config_makefile dlls/localspl enable_localspl
18773 wine_fn_config_makefile dlls/localspl/tests enable_tests
18774 wine_fn_config_makefile dlls/localui enable_localui
18775 wine_fn_config_makefile dlls/localui/tests enable_tests
18776 wine_fn_config_makefile dlls/lz32 enable_lz32
18777 wine_fn_config_makefile dlls/lz32/tests enable_tests
18778 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18779 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18780 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18781 wine_fn_config_makefile dlls/mapistub enable_mapistub
18782 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18783 wine_fn_config_makefile dlls/mcicda enable_mcicda
18784 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18785 wine_fn_config_makefile dlls/mciseq enable_mciseq
18786 wine_fn_config_makefile dlls/mciwave enable_mciwave
18787 wine_fn_config_makefile dlls/mf enable_mf
18788 wine_fn_config_makefile dlls/mf/tests enable_tests
18789 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18790 wine_fn_config_makefile dlls/mfplat enable_mfplat
18791 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18792 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18793 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18794 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18795 wine_fn_config_makefile dlls/midimap enable_midimap
18796 wine_fn_config_makefile dlls/mlang enable_mlang
18797 wine_fn_config_makefile dlls/mlang/tests enable_tests
18798 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18799 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18800 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18801 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18802 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18803 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18804 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18805 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18806 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18807 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
18808 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
18809 wine_fn_config_makefile dlls/mpr enable_mpr
18810 wine_fn_config_makefile dlls/mpr/tests enable_tests
18811 wine_fn_config_makefile dlls/mprapi enable_mprapi
18812 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18813 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18814 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18815 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18816 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18817 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18818 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18819 wine_fn_config_makefile dlls/mscms enable_mscms
18820 wine_fn_config_makefile dlls/mscms/tests enable_tests
18821 wine_fn_config_makefile dlls/mscoree enable_mscoree
18822 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18823 wine_fn_config_makefile dlls/msctf enable_msctf
18824 wine_fn_config_makefile dlls/msctf/tests enable_tests
18825 wine_fn_config_makefile dlls/msctfp enable_msctfp
18826 wine_fn_config_makefile dlls/msdaps enable_msdaps
18827 wine_fn_config_makefile dlls/msdelta enable_msdelta
18828 wine_fn_config_makefile dlls/msdmo enable_msdmo
18829 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18830 wine_fn_config_makefile dlls/msdrm enable_msdrm
18831 wine_fn_config_makefile dlls/msftedit enable_msftedit
18832 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18833 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18834 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18835 wine_fn_config_makefile dlls/mshtml enable_mshtml
18836 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18837 wine_fn_config_makefile dlls/msi enable_msi
18838 wine_fn_config_makefile dlls/msi/tests enable_tests
18839 wine_fn_config_makefile dlls/msident enable_msident
18840 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18841 wine_fn_config_makefile dlls/msimsg enable_msimsg
18842 wine_fn_config_makefile dlls/msimtf enable_msimtf
18843 wine_fn_config_makefile dlls/msisip enable_msisip
18844 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18845 wine_fn_config_makefile dlls/msls31 enable_msls31
18846 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18847 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18848 wine_fn_config_makefile dlls/msports enable_msports
18849 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18850 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18851 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18852 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18853 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18854 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18855 wine_fn_config_makefile dlls/mstask enable_mstask
18856 wine_fn_config_makefile dlls/mstask/tests enable_tests
18857 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18858 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18859 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18860 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18861 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18862 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18863 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18864 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18865 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18866 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18867 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18868 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18869 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18870 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18871 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18872 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18873 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18874 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18875 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18876 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18877 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18878 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18879 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18880 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
18881 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18882 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18883 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18884 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18885 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18886 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18887 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18888 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18889 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18890 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18891 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18892 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18893 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18894 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18895 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18896 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18897 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18898 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18899 wine_fn_config_makefile dlls/mswsock enable_mswsock
18900 wine_fn_config_makefile dlls/msxml enable_msxml
18901 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18902 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18903 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18904 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18905 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18906 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18907 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18908 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18909 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18910 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18911 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18912 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18913 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18914 wine_fn_config_makefile dlls/netprofm enable_netprofm
18915 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18916 wine_fn_config_makefile dlls/newdev enable_newdev
18917 wine_fn_config_makefile dlls/ninput enable_ninput
18918 wine_fn_config_makefile dlls/normaliz enable_normaliz
18919 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18920 wine_fn_config_makefile dlls/npptools enable_npptools
18921 wine_fn_config_makefile dlls/ntdll enable_ntdll
18922 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18923 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18924 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18925 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18926 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
18927 wine_fn_config_makefile dlls/ntprint enable_ntprint
18928 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18929 wine_fn_config_makefile dlls/objsel enable_objsel
18930 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18931 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18932 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18933 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18934 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18935 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18936 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18937 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18938 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18939 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18940 wine_fn_config_makefile dlls/ole32 enable_ole32
18941 wine_fn_config_makefile dlls/ole32/tests enable_tests
18942 wine_fn_config_makefile dlls/oleacc enable_oleacc
18943 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18944 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18945 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18946 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18947 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18948 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18949 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18950 wine_fn_config_makefile dlls/oledlg enable_oledlg
18951 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18952 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18953 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18954 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18955 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18956 wine_fn_config_makefile dlls/openal32 enable_openal32
18957 wine_fn_config_makefile dlls/opencl enable_opencl
18958 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18959 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18960 wine_fn_config_makefile dlls/packager enable_packager
18961 wine_fn_config_makefile dlls/packager/tests enable_tests
18962 wine_fn_config_makefile dlls/pdh enable_pdh
18963 wine_fn_config_makefile dlls/pdh/tests enable_tests
18964 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18965 wine_fn_config_makefile dlls/pidgen enable_pidgen
18966 wine_fn_config_makefile dlls/powrprof enable_powrprof
18967 wine_fn_config_makefile dlls/printui enable_printui
18968 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18969 wine_fn_config_makefile dlls/propsys enable_propsys
18970 wine_fn_config_makefile dlls/propsys/tests enable_tests
18971 wine_fn_config_makefile dlls/psapi enable_psapi
18972 wine_fn_config_makefile dlls/psapi/tests enable_tests
18973 wine_fn_config_makefile dlls/pstorec enable_pstorec
18974 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18975 wine_fn_config_makefile dlls/qcap enable_qcap
18976 wine_fn_config_makefile dlls/qcap/tests enable_tests
18977 wine_fn_config_makefile dlls/qedit enable_qedit
18978 wine_fn_config_makefile dlls/qedit/tests enable_tests
18979 wine_fn_config_makefile dlls/qmgr enable_qmgr
18980 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18981 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18982 wine_fn_config_makefile dlls/quartz enable_quartz
18983 wine_fn_config_makefile dlls/quartz/tests enable_tests
18984 wine_fn_config_makefile dlls/query enable_query
18985 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18986 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18987 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18988 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18989 wine_fn_config_makefile dlls/regapi enable_regapi
18990 wine_fn_config_makefile dlls/resutils enable_resutils
18991 wine_fn_config_makefile dlls/riched20 enable_riched20
18992 wine_fn_config_makefile dlls/riched20/tests enable_tests
18993 wine_fn_config_makefile dlls/riched32 enable_riched32
18994 wine_fn_config_makefile dlls/riched32/tests enable_tests
18995 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18996 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18997 wine_fn_config_makefile dlls/rsabase enable_rsabase
18998 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18999 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
19000 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
19001 wine_fn_config_makefile dlls/rtutils enable_rtutils
19002 wine_fn_config_makefile dlls/samlib enable_samlib
19003 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
19004 wine_fn_config_makefile dlls/sapi enable_sapi
19005 wine_fn_config_makefile dlls/sapi/tests enable_tests
19006 wine_fn_config_makefile dlls/sas enable_sas
19007 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
19008 wine_fn_config_makefile dlls/sccbase enable_sccbase
19009 wine_fn_config_makefile dlls/schannel enable_schannel
19010 wine_fn_config_makefile dlls/schannel/tests enable_tests
19011 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
19012 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
19013 wine_fn_config_makefile dlls/scrobj enable_scrobj
19014 wine_fn_config_makefile dlls/scrrun enable_scrrun
19015 wine_fn_config_makefile dlls/scrrun/tests enable_tests
19016 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
19017 wine_fn_config_makefile dlls/secur32 enable_secur32
19018 wine_fn_config_makefile dlls/secur32/tests enable_tests
19019 wine_fn_config_makefile dlls/security enable_security
19020 wine_fn_config_makefile dlls/sensapi enable_sensapi
19021 wine_fn_config_makefile dlls/serialui enable_serialui
19022 wine_fn_config_makefile dlls/serialui/tests enable_tests
19023 wine_fn_config_makefile dlls/setupapi enable_setupapi
19024 wine_fn_config_makefile dlls/setupapi/tests enable_tests
19025 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
19026 wine_fn_config_makefile dlls/sfc enable_sfc
19027 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
19028 wine_fn_config_makefile dlls/shcore enable_shcore
19029 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
19030 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
19031 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
19032 wine_fn_config_makefile dlls/shell.dll16 enable_win16
19033 wine_fn_config_makefile dlls/shell32 enable_shell32
19034 wine_fn_config_makefile dlls/shell32/tests enable_tests
19035 wine_fn_config_makefile dlls/shfolder enable_shfolder
19036 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
19037 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
19038 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
19039 wine_fn_config_makefile dlls/slc enable_slc
19040 wine_fn_config_makefile dlls/slc/tests enable_tests
19041 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
19042 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19043 wine_fn_config_makefile dlls/softpub enable_softpub
19044 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19045 wine_fn_config_makefile dlls/spoolss enable_spoolss
19046 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19047 wine_fn_config_makefile dlls/srclient enable_srclient
19048 wine_fn_config_makefile dlls/sspicli enable_sspicli
19049 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19050 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19051 wine_fn_config_makefile dlls/sti enable_sti
19052 wine_fn_config_makefile dlls/sti/tests enable_tests
19053 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19054 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19055 wine_fn_config_makefile dlls/strmbase enable_strmbase
19056 wine_fn_config_makefile dlls/strmdll enable_strmdll
19057 wine_fn_config_makefile dlls/strmiids enable_strmiids
19058 wine_fn_config_makefile dlls/svrapi enable_svrapi
19059 wine_fn_config_makefile dlls/sxs enable_sxs
19060 wine_fn_config_makefile dlls/sxs/tests enable_tests
19061 wine_fn_config_makefile dlls/system.drv16 enable_win16
19062 wine_fn_config_makefile dlls/t2embed enable_t2embed
19063 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19064 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19065 wine_fn_config_makefile dlls/taskschd enable_taskschd
19066 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19067 wine_fn_config_makefile dlls/tdh enable_tdh
19068 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19069 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19070 wine_fn_config_makefile dlls/traffic enable_traffic
19071 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19072 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19073 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19074 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19075 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19076 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19077 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19078 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19079 wine_fn_config_makefile dlls/unicows enable_unicows
19080 wine_fn_config_makefile dlls/updspapi enable_updspapi
19081 wine_fn_config_makefile dlls/url enable_url
19082 wine_fn_config_makefile dlls/urlmon enable_urlmon
19083 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19084 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19085 wine_fn_config_makefile dlls/user.exe16 enable_win16
19086 wine_fn_config_makefile dlls/user32 enable_user32
19087 wine_fn_config_makefile dlls/user32/tests enable_tests
19088 wine_fn_config_makefile dlls/userenv enable_userenv
19089 wine_fn_config_makefile dlls/userenv/tests enable_tests
19090 wine_fn_config_makefile dlls/usp10 enable_usp10
19091 wine_fn_config_makefile dlls/usp10/tests enable_tests
19092 wine_fn_config_makefile dlls/uuid enable_uuid
19093 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19094 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19095 wine_fn_config_makefile dlls/vbscript enable_vbscript
19096 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19097 wine_fn_config_makefile dlls/vcomp enable_vcomp
19098 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19099 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19100 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19101 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19102 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19103 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19104 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19105 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19106 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19107 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19108 wine_fn_config_makefile dlls/version enable_version
19109 wine_fn_config_makefile dlls/version/tests enable_tests
19110 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19111 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19112 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19113 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19114 wine_fn_config_makefile dlls/vssapi enable_vssapi
19115 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19116 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19117 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19118 wine_fn_config_makefile dlls/w32skrnl enable_win16
19119 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19120 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19121 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19122 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19123 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19124 wine_fn_config_makefile dlls/wdscore enable_wdscore
19125 wine_fn_config_makefile dlls/webservices enable_webservices
19126 wine_fn_config_makefile dlls/webservices/tests enable_tests
19127 wine_fn_config_makefile dlls/wer enable_wer
19128 wine_fn_config_makefile dlls/wer/tests enable_tests
19129 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19130 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19131 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19132 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19133 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19134 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19135 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19136 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19137 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19138 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19139 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19140 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19141 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19142 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19143 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19144 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19145 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19146 wine_fn_config_makefile dlls/wined3d enable_wined3d
19147 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19148 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19149 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19150 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19151 wine_fn_config_makefile dlls/winemapi enable_winemapi
19152 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19153 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19154 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19155 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19156 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19157 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19158 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19159 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19160 wine_fn_config_makefile dlls/wing32 enable_wing32
19161 wine_fn_config_makefile dlls/winhttp enable_winhttp
19162 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19163 wine_fn_config_makefile dlls/wininet enable_wininet
19164 wine_fn_config_makefile dlls/wininet/tests enable_tests
19165 wine_fn_config_makefile dlls/winmm enable_winmm
19166 wine_fn_config_makefile dlls/winmm/tests enable_tests
19167 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19168 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19169 wine_fn_config_makefile dlls/winscard enable_winscard
19170 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19171 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19172 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19173 wine_fn_config_makefile dlls/winsta enable_winsta
19174 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19175 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19176 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19177 wine_fn_config_makefile dlls/wintrust enable_wintrust
19178 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19179 wine_fn_config_makefile dlls/winusb enable_winusb
19180 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19181 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19182 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19183 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19184 wine_fn_config_makefile dlls/wmasf enable_wmasf
19185 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
19186 wine_fn_config_makefile dlls/wmi enable_wmi
19187 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19188 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19189 wine_fn_config_makefile dlls/wmp enable_wmp
19190 wine_fn_config_makefile dlls/wmp/tests enable_tests
19191 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19192 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19193 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19194 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19195 wine_fn_config_makefile dlls/wow32 enable_win16
19196 wine_fn_config_makefile dlls/wpc enable_wpc
19197 wine_fn_config_makefile dlls/wpc/tests enable_tests
19198 wine_fn_config_makefile dlls/wpcap enable_wpcap
19199 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19200 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19201 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19202 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19203 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19204 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19205 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19206 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19207 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19208 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19209 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19210 wine_fn_config_makefile dlls/wuapi enable_wuapi
19211 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19212 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19213 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19214 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19215 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19216 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19217 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19218 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19219 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19220 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19221 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19222 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19223 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19224 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19225 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19226 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19227 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19228 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19229 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19230 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19231 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19232 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19233 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19234 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19235 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19236 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19237 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19238 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19239 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19240 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19241 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19242 wine_fn_config_makefile dlls/xmllite enable_xmllite
19243 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19244 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19245 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19246 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19247 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19248 wine_fn_config_makefile include enable_include
19249 wine_fn_config_makefile libs/port enable_port
19250 wine_fn_config_makefile libs/wine enable_wine
19251 wine_fn_config_makefile libs/wpp enable_wpp
19252 wine_fn_config_makefile loader enable_loader
19253 wine_fn_config_makefile po enable_po
19254 wine_fn_config_makefile programs/arp enable_arp
19255 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19256 wine_fn_config_makefile programs/attrib enable_attrib
19257 wine_fn_config_makefile programs/cabarc enable_cabarc
19258 wine_fn_config_makefile programs/cacls enable_cacls
19259 wine_fn_config_makefile programs/clock enable_clock
19260 wine_fn_config_makefile programs/cmd enable_cmd
19261 wine_fn_config_makefile programs/cmd/tests enable_tests
19262 wine_fn_config_makefile programs/conhost enable_conhost
19263 wine_fn_config_makefile programs/control enable_control
19264 wine_fn_config_makefile programs/cscript enable_cscript
19265 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19266 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19267 wine_fn_config_makefile programs/eject enable_eject
19268 wine_fn_config_makefile programs/expand enable_expand
19269 wine_fn_config_makefile programs/explorer enable_explorer
19270 wine_fn_config_makefile programs/extrac32 enable_extrac32
19271 wine_fn_config_makefile programs/findstr enable_findstr
19272 wine_fn_config_makefile programs/fsutil enable_fsutil
19273 wine_fn_config_makefile programs/hh enable_hh
19274 wine_fn_config_makefile programs/hostname enable_hostname
19275 wine_fn_config_makefile programs/icacls enable_icacls
19276 wine_fn_config_makefile programs/icinfo enable_icinfo
19277 wine_fn_config_makefile programs/iexplore enable_iexplore
19278 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19279 wine_fn_config_makefile programs/lodctr enable_lodctr
19280 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19281 wine_fn_config_makefile programs/mshta enable_mshta
19282 wine_fn_config_makefile programs/msiexec enable_msiexec
19283 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19284 wine_fn_config_makefile programs/net enable_net
19285 wine_fn_config_makefile programs/netsh enable_netsh
19286 wine_fn_config_makefile programs/netstat enable_netstat
19287 wine_fn_config_makefile programs/ngen enable_ngen
19288 wine_fn_config_makefile programs/notepad enable_notepad
19289 wine_fn_config_makefile programs/oleview enable_oleview
19290 wine_fn_config_makefile programs/ping enable_ping
19291 wine_fn_config_makefile programs/plugplay enable_plugplay
19292 wine_fn_config_makefile programs/powershell enable_powershell
19293 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19294 wine_fn_config_makefile programs/progman enable_progman
19295 wine_fn_config_makefile programs/reg enable_reg
19296 wine_fn_config_makefile programs/reg/tests enable_tests
19297 wine_fn_config_makefile programs/regasm enable_regasm
19298 wine_fn_config_makefile programs/regedit enable_regedit
19299 wine_fn_config_makefile programs/regedit/tests enable_tests
19300 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19301 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19302 wine_fn_config_makefile programs/rpcss enable_rpcss
19303 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19304 wine_fn_config_makefile programs/rundll32 enable_rundll32
19305 wine_fn_config_makefile programs/sc enable_sc
19306 wine_fn_config_makefile programs/schtasks enable_schtasks
19307 wine_fn_config_makefile programs/schtasks/tests enable_tests
19308 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19309 wine_fn_config_makefile programs/secedit enable_secedit
19310 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19311 wine_fn_config_makefile programs/services enable_services
19312 wine_fn_config_makefile programs/services/tests enable_tests
19313 wine_fn_config_makefile programs/shutdown enable_shutdown
19314 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19315 wine_fn_config_makefile programs/start enable_start
19316 wine_fn_config_makefile programs/subst enable_subst
19317 wine_fn_config_makefile programs/svchost enable_svchost
19318 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19319 wine_fn_config_makefile programs/taskkill enable_taskkill
19320 wine_fn_config_makefile programs/tasklist enable_tasklist
19321 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19322 wine_fn_config_makefile programs/termsv enable_termsv
19323 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19324 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19325 wine_fn_config_makefile programs/view enable_view
19326 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19327 wine_fn_config_makefile programs/wineboot enable_wineboot
19328 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19329 wine_fn_config_makefile programs/winecfg enable_winecfg
19330 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19331 wine_fn_config_makefile programs/winedbg enable_winedbg
19332 wine_fn_config_makefile programs/winedevice enable_winedevice
19333 wine_fn_config_makefile programs/winefile enable_winefile
19334 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19335 wine_fn_config_makefile programs/winemine enable_winemine
19336 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19337 wine_fn_config_makefile programs/winepath enable_winepath
19338 wine_fn_config_makefile programs/winetest enable_winetest
19339 wine_fn_config_makefile programs/winevdm enable_win16
19340 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19341 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19342 wine_fn_config_makefile programs/winmgmt enable_winmgmt
19343 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19344 wine_fn_config_makefile programs/winver enable_winver
19345 wine_fn_config_makefile programs/wmic enable_wmic
19346 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19347 wine_fn_config_makefile programs/wordpad enable_wordpad
19348 wine_fn_config_makefile programs/write enable_write
19349 wine_fn_config_makefile programs/wscript enable_wscript
19350 wine_fn_config_makefile programs/wscript/tests enable_tests
19351 wine_fn_config_makefile programs/wusa enable_wusa
19352 wine_fn_config_makefile programs/xcopy enable_xcopy
19353 wine_fn_config_makefile programs/xcopy/tests enable_tests
19354 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19355 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19356 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19357 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19358 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19359 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19360 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19361 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19362 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19363 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19366 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19367 wine_fn_append_file CONFIGURE_TARGETS "tags"
19368 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19369 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19370 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19371 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19372 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19373 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19375 if test "x$enable_tools" != xno
19376 then
19377 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19378 ac_config_commands="$ac_config_commands tools/makedep"
19382 ac_config_commands="$ac_config_commands Makefile"
19385 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19389 if test "x$enable_maintainer_mode" = xyes
19390 then
19391 wine_fn_append_rule "configure: configure.ac aclocal.m4
19392 autoconf --warnings=all
19393 include/config.h.in: include/stamp-h.in
19394 include/stamp-h.in: configure.ac aclocal.m4
19395 autoheader --warnings=all
19396 @echo timestamp > \$@"
19399 if test "x$enable_tools" != xno
19400 then
19401 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19402 @./config.status tools/makedep
19403 Makefile: tools/makedep$ac_exeext
19404 fonts: tools/sfnt2fon
19405 include: tools tools/widl"
19406 else
19407 wine_fn_append_rule "\$(MAKEDEP):
19408 @echo \"You need to run make in $TOOLSDIR first\" && false"
19411 if test -n "$with_wine64"
19412 then
19413 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19414 fonts server:
19415 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19416 $with_wine64/loader/wine:
19417 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19418 $with_wine64/loader/wine-preloader:
19419 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19420 clean::
19421 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19422 else
19423 WINELOADER_INSTALL="wine.inf l_intl.nls"
19425 case $host_os in
19426 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19427 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19428 esac
19431 $as_echo " done" >&6
19432 cat >confcache <<\_ACEOF
19433 # This file is a shell script that caches the results of configure
19434 # tests run on this system so they can be shared between configure
19435 # scripts and configure runs, see configure's option --config-cache.
19436 # It is not useful on other systems. If it contains results you don't
19437 # want to keep, you may remove or edit it.
19439 # config.status only pays attention to the cache file if you give it
19440 # the --recheck option to rerun configure.
19442 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19443 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19444 # following values.
19446 _ACEOF
19448 # The following way of writing the cache mishandles newlines in values,
19449 # but we know of no workaround that is simple, portable, and efficient.
19450 # So, we kill variables containing newlines.
19451 # Ultrix sh set writes to stderr and can't be redirected directly,
19452 # and sets the high bit in the cache file unless we assign to the vars.
19454 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19455 eval ac_val=\$$ac_var
19456 case $ac_val in #(
19457 *${as_nl}*)
19458 case $ac_var in #(
19459 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19460 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19461 esac
19462 case $ac_var in #(
19463 _ | IFS | as_nl) ;; #(
19464 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19465 *) { eval $ac_var=; unset $ac_var;} ;;
19466 esac ;;
19467 esac
19468 done
19470 (set) 2>&1 |
19471 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19472 *${as_nl}ac_space=\ *)
19473 # `set' does not quote correctly, so add quotes: double-quote
19474 # substitution turns \\\\ into \\, and sed turns \\ into \.
19475 sed -n \
19476 "s/'/'\\\\''/g;
19477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19478 ;; #(
19480 # `set' quotes correctly as required by POSIX, so do not add quotes.
19481 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19483 esac |
19484 sort
19486 sed '
19487 /^ac_cv_env_/b end
19488 t clear
19489 :clear
19490 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19491 t end
19492 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19493 :end' >>confcache
19494 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19495 if test -w "$cache_file"; then
19496 if test "x$cache_file" != "x/dev/null"; then
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19498 $as_echo "$as_me: updating cache $cache_file" >&6;}
19499 if test ! -f "$cache_file" || test -h "$cache_file"; then
19500 cat confcache >"$cache_file"
19501 else
19502 case $cache_file in #(
19503 */* | ?:*)
19504 mv -f confcache "$cache_file"$$ &&
19505 mv -f "$cache_file"$$ "$cache_file" ;; #(
19507 mv -f confcache "$cache_file" ;;
19508 esac
19511 else
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19513 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19516 rm -f confcache
19518 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19519 # Let make expand exec_prefix.
19520 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19522 DEFS=-DHAVE_CONFIG_H
19524 ac_libobjs=
19525 ac_ltlibobjs=
19527 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19528 # 1. Remove the extension, and $U if already installed.
19529 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19530 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19531 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19532 # will be set to the directory where LIBOBJS objects are built.
19533 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19534 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19535 done
19536 LIBOBJS=$ac_libobjs
19538 LTLIBOBJS=$ac_ltlibobjs
19542 : "${CONFIG_STATUS=./config.status}"
19543 ac_write_fail=0
19544 ac_clean_files_save=$ac_clean_files
19545 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19547 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19548 as_write_fail=0
19549 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19550 #! $SHELL
19551 # Generated by $as_me.
19552 # Run this file to recreate the current configuration.
19553 # Compiler output produced by configure, useful for debugging
19554 # configure, is in config.log if it exists.
19556 debug=false
19557 ac_cs_recheck=false
19558 ac_cs_silent=false
19560 SHELL=\${CONFIG_SHELL-$SHELL}
19561 export SHELL
19562 _ASEOF
19563 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19564 ## -------------------- ##
19565 ## M4sh Initialization. ##
19566 ## -------------------- ##
19568 # Be more Bourne compatible
19569 DUALCASE=1; export DUALCASE # for MKS sh
19570 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19571 emulate sh
19572 NULLCMD=:
19573 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19574 # is contrary to our usage. Disable this feature.
19575 alias -g '${1+"$@"}'='"$@"'
19576 setopt NO_GLOB_SUBST
19577 else
19578 case `(set -o) 2>/dev/null` in #(
19579 *posix*) :
19580 set -o posix ;; #(
19581 *) :
19583 esac
19587 as_nl='
19589 export as_nl
19590 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19591 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19592 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19593 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19594 # Prefer a ksh shell builtin over an external printf program on Solaris,
19595 # but without wasting forks for bash or zsh.
19596 if test -z "$BASH_VERSION$ZSH_VERSION" \
19597 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19598 as_echo='print -r --'
19599 as_echo_n='print -rn --'
19600 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19601 as_echo='printf %s\n'
19602 as_echo_n='printf %s'
19603 else
19604 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19605 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19606 as_echo_n='/usr/ucb/echo -n'
19607 else
19608 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19609 as_echo_n_body='eval
19610 arg=$1;
19611 case $arg in #(
19612 *"$as_nl"*)
19613 expr "X$arg" : "X\\(.*\\)$as_nl";
19614 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19615 esac;
19616 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19618 export as_echo_n_body
19619 as_echo_n='sh -c $as_echo_n_body as_echo'
19621 export as_echo_body
19622 as_echo='sh -c $as_echo_body as_echo'
19625 # The user is always right.
19626 if test "${PATH_SEPARATOR+set}" != set; then
19627 PATH_SEPARATOR=:
19628 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19629 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19630 PATH_SEPARATOR=';'
19635 # IFS
19636 # We need space, tab and new line, in precisely that order. Quoting is
19637 # there to prevent editors from complaining about space-tab.
19638 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19639 # splitting by setting IFS to empty value.)
19640 IFS=" "" $as_nl"
19642 # Find who we are. Look in the path if we contain no directory separator.
19643 as_myself=
19644 case $0 in #((
19645 *[\\/]* ) as_myself=$0 ;;
19646 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19647 for as_dir in $PATH
19649 IFS=$as_save_IFS
19650 test -z "$as_dir" && as_dir=.
19651 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19652 done
19653 IFS=$as_save_IFS
19656 esac
19657 # We did not find ourselves, most probably we were run as `sh COMMAND'
19658 # in which case we are not to be found in the path.
19659 if test "x$as_myself" = x; then
19660 as_myself=$0
19662 if test ! -f "$as_myself"; then
19663 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19664 exit 1
19667 # Unset variables that we do not need and which cause bugs (e.g. in
19668 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19669 # suppresses any "Segmentation fault" message there. '((' could
19670 # trigger a bug in pdksh 5.2.14.
19671 for as_var in BASH_ENV ENV MAIL MAILPATH
19672 do eval test x\${$as_var+set} = xset \
19673 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19674 done
19675 PS1='$ '
19676 PS2='> '
19677 PS4='+ '
19679 # NLS nuisances.
19680 LC_ALL=C
19681 export LC_ALL
19682 LANGUAGE=C
19683 export LANGUAGE
19685 # CDPATH.
19686 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19689 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19690 # ----------------------------------------
19691 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19692 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19693 # script with STATUS, using 1 if that was 0.
19694 as_fn_error ()
19696 as_status=$1; test $as_status -eq 0 && as_status=1
19697 if test "$4"; then
19698 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19699 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19701 $as_echo "$as_me: error: $2" >&2
19702 as_fn_exit $as_status
19703 } # as_fn_error
19706 # as_fn_set_status STATUS
19707 # -----------------------
19708 # Set $? to STATUS, without forking.
19709 as_fn_set_status ()
19711 return $1
19712 } # as_fn_set_status
19714 # as_fn_exit STATUS
19715 # -----------------
19716 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19717 as_fn_exit ()
19719 set +e
19720 as_fn_set_status $1
19721 exit $1
19722 } # as_fn_exit
19724 # as_fn_unset VAR
19725 # ---------------
19726 # Portably unset VAR.
19727 as_fn_unset ()
19729 { eval $1=; unset $1;}
19731 as_unset=as_fn_unset
19732 # as_fn_append VAR VALUE
19733 # ----------------------
19734 # Append the text in VALUE to the end of the definition contained in VAR. Take
19735 # advantage of any shell optimizations that allow amortized linear growth over
19736 # repeated appends, instead of the typical quadratic growth present in naive
19737 # implementations.
19738 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19739 eval 'as_fn_append ()
19741 eval $1+=\$2
19743 else
19744 as_fn_append ()
19746 eval $1=\$$1\$2
19748 fi # as_fn_append
19750 # as_fn_arith ARG...
19751 # ------------------
19752 # Perform arithmetic evaluation on the ARGs, and store the result in the
19753 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19754 # must be portable across $(()) and expr.
19755 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19756 eval 'as_fn_arith ()
19758 as_val=$(( $* ))
19760 else
19761 as_fn_arith ()
19763 as_val=`expr "$@" || test $? -eq 1`
19765 fi # as_fn_arith
19768 if expr a : '\(a\)' >/dev/null 2>&1 &&
19769 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19770 as_expr=expr
19771 else
19772 as_expr=false
19775 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19776 as_basename=basename
19777 else
19778 as_basename=false
19781 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19782 as_dirname=dirname
19783 else
19784 as_dirname=false
19787 as_me=`$as_basename -- "$0" ||
19788 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19789 X"$0" : 'X\(//\)$' \| \
19790 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19791 $as_echo X/"$0" |
19792 sed '/^.*\/\([^/][^/]*\)\/*$/{
19793 s//\1/
19796 /^X\/\(\/\/\)$/{
19797 s//\1/
19800 /^X\/\(\/\).*/{
19801 s//\1/
19804 s/.*/./; q'`
19806 # Avoid depending upon Character Ranges.
19807 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19808 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19809 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19810 as_cr_digits='0123456789'
19811 as_cr_alnum=$as_cr_Letters$as_cr_digits
19813 ECHO_C= ECHO_N= ECHO_T=
19814 case `echo -n x` in #(((((
19815 -n*)
19816 case `echo 'xy\c'` in
19817 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19818 xy) ECHO_C='\c';;
19819 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19820 ECHO_T=' ';;
19821 esac;;
19823 ECHO_N='-n';;
19824 esac
19826 rm -f conf$$ conf$$.exe conf$$.file
19827 if test -d conf$$.dir; then
19828 rm -f conf$$.dir/conf$$.file
19829 else
19830 rm -f conf$$.dir
19831 mkdir conf$$.dir 2>/dev/null
19833 if (echo >conf$$.file) 2>/dev/null; then
19834 if ln -s conf$$.file conf$$ 2>/dev/null; then
19835 as_ln_s='ln -s'
19836 # ... but there are two gotchas:
19837 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19838 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19839 # In both cases, we have to default to `cp -pR'.
19840 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19841 as_ln_s='cp -pR'
19842 elif ln conf$$.file conf$$ 2>/dev/null; then
19843 as_ln_s=ln
19844 else
19845 as_ln_s='cp -pR'
19847 else
19848 as_ln_s='cp -pR'
19850 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19851 rmdir conf$$.dir 2>/dev/null
19854 # as_fn_mkdir_p
19855 # -------------
19856 # Create "$as_dir" as a directory, including parents if necessary.
19857 as_fn_mkdir_p ()
19860 case $as_dir in #(
19861 -*) as_dir=./$as_dir;;
19862 esac
19863 test -d "$as_dir" || eval $as_mkdir_p || {
19864 as_dirs=
19865 while :; do
19866 case $as_dir in #(
19867 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19868 *) as_qdir=$as_dir;;
19869 esac
19870 as_dirs="'$as_qdir' $as_dirs"
19871 as_dir=`$as_dirname -- "$as_dir" ||
19872 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19873 X"$as_dir" : 'X\(//\)[^/]' \| \
19874 X"$as_dir" : 'X\(//\)$' \| \
19875 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19876 $as_echo X"$as_dir" |
19877 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19878 s//\1/
19881 /^X\(\/\/\)[^/].*/{
19882 s//\1/
19885 /^X\(\/\/\)$/{
19886 s//\1/
19889 /^X\(\/\).*/{
19890 s//\1/
19893 s/.*/./; q'`
19894 test -d "$as_dir" && break
19895 done
19896 test -z "$as_dirs" || eval "mkdir $as_dirs"
19897 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19900 } # as_fn_mkdir_p
19901 if mkdir -p . 2>/dev/null; then
19902 as_mkdir_p='mkdir -p "$as_dir"'
19903 else
19904 test -d ./-p && rmdir ./-p
19905 as_mkdir_p=false
19909 # as_fn_executable_p FILE
19910 # -----------------------
19911 # Test if FILE is an executable regular file.
19912 as_fn_executable_p ()
19914 test -f "$1" && test -x "$1"
19915 } # as_fn_executable_p
19916 as_test_x='test -x'
19917 as_executable_p=as_fn_executable_p
19919 # Sed expression to map a string onto a valid CPP name.
19920 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19922 # Sed expression to map a string onto a valid variable name.
19923 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19926 exec 6>&1
19927 ## ----------------------------------- ##
19928 ## Main body of $CONFIG_STATUS script. ##
19929 ## ----------------------------------- ##
19930 _ASEOF
19931 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19933 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19934 # Save the log message, to keep $0 and so on meaningful, and to
19935 # report actual input values of CONFIG_FILES etc. instead of their
19936 # values after options handling.
19937 ac_log="
19938 This file was extended by Wine $as_me 3.8, which was
19939 generated by GNU Autoconf 2.69. Invocation command line was
19941 CONFIG_FILES = $CONFIG_FILES
19942 CONFIG_HEADERS = $CONFIG_HEADERS
19943 CONFIG_LINKS = $CONFIG_LINKS
19944 CONFIG_COMMANDS = $CONFIG_COMMANDS
19945 $ $0 $@
19947 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19950 _ACEOF
19952 case $ac_config_files in *"
19953 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19954 esac
19956 case $ac_config_headers in *"
19957 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19958 esac
19961 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19962 # Files that config.status was made for.
19963 config_files="$ac_config_files"
19964 config_headers="$ac_config_headers"
19965 config_links="$ac_config_links"
19966 config_commands="$ac_config_commands"
19968 _ACEOF
19970 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19971 ac_cs_usage="\
19972 \`$as_me' instantiates files and other configuration actions
19973 from templates according to the current configuration. Unless the files
19974 and actions are specified as TAGs, all are instantiated by default.
19976 Usage: $0 [OPTION]... [TAG]...
19978 -h, --help print this help, then exit
19979 -V, --version print version number and configuration settings, then exit
19980 --config print configuration, then exit
19981 -q, --quiet, --silent
19982 do not print progress messages
19983 -d, --debug don't remove temporary files
19984 --recheck update $as_me by reconfiguring in the same conditions
19985 --file=FILE[:TEMPLATE]
19986 instantiate the configuration file FILE
19987 --header=FILE[:TEMPLATE]
19988 instantiate the configuration header FILE
19990 Configuration files:
19991 $config_files
19993 Configuration headers:
19994 $config_headers
19996 Configuration links:
19997 $config_links
19999 Configuration commands:
20000 $config_commands
20002 Report bugs to <wine-devel@winehq.org>.
20003 Wine home page: <https://www.winehq.org>."
20005 _ACEOF
20006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20007 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20008 ac_cs_version="\\
20009 Wine config.status 3.8
20010 configured by $0, generated by GNU Autoconf 2.69,
20011 with options \\"\$ac_cs_config\\"
20013 Copyright (C) 2012 Free Software Foundation, Inc.
20014 This config.status script is free software; the Free Software Foundation
20015 gives unlimited permission to copy, distribute and modify it."
20017 ac_pwd='$ac_pwd'
20018 srcdir='$srcdir'
20019 test -n "\$AWK" || AWK=awk
20020 _ACEOF
20022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20023 # The default lists apply if the user does not specify any file.
20024 ac_need_defaults=:
20025 while test $# != 0
20027 case $1 in
20028 --*=?*)
20029 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20030 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20031 ac_shift=:
20033 --*=)
20034 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20035 ac_optarg=
20036 ac_shift=:
20039 ac_option=$1
20040 ac_optarg=$2
20041 ac_shift=shift
20043 esac
20045 case $ac_option in
20046 # Handling of the options.
20047 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20048 ac_cs_recheck=: ;;
20049 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20050 $as_echo "$ac_cs_version"; exit ;;
20051 --config | --confi | --conf | --con | --co | --c )
20052 $as_echo "$ac_cs_config"; exit ;;
20053 --debug | --debu | --deb | --de | --d | -d )
20054 debug=: ;;
20055 --file | --fil | --fi | --f )
20056 $ac_shift
20057 case $ac_optarg in
20058 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20059 '') as_fn_error $? "missing file argument" ;;
20060 esac
20061 as_fn_append CONFIG_FILES " '$ac_optarg'"
20062 ac_need_defaults=false;;
20063 --header | --heade | --head | --hea )
20064 $ac_shift
20065 case $ac_optarg in
20066 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20067 esac
20068 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20069 ac_need_defaults=false;;
20070 --he | --h)
20071 # Conflict between --help and --header
20072 as_fn_error $? "ambiguous option: \`$1'
20073 Try \`$0 --help' for more information.";;
20074 --help | --hel | -h )
20075 $as_echo "$ac_cs_usage"; exit ;;
20076 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20077 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20078 ac_cs_silent=: ;;
20080 # This is an error.
20081 -*) as_fn_error $? "unrecognized option: \`$1'
20082 Try \`$0 --help' for more information." ;;
20084 *) as_fn_append ac_config_targets " $1"
20085 ac_need_defaults=false ;;
20087 esac
20088 shift
20089 done
20091 ac_configure_extra_args=
20093 if $ac_cs_silent; then
20094 exec 6>/dev/null
20095 ac_configure_extra_args="$ac_configure_extra_args --silent"
20098 _ACEOF
20099 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20100 if \$ac_cs_recheck; then
20101 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20102 shift
20103 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20104 CONFIG_SHELL='$SHELL'
20105 export CONFIG_SHELL
20106 exec "\$@"
20109 _ACEOF
20110 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20111 exec 5>>config.log
20113 echo
20114 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20115 ## Running $as_me. ##
20116 _ASBOX
20117 $as_echo "$ac_log"
20118 } >&5
20120 _ACEOF
20121 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20123 # INIT-COMMANDS
20125 wine_fn_output_makedep ()
20127 as_dir=tools; as_fn_mkdir_p
20128 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20130 wine_fn_output_makefile ()
20132 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20133 `cat $wine_rules_file`
20134 _WINE_EOF
20135 as_fn_error $? "could not create Makefile" "$LINENO" 5
20138 _ACEOF
20140 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20142 # Handling of arguments.
20143 for ac_config_target in $ac_config_targets
20145 case $ac_config_target in
20146 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20147 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20148 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20149 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20150 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20151 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20152 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20153 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20154 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20155 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20156 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20157 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20158 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20160 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20161 esac
20162 done
20165 # If the user did not use the arguments to specify the items to instantiate,
20166 # then the envvar interface is used. Set only those that are not.
20167 # We use the long form for the default assignment because of an extremely
20168 # bizarre bug on SunOS 4.1.3.
20169 if $ac_need_defaults; then
20170 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20171 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20172 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20173 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20176 # Have a temporary directory for convenience. Make it in the build tree
20177 # simply because there is no reason against having it here, and in addition,
20178 # creating and moving files from /tmp can sometimes cause problems.
20179 # Hook for its removal unless debugging.
20180 # Note that there is a small window in which the directory will not be cleaned:
20181 # after its creation but before its name has been assigned to `$tmp'.
20182 $debug ||
20184 tmp= ac_tmp=
20185 trap 'exit_status=$?
20186 : "${ac_tmp:=$tmp}"
20187 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20189 trap 'as_fn_exit 1' 1 2 13 15
20191 # Create a (secure) tmp directory for tmp files.
20194 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20195 test -d "$tmp"
20196 } ||
20198 tmp=./conf$$-$RANDOM
20199 (umask 077 && mkdir "$tmp")
20200 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20201 ac_tmp=$tmp
20203 # Set up the scripts for CONFIG_FILES section.
20204 # No need to generate them if there are no CONFIG_FILES.
20205 # This happens for instance with `./config.status config.h'.
20206 if test -n "$CONFIG_FILES"; then
20209 ac_cr=`echo X | tr X '\015'`
20210 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20211 # But we know of no other shell where ac_cr would be empty at this
20212 # point, so we can use a bashism as a fallback.
20213 if test "x$ac_cr" = x; then
20214 eval ac_cr=\$\'\\r\'
20216 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20217 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20218 ac_cs_awk_cr='\\r'
20219 else
20220 ac_cs_awk_cr=$ac_cr
20223 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20224 _ACEOF
20228 echo "cat >conf$$subs.awk <<_ACEOF" &&
20229 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20230 echo "_ACEOF"
20231 } >conf$$subs.sh ||
20232 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20233 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20234 ac_delim='%!_!# '
20235 for ac_last_try in false false false false false :; do
20236 . ./conf$$subs.sh ||
20237 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20239 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20240 if test $ac_delim_n = $ac_delim_num; then
20241 break
20242 elif $ac_last_try; then
20243 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20244 else
20245 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20247 done
20248 rm -f conf$$subs.sh
20250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20251 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20252 _ACEOF
20253 sed -n '
20255 s/^/S["/; s/!.*/"]=/
20258 s/^[^!]*!//
20259 :repl
20260 t repl
20261 s/'"$ac_delim"'$//
20262 t delim
20265 s/\(.\{148\}\)..*/\1/
20266 t more1
20267 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20270 b repl
20271 :more1
20272 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20275 s/.\{148\}//
20276 t nl
20277 :delim
20279 s/\(.\{148\}\)..*/\1/
20280 t more2
20281 s/["\\]/\\&/g; s/^/"/; s/$/"/
20284 :more2
20285 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20288 s/.\{148\}//
20289 t delim
20290 ' <conf$$subs.awk | sed '
20291 /^[^""]/{
20293 s/\n//
20295 ' >>$CONFIG_STATUS || ac_write_fail=1
20296 rm -f conf$$subs.awk
20297 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20298 _ACAWK
20299 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20300 for (key in S) S_is_set[key] = 1
20301 FS = "\a"
20305 line = $ 0
20306 nfields = split(line, field, "@")
20307 substed = 0
20308 len = length(field[1])
20309 for (i = 2; i < nfields; i++) {
20310 key = field[i]
20311 keylen = length(key)
20312 if (S_is_set[key]) {
20313 value = S[key]
20314 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20315 len += length(value) + length(field[++i])
20316 substed = 1
20317 } else
20318 len += 1 + keylen
20321 print line
20324 _ACAWK
20325 _ACEOF
20326 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20327 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20328 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20329 else
20331 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20332 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20333 _ACEOF
20335 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20336 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20337 # trailing colons and then remove the whole line if VPATH becomes empty
20338 # (actually we leave an empty line to preserve line numbers).
20339 if test "x$srcdir" = x.; then
20340 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20342 s///
20343 s/^/:/
20344 s/[ ]*$/:/
20345 s/:\$(srcdir):/:/g
20346 s/:\${srcdir}:/:/g
20347 s/:@srcdir@:/:/g
20348 s/^:*//
20349 s/:*$//
20351 s/\(=[ ]*\).*/\1/
20353 s/\n//
20354 s/^[^=]*=[ ]*$//
20358 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20359 fi # test -n "$CONFIG_FILES"
20361 # Set up the scripts for CONFIG_HEADERS section.
20362 # No need to generate them if there are no CONFIG_HEADERS.
20363 # This happens for instance with `./config.status Makefile'.
20364 if test -n "$CONFIG_HEADERS"; then
20365 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20366 BEGIN {
20367 _ACEOF
20369 # Transform confdefs.h into an awk script `defines.awk', embedded as
20370 # here-document in config.status, that substitutes the proper values into
20371 # config.h.in to produce config.h.
20373 # Create a delimiter string that does not exist in confdefs.h, to ease
20374 # handling of long lines.
20375 ac_delim='%!_!# '
20376 for ac_last_try in false false :; do
20377 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20378 if test -z "$ac_tt"; then
20379 break
20380 elif $ac_last_try; then
20381 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20382 else
20383 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20385 done
20387 # For the awk script, D is an array of macro values keyed by name,
20388 # likewise P contains macro parameters if any. Preserve backslash
20389 # newline sequences.
20391 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20392 sed -n '
20393 s/.\{148\}/&'"$ac_delim"'/g
20394 t rset
20395 :rset
20396 s/^[ ]*#[ ]*define[ ][ ]*/ /
20397 t def
20399 :def
20400 s/\\$//
20401 t bsnl
20402 s/["\\]/\\&/g
20403 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20404 D["\1"]=" \3"/p
20405 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20407 :bsnl
20408 s/["\\]/\\&/g
20409 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20410 D["\1"]=" \3\\\\\\n"\\/p
20411 t cont
20412 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20413 t cont
20415 :cont
20417 s/.\{148\}/&'"$ac_delim"'/g
20418 t clear
20419 :clear
20420 s/\\$//
20421 t bsnlc
20422 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20424 :bsnlc
20425 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20426 b cont
20427 ' <confdefs.h | sed '
20428 s/'"$ac_delim"'/"\\\
20429 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20431 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20432 for (key in D) D_is_set[key] = 1
20433 FS = "\a"
20435 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20436 line = \$ 0
20437 split(line, arg, " ")
20438 if (arg[1] == "#") {
20439 defundef = arg[2]
20440 mac1 = arg[3]
20441 } else {
20442 defundef = substr(arg[1], 2)
20443 mac1 = arg[2]
20445 split(mac1, mac2, "(") #)
20446 macro = mac2[1]
20447 prefix = substr(line, 1, index(line, defundef) - 1)
20448 if (D_is_set[macro]) {
20449 # Preserve the white space surrounding the "#".
20450 print prefix "define", macro P[macro] D[macro]
20451 next
20452 } else {
20453 # Replace #undef with comments. This is necessary, for example,
20454 # in the case of _POSIX_SOURCE, which is predefined and required
20455 # on some systems where configure will not decide to define it.
20456 if (defundef == "undef") {
20457 print "/*", prefix defundef, macro, "*/"
20458 next
20462 { print }
20463 _ACAWK
20464 _ACEOF
20465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20466 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20467 fi # test -n "$CONFIG_HEADERS"
20470 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20471 shift
20472 for ac_tag
20474 case $ac_tag in
20475 :[FHLC]) ac_mode=$ac_tag; continue;;
20476 esac
20477 case $ac_mode$ac_tag in
20478 :[FHL]*:*);;
20479 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20480 :[FH]-) ac_tag=-:-;;
20481 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20482 esac
20483 ac_save_IFS=$IFS
20484 IFS=:
20485 set x $ac_tag
20486 IFS=$ac_save_IFS
20487 shift
20488 ac_file=$1
20489 shift
20491 case $ac_mode in
20492 :L) ac_source=$1;;
20493 :[FH])
20494 ac_file_inputs=
20495 for ac_f
20497 case $ac_f in
20498 -) ac_f="$ac_tmp/stdin";;
20499 *) # Look for the file first in the build tree, then in the source tree
20500 # (if the path is not absolute). The absolute path cannot be DOS-style,
20501 # because $ac_f cannot contain `:'.
20502 test -f "$ac_f" ||
20503 case $ac_f in
20504 [\\/$]*) false;;
20505 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20506 esac ||
20507 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20508 esac
20509 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20510 as_fn_append ac_file_inputs " '$ac_f'"
20511 done
20513 # Let's still pretend it is `configure' which instantiates (i.e., don't
20514 # use $as_me), people would be surprised to read:
20515 # /* config.h. Generated by config.status. */
20516 configure_input='Generated from '`
20517 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20518 `' by configure.'
20519 if test x"$ac_file" != x-; then
20520 configure_input="$ac_file. $configure_input"
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20522 $as_echo "$as_me: creating $ac_file" >&6;}
20524 # Neutralize special characters interpreted by sed in replacement strings.
20525 case $configure_input in #(
20526 *\&* | *\|* | *\\* )
20527 ac_sed_conf_input=`$as_echo "$configure_input" |
20528 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20529 *) ac_sed_conf_input=$configure_input;;
20530 esac
20532 case $ac_tag in
20533 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20535 esac
20537 esac
20539 ac_dir=`$as_dirname -- "$ac_file" ||
20540 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20541 X"$ac_file" : 'X\(//\)[^/]' \| \
20542 X"$ac_file" : 'X\(//\)$' \| \
20543 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20544 $as_echo X"$ac_file" |
20545 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20546 s//\1/
20549 /^X\(\/\/\)[^/].*/{
20550 s//\1/
20553 /^X\(\/\/\)$/{
20554 s//\1/
20557 /^X\(\/\).*/{
20558 s//\1/
20561 s/.*/./; q'`
20562 as_dir="$ac_dir"; as_fn_mkdir_p
20563 ac_builddir=.
20565 case "$ac_dir" in
20566 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20568 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20569 # A ".." for each directory in $ac_dir_suffix.
20570 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20571 case $ac_top_builddir_sub in
20572 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20573 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20574 esac ;;
20575 esac
20576 ac_abs_top_builddir=$ac_pwd
20577 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20578 # for backward compatibility:
20579 ac_top_builddir=$ac_top_build_prefix
20581 case $srcdir in
20582 .) # We are building in place.
20583 ac_srcdir=.
20584 ac_top_srcdir=$ac_top_builddir_sub
20585 ac_abs_top_srcdir=$ac_pwd ;;
20586 [\\/]* | ?:[\\/]* ) # Absolute name.
20587 ac_srcdir=$srcdir$ac_dir_suffix;
20588 ac_top_srcdir=$srcdir
20589 ac_abs_top_srcdir=$srcdir ;;
20590 *) # Relative name.
20591 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20592 ac_top_srcdir=$ac_top_build_prefix$srcdir
20593 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20594 esac
20595 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20598 case $ac_mode in
20601 # CONFIG_FILE
20604 _ACEOF
20606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20607 # If the template does not know about datarootdir, expand it.
20608 # FIXME: This hack should be removed a few years after 2.60.
20609 ac_datarootdir_hack=; ac_datarootdir_seen=
20610 ac_sed_dataroot='
20611 /datarootdir/ {
20615 /@datadir@/p
20616 /@docdir@/p
20617 /@infodir@/p
20618 /@localedir@/p
20619 /@mandir@/p'
20620 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20621 *datarootdir*) ac_datarootdir_seen=yes;;
20622 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20624 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20625 _ACEOF
20626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20627 ac_datarootdir_hack='
20628 s&@datadir@&$datadir&g
20629 s&@docdir@&$docdir&g
20630 s&@infodir@&$infodir&g
20631 s&@localedir@&$localedir&g
20632 s&@mandir@&$mandir&g
20633 s&\\\${datarootdir}&$datarootdir&g' ;;
20634 esac
20635 _ACEOF
20637 # Neutralize VPATH when `$srcdir' = `.'.
20638 # Shell code in configure.ac might set extrasub.
20639 # FIXME: do we really want to maintain this feature?
20640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20641 ac_sed_extra="$ac_vpsub
20642 $extrasub
20643 _ACEOF
20644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20646 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20647 s|@configure_input@|$ac_sed_conf_input|;t t
20648 s&@top_builddir@&$ac_top_builddir_sub&;t t
20649 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20650 s&@srcdir@&$ac_srcdir&;t t
20651 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20652 s&@top_srcdir@&$ac_top_srcdir&;t t
20653 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20654 s&@builddir@&$ac_builddir&;t t
20655 s&@abs_builddir@&$ac_abs_builddir&;t t
20656 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20657 $ac_datarootdir_hack
20659 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20660 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20662 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20663 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20664 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20665 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20667 which seems to be undefined. Please make sure it is defined" >&5
20668 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20669 which seems to be undefined. Please make sure it is defined" >&2;}
20671 rm -f "$ac_tmp/stdin"
20672 case $ac_file in
20673 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20674 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20675 esac \
20676 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20680 # CONFIG_HEADER
20682 if test x"$ac_file" != x-; then
20684 $as_echo "/* $configure_input */" \
20685 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20686 } >"$ac_tmp/config.h" \
20687 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20688 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20690 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20691 else
20692 rm -f "$ac_file"
20693 mv "$ac_tmp/config.h" "$ac_file" \
20694 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20696 else
20697 $as_echo "/* $configure_input */" \
20698 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20699 || as_fn_error $? "could not create -" "$LINENO" 5
20704 # CONFIG_LINK
20707 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20709 else
20710 # Prefer the file from the source tree if names are identical.
20711 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20712 ac_source=$srcdir/$ac_source
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20716 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20718 if test ! -r "$ac_source"; then
20719 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20721 rm -f "$ac_file"
20723 # Try a relative symlink, then a hard link, then a copy.
20724 case $ac_source in
20725 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20726 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20727 esac
20728 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20729 ln "$ac_source" "$ac_file" 2>/dev/null ||
20730 cp -p "$ac_source" "$ac_file" ||
20731 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20734 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20735 $as_echo "$as_me: executing $ac_file commands" >&6;}
20737 esac
20740 case $ac_file$ac_mode in
20741 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20742 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20743 "Makefile":C) wine_fn_output_makefile Makefile ;;
20745 esac
20746 done # for ac_tag
20749 as_fn_exit 0
20750 _ACEOF
20751 ac_clean_files=$ac_clean_files_save
20753 test $ac_write_fail = 0 ||
20754 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20757 # configure is writing to config.log, and then calls config.status.
20758 # config.status does its own redirection, appending to config.log.
20759 # Unfortunately, on DOS this fails, as config.log is still kept open
20760 # by configure, so config.status won't be able to write to it; its
20761 # output is simply discarded. So we exec the FD to /dev/null,
20762 # effectively closing config.log, so it can be properly (re)opened and
20763 # appended to by config.status. When coming back to configure, we
20764 # need to make the FD available again.
20765 if test "$no_create" != yes; then
20766 ac_cs_success=:
20767 ac_config_status_args=
20768 test "$silent" = yes &&
20769 ac_config_status_args="$ac_config_status_args --quiet"
20770 exec 5>/dev/null
20771 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20772 exec 5>>config.log
20773 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20774 # would make configure fail if this is the last instruction.
20775 $ac_cs_success || as_fn_exit 1
20777 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20778 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20779 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20783 if test "$no_create" = "yes"
20784 then
20785 exit 0
20788 ac_save_IFS="$IFS"
20789 if test "x$wine_notices" != x; then
20790 echo >&6
20791 IFS="|"
20792 for msg in $wine_notices; do
20793 IFS="$ac_save_IFS"
20794 if ${msg:+false} :; then :
20796 else
20797 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20798 $as_echo "$as_me: $msg" >&6;}
20800 done
20802 IFS="|"
20803 for msg in $wine_warnings; do
20804 IFS="$ac_save_IFS"
20805 if ${msg:+false} :; then :
20807 else
20808 echo >&2
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20810 $as_echo "$as_me: WARNING: $msg" >&2;}
20812 done
20813 IFS="$ac_save_IFS"
20815 $as_echo "
20816 $as_me: Finished. Do '${ac_make}' to compile Wine.
20817 " >&6